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.hhM9hjdhhubah}(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.hhM=hjubhdefinition_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.hhMGhjubh 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.hhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(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.hhMOhjubj)}(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.hhMJhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMOhjubeh}(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.hhMRhhhhubh)}(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.hhMKhhhhubh)}(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.hhMSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjhMSubj/)}(h address_spaceh]j5)}(hjrh]h address_space}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjthhhjhMSubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhjhMSubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMShjmhhubjc)}(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&]uh1jbhjmhhhjhMSubeh}(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.hhM~hj?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.hhMSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}hhhjhMSubj/)}(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}hhhjhMSubhdesc_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}hhhjhMSubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjyhhhjhMSubah}(h]jtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMShjvhhubjc)}(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.hhMShjhhubah}(h]h ]h"]h$]h&]uh1jbhjvhhhjhMSubeh}(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.hhMWhj 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.hhMThj+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&]uh1hhjFhMThjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMThj(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.hhMUhjdubj)}(hhh]h)}(h inode to maph]h inode to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMUhj(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.hhMWhj 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.hhMWhj 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.hhMaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMaubj/)}(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 hMaubj)}(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 hMaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMaubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMahjhhubjc)}(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.hhMahjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMaubeh}(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.hhMehjubj)}(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.hhMbhjubj)}(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+hMbhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMbhj 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.hhMchjIubj)}(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&]uh1hhjdhMchjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMchj 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.hhMdhjubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhj 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.hhMfhjubh)}(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.hhMehjubh)}(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.hhMhhjubh)}(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.hhMihjubeh}(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.hhMuubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhj]hMuubj/)}(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]hMuubj)}(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]hMuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjGhhhj]hMuubah}(h]jBah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj]hMuhjDhhubjc)}(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.hhMuhjhhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhj]hMuubeh}(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.hhMyhj8ubj)}(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.hhMvhjWubj)}(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&]uh1hhjrhMvhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMvhjTubj)}(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.hhMwhjubj)}(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&]uh1hhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjTubj)}(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.hhMxhjubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjTubeh}(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.hhMzhj8ubh)}(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.hhMyhj8ubeh}(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.hhMhj#ubj)}(hhh](j)}(h,``struct inode *inode`` inode to initialize h](j)}(h``struct inode *inode``h]j)}(hj#h]hstruct inode *inode}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj#ubj)}(hhh]h)}(hinode to initializeh]hinode to initialize}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj#ubj)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj#h]hstruct mnt_idmap *idmap}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj#ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hj-$h]h Description}(hj/$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+$ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj#ubh)}(hInitialize the i_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.hhMhj#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.hhMubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&hhhj&hMubj/)}(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&hMubj)}(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&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 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.hhMhj(hhubah}(h]h ]h"]h$]h&]uh1jbhj&hhhj&hMubeh}(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.hhMhj/(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.hhMhjN(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(hMhjj(ubah}(h]h ]h"]h$]h&]uh1jhjN(ubeh}(h]h ]h"]h$]h&]uh1jhji(hMhjK(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.hhMhj(ubj)}(hhh]h)}(hidmap of the relevant mounth]hidmap of the relevant mount}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjK(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)}(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.hhMhj/(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.hhMhj/(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.hhMhj/(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.hhM[ubj)}(h h]h }(hjf)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT)hhhje)hM[ubh)}(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)hM[ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT)hhhje)hM[ubj/)}(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)hM[ubj)}(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)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)}(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.hhM[hj*hhubah}(h]h ]h"]h$]h&]uh1jbhjM)hhhje)hM[ubeh}(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.hhM_hj*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.hhM\hj*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+hM\hj+ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj+hM\hj*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.hhM]hj7+ubj)}(hhh]h)}(htv_sec value to seth]htv_sec value to set}(hjV+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjR+hM]hjS+ubah}(h]h ]h"]h$]h&]uh1jhj7+ubeh}(h]h ]h"]h$]h&]uh1jhjR+hM]hj*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.hhM^hjp+ubj)}(hhh]h)}(htv_nsec value to seth]htv_nsec value to set}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hM^hj+ubah}(h]h ]h"]h$]h&]uh1jhjp+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM^hj*ubeh}(h]h ]h"]h$]h&]uh1jhj*ubh)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM`hj*ubh)}(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.hhM_hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sb_write_started (C function)c.__sb_write_startedhNtauh1hhhhhhNhNubh)}(hhh](j)}(h@int __sb_write_started (const struct super_block *sb, int level)h]j)}(h?int __sb_write_started(const struct super_block *sb, int level)h](j)}(hinth]hint}(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/)}(h__sb_write_startedh]j5)}(h__sb_write_startedh]h__sb_write_started}(hjM,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjI,ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(,hhhj:,hMubj)}(h)(const struct super_block *sb, int level)h](j)}(hconst struct super_block *sbh](j )}(hjUh]hconst}(hji,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje,ubj)}(h h]h }(hjv,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhje,ubj )}(hjzh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhje,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)}jjO,sbc.__sb_write_startedasbuh1hhje,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhje,ubj*)}(hj-h]h*}(hj,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hje,ubj5)}(hsbh]hsb}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hje,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhja,ubj)}(h int levelh](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)}(hlevelh]hlevel}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhja,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 check if sb freeze level is heldh]h check if sb freeze level is held}(hj<-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj9-hhubah}(h]h ]h"]h$]h&]uh1jbhj!,hhhj:,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjT-jjT-jjjuh1hhhhhhNhNubj)}(h**Parameters** ``const struct super_block *sb`` the super we write to ``int level`` the freeze level **Description** * > 0 - sb freeze level is held * 0 - sb freeze level is not held * < 0 - !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWNh](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.hhMhjX-ubj)}(hhh](j)}(h7``const struct super_block *sb`` the super we write to h](j)}(h ``const struct super_block *sb``h]j)}(hj}-h]hconst struct super_block *sb}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjw-ubj)}(hhh]h)}(hthe super we write toh]hthe super we write to}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjw-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjt-ubj)}(h``int level`` the freeze level h](j)}(h ``int level``h]j)}(hj-h]h int level}(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 freeze levelh]hthe freeze level}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjt-ubeh}(h]h ]h"]h$]h&]uh1jhjX-ubh)}(h**Description**h]j)}(hj-h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjX-ubh bullet_list)}(hhh](h list_item)}(h> 0 - sb freeze level is heldh]h)}(hj.h]h> 0 - sb freeze level is held}(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&]uh1j .hj .ubj .)}(h0 - sb freeze level is not heldh]h)}(hj(.h]h0 - sb freeze level 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&.ubah}(h]h ]h"]h$]h&]uh1j .hj .ubj .)}(h(< 0 - !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWNh]h)}(hj@.h]h(< 0 - !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN}(hjB.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&]uh1j .hj .ubeh}(h]h ]h"]h$]h&]bulletj-uh1j.hj.hMhjX-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_write_started (C function)c.sb_write_startedhNtauh1hhhhhhNhNubh)}(hhh](j)}(h4bool sb_write_started (const struct super_block *sb)h]j)}(h3bool sb_write_started(const struct super_block *sb)h](j)}(hjh]hbool}(hj}.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjy.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&]uh1jhjy.hhhj.hMubj/)}(hsb_write_startedh]j5)}(hsb_write_startedh]hsb_write_started}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjy.hhhj.hMubj)}(h(const struct super_block *sb)h]j)}(hconst struct super_block *sbh](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 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.sb_write_startedasbuh1hhj.ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj*)}(hj-h]h*}(hj /hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj.ubj5)}(hsbh]hsb}(hj-/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubah}(h]h ]h"]h$]h&]jLjMuh1jhjy.hhhj.hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhju.hhhj.hMubah}(h]jp.ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj.hMhjr.hhubjc)}(hhh]h)}(h check if SB_FREEZE_WRITE is heldh]h check if SB_FREEZE_WRITE is held}(hjW/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjT/hhubah}(h]h ]h"]h$]h&]uh1jbhjr.hhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjo/jjo/jjjuh1hhhhhhNhNubj)}(h**Parameters** ``const struct super_block *sb`` the super we write to **Description** May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.h](h)}(h**Parameters**h]j)}(hjy/h]h Parameters}(hj{/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw/ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjs/ubj)}(hhh]j)}(h7``const struct super_block *sb`` the super we write to h](j)}(h ``const struct super_block *sb``h]j)}(hj/h]hconst struct super_block *sb}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj/ubj)}(hhh]h)}(hthe super we write toh]hthe super 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&]uh1jhjs/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.hhMhjs/ubh)}(h>May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.h]h>May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjs/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sb_write_not_started (C function)c.sb_write_not_startedhNtauh1hhhhhhNhNubh)}(hhh](j)}(h8bool sb_write_not_started (const struct super_block *sb)h]j)}(h7bool sb_write_not_started(const struct super_block *sb)h](j)}(hjh]hbool}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj&0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0hhhj%0hMubj/)}(hsb_write_not_startedh]j5)}(hsb_write_not_startedh]hsb_write_not_started}(hj80hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj40ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj0hhhj%0hMubj)}(h(const struct super_block *sb)h]j)}(hconst struct super_block *sbh](j )}(hjUh]hconst}(hjT0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP0ubj)}(h h]h }(hja0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjP0ubj )}(hjzh]hstruct}(hjo0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP0ubj)}(h h]h }(hj|0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjP0ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]j)}jj:0sbc.sb_write_not_startedasbuh1hhjP0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjP0ubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjP0ubj5)}(hsbh]hsb}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjP0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjL0ubah}(h]h ]h"]h$]h&]jLjMuh1jhj0hhhj%0hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0hhhj%0hMubah}(h]j 0ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj%0hMhj 0hhubjc)}(hhh]h)}(h$check if SB_FREEZE_WRITE is not heldh]h$check if SB_FREEZE_WRITE is not held}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj0hhubah}(h]h ]h"]h$]h&]uh1jbhj 0hhhj%0hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj 1jj 1jjjuh1hhhhhhNhNubj)}(h**Parameters** ``const struct super_block *sb`` the super we write to **Description** May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.h](h)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj1ubj)}(hhh]j)}(h7``const struct super_block *sb`` the super we write to h](j)}(h ``const struct super_block *sb``h]j)}(hj31h]hconst struct super_block *sb}(hj51hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj11ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj-1ubj)}(hhh]h)}(hthe super we write toh]hthe super we write to}(hjL1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjH1hMhjI1ubah}(h]h ]h"]h$]h&]uh1jhj-1ubeh}(h]h ]h"]h$]h&]uh1jhjH1hMhj*1ubah}(h]h ]h"]h$]h&]uh1jhj1ubh)}(h**Description**h]j)}(hjn1h]h Description}(hjp1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl1ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj1ubh)}(h>May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.h]h>May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj1ubeh}(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}(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/)}(hfile_write_startedh]j5)}(hfile_write_startedh]hfile_write_started}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhj1hMubj)}(h(const struct file *file)h]j)}(hconst struct file *fileh](j )}(hjUh]hconst}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj )}(hjzh]hstruct}(hj 2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubh)}(hhh]j5)}(hfileh]hfile}(hj(2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*2modnameN classnameNjj)}j]j)}jj1sbc.file_write_startedasbuh1hhj1ubj)}(h h]h }(hjH2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj*)}(hj-h]h*}(hjV2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj1ubj5)}(hfileh]hfile}(hjc2hhhNhNubah}(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 check if SB_FREEZE_WRITE is heldh]h check if SB_FREEZE_WRITE is held}(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 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)}(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)}(h1``const struct file *file`` the file we write to h](j)}(h``const struct file *file``h]j)}(hj2h]hconst struct file *file}(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)}(hthe file we write toh]hthe file we write to}(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)}(hj 3h]h Description}(hj 3hhhNhNubah}(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)}(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.}(hj3hhhNhNubah}(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](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}(hjN3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJ3hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj\3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJ3hhhj[3hMubj/)}(hfile_write_not_startedh]j5)}(hfile_write_not_startedh]hfile_write_not_started}(hjn3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjj3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJ3hhhj[3hMubj)}(h(const struct file *file)h]j)}(hconst struct file *fileh](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)}(hfileh]hfile}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j)}jjp3sbc.file_write_not_startedasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hfileh]hfile}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubah}(h]h ]h"]h$]h&]jLjMuh1jhjJ3hhhj[3hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjF3hhhj[3hMubah}(h]jA3ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj[3hMhjC3hhubjc)}(hhh]h)}(h$check if SB_FREEZE_WRITE is not heldh]h$check if SB_FREEZE_WRITE is not held}(hj(4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj%4hhubah}(h]h ]h"]h$]h&]uh1jbhjC3hhhj[3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@4jj@4jjjuh1hhhhhhNhNubj)}(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)}(hjJ4h]h Parameters}(hjL4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH4ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjD4ubj)}(hhh]j)}(h1``const struct file *file`` the file we write to h](j)}(h``const struct file *file``h]j)}(hji4h]hconst struct file *file}(hjk4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjc4ubj)}(hhh]h)}(hthe file we write toh]hthe file we write to}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjc4ubeh}(h]h ]h"]h$]h&]uh1jhj~4hMhj`4ubah}(h]h ]h"]h$]h&]uh1jhjD4ubh)}(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.hhMhjD4ubh)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjD4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_end_write (C function)c.sb_end_writehNtauh1hhhhhhNhNubh)}(hhh](j)}(h*void sb_end_write (struct super_block *sb)h]j)}(h)void sb_end_write(struct super_block *sb)h](j)}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4hhhj4hMubj/)}(h sb_end_writeh]j5)}(h sb_end_writeh]h sb_end_write}(hj 5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4hhhj4hMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj&5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"5ubj)}(h h]h }(hj35hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"5ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjD5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjA5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjF5modnameN classnameNjj)}j]j)}jj 5sbc.sb_end_writeasbuh1hhj"5ubj)}(h h]h }(hjd5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"5ubj*)}(hj-h]h*}(hjr5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"5ubj5)}(hsbh]hsb}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5ubah}(h]h ]h"]h$]h&]jLjMuh1jhj4hhhj4hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj4hhhj4hMubah}(h]j4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj4hMhj4hhubjc)}(hhh]h)}(h!drop write access to a superblockh]h!drop write access to a superblock}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jbhj4hhhj4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhhhNhNubj)}(h**Parameters** ``struct super_block *sb`` the super we wrote to **Description** Decrement number of writers to the filesystem. Wake up possible waiters wanting to freeze the filesystem.h](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj5ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we wrote to h](j)}(h``struct super_block *sb``h]j)}(hj5h]hstruct super_block *sb}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj5ubj)}(hhh]h)}(hthe super we wrote toh]hthe super we wrote to}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hj%6h]h Description}(hj'6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#6ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj5ubh)}(hiDecrement number of writers to the filesystem. Wake up possible waiters wanting to freeze the filesystem.h]hiDecrement number of writers to the filesystem. Wake up possible waiters wanting to freeze the filesystem.}(hj;6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_end_pagefault (C function)c.sb_end_pagefaulthNtauh1hhhhhhNhNubh)}(hhh](j)}(h.void sb_end_pagefault (struct super_block *sb)h]j)}(h-void sb_end_pagefault(struct super_block *sb)h](j)}(hvoidh]hvoid}(hjj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjf6hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjy6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjf6hhhjx6hMubj/)}(hsb_end_pagefaulth]j5)}(hsb_end_pagefaulth]hsb_end_pagefault}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjf6hhhjx6hMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j)}jj6sbc.sb_end_pagefaultasbuh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hsbh]hsb}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubah}(h]h ]h"]h$]h&]jLjMuh1jhjf6hhhjx6hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjb6hhhjx6hMubah}(h]j]6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjx6hMhj_6hhubjc)}(hhh]h)}(h3drop write access to a superblock from a page faulth]h3drop write access to a superblock from a page fault}(hj*7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj'7hhubah}(h]h ]h"]h$]h&]uh1jbhj_6hhhjx6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjB7jjB7jjjuh1hhhhhhNhNubj)}(h**Parameters** ``struct super_block *sb`` the super we wrote to **Description** Decrement number of processes handling write page fault to the filesystem. Wake up possible waiters wanting to freeze the filesystem.h](h)}(h**Parameters**h]j)}(hjL7h]h Parameters}(hjN7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ7ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjF7ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we wrote to h](j)}(h``struct super_block *sb``h]j)}(hjk7h]hstruct super_block *sb}(hjm7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhje7ubj)}(hhh]h)}(hthe super we wrote toh]hthe super we wrote to}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jhje7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjb7ubah}(h]h ]h"]h$]h&]uh1jhjF7ubh)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjF7ubh)}(hDecrement number of processes handling write page fault to the filesystem. Wake up possible waiters wanting to freeze the filesystem.h]hDecrement number of processes handling write page fault to the filesystem. Wake up possible waiters wanting to freeze the filesystem.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjF7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_end_intwrite (C function)c.sb_end_intwritehNtauh1hhhhhhNhNubh)}(hhh](j)}(h-void sb_end_intwrite (struct super_block *sb)h]j)}(h,void sb_end_intwrite(struct super_block *sb)h](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhj7hMubj/)}(hsb_end_intwriteh]j5)}(hsb_end_intwriteh]hsb_end_intwrite}(hj 8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj7hhhj7hMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj(8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$8ubj)}(h h]h }(hj58hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$8ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjF8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjC8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjH8modnameN classnameNjj)}j]j)}jj8sbc.sb_end_intwriteasbuh1hhj$8ubj)}(h h]h }(hjf8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$8ubj*)}(hj-h]h*}(hjt8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj$8ubj5)}(hsbh]hsb}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj 8ubah}(h]h ]h"]h$]h&]jLjMuh1jhj7hhhj7hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj7hhhj7hMubah}(h]j7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj7hMhj7hhubjc)}(hhh]h)}(h:drop write access to a superblock for internal fs purposesh]h:drop write access to a superblock for internal fs purposes}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj8hhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhj7hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhhhNhNubj)}(h**Parameters** ``struct super_block *sb`` the super we wrote to **Description** Decrement fs-internal number of writers to the filesystem. Wake up possible waiters wanting to freeze the filesystem.h](h)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj8ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we wrote to h](j)}(h``struct super_block *sb``h]j)}(hj8h]hstruct super_block *sb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj8ubj)}(hhh]h)}(hthe super we wrote toh]hthe super we wrote to}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hj'9h]h Description}(hj)9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%9ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj8ubh)}(hvDecrement fs-internal number of writers to the filesystem. Wake up possible waiters wanting to freeze the filesystem.h]hvDecrement fs-internal number of writers to the filesystem. Wake up possible waiters wanting to freeze the filesystem.}(hj=9hhhNhNubah}(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](hsb_start_write (C function)c.sb_start_writehNtauh1hhhhhhNhNubh)}(hhh](j)}(h,void sb_start_write (struct super_block *sb)h]j)}(h+void sb_start_write(struct super_block *sb)h](j)}(hvoidh]hvoid}(hjl9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjh9hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj{9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjh9hhhjz9hMubj/)}(hsb_start_writeh]j5)}(hsb_start_writeh]hsb_start_write}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjh9hhhjz9hMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]j)}jj9sbc.sb_start_writeasbuh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj*)}(hj-h]h*}(hj9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj9ubj5)}(hsbh]hsb}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubah}(h]h ]h"]h$]h&]jLjMuh1jhjh9hhhjz9hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjd9hhhjz9hMubah}(h]j_9ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjz9hMhja9hhubjc)}(hhh]h)}(h get write access to a superblockh]h get write access to a superblock}(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&]uh1jbhja9hhhjz9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjD:jjD:jjjuh1hhhhhhNhNubj)}(hX(**Parameters** ``struct super_block *sb`` the super we write to **Description** When a process wants to write data or metadata to a file system (i.e. dirty a page or an inode), it should embed the operation in a sb_start_write() - sb_end_write() pair to get exclusion against file system freezing. This function increments number of writers preventing freezing. If the file system is already frozen, the function waits until the file system is thawed. Since freeze protection behaves as a lock, users have to preserve ordering of freeze protection and other filesystem locks. Generally, freeze protection should be the outermost lock. In particular, we have: sb_start_write -> i_rwsem (write path, truncate, directory ops, ...) -> s_umount (freeze_super, thaw_super)h](h)}(h**Parameters**h]j)}(hjN:h]h Parameters}(hjP:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL:ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjH:ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we write to h](j)}(h``struct super_block *sb``h]j)}(hjm:h]hstruct super_block *sb}(hjo:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjg:ubj)}(hhh]h)}(hthe super we write toh]hthe super we write to}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjg:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjd:ubah}(h]h ]h"]h$]h&]uh1jhjH:ubh)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjH:ubh)}(hXsWhen a process wants to write data or metadata to a file system (i.e. dirty a page or an inode), it should embed the operation in a sb_start_write() - sb_end_write() pair to get exclusion against file system freezing. This function increments number of writers preventing freezing. If the file system is already frozen, the function waits until the file system is thawed.h]hXsWhen a process wants to write data or metadata to a file system (i.e. dirty a page or an inode), it should embed the operation in a sb_start_write() - sb_end_write() pair to get exclusion against file system freezing. This function increments number of writers preventing freezing. If the file system is already frozen, the function waits until the file system is thawed.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjH:ubh)}(hSince freeze protection behaves as a lock, users have to preserve ordering of freeze protection and other filesystem locks. Generally, freeze protection should be the outermost lock. In particular, we have:h]hSince freeze protection behaves as a lock, users have to preserve ordering of freeze protection and other filesystem locks. Generally, freeze protection should be the outermost lock. In particular, we have:}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjH:ubj)}(hhh]j)}(hsb_start_write -> i_rwsem (write path, truncate, directory ops, ...) -> s_umount (freeze_super, thaw_super)h](j)}(hsb_start_writeh]hsb_start_write}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj:ubj)}(hhh]h)}(h{-> i_rwsem (write path, truncate, directory ops, ...) -> s_umount (freeze_super, thaw_super)h]h{-> i_rwsem (write path, truncate, directory ops, ...) -> s_umount (freeze_super, thaw_super)}(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&]uh1jhjH:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_start_pagefault (C function)c.sb_start_pagefaulthNtauh1hhhhhhNhNubh)}(hhh](j)}(h0void sb_start_pagefault (struct super_block *sb)h]j)}(h/void sb_start_pagefault(struct super_block *sb)h](j)}(hvoidh]hvoid}(hj5;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1;hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjD;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1;hhhjC;hM ubj/)}(hsb_start_pagefaulth]j5)}(hsb_start_pagefaulth]hsb_start_pagefault}(hjV;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjR;ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1;hhhjC;hM ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjr;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjn;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)}jjX;sbc.sb_start_pagefaultasbuh1hhjn;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjn;ubj*)}(hj-h]h*}(hj;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjn;ubj5)}(hsbh]hsb}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjn;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjj;ubah}(h]h ]h"]h$]h&]jLjMuh1jhj1;hhhjC;hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-;hhhjC;hM ubah}(h]j(;ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjC;hM hj*;hhubjc)}(hhh]h)}(h2get write access to a superblock from a page faulth]h2get write access to a superblock from a page fault}(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*;hhhjC;hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj <jj <jjjuh1hhhhhhNhNubj)}(hX**Parameters** ``struct super_block *sb`` the super we write to **Description** When a process starts handling write page fault, it should embed the operation into sb_start_pagefault() - sb_end_pagefault() pair to get exclusion against file system freezing. This is needed since the page fault is going to dirty a page. This function increments number of running page faults preventing freezing. If the file system is already frozen, the function waits until the file system is thawed. Since page fault freeze protection behaves as a lock, users have to preserve ordering of freeze protection and other filesystem locks. It is advised to put sb_start_pagefault() close to mmap_lock in lock ordering. Page fault handling code implies lock dependency: mmap_lock -> sb_start_pagefaulth](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``struct super_block *sb`` the super we write to h](j)}(h``struct super_block *sb``h]j)}(hj6<h]hstruct super_block *sb}(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)}(hthe super we write toh]hthe super we write to}(hjO<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjK<hMhjL<ubah}(h]h ]h"]h$]h&]uh1jhj0<ubeh}(h]h ]h"]h$]h&]uh1jhjK<hMhj-<ubah}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj<ubh)}(hXWhen a process starts handling write page fault, it should embed the operation into sb_start_pagefault() - sb_end_pagefault() pair to get exclusion against file system freezing. This is needed since the page fault is going to dirty a page. This function increments number of running page faults preventing freezing. If the file system is already frozen, the function waits until the file system is thawed.h]hXWhen a process starts handling write page fault, it should embed the operation into sb_start_pagefault() - sb_end_pagefault() pair to get exclusion against file system freezing. This is needed since the page fault is going to dirty a page. This function increments number of running page faults preventing freezing. If the file system is already frozen, the function waits until the file system is thawed.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj<ubh)}(hXSince page fault freeze protection behaves as a lock, users have to preserve ordering of freeze protection and other filesystem locks. It is advised to put sb_start_pagefault() close to mmap_lock in lock ordering. Page fault handling code implies lock dependency:h]hXSince page fault freeze protection behaves as a lock, users have to preserve ordering of freeze protection and other filesystem locks. It is advised to put sb_start_pagefault() close to mmap_lock in lock ordering. Page fault handling code implies lock dependency:}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj<ubj)}(hhh]j)}(hmmap_lock -> sb_start_pagefaulth](j)}(h mmap_lockh]h mmap_lock}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj<ubj)}(hhh]h)}(h-> sb_start_pagefaulth]h-> sb_start_pagefault}(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<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_start_intwrite (C function)c.sb_start_intwritehNtauh1hhhhhhNhNubh)}(hhh](j)}(h/void sb_start_intwrite (struct super_block *sb)h]j)}(h.void sb_start_intwrite(struct super_block *sb)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/)}(hsb_start_intwriteh]j5)}(hsb_start_intwriteh]hsb_start_intwrite}(hj =hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj<hhhj =hM%ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj<=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8=ubj)}(h h]h }(hjI=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8=ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjZ=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjW=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\=modnameN classnameNjj)}j]j)}jj"=sbc.sb_start_intwriteasbuh1hhj8=ubj)}(h h]h }(hjz=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8=ubj*)}(hj-h]h*}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj8=ubj5)}(hsbh]hsb}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4=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)}(h9get write access to a superblock for internal fs purposesh]h9get write access to a superblock for internal fs purposes}(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 super we write to **Description** This is the third level of protection against filesystem freezing. It is free for use by a filesystem. The only requirement is that it must rank below sb_start_pagefault. For example filesystem can call sb_start_intwrite() when starting a transaction which somewhat eases handling of freezing for internal sources of filesystem changes (internal fs threads, discarding preallocation on file close, etc.).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)}(h1``struct super_block *sb`` the super we write to h](j)}(h``struct super_block *sb``h]j)}(hj>h]hstruct super_block *sb}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM&hj=ubj)}(hhh]h)}(hthe super we write toh]hthe super we write to}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hM&hj>ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj>hM&hj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubh)}(h**Description**h]j)}(hj;>h]h Description}(hj=>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9>ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM(hj=ubh)}(hThis is the third level of protection against filesystem freezing. It is free for use by a filesystem. The only requirement is that it must rank below sb_start_pagefault.h]hThis is the third level of protection against filesystem freezing. It is free for use by a filesystem. The only requirement is that it must rank below sb_start_pagefault.}(hjQ>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM'hj=ubh)}(hFor example filesystem can call sb_start_intwrite() when starting a transaction which somewhat eases handling of freezing for internal sources of filesystem changes (internal fs threads, discarding preallocation on file close, etc.).h]hFor example filesystem can call sb_start_intwrite() when starting a transaction which somewhat eases handling of freezing for internal sources of filesystem changes (internal fs threads, discarding preallocation on file close, etc.).}(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](hrenamedata (C struct) c.renamedatahNtauh1hhhhhhNhNubh)}(hhh](j)}(h renamedatah]j)}(hstruct renamedatah](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.hhM3ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhj>hM3ubj/)}(h renamedatah]j5)}(hj>h]h renamedata}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhj>hM3ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj>hhhj>hM3ubah}(h]j>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hM3hj>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.hhMPhj>hhubah}(h]h ]h"]h$]h&]uh1jbhj>hhhj>hM3ubeh}(h]h ](jstructeh"]h$]h&]jjjj>jj>jjjuh1hhhhhhNhNubj)}(hXE**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 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.hhMThj>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 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 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.hhMVhj>ubh)}(h **Members**h]j)}(hj?h]hMembers}(hj!?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM`hj>ubj)}(hhh](j)}(hC``mnt_idmap`` idmap of the mount in which the rename is happening. h](j)}(h ``mnt_idmap``h]j)}(hj>?h]h mnt_idmap}(hj@?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfreeze_holder (C enum)c.freeze_holderhNtauh1hhhhhhNhNubh)}(hhh](j)}(h freeze_holderh]j)}(henum freeze_holderh](j )}(hjh]henum}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@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 freeze_holderh]j5)}(hj@h]h freeze_holder}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Aubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@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)}(hholder of the freezeh]hholder of the freeze}(hj0AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj-Ahhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhj@hM^ubeh}(h]h ](jenumeh"]h$]h&]jjjjHAjjHAjjjuh1hhhhhhNhNubj)}(hX+**Constants** ``FREEZE_HOLDER_KERNEL`` kernel wants to freeze or thaw filesystem ``FREEZE_HOLDER_USERSPACE`` userspace wants to freeze or thaw filesystem ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed ``FREEZE_EXCL`` a freeze that can only be undone by the ownerh](h)}(h **Constants**h]j)}(hjRAh]h Constants}(hjTAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPAubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjLAubj)}(hhh](j)}(hC``FREEZE_HOLDER_KERNEL`` kernel wants to freeze or thaw filesystem h](j)}(h``FREEZE_HOLDER_KERNEL``h]j)}(hjqAh]hFREEZE_HOLDER_KERNEL}(hjsAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjkAubj)}(hhh]h)}(h)kernel wants to freeze or thaw filesystemh]h)kernel wants to freeze or thaw filesystem}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM hjAubah}(h]h ]h"]h$]h&]uh1jhjkAubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjhAubj)}(hI``FREEZE_HOLDER_USERSPACE`` userspace wants to freeze or thaw filesystem h](j)}(h``FREEZE_HOLDER_USERSPACE``h]j)}(hjAh]hFREEZE_HOLDER_USERSPACE}(hjAhhhNhNubah}(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.hhM hjAubj)}(hhh]h)}(h,userspace wants to freeze or thaw filesystemh]h,userspace wants to freeze or thaw filesystem}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjhAubj)}(hH``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed h](j)}(h``FREEZE_MAY_NEST``h]j)}(hjAh]hFREEZE_MAY_NEST}(hjAhhhNhNubah}(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.hhM hjAubj)}(hhh]h)}(h3whether nesting freeze and thaw requests is allowedh]h3whether nesting freeze and thaw requests is allowed}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjhAubj)}(h=``FREEZE_EXCL`` a freeze that can only be undone by the ownerh](j)}(h``FREEZE_EXCL``h]j)}(hjBh]h FREEZE_EXCL}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjBubj)}(hhh]h)}(h-a freeze that can only be undone by the ownerh]h-a freeze that can only be undone by the owner}(hj5BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj2Bubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj1BhM hjhAubeh}(h]h ]h"]h$]h&]uh1jhjLAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hj_Bh]h Description}(hjaBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Bubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hhhhubh)}(hXIndicate who the owner of the freeze or thaw request is and whether the freeze needs to be exclusive or can nest. Without **FREEZE_MAY_NEST**, multiple freeze and thaw requests from the same holder aren't allowed. It is however allowed to hold a single **FREEZE_HOLDER_USERSPACE** and a single **FREEZE_HOLDER_KERNEL** freeze at the same time. This is relied upon by some filesystems during online repair or similar.h](hzIndicate who the owner of the freeze or thaw request is and whether the freeze needs to be exclusive or can nest. Without }(hjuBhhhNhNubj)}(h**FREEZE_MAY_NEST**h]hFREEZE_MAY_NEST}(hj}BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuBubhr, multiple freeze and thaw requests from the same holder aren’t allowed. It is however allowed to hold a single }(hjuBhhhNhNubj)}(h**FREEZE_HOLDER_USERSPACE**h]hFREEZE_HOLDER_USERSPACE}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuBubh and a single }(hjuBhhhNhNubj)}(h**FREEZE_HOLDER_KERNEL**h]hFREEZE_HOLDER_KERNEL}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuBubhb freeze at the same time. This is relied upon by some filesystems during online repair or similar.}(hjuBhhhNhNubeh}(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](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}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBhhhjBhM ubj/)}(h is_mgtimeh]j5)}(h is_mgtimeh]h is_mgtime}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjBhhhjBhM ubj)}(h(const struct inode *inode)h]j)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Cubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Cubj )}(hjzh]hstruct}(hj*ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Cubj)}(h h]h }(hj7ChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Cubh)}(hhh]j5)}(hinodeh]hinode}(hjHChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjECubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJCmodnameN classnameNjj)}j]j)}jjBsb c.is_mgtimeasbuh1hhj Cubj)}(h h]h }(hjhChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Cubj*)}(hj-h]h*}(hjvChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj Cubj5)}(hinodeh]hinode}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Cubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubah}(h]h ]h"]h$]h&]jLjMuh1jhjBhhhjBhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjBhhhjBhM ubah}(h]jBah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjBhM hjBhhubjc)}(hhh]h)}(h)is this inode using multigrain timestampsh]h)is this inode using multigrain timestamps}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjChhubah}(h]h ]h"]h$]h&]uh1jbhjBhhhjBhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhhhNhNubj)}(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)}(hjCh]h Parameters}(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 hjCubj)}(hhh]j)}(hF``const struct inode *inode`` inode to test for multigrain timestamps h](j)}(h``const struct inode *inode``h]j)}(hjCh]hconst struct inode *inode}(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 hjCubj)}(hhh]h)}(h'inode to test for multigrain timestampsh]h'inode to test for multigrain timestamps}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhM hjDubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhM hjCubah}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hj)Dh]h Description}(hj+DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Dubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjCubh)}(hEReturn true if the inode uses multigrain timestamps, false otherwise.h]hEReturn true if the inode uses multigrain timestamps, false otherwise.}(hj?DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjCubeh}(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}(hjnDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjjDhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM# ubj)}(h h]h }(hj|DhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjDhhhj{DhM# ubj/)}(his_idmapped_mnth]j5)}(his_idmapped_mnth]his_idmapped_mnt}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjjDhhhj{DhM# ubj)}(h(const struct vfsmount *mnt)h]j)}(hconst struct vfsmount *mnth](j )}(hjUh]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj )}(hjzh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j]j)}jjDsbc.is_idmapped_mntasbuh1hhjDubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj*)}(hj-h]h*}(hjEhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDubj5)}(hmnth]hmnt}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjDubah}(h]h ]h"]h$]h&]jLjMuh1jhjjDhhhj{DhM# ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjfDhhhj{DhM# ubah}(h]jaDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{DhM# hjcDhhubjc)}(hhh]h)}(hcheck whether a mount is mappedh]hcheck whether a mount is mapped}(hjHEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM# hjEEhhubah}(h]h ]h"]h$]h&]uh1jbhjcDhhhj{DhM# ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`Ejj`Ejjjuh1hhhhhhNhNubj)}(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)}(hjjEh]h Parameters}(hjlEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhEubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM' hjdEubj)}(hhh]j)}(h2``const struct vfsmount *mnt`` the mount to check h](j)}(h``const struct vfsmount *mnt``h]j)}(hjEh]hconst struct vfsmount *mnt}(hjEhhhNhNubah}(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.hhM$ hjEubj)}(hhh]h)}(hthe mount to checkh]hthe mount to check}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhM$ hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM$ hjEubah}(h]h ]h"]h$]h&]uh1jhjdEubh)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM& hjdEubh)}(hNIf **mnt** has an non **nop_mnt_idmap** attached to it then **mnt** is mapped.h](hIf }(hjEhhhNhNubj)}(h**mnt**h]hmnt}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh has an non }(hjEhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh attached to it then }(hjEhhhNhNubj)}(h**mnt**h]hmnt}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh is mapped.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM% hjdEubh)}(h **Return**h]j)}(hj!Fh]hReturn}(hj#FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM' hjdEubh)}(h&true if mount is mapped, false if not.h]h&true if mount is mapped, false if not.}(hj7FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM( hjdEubeh}(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}(hjfFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjbFhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjuFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbFhhhjtFhM ubj/)}(hfile_start_writeh]j5)}(hfile_start_writeh]hfile_start_write}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjbFhhhjtFhM ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hfileh]hfile}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j]j)}jjFsbc.file_start_writeasbuh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjFubj5)}(hfileh]hfile}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubah}(h]h ]h"]h$]h&]jLjMuh1jhjbFhhhjtFhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^FhhhjtFhM ubah}(h]jYFah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjtFhM hj[Fhhubjc)}(hhh]h)}(h4get write access to a superblock for regular file ioh]h4get write access to a superblock for regular file io}(hj&GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj#Ghhubah}(h]h ]h"]h$]h&]uh1jbhj[FhhhjtFhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>Gjj>Gjjjuh1hhhhhhNhNubj)}(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-regualr file. Should be matched with a call to file_end_write().h](h)}(h**Parameters**h]j)}(hjHGh]h Parameters}(hjJGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFGubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM! hjBGubj)}(hhh]j)}(h3``struct file *file`` the file we want to write to h](j)}(h``struct file *file``h]j)}(hjgGh]hstruct file *file}(hjiGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjaGubj)}(hhh]h)}(hthe file we want to write toh]hthe file we want to write to}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|GhM hj}Gubah}(h]h ]h"]h$]h&]uh1jhjaGubeh}(h]h ]h"]h$]h&]uh1jhj|GhM hj^Gubah}(h]h ]h"]h$]h&]uh1jhjBGubh)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjBGubh)}(h}This is a variant of sb_start_write() which is a noop on non-regualr 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-regualr file. Should be matched with a call to file_end_write().}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjBGubeh}(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}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjGhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM2 ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjGhM2 ubj/)}(hfile_end_writeh]j5)}(hfile_end_writeh]hfile_end_write}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhjGhM2 ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](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)}(hfileh]hfile}(hjBHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?Hubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDHmodnameN classnameNjj)}j]j)}jj Hsbc.file_end_writeasbuh1hhj 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)}(hfileh]hfile}(hj}HhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Hubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubah}(h]h ]h"]h$]h&]jLjMuh1jhjGhhhjGhM2 ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjGhhhjGhM2 ubah}(h]jGah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjGhM2 hjGhhubjc)}(hhh]h)}(h3drop write access to a superblock of a regular fileh]h3drop write access to a superblock of a regular file}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM2 hjHhhubah}(h]h ]h"]h$]h&]uh1jbhjGhhhjGhM2 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhhhNhNubj)}(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)}(hjHh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM6 hjHubj)}(hhh]j)}(h+``struct file *file`` the file we wrote to h](j)}(h``struct file *file``h]j)}(hjHh]hstruct file *file}(hjHhhhNhNubah}(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.hhM3 hjHubj)}(hhh]h)}(hthe file we wrote toh]hthe file we wrote to}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhM3 hjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhM3 hjHubah}(h]h ]h"]h$]h&]uh1jhjHubh)}(h**Description**h]j)}(hj#Ih]h Description}(hj%IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Iubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM5 hjHubh)}(h4Should be matched with a call to file_start_write().h]h4Should be matched with a call to file_start_write().}(hj9IhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM4 hjHubeh}(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}(hjhIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdIhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM? ubj)}(h h]h }(hjwIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdIhhhjvIhM? ubj/)}(hkiocb_start_writeh]j5)}(hkiocb_start_writeh]hkiocb_start_write}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjdIhhhjvIhM? ubj)}(h(struct kiocb *iocb)h]j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j)}jjIsbc.kiocb_start_writeasbuh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIubj5)}(hiocbh]hiocb}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubah}(h]h ]h"]h$]h&]jLjMuh1jhjdIhhhjvIhM? ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj`IhhhjvIhM? ubah}(h]j[Iah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjvIhM? hj]Ihhubjc)}(hhh]h)}(h2get write access to a superblock for async file ioh]h2get write access to a superblock for async file io}(hj(JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM? hj%Jhhubah}(h]h ]h"]h$]h&]uh1jbhj]IhhhjvIhM? ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@Jjj@Jjjjuh1hhhhhhNhNubj)}(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)}(hjJJh]h Parameters}(hjLJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHJubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMC hjDJubj)}(hhh]j)}(hG``struct kiocb *iocb`` the io context we want to submit the write with h](j)}(h``struct kiocb *iocb``h]j)}(hjiJh]hstruct kiocb *iocb}(hjkJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM@ hjcJubj)}(hhh]h)}(h/the io context we want to submit the write withh]h/the io context we want to submit the write with}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~JhM@ hjJubah}(h]h ]h"]h$]h&]uh1jhjcJubeh}(h]h ]h"]h$]h&]uh1jhj~JhM@ hj`Jubah}(h]h ]h"]h$]h&]uh1jhjDJubh)}(h**Description**h]j)}(hjJh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMB hjDJubh)}(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().}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMA hjDJubeh}(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}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMR ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJhhhjJhMR ubj/)}(hkiocb_end_writeh]j5)}(hkiocb_end_writeh]hkiocb_end_write}(hj KhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJhhhjJhMR ubj)}(h(struct kiocb *iocb)h]j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hj&KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"Kubj)}(h h]h }(hj3KhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"Kubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjDKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFKmodnameN classnameNjj)}j]j)}jj Ksbc.kiocb_end_writeasbuh1hhj"Kubj)}(h h]h }(hjdKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"Kubj*)}(hj-h]h*}(hjrKhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"Kubj5)}(hiocbh]hiocb}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"Kubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKubah}(h]h ]h"]h$]h&]jLjMuh1jhjJhhhjJhMR ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjJhhhjJhMR ubah}(h]jJah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJhMR hjJhhubjc)}(hhh]h)}(h5drop write access to a superblock after async file ioh]h5drop write access to a superblock after async file io}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMR hjKhhubah}(h]h ]h"]h$]h&]uh1jbhjJhhhjJhMR ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhhhNhNubj)}(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)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMV hjKubj)}(hhh]j)}(hB``struct kiocb *iocb`` the io context we sumbitted the write with h](j)}(h``struct kiocb *iocb``h]j)}(hjKh]hstruct kiocb *iocb}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMS hjKubj)}(hhh]h)}(h*the io context we sumbitted the write withh]h*the io context we sumbitted the write with}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMS hjLubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMS hjKubah}(h]h ]h"]h$]h&]uh1jhjKubh)}(h**Description**h]j)}(hj%Lh]h Description}(hj'LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Lubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMU hjKubh)}(h5Should be matched with a call to kiocb_start_write().h]h5Should be matched with a call to kiocb_start_write().}(hj;LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMT hjKubeh}(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}(hjjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjfLhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjxLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfLhhhjwLhM ubj/)}(h is_dot_dotdoth]j5)}(h is_dot_dotdoth]h is_dot_dotdot}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjfLhhhjwLhM ubj)}(h(const char *name, size_t len)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj)}(hcharh]hchar}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj*)}(hj-h]h*}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj5)}(hnameh]hname}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj)}j]j)}jjLsbc.is_dot_dotdotasbuh1hhjLubj)}(h h]h }(hj&MhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj5)}(hlenh]hlen}(hj4MhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubeh}(h]h ]h"]h$]h&]jLjMuh1jhjfLhhhjwLhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjbLhhhjwLhM ubah}(h]j]Lah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwLhM hj_Lhhubjc)}(hhh]h)}(h,returns true only if **name** is "." or ".."h](hreturns true only if }(hj^MhhhNhNubj)}(h**name**h]hname}(hjfMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Mubh is “.” or “..”}(hj^MhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj[Mhhubah}(h]h ]h"]h$]h&]uh1jbhj_LhhhjwLhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhhhNhNubj)}(hi**Parameters** ``const char *name`` file name to check ``size_t len`` length of file name, in bytesh](h)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjMubj)}(hhh](j)}(h(``const char *name`` file name to check h](j)}(h``const char *name``h]j)}(hjMh]hconst char *name}(hjMhhhNhNubah}(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.hhM hjMubj)}(hhh]h)}(hfile name to checkh]hfile name to check}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhM hjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjMubj)}(h,``size_t len`` length of file name, in bytesh](j)}(h``size_t len``h]j)}(hjMh]h size_t len}(hjMhhhNhNubah}(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.hhM hjMubj)}(hhh]h)}(hlength of file name, in bytesh]hlength of file name, in bytes}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjMubeh}(h]h ]h"]h$]h&]uh1jhjMubeh}(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}(hjDNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@NhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjRNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@NhhhjQNhM ubj/)}(hname_contains_dotdoth]j5)}(hname_contains_dotdoth]hname_contains_dotdot}(hjdNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`Nubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@NhhhjQNhM ubj)}(h(const char *name)h]j)}(hconst char *nameh](j )}(hjUh]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Nubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|Nubj)}(hcharh]hchar}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj|Nubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|Nubj*)}(hj-h]h*}(hjNhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|Nubj5)}(hnameh]hname}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|Nubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjxNubah}(h]h ]h"]h$]h&]jLjMuh1jhj@NhhhjQNhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjQubah}(h]h ]h"]h$]h&]jLjMuh1jhjQhhhjQhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjQhhhjQhM ubah}(h]jPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjQhM hjPhhubjc)}(hhh]h)}(h&signal finish of a direct I/O requestsh]h&signal finish of a direct I/O requests}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjQhhubah}(h]h ]h"]h$]h&]uh1jbhjPhhhjQhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhhhNhNubj)}(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)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjQubj)}(hhh]j)}(h8``struct inode *inode`` inode the direct I/O happens on h](j)}(h``struct inode *inode``h]j)}(hj Rh]hstruct inode *inode}(hj RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjRubj)}(hhh]h)}(hinode the direct I/O happens onh]hinode the direct I/O happens on}(hj#RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM hj Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhM hjRubah}(h]h ]h"]h$]h&]uh1jhjQubh)}(h**Description**h]j)}(hjERh]h Description}(hjGRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCRubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjQubh)}(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[RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjQubeh}(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}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjRhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMxubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRhhhjRhMxubj/)}(hgeneric_ci_validate_strict_nameh]j5)}(hgeneric_ci_validate_strict_nameh]hgeneric_ci_validate_strict_name}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjRhhhjRhMxubj)}(h,(struct inode *dir, const struct qstr *name)h](j)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubh)}(hhh]j5)}(hinodeh]hinode}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNjj)}j]j)}jjRsb!c.generic_ci_validate_strict_nameasbuh1hhjRubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjRubj5)}(hdirh]hdir}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubj)}(hconst struct qstr *nameh](j )}(hjUh]hconst}(hj8ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Subj)}(h h]h }(hjEShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4Subj )}(hjzh]hstruct}(hjSShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Subj)}(h h]h }(hj`ShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4Subh)}(hhh]j5)}(hqstrh]hqstr}(hjqShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsSmodnameN classnameNjj)}j]jS!c.generic_ci_validate_strict_nameasbuh1hhj4Subj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4Subj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4Subj5)}(hnameh]hname}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4Subeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubeh}(h]h ]h"]h$]h&]jLjMuh1jhjRhhhjRhMxubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjRhhhjRhMxubah}(h]j}Rah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRhMxhjRhhubjc)}(hhh]h)}(h1Check if a given name is suitable for a directoryh]h1Check if a given name is suitable for a directory}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMxhjShhubah}(h]h ]h"]h$]h&]uh1jbhjRhhhjRhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhhhNhNubj)}(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)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM|hjSubj)}(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)}(hjTh]hstruct inode *dir}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjTubj)}(hhh]h)}(h9inode of the directory where the new file will be createdh]h9inode of the directory where the new file will be created}(hj.ThhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*ThMhj+Tubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhj*ThMhj Tubj)}(h1``const struct qstr *name`` name of the new file h](j)}(h``const struct qstr *name``h]j)}(hjNTh]hconst struct qstr *name}(hjPThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjHTubj)}(hhh]h)}(hname of the new fileh]hname of the new file}(hjgThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjcThMhjdTubah}(h]h ]h"]h$]h&]uh1jhjHTubeh}(h]h ]h"]h$]h&]uh1jhjcThMhj Tubeh}(h]h ]h"]h$]h&]uh1jhjSubh)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjSubh)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMyhjSubh)}(h **Return**h]j)}(hjTh]hReturn}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjSubj.)}(hhh](j .)}(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}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjTubah}(h]h ]h"]h$]h&]uh1j .hjTubj .)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjTubah}(h]h ]h"]h$]h&]uh1j .hjTubeh}(h]h ]h"]h$]h&]j\.j-uh1j.hjThMhjSubeh}(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}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_drop (C function)c.d_drophNtauh1hhjUhhhNhNubh)}(hhh](j)}(h#void d_drop (struct dentry *dentry)h]j)}(h"void d_drop(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hj:UhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj6UhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMFubj)}(h h]h }(hjIUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6UhhhjHUhMFubj/)}(hd_droph]j5)}(hd_droph]hd_drop}(hj[UhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj6UhhhjHUhMFubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjwUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsUubh)}(hhh]j5)}(hdentryh]hdentry}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]j)}jj]Usbc.d_dropasbuh1hhjsUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsUubj*)}(hj-h]h*}(hjUhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsUubj5)}(hdentryh]hdentry}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoUubah}(h]h ]h"]h$]h&]jLjMuh1jhj6UhhhjHUhMFubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2UhhhjHUhMFubah}(h]j-Uah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjHUhMFhj/Uhhubjc)}(hhh]h)}(h drop a dentryh]h drop a dentry}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMFhjUhhubah}(h]h ]h"]h$]h&]uh1jbhj/UhhhjHUhMFubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjUhNhNubj)}(hX**Parameters** ``struct dentry *dentry`` dentry to drop **Description** d_drop() unhashes the entry from the parent dentry hashes, so that it won't be found through a VFS lookup any more. Note that this is different from deleting the dentry - d_delete will try to mark the dentry negative if possible, giving a successful _negative_ lookup, while d_drop will just make the cache lookup fail. d_drop() is used mainly for stuff that wants to invalidate a dentry for some reason (NFS timeouts or autofs deletes). __d_drop requires dentry->d_lock ___d_drop doesn't mark dentry as "unhashed" (dentry->d_hash.pprev will be LIST_POISON2, not NULL).h](h)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMJhjVubj)}(hhh]j)}(h)``struct dentry *dentry`` dentry to drop h](j)}(h``struct dentry *dentry``h]j)}(hj;Vh]hstruct dentry *dentry}(hj=VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Vubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMGhj5Vubj)}(hhh]h)}(hdentry to droph]hdentry to drop}(hjTVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPVhMGhjQVubah}(h]h ]h"]h$]h&]uh1jhj5Vubeh}(h]h ]h"]h$]h&]uh1jhjPVhMGhj2Vubah}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hjvVh]h Description}(hjxVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtVubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMIhjVubh)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMHhjVubh)}(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).}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMNhjVubh)}(h __d_drop requires dentry->d_lockh]h __d_drop requires dentry->d_lock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMQhjVubh)}(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).}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMShjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_find_any_alias (C function)c.d_find_any_aliashNtauh1hhjUhhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVhhhjVhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj WmodnameN classnameNjj)}j]j)}jd_find_any_aliassbc.d_find_any_aliasasbuh1hhjVhhhjVhMubj)}(h h]h }(hj(WhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVhhhjVhMubj*)}(hj-h]h*}(hj6WhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjVhhhjVhMubj/)}(hd_find_any_aliash]j5)}(hj%Wh]hd_find_any_alias}(hjGWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCWubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVhhhjVhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjbWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^Wubj)}(h h]h }(hjoWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^Wubh)}(hhh]j5)}(hinodeh]hinode}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}Wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]j#Wc.d_find_any_aliasasbuh1hhj^Wubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^Wubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj^Wubj5)}(hinodeh]hinode}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^Wubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZWubah}(h]h ]h"]h$]h&]jLjMuh1jhjVhhhjVhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjVhhhjVhMubah}(h]jVah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjVhMhjVhhubjc)}(hhh]h)}(h find any alias for a given inodeh]h find any alias for a given inode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWhhubah}(h]h ]h"]h$]h&]uh1jbhjVhhhjVhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjWjjWjjjuh1hhhhjUhNhNubj)}(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)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubj)}(hhh]j)}(h3``struct inode *inode`` inode to find an alias for h](j)}(h``struct inode *inode``h]j)}(hj$Xh]hstruct inode *inode}(hj&XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Xubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjXubj)}(hhh]h)}(hinode to find an alias forh]hinode to find an alias for}(hj=XhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9XhMhj:Xubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhj9XhMhjXubah}(h]h ]h"]h$]h&]uh1jhjWubh)}(h**Description**h]j)}(hj_Xh]h Description}(hjaXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Xubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubh)}(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 }(hjuXhhhNhNubj)}(h``NULL``h]hNULL}(hj}XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuXubh.}(hjuXhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_find_alias (C function)c.d_find_aliashNtauh1hhjUhhhNhNubh)}(hhh](j)}(h2struct dentry * d_find_alias (struct inode *inode)h]j)}(h0struct dentry *d_find_alias(struct inode *inode)h](j )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXhhhjXhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]j)}j d_find_aliassbc.d_find_aliasasbuh1hhjXhhhjXhMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXhhhjXhMubj*)}(hj-h]h*}(hjYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjXhhhjXhMubj/)}(h d_find_aliash]j5)}(hjXh]h d_find_alias}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjXhhhjXhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj0YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Yubj)}(h h]h }(hj=YhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,Yubh)}(hhh]j5)}(hinodeh]hinode}(hjNYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPYmodnameN classnameNjj)}j]jXc.d_find_aliasasbuh1hhj,Yubj)}(h h]h }(hjlYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,Yubj*)}(hj-h]h*}(hjzYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj,Yubj5)}(hinodeh]hinode}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,Yubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(Yubah}(h]h ]h"]h$]h&]jLjMuh1jhjXhhhjXhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjXhhhjXhMubah}(h]jXah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjXhMhjXhhubjc)}(hhh]h)}(hgrab a hashed alias of inodeh]hgrab a hashed alias of inode}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jbhjXhhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjUhNhNubj)}(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)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjYubj)}(hhh]j)}(h*``struct inode *inode`` inode in question h](j)}(h``struct inode *inode``h]j)}(hjYh]hstruct inode *inode}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjYubj)}(hhh]h)}(hinode in questionh]hinode in question}(hj ZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubh)}(h**Description**h]j)}(hj-Zh]h Description}(hj/ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Zubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjYubh)}(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.}(hjCZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjYubh)}(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.}(hjRZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hshrink_dcache_sb (C function)c.shrink_dcache_sbhNtauh1hhjUhhhNhNubh)}(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}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj}ZhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ZhhhjZhMubj/)}(hshrink_dcache_sbh]j5)}(hshrink_dcache_sbh]hshrink_dcache_sb}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj}ZhhhjZhMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubh)}(hhh]j5)}(h super_blockh]h super_block}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]j)}jjZsbc.shrink_dcache_sbasbuh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj*)}(hj-h]h*}(hj [hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZubj5)}(hsbh]hsb}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubah}(h]h ]h"]h$]h&]jLjMuh1jhj}ZhhhjZhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjyZhhhjZhMubah}(h]jtZah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhMhjvZhhubjc)}(hhh]h)}(hshrink dcache for a superblockh]hshrink dcache for a superblock}(hjA[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj>[hhubah}(h]h ]h"]h$]h&]uh1jbhjvZhhhjZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjY[jjY[jjjuh1hhhhjUhNhNubj)}(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)}(hjc[h]h Parameters}(hje[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja[ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj][ubj)}(hhh]j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hj[h]hstruct super_block *sb}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj|[ubj)}(hhh]h)}(h superblockh]h superblock}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj|[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjy[ubah}(h]h ]h"]h$]h&]uh1jhj][ubh)}(h**Description**h]j)}(hj[h]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj][ubh)}(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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj][ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpath_has_submounts (C function)c.path_has_submountshNtauh1hhjUhhhNhNubh)}(hhh](j)}(h2int path_has_submounts (const struct path *parent)h]j)}(h1int path_has_submounts(const struct path *parent)h](j)}(hinth]hint}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj[hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[hhhj\hMubj/)}(hpath_has_submountsh]j5)}(hpath_has_submountsh]hpath_has_submounts}(hj#\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj[hhhj\hMubj)}(h(const struct path *parent)h]j)}(hconst struct path *parenth](j )}(hjUh]hconst}(hj?\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;\ubj)}(h h]h }(hjL\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;\ubj )}(hjzh]hstruct}(hjZ\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;\ubj)}(h h]h }(hjg\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;\ubh)}(hhh]j5)}(hpathh]hpath}(hjx\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hju\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjz\modnameN classnameNjj)}j]j)}jj%\sbc.path_has_submountsasbuh1hhj;\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&]noemphjLjMuh1jhj7\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)}(h8check for mounts over a dentry in the current namespace.h]h8check for mounts over a dentry in the current namespace.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj\hhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhj\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjUhNhNubj)}(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)}(hj\h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj\ubj)}(hhh]j)}(h-``const struct path *parent`` path to check. h](j)}(h``const struct path *parent``h]j)}(hj]h]hconst struct path *parent}(hj ]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj]ubj)}(hhh]h)}(hpath to check.h]hpath to check.}(hj7]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3]hMhj4]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj3]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhj\ubh)}(h**Description**h]j)}(hjY]h]h Description}(hj[]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW]ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj\ubh)}(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.}(hjo]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!shrink_dcache_parent (C function)c.shrink_dcache_parenthNtauh1hhjUhhhNhNubh)}(hhh](j)}(h1void shrink_dcache_parent (struct dentry *parent)h]j)}(h0void shrink_dcache_parent(struct dentry *parent)h](j)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj]hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]hhhj]hMubj/)}(hshrink_dcache_parenth]j5)}(hshrink_dcache_parenth]hshrink_dcache_parent}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj]hhhj]hMubj)}(h(struct dentry *parent)h]j)}(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)}jj]sbc.shrink_dcache_parentasbuh1hhj]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}(hj4^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 prune dcacheh]h prune dcache}(hj^^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj[^hhubah}(h]h ]h"]h$]h&]uh1jbhj]hhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjv^jjv^jjjuh1hhhhjUhNhNubj)}(h**Parameters** ``struct dentry *parent`` parent of entries to prune **Description** Prune the dcache to remove unused children of the parent dentry.h](h)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~^ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjz^ubj)}(hhh]j)}(h5``struct dentry *parent`` parent of entries to prune 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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj^ubj)}(hhh]h)}(hparent of entries to pruneh]hparent of entries to prune}(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&]uh1jhjz^ubh)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjz^ubh)}(h@Prune the dcache to remove unused children of the parent dentry.h]h@Prune the dcache to remove unused children of the parent dentry.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjz^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_invalidate (C function)c.d_invalidatehNtauh1hhjUhhhNhNubh)}(hhh](j)}(h)void d_invalidate (struct dentry *dentry)h]j)}(h(void d_invalidate(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj_hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhubj)}(h h]h }(hj._hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_hhhj-_hMhubj/)}(h d_invalidateh]j5)}(h d_invalidateh]h d_invalidate}(hj@_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj_hhhj-_hMhubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj\_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX_ubj)}(h h]h }(hji_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjX_ubh)}(hhh]j5)}(hdentryh]hdentry}(hjz_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjw_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|_modnameN classnameNjj)}j]j)}jjB_sbc.d_invalidateasbuh1hhjX_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjX_ubj*)}(hj-h]h*}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjX_ubj5)}(hdentryh]hdentry}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjX_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjT_ubah}(h]h ]h"]h$]h&]jLjMuh1jhj_hhhj-_hMhubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj_hhhj-_hMhubah}(h]j_ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj-_hMhhj_hhubjc)}(hhh]h)}(h(detach submounts, prune dcache, and droph]h(detach submounts, prune dcache, and drop}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhhj_hhubah}(h]h ]h"]h$]h&]uh1jbhj_hhhj-_hMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhjUhNhNubj)}(h]**Parameters** ``struct dentry *dentry`` dentry to invalidate (aka detach, prune and drop)h](h)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMlhj_ubj)}(hhh]j)}(hK``struct dentry *dentry`` dentry to invalidate (aka detach, prune and drop)h](j)}(h``struct dentry *dentry``h]j)}(hj `h]hstruct dentry *dentry}(hj"`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMnhj`ubj)}(hhh]h)}(h1dentry to invalidate (aka detach, prune and drop)h]h1dentry to invalidate (aka detach, prune and drop)}(hj9`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMihj6`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj5`hMnhj`ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_alloc (C function) c.d_allochNtauh1hhjUhhhNhNubh)}(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}(hjz`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjv`hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjv`hhhj`hMubh)}(hhh]j5)}(hdentryh]hdentry}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj)}j]j)}jd_allocsb c.d_allocasbuh1hhjv`hhhj`hMubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjv`hhhj`hMubj*)}(hj-h]h*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjv`hhhj`hMubj/)}(hd_alloch]j5)}(hj`h]hd_alloc}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjv`hhhj`hMubj)}(h0(struct dentry *parent, const struct qstr *name)h](j)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubh)}(hhh]j5)}(hdentryh]hdentry}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j]j` c.d_allocasbuh1hhj`ubj)}(h h]h }(hj0ahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj*)}(hj-h]h*}(hj>ahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj`ubj5)}(hparenth]hparent}(hjKahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubj)}(hconst struct qstr *nameh](j )}(hjUh]hconst}(hjdahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`aubj)}(h h]h }(hjqahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`aubj )}(hjzh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`aubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`aubh)}(hhh]j5)}(hqstrh]hqstr}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j]j` c.d_allocasbuh1hhj`aubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`aubj*)}(hj-h]h*}(hjahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj`aubj5)}(hnameh]hname}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`aubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjv`hhhj`hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjr`hhhj`hMubah}(h]jm`ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj`hMhjo`hhubjc)}(hhh]h)}(hallocate a dcache entryh]hallocate a dcache entry}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjahhubah}(h]h ]h"]h$]h&]uh1jbhjo`hhhj`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjUhNhNubj)}(hXU**Parameters** ``struct dentry * parent`` parent of entry to allocate ``const struct qstr *name`` qstr of the name **Description** Allocates a dentry. It returns ``NULL`` if there is insufficient memory available. On a success the dentry is returned. The name passed in is copied and the copy passed in may be reused after this call.h](h)}(h**Parameters**h]j)}(hj"bh]h Parameters}(hj$bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj bubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjbubj)}(hhh](j)}(h7``struct dentry * parent`` parent of entry to allocate h](j)}(h``struct dentry * parent``h]j)}(hjAbh]hstruct dentry * parent}(hjCbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?bubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj;bubj)}(hhh]h)}(hparent of entry to allocateh]hparent of entry to allocate}(hjZbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVbhMhjWbubah}(h]h ]h"]h$]h&]uh1jhj;bubeh}(h]h ]h"]h$]h&]uh1jhjVbhMhj8bubj)}(h-``const struct qstr *name`` qstr of the name h](j)}(h``const struct qstr *name``h]j)}(hjzbh]hconst struct qstr *name}(hj|bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxbubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjtbubj)}(hhh]h)}(hqstr of the nameh]hqstr of the name}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjtbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj8bubeh}(h]h ]h"]h$]h&]uh1jhjbubh)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjbubh)}(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 }(hjbhhhNhNubj)}(h``NULL``h]hNULL}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh 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.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_instantiate (C function)c.d_instantiatehNtauh1hhjUhhhNhNubh)}(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 chhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjchhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjchhhjchMubj/)}(h d_instantiateh]j5)}(h d_instantiateh]h d_instantiate}(hj-chhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)cubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjchhhjchMubj)}(h+(struct dentry *entry, struct inode *inode)h](j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjIchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEcubj)}(h h]h }(hjVchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEcubh)}(hhh]j5)}(hdentryh]hdentry}(hjgchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjicmodnameN classnameNjj)}j]j)}jj/csbc.d_instantiateasbuh1hhjEcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEcubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjEcubj5)}(hentryh]hentry}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAcubj)}(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_instantiateasbuh1hhjcubj)}(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&]noemphjLjMuh1jhjAcubeh}(h]h ]h"]h$]h&]jLjMuh1jhjchhhjchMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjchhhjchMubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjchMhjchhubjc)}(hhh]h)}(h&fill in inode information for a dentryh]h&fill in inode information for a dentry}(hjubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpihhhjihM>ubh)}(hhh]j5)}(hdentryh]hdentry}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]j)}jd_add_cisb c.d_add_ciasbuh1hhjpihhhjihM>ubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpihhhjihM>ubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjpihhhjihM>ubj/)}(hd_add_cih]j5)}(hjih]hd_add_ci}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjpihhhjihM>ubj)}(h?(struct dentry *dentry, struct inode *inode, struct qstr *name)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(hdentryh]hdentry}(hj jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]ji c.d_add_ciasbuh1hhjiubj)}(h h]h }(hj*jhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hj8jhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hdentryh]hdentry}(hjEjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(hstruct inode *inodeh](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)}(hinodeh]hinode}(hj|jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~jmodnameN classnameNjj)}j]ji c.d_add_ciasbuh1hhjZjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZjubj*)}(hj-h]h*}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZjubj5)}(hinodeh]hinode}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubh)}(hhh]j5)}(hqstrh]hqstr}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]ji c.d_add_ciasbuh1hhjjubj)}(h h]h }(hj khhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj5)}(hnameh]hname}(hj%khhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubeh}(h]h ]h"]h$]h&]jLjMuh1jhjpihhhjihM>ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlihhhjihM>ubah}(h]jgiah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjihM>hjiihhubjc)}(hhh]h)}(h2lookup or allocate new dentry with case-exact nameh]h2lookup or allocate new dentry with case-exact name}(hjOkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM>hjLkhhubah}(h]h ]h"]h$]h&]uh1jbhjiihhhjihM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgkjjgkjjjuh1hhhhjUhNhNubj)}(hX**Parameters** ``struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func ``struct inode *inode`` the inode case-insensitive lookup has found ``struct qstr *name`` the case-exact name to be associated with the returned dentry **Description** This is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems. For a case-insensitive lookup match and if the case-exact dentry already exists in the dcache, use it and return it. If no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.h](h)}(h**Parameters**h]j)}(hjqkh]h Parameters}(hjskhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjokubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMBhjkkubj)}(hhh](j)}(hZ``struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func h](j)}(h``struct dentry *dentry``h]j)}(hjkh]hstruct dentry *dentry}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM?hjkubj)}(hhh]h)}(h?the negative dentry that was passed to the parent's lookup funch]hAthe negative dentry that was passed to the parent’s lookup func}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM?hjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhM?hjkubj)}(hD``struct inode *inode`` the inode case-insensitive lookup has found h](j)}(h``struct inode *inode``h]j)}(hjkh]hstruct inode *inode}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM@hjkubj)}(hhh]h)}(h+the inode case-insensitive lookup has foundh]h+the inode case-insensitive lookup has found}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM@hjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhM@hjkubj)}(hT``struct qstr *name`` the case-exact name to be associated with the returned dentry h](j)}(h``struct qstr *name``h]j)}(hjlh]hstruct qstr *name}(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.chMAhjkubj)}(hhh]h)}(h=the case-exact name to be associated with the returned dentryh]h=the case-exact name to be associated with the returned dentry}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMAhjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhMAhjkubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMChjkkubh)}(hThis is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems.h]hThis is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems.}(hjSlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMBhjkkubh)}(htFor a case-insensitive lookup match and if the case-exact dentry already exists in the dcache, use it and return it.h]htFor a case-insensitive lookup match and if the case-exact dentry already exists in the dcache, use it and return it.}(hjblhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMFhjkkubh)}(hsIf no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.h]hsIf no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.}(hjqlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMIhjkkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_same_name (C function) c.d_same_namehNtauh1hhjUhhhNhNubh)}(hhh](j)}(hdbool d_same_name (const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h]j)}(hcbool d_same_name(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h](j)}(hjh]hbool}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjlhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMtubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlhhhjlhMtubj/)}(h d_same_nameh]j5)}(h d_same_nameh]h d_same_name}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjlhhhjlhMtubj)}(hS(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h](j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj )}(hjzh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(hhh]j5)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j]j)}jjlsb c.d_same_nameasbuh1hhjlubj)}(h h]h }(hj5mhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hj-h]h*}(hjCmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hdentryh]hdentry}(hjPmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(hconst struct dentry *parenth](j )}(hjUh]hconst}(hjimhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjemubj)}(h h]h }(hjvmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjemubj )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjemubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjemubh)}(hhh]j5)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j]j1m c.d_same_nameasbuh1hhjemubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjemubj*)}(hj-h]h*}(hjmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjemubj5)}(hparenth]hparent}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjemubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(hconst struct qstr *nameh](j )}(hjUh]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubh)}(hhh]j5)}(hqstrh]hqstr}(hj-nhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/nmodnameN classnameNjj)}j]j1m c.d_same_nameasbuh1hhjmubj)}(h h]h }(hjKnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj*)}(hj-h]h*}(hjYnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjmubj5)}(hnameh]hname}(hjfnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubeh}(h]h ]h"]h$]h&]jLjMuh1jhjlhhhjlhMtubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlhhhjlhMtubah}(h]jlah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjlhMthjlhhubjc)}(hhh]h)}(h(compare dentry name with case-exact nameh]h(compare dentry name with case-exact name}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMthjnhhubah}(h]h ]h"]h$]h&]uh1jbhjlhhhjlhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjUhNhNubj)}(hX-**Parameters** ``const struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func ``const struct dentry *parent`` parent dentry ``const struct qstr *name`` the case-exact name to be associated with the returned dentry **Return** true if names are same, or falseh](h)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMxhjnubj)}(hhh](j)}(h```const struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func h](j)}(h``const struct dentry *dentry``h]j)}(hjnh]hconst struct dentry *dentry}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMuhjnubj)}(hhh]h)}(h?the negative dentry that was passed to the parent's lookup funch]hAthe negative dentry that was passed to the parent’s lookup func}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMuhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMuhjnubj)}(h.``const struct dentry *parent`` parent dentry h](j)}(h``const struct dentry *parent``h]j)}(hj oh]hconst struct dentry *parent}(hj ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMvhjoubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hj#ohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMvhj oubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMvhjnubj)}(hZ``const struct qstr *name`` the case-exact name to be associated with the returned dentry h](j)}(h``const struct qstr *name``h]j)}(hjCoh]hconst struct qstr *name}(hjEohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAoubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMwhj=oubj)}(hhh]h)}(h=the case-exact name to be associated with the returned dentryh]h=the case-exact name to be associated with the returned dentry}(hj\ohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXohMwhjYoubah}(h]h ]h"]h$]h&]uh1jhj=oubeh}(h]h ]h"]h$]h&]uh1jhjXohMwhjnubeh}(h]h ]h"]h$]h&]uh1jhjnubh)}(h **Return**h]j)}(hj~oh]hReturn}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|oubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMyhjnubh)}(h true if names are same, or falseh]h true if names are same, or false}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMyhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_lookup (C function) c.d_lookuphNtauh1hhjUhhhNhNubh)}(hhh](j)}(hOstruct dentry * d_lookup (const struct dentry *parent, const struct qstr *name)h]j)}(hMstruct dentry *d_lookup(const struct dentry *parent, const struct qstr *name)h](j )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhjohM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]j)}jd_lookupsb c.d_lookupasbuh1hhjohhhjohM ubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhjohM ubj*)}(hj-h]h*}(hjphhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjohhhjohM ubj/)}(hd_lookuph]j5)}(hjph]hd_lookup}(hj"phhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjohhhjohM ubj)}(h6(const struct dentry *parent, const struct qstr *name)h](j)}(hconst struct dentry *parenth](j )}(hjUh]hconst}(hj=phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9pubj)}(h h]h }(hjJphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9pubj )}(hjzh]hstruct}(hjXphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9pubj)}(h h]h }(hjephhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9pubh)}(hhh]j5)}(hdentryh]hdentry}(hjvphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjspubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxpmodnameN classnameNjj)}j]jo c.d_lookupasbuh1hhj9pubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9pubj*)}(hj-h]h*}(hjphhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj9pubj5)}(hparenth]hparent}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9pubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5pubj)}(hconst struct qstr *nameh](j )}(hjUh]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(hqstrh]hqstr}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]jo c.d_lookupasbuh1hhjpubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj*)}(hj-h]h*}(hj-qhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjpubj5)}(hnameh]hname}(hj:qhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5pubeh}(h]h ]h"]h$]h&]jLjMuh1jhjohhhjohM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjohhhjohM ubah}(h]joah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjohM hjohhubjc)}(hhh]h)}(hsearch for a dentryh]hsearch for a dentry}(hjdqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjaqhhubah}(h]h ]h"]h$]h&]uh1jbhjohhhjohM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|qjj|qjjjuh1hhhhjUhNhNubj)}(hX**Parameters** ``const struct dentry *parent`` parent dentry ``const struct qstr *name`` qstr of name we wish to find **Return** dentry, or NULL **Description** d_lookup searches the children of the parent dentry for the name in question. If the dentry is found its reference count is incremented and the dentry is returned. The caller must use dput to free the entry when it has finished using it. ``NULL`` is returned if the dentry does not exist.h](h)}(h**Parameters**h]j)}(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.chM hjqubj)}(hhh](j)}(h.``const struct dentry *parent`` parent dentry h](j)}(h``const struct dentry *parent``h]j)}(hjqh]hconst struct dentry *parent}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjqubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjqubj)}(h9``const struct qstr *name`` qstr of name we wish to find h](j)}(h``const struct qstr *name``h]j)}(hjqh]hconst struct qstr *name}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjqubj)}(hhh]h)}(hqstr of name we wish to findh]hqstr of name we wish to find}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjqubeh}(h]h ]h"]h$]h&]uh1jhjqubh)}(h **Return**h]j)}(hjrh]hReturn}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjqubh)}(hdentry, or NULLh]hdentry, or NULL}(hj/rhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjqubh)}(h**Description**h]j)}(hj@rh]h Description}(hjBrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>rubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjqubh)}(hX d_lookup searches the children of the parent dentry for the name in question. If the dentry is found its reference count is incremented and the dentry is returned. The caller must use dput to free the entry when it has finished using it. ``NULL`` is returned if the dentry does not exist.h](hd_lookup searches the children of the parent dentry for the name in question. If the dentry is found its reference count is incremented and the dentry is returned. The caller must use dput to free the entry when it has finished using it. }(hjVrhhhNhNubj)}(h``NULL``h]hNULL}(hj^rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVrubh* is returned if the dentry does not exist.}(hjVrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_delete (C function) c.d_deletehNtauh1hhjUhhhNhNubh)}(hhh](j)}(h&void d_delete (struct dentry * dentry)h]j)}(h$void d_delete(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjrhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrhhhjrhM ubj/)}(hd_deleteh]j5)}(hd_deleteh]hd_delete}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjrhhhjrhM ubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubh)}(hhh]j5)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]j)}jjrsb c.d_deleteasbuh1hhjrubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj*)}(hj-h]h*}(hj shhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj5)}(hdentryh]hdentry}(hj-shhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubah}(h]h ]h"]h$]h&]jLjMuh1jhjrhhhjrhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjrhhhjrhM ubah}(h]jrah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjrhM hjrhhubjc)}(hhh]h)}(hdelete a dentryh]hdelete a dentry}(hjWshhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjTshhubah}(h]h ]h"]h$]h&]uh1jbhjrhhhjrhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjosjjosjjjuh1hhhhjUhNhNubj)}(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)}(hjysh]h Parameters}(hj{shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwsubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjssubj)}(hhh]j)}(h0``struct dentry * dentry`` The dentry to delete h](j)}(h``struct dentry * dentry``h]j)}(hjsh]hstruct dentry * dentry}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjsubj)}(hhh]h)}(hThe dentry to deleteh]hThe dentry to delete}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshM hjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshM hjsubah}(h]h ]h"]h$]h&]uh1jhjssubh)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjssubh)}(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}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjssubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_rehash (C function) c.d_rehashhNtauh1hhjUhhhNhNubh)}(hhh](j)}(h%void d_rehash (struct dentry * entry)h]j)}(h#void d_rehash(struct dentry *entry)h](j)}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjthhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hj'thhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhj&thM ubj/)}(hd_rehashh]j5)}(hd_rehashh]hd_rehash}(hj9thhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5tubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjthhhj&thM ubj)}(h(struct dentry *entry)h]j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjUthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQtubj)}(h h]h }(hjbthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQtubh)}(hhh]j5)}(hdentryh]hdentry}(hjsthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjptubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjutmodnameN classnameNjj)}j]j)}jj;tsb c.d_rehashasbuh1hhjQtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQtubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjQtubj5)}(hentryh]hentry}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMtubah}(h]h ]h"]h$]h&]jLjMuh1jhjthhhj&thM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhj&thM ubah}(h]j tah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj&thM hj thhubjc)}(hhh]h)}(hadd an entry back to the hashh]hadd an entry back to the hash}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjthhubah}(h]h ]h"]h$]h&]uh1jbhj thhhj&thM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjUhNhNubj)}(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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjtubj)}(hhh]j)}(h4``struct dentry * entry`` dentry to add to the hash h](j)}(h``struct dentry * entry``h]j)}(hjuh]hstruct dentry * entry}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjuubj)}(hhh]h)}(hdentry to add to the hashh]hdentry to add to the hash}(hj2uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.uhM hj/uubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhj.uhM hjuubah}(h]h ]h"]h$]h&]uh1jhjtubh)}(h**Description**h]j)}(hjTuh]h Description}(hjVuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRuubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjtubh)}(h0Adds a dentry to the hash according to its name.h]h0Adds a dentry to the hash according to its name.}(hjjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_add (C function)c.d_addhNtauh1hhjUhhhNhNubh)}(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}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjuhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuhhhjuhM ubj/)}(hd_addh]j5)}(hd_addh]hd_add}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjuhhhjuhM ubj)}(h+(struct dentry *entry, struct inode *inode)h](j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hdentryh]hdentry}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j)}jjusbc.d_addasbuh1hhjuubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj*)}(hj-h]h*}(hj"vhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuubj5)}(hentryh]hentry}(hj/vhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjHvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDvubj)}(h h]h }(hjUvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDvubh)}(hhh]j5)}(hinodeh]hinode}(hjfvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhvmodnameN classnameNjj)}j]jvc.d_addasbuh1hhjDvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDvubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDvubj5)}(hinodeh]hinode}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubeh}(h]h ]h"]h$]h&]jLjMuh1jhjuhhhjuhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjuhhhjuhM ubah}(h]juah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjuhM hjuhhubjc)}(hhh]h)}(hadd dentry to hash queuesh]hadd dentry to hash queues}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjvhhubah}(h]h ]h"]h$]h&]uh1jbhjuhhhjuhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjUhNhNubj)}(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)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjvubj)}(hhh](j)}(h'``struct dentry *entry`` dentry to add h](j)}(h``struct dentry *entry``h]j)}(hj wh]hstruct dentry *entry}(hj whhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjwubj)}(hhh]h)}(h dentry to addh]h dentry to add}(hj#whhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM hj wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjwubj)}(h;``struct inode *inode`` The inode to attach to this dentry h](j)}(h``struct inode *inode``h]j)}(hjCwh]hstruct inode *inode}(hjEwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAwubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj=wubj)}(hhh]h)}(h"The inode to attach to this dentryh]h"The inode to attach to this dentry}(hj\whhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXwhM hjYwubah}(h]h ]h"]h$]h&]uh1jhj=wubeh}(h]h ]h"]h$]h&]uh1jhjXwhM hjwubeh}(h]h ]h"]h$]h&]uh1jhjvubh)}(h**Description**h]j)}(hj~wh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|wubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjvubh)}(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 }(hjwhhhNhNubj)}(h **inode**h]hinode}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh<. The entry was actually filled in earlier during d_alloc().}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_splice_alias (C function)c.d_splice_aliashNtauh1hhjUhhhNhNubh)}(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}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjwhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]j)}jd_splice_aliassbc.d_splice_aliasasbuh1hhjwhhhjwhM ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjwhM ubj*)}(hj-h]h*}(hj#xhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwhhhjwhM ubj/)}(hd_splice_aliash]j5)}(hjxh]hd_splice_alias}(hj4xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0xubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjwhhhjwhM ubj)}(h,(struct inode *inode, struct dentry *dentry)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjOxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKxubj)}(h h]h }(hj\xhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKxubh)}(hhh]j5)}(hinodeh]hinode}(hjmxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjoxmodnameN classnameNjj)}j]jxc.d_splice_aliasasbuh1hhjKxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKxubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjKxubj5)}(hinodeh]hinode}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGxubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]jxc.d_splice_aliasasbuh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj*)}(hj-h]h*}(hj yhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hdentryh]hdentry}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGxubeh}(h]h ]h"]h$]h&]jLjMuh1jhjwhhhjwhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjwhhhjwhM ubah}(h]jwah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwhM hjwhhubjc)}(hhh]h)}(h8splice a disconnected dentry into the tree if one existsh]h8splice a disconnected dentry into the tree if one exists}(hj@yhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj=yhhubah}(h]h ]h"]h$]h&]uh1jbhjwhhhjwhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXyjjXyjjjuh1hhhhjUhNhNubj)}(hX**Parameters** ``struct inode *inode`` the inode which may have a disconnected dentry ``struct dentry *dentry`` a negative dentry which we want to point to the inode. **Description** If inode is a directory and has an IS_ROOT alias, then d_move that in place of the given dentry and return it, else simply d_add the inode to the dentry and return NULL. If a non-IS_ROOT directory is found, the filesystem is corrupt, and we should error out: directories can't have multiple aliases. This is needed in the lookup routine of any filesystem that is exportable (via knfsd) so that we can build dcache paths to directories effectively. If a dentry was found and moved, then it is returned. Otherwise NULL is returned. This matches the expected return value of ->lookup. Cluster filesystems may call this function with a negative, hashed dentry. In that case, we know that the inode will be a regular file, and also this will only occur during atomic_open. So we need to check for the dentry being already hashed only in the final case.h](h)}(h**Parameters**h]j)}(hjbyh]h Parameters}(hjdyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`yubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj\yubj)}(hhh](j)}(hG``struct inode *inode`` the inode which may have a disconnected dentry h](j)}(h``struct inode *inode``h]j)}(hjyh]hstruct inode *inode}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj{yubj)}(hhh]h)}(h.the inode which may have a disconnected dentryh]h.the inode which may have a disconnected dentry}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhM hjyubah}(h]h ]h"]h$]h&]uh1jhj{yubeh}(h]h ]h"]h$]h&]uh1jhjyhM hjxyubj)}(hQ``struct dentry *dentry`` a negative dentry which we want to point to the inode. h](j)}(h``struct dentry *dentry``h]j)}(hjyh]hstruct dentry *dentry}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyubj)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhM hjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhM hjxyubeh}(h]h ]h"]h$]h&]uh1jhj\yubh)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj\yubh)}(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 zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj\yubh)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj\yubh)}(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.}(hj)zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj\yubh)}(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.}(hj8zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj\yubh)}(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.}(hjGzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj\yubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_subdir (C function) c.is_subdirhNtauh1hhjUhhhNhNubh)}(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}(hjvzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjrzhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrzhhhjzhM ubj/)}(h is_subdirh]j5)}(h is_subdirh]h is_subdir}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjrzhhhjzhM ubj)}(h6(struct dentry *new_dentry, struct dentry *old_dentry)h](j)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubh)}(hhh]j5)}(hdentryh]hdentry}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j]j)}jjzsb c.is_subdirasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzubj5)}(h new_dentryh]h new_dentry}(hj {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 hj {ubj)}(h h]h }(hj1{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj {ubh)}(hhh]j5)}(hdentryh]hdentry}(hjB{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD{modnameN classnameNjj)}j]jz c.is_subdirasbuh1hhj {ubj)}(h h]h }(hj`{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj {ubj*)}(hj-h]h*}(hjn{hhhNhNubah}(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&]noemphjLjMuh1jhjzubeh}(h]h ]h"]h$]h&]jLjMuh1jhjrzhhhjzhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjnzhhhjzhM ubah}(h]jizah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjzhM hjkzhhubjc)}(hhh]h)}(h*is new dentry a subdirectory of old_dentryh]h*is new dentry a subdirectory of old_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&]uh1jbhjkzhhhjzhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjUhNhNubj)}(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)}(hj{h]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj{ubj)}(hhh](j)}(h)``struct dentry *new_dentry`` new dentry 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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj{ubj)}(hhh]h)}(h new dentryh]h new dentry}(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 dentry *old_dentry`` old dentry h](j)}(h``struct dentry *old_dentry``h]j)}(hj|h]hstruct dentry *old_dentry}(hj!|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj|ubj)}(hhh]h)}(h old dentryh]h old dentry}(hj8|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4|hM hj5|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj4|hM hj{ubeh}(h]h ]h"]h$]h&]uh1jhj{ubh)}(h**Description**h]j)}(hjZ|h]h Description}(hj\|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX|ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj{ubh)}(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()}(hjp|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdget_dlock (C function) c.dget_dlockhNtauh1hhjUhhhNhNubh)}(hhh](j)}(h2struct dentry * dget_dlock (struct dentry *dentry)h]j)}(h0struct dentry *dget_dlock(struct dentry *dentry)h](j )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM9ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhj|hM9ubh)}(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 dget_dlocksb c.dget_dlockasbuh1hhj|hhhj|hM9ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhj|hM9ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|hhhj|hM9ubj/)}(h dget_dlockh]j5)}(hj|h]h dget_dlock}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhj|hM9ubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj)}(h h]h }(hj&}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubh)}(hhh]j5)}(hdentryh]hdentry}(hj7}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9}modnameN classnameNjj)}j]j| c.dget_dlockasbuh1hhj}ubj)}(h h]h }(hjU}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj*)}(hj-h]h*}(hjc}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}ubj5)}(hdentryh]hdentry}(hjp}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj}ubah}(h]h ]h"]h$]h&]jLjMuh1jhj|hhhj|hM9ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj|hhhj|hM9ubah}(h]j|ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj|hM9hj|hhubjc)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM9hj}hhubah}(h]h ]h"]h$]h&]uh1jbhj|hhhj|hM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhjUhNhNubj)}(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}h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM=hj}ubj)}(hhh]j)}(h7``struct dentry *dentry`` dentry to get a reference to h](j)}(h``struct dentry *dentry``h]j)}(hj}h]hstruct dentry *dentry}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM:hj}ubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM:hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hM:hj}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&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM<hj}ubh)}(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 }(hj,~hhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hj4~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,~ubh. 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.}(hj,~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM;hj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdget (C function)c.dgethNtauh1hhjUhhhNhNubh)}(hhh](j)}(h,struct dentry * dget (struct dentry *dentry)h]j)}(h*struct dentry *dget(struct dentry *dentry)h](j )}(hjzh]hstruct}(hjm~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji~hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMJubj)}(h h]h }(hj{~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji~hhhjz~hMJubh)}(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)}jdgetsbc.dgetasbuh1hhji~hhhjz~hMJubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji~hhhjz~hMJubj*)}(hj-h]h*}(hj~hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hji~hhhjz~hMJubj/)}(hdgeth]j5)}(hj~h]hdget}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hji~hhhjz~hMJubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj)}(h h]h }(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.dgetasbuh1hhj~ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj*)}(hj-h]h*}(hj1hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj~ubj5)}(hdentryh]hdentry}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubah}(h]h ]h"]h$]h&]jLjMuh1jhji~hhhjz~hMJubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhje~hhhjz~hMJubah}(h]j`~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjz~hMJhjb~hhubjc)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMJhjehhubah}(h]h ]h"]h$]h&]uh1jbhjb~hhhjz~hMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjUhNhNubj)}(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)}(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:23: ./include/linux/dcache.hhMNhjubj)}(hhh]j)}(h7``struct dentry *dentry`` dentry to get a reference to 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:23: ./include/linux/dcache.hhMKhjubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubah}(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:23: ./include/linux/dcache.hhMMhjubh)}(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 }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhXp 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMLhjubh)}(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:23: ./include/linux/dcache.hhMThjubh)}(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 }(hj3hhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh is held. From the deadlock avoidance point of view it is equivalent to spin_lock()/increment refcount/spin_unlock(), so calling it under }(hj3hhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubhM is always a bug; so’s calling it under ->d_lock on any of its descendents.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMUhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_unhashed (C function) c.d_unhashedhNtauh1hhjUhhhNhNubh)}(hhh](j)}(h,int d_unhashed (const struct dentry *dentry)h]j)}(h+int d_unhashed(const struct dentry *dentry)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMeubj/)}(h d_unhashedh]j5)}(h d_unhashedh]h d_unhashed}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMeubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](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 }(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)}jjsb c.d_unhashedasbuh1hhjubj)}(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}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMeubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj~hhhjhMeubah}(h]jyah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMehj{hhubjc)}(hhh]h)}(his dentry hashedh]his dentry hashed}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMehj^hhubah}(h]h ]h"]h$]h&]uh1jbhj{hhhjhMeubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjUhNhNubj)}(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)}(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:23: ./include/linux/dcache.hhMihj}ubj)}(hhh]j)}(h/``const struct dentry *dentry`` entry to check h](j)}(h``const struct dentry *dentry``h]j)}(hjh]hconst struct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMfhjubj)}(hhh]h)}(hentry to checkh]hentry to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhj}ubh)}(h**Description**h]j)}(hj݁h]h Description}(hj߁hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjہubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhhj}ubh)}(h:Returns true if the dentry passed is not currently hashed.h]h:Returns true if the dentry passed is not currently hashed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMghj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!d_really_is_negative (C function)c.d_really_is_negativehNtauh1hhjUhhhNhNubh)}(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}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj/hMubj/)}(hd_really_is_negativeh]j5)}(hd_really_is_negativeh]hd_really_is_negative}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj/hMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjDsbc.d_really_is_negativeasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj*)}(hj-h]h*}(hjłhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZubj5)}(hdentryh]hdentry}(hj҂hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubah}(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@Determine if a dentry is really negative (ignoring fallthroughs)h]h@Determine if a dentry is really negative (ignoring fallthroughs)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjUhNhNubj)}(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)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjubj)}(hhh]j)}(h7``const struct dentry *dentry`` The dentry in question h](j)}(h``const struct dentry *dentry``h]j)}(hj=h]hconst struct dentry *dentry}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj7ubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj4ubah}(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&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjubh)}(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 }(hjhhhNhNubj )}(h*only*h]honly}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjubhXM 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!d_really_is_positive (C function)c.d_really_is_positivehNtauh1hhjUhhhNhNubh)}(hhh](j)}(h7bool d_really_is_positive (const struct dentry *dentry)h]j)}(h6bool d_really_is_positive(const struct dentry *dentry)h](j)}(hjh]hbool}(hjރhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjڃhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjڃhhhjhMubj/)}(hd_really_is_positiveh]j5)}(hd_really_is_positiveh]hd_really_is_positive}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjڃhhhjhMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]j)}jjsbc.d_really_is_positiveasbuh1hhjubj)}(h h]h }(hjshhhNhNubah}(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&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjڃhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjփhhhjhMubah}(h]jуah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjӃhhubjc)}(hhh]h)}(h@Determine if a dentry is really positive (ignoring fallthroughs)h]h@Determine if a dentry is really positive (ignoring fallthroughs)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjӃhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjЄjjЄjjjuh1hhhhjUhNhNubj)}(hX**Parameters** ``const struct dentry *dentry`` The dentry in question **Description** Returns true if the dentry represents a name that maps to an inode (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev. Note! (1) This should be used *only* by a filesystem to examine its own dentries. It should not be used to look at some other filesystem's dentries. (2) It should also be used in combination with d_inode() to get the inode.h](h)}(h**Parameters**h]j)}(hjڄh]h Parameters}(hj܄hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj؄ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjԄubj)}(hhh]j)}(h7``const struct dentry *dentry`` The dentry in question h](j)}(h``const struct dentry *dentry``h]j)}(hjh]hconst struct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(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)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjԄubh)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjԄubh)}(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 }(hjYhhhNhNubj )}(h*only*h]honly}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1j hjYubh 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.}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjԄubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_inode (C function) c.d_inodehNtauh1hhjUhhhNhNubh)}(hhh](j)}(h4struct inode * d_inode (const struct dentry *dentry)h]j)}(h2struct inode *d_inode(const struct dentry *dentry)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jd_inodesb c.d_inodeasbuh1hhjhhhjhM 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/)}(hd_inodeh]j5)}(hjׅh]hd_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](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)}(hdentryh]hdentry}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]jՅ c.d_inodeasbuh1hhjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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)}(h#Get the actual inode of this dentryh]h#Get the actual inode of this dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjȆjjȆjjjuh1hhhhjUhNhNubj)}(h**Parameters** ``const struct dentry *dentry`` The dentry to query **Description** This is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h](h)}(h**Parameters**h]j)}(hj҆h]h Parameters}(hjԆhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjІubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj̆ubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hjh]hconst struct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM hjubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hj hhhNhNubah}(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&]uh1jhj̆ubh)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj̆ubh)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj̆ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_inode_rcu (C function) c.d_inode_rcuhNtauh1hhjUhhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmhhhj~hMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j d_inode_rcusb c.d_inode_rcuasbuh1hhjmhhhj~hMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmhhhj~hMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjmhhhj~hMubj/)}(h d_inode_rcuh]j5)}(hjh]h d_inode_rcu}(hjЇhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̇ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjmhhhj~hMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj)}j]j c.d_inode_rcuasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjPhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjmhhhj~hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjihhhj~hMubah}(h]jdah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~hMhjfhhubjc)}(hhh]h)}(h4Get the actual inode of this dentry with READ_ONCE()h]h4Get the actual inode of this dentry with READ_ONCE()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjfhhhj~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjUhNhNubj)}(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)}(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:23: ./include/linux/dcache.hhMhjubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hjȈh]hconst struct dentry *dentry}(hjʈhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƈubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjˆubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj݈hMhjވubah}(h]h ]h"]h$]h&]uh1jhjˆubeh}(h]h ]h"]h$]h&]uh1jhj݈hMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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:23: ./include/linux/dcache.hhMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_backing_inode (C function)c.d_backing_inodehNtauh1hhjUhhhNhNubh)}(hhh](j)}(h;struct inode * d_backing_inode (const struct dentry *upper)h]j)}(h9struct inode *d_backing_inode(const struct dentry *upper)h](j )}(hjzh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM$ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDhhhjUhM$ubh)}(hhh]j5)}(hinodeh]hinode}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]j)}jd_backing_inodesbc.d_backing_inodeasbuh1hhjDhhhjUhM$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDhhhjUhM$ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDhhhjUhM$ubj/)}(hd_backing_inodeh]j5)}(hjh]hd_backing_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjDhhhjUhM$ubj)}(h(const struct dentry *upper)h]j)}(hconst struct dentry *upperh](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 }(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.d_backing_inodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj'hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hupperh]hupper}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjDhhhjUhM$ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj@hhhjUhM$ubah}(h]j;ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjUhM$hj=hhubjc)}(hhh]h)}(h+Get upper or lower inode we should be usingh]h+Get upper or lower inode we should be using}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM$hj[hhubah}(h]h ]h"]h$]h&]uh1jbhj=hhhjUhM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjUhNhNubj)}(hXi**Parameters** ``const struct dentry *upper`` The upper layer **Description** This is the helper that should be used to get at the inode that will be used if this dentry were to be opened as a file. The inode may be on the upper dentry or it may be on a lower dentry pinned by the upper. Normal filesystems should not use this to access their own inodes.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM(hjzubj)}(hhh]j)}(h/``const struct dentry *upper`` The upper layer h](j)}(h``const struct dentry *upper``h]j)}(hjh]hconst struct dentry *upper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM%hjubj)}(hhh]h)}(hThe upper layerh]hThe upper layer}(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&]uh1jhjzubh)}(h**Description**h]j)}(hjڊh]h Description}(hj܊hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj؊ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM'hjzubh)}(hThis is the helper that should be used to get at the inode that will be used if this dentry were to be opened as a file. The inode may be on the upper dentry or it may be on a lower dentry pinned by the upper.h]hThis is the helper that should be used to get at the inode that will be used if this dentry were to be opened as a file. The inode may be on the upper dentry or it may be on a lower dentry pinned by the upper.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM&hjzubh)}(hBNormal filesystems should not use this to access their own inodes.h]hBNormal filesystems should not use this to access their own inodes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM*hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_real (C function)c.d_realhNtauh1hhjUhhhNhNubh)}(hhh](j)}(hEstruct dentry * d_real (struct dentry *dentry, enum d_real_type type)h]j)}(hCstruct dentry *d_real(struct dentry *dentry, enum d_real_type type)h](j )}(hjzh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM5ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*hhhj;hM5ubh)}(hhh]j5)}(hdentryh]hdentry}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j)}jd_realsbc.d_realasbuh1hhj*hhhj;hM5ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*hhhj;hM5ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj*hhhj;hM5ubj/)}(hd_realh]j5)}(hjkh]hd_real}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj*hhhj;hM5ubj)}(h.(struct dentry *dentry, enum d_real_type type)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&]uh1j4hjËubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȋmodnameN classnameNjj)}j]jic.d_realasbuh1hhjubj)}(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)}(henum d_real_type typeh](j )}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h d_real_typeh]h d_real_type}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]jic.d_realasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(htypeh]htype}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj*hhhj;hM5ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj&hhhj;hM5ubah}(h]j!ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj;hM5hj#hhubjc)}(hhh]h)}(hReturn the real dentryh]hReturn the real dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM5hjhhubah}(h]h ]h"]h$]h&]uh1jbhj#hhhj;hM5ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjUhNhNubj)}(hX4**Parameters** ``struct dentry *dentry`` the dentry to query ``enum d_real_type type`` the type of real dentry (data or metadata) **Description** If dentry is on a union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself. See also: Documentation/filesystems/vfs.rsth](h)}(h**Parameters**h]j)}(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:23: ./include/linux/dcache.hhM9hjubj)}(hhh](j)}(h.``struct dentry *dentry`` the dentry to query h](j)}(h``struct dentry *dentry``h]j)}(hj͌h]hstruct dentry *dentry}(hjόhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjˌubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM6hjnjubj)}(hhh]h)}(hthe dentry to queryh]hthe dentry to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjnjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjČubj)}(hE``enum d_real_type type`` the type of real dentry (data or metadata) h](j)}(h``enum d_real_type type``h]j)}(hjh]henum d_real_type type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM7hjubj)}(hhh]h)}(h*the type of real dentry (data or metadata)h]h*the type of real dentry (data or metadata)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjČubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM9hjubh)}(hmIf dentry is on a union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself.h]hmIf dentry is on a union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM8hjubh)}(h+See also: Documentation/filesystems/vfs.rsth]h+See also: Documentation/filesystems/vfs.rst}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM;hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_real_inode (C function)c.d_real_inodehNtauh1hhjUhhhNhNubh)}(hhh](j)}(h9struct inode * d_real_inode (const struct dentry *dentry)h]j)}(h7struct inode *d_real_inode(const struct dentry *dentry)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMGubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMGubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j d_real_inodesbc.d_real_inodeasbuh1hhjhhhjhMGubj)}(h h]h }(hjՍhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMGubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMGubj/)}(h d_real_inodeh]j5)}(hjҍh]h d_real_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMGubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hdentryh]hdentry}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]jЍc.d_real_inodeasbuh1hhj 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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMGubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMGubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMGhjhhubjc)}(hhh]h)}(h&Return the real inode hosting the datah]h&Return the real inode hosting the data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMGhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjÎjjÎjjjuh1hhhhjUhNhNubj)}(h**Parameters** ``const struct dentry *dentry`` The dentry to query **Description** If dentry is on a union/overlay, then return the underlying, real inode. Otherwise return d_inode().h](h)}(h**Parameters**h]j)}(hj͎h]h Parameters}(hjώhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjˎubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMKhjǎubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hjh]hconst struct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMHhjubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjǎubh)}(h**Description**h]j)}(hj'h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMJhjǎubh)}(hdIf dentry is on a union/overlay, then return the underlying, real inode. Otherwise return d_inode().h]hdIf dentry is on a union/overlay, then return the underlying, real inode. Otherwise return d_inode().}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMIhjǎubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubeh}(h]the-directory-cacheah ]h"]the directory cacheah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hInode Handlingh]hInode Handling}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"inode_init_always_gfp (C function)c.inode_init_always_gfphNtauh1hhj[hhhNhNubh)}(hhh](j)}(hRint inode_init_always_gfp (struct super_block *sb, struct inode *inode, gfp_t gfp)h]j)}(hQint inode_init_always_gfp(struct super_block *sb, struct inode *inode, gfp_t gfp)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hinode_init_always_gfph]j5)}(hinode_init_always_gfph]hinode_init_always_gfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h8(struct super_block *sb, struct inode *inode, gfp_t gfp)h](j)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjݏubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.inode_init_always_gfpasbuh1hhjubj)}(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)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubh)}(hhh]j5)}(hinodeh]hinode}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNjj)}j]jc.inode_init_always_gfpasbuh1hhj0ubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj*)}(hj-h]h*}(hj~hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.inode_init_always_gfpasbuh1hhjubj)}(h h]h }(hjŐhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfph]hgfp}(hjӐhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj}hhhjhKubah}(h]jxah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjzhhubjc)}(hhh]h)}(h&perform inode structure initialisationh]h&perform inode structure initialisation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjzhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[hNhNubj)}(hXh**Parameters** ``struct super_block *sb`` superblock inode belongs to ``struct inode *inode`` inode to initialise ``gfp_t gfp`` allocation flags **Description** These are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required **gfp** is used.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjubj)}(hhh](j)}(h7``struct super_block *sb`` superblock inode belongs to h](j)}(h``struct super_block *sb``h]j)}(hj>h]hstruct super_block *sb}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhj8ubj)}(hhh]h)}(hsuperblock inode belongs toh]hsuperblock inode belongs to}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShKhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShKhj5ubj)}(h,``struct inode *inode`` inode to initialise h](j)}(h``struct inode *inode``h]j)}(hjwh]hstruct inode *inode}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjqubj)}(hhh]h)}(hinode to initialiseh]hinode to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKhj5ubj)}(h``gfp_t gfp`` allocation flags h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjubj)}(hhh]h)}(hallocation flagsh]hallocation flags}(hjɑhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjőhKhjƑubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjőhKhj5ubeh}(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.chKhjubh)}(hThese are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required **gfp** is used.h](hThese are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required }(hjhhhNhNubj)}(h**gfp**h]hgfp}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is used.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdrop_nlink (C function) c.drop_nlinkhNtauh1hhj[hhhNhNubh)}(hhh](j)}(h%void drop_nlink (struct inode *inode)h]j)}(h$void drop_nlink(struct inode *inode)h](j)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhjPhMubj/)}(h drop_nlinkh]j5)}(h drop_nlinkh]h drop_nlink}(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)}jjesb c.drop_nlinkasbuh1hhj{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#directly drop an inode's link counth]h%directly drop an inode’s link count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[hNhNubj)}(hXV**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is truncated and actually unlinked on the filesystem.h](h)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(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)}(hinodeh]hinode}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hXThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is truncated and actually unlinked on the filesystem.h]hXThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is truncated and actually unlinked on the filesystem.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hclear_nlink (C function) c.clear_nlinkhNtauh1hhj[hhhNhNubh)}(hhh](j)}(h&void clear_nlink (struct inode *inode)h]j)}(h%void clear_nlink(struct inode *inode)h](j)}(hvoidh]hvoid}(hjÓhhhNhNubah}(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 clear_nlinkh]j5)}(h clear_nlinkh]h clear_nlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(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 }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jjsb c.clear_nlinkasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjѓhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjѓhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjѓhMhjhhubjc)}(hhh]h)}(h#directly zero an inode's link counth]h%directly zero an inode’s link count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjѓhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[hNhNubj)}(h**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink() for why we care about i_nlink hitting zero.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(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.chMhjubj)}(hhh]h)}(hinodeh]hinode}(hjݔhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjٔhMhjڔubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjٔhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink() for why we care about i_nlink hitting zero.h]hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink() for why we care about i_nlink hitting zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hset_nlink (C function) c.set_nlinkhNtauh1hhj[hhhNhNubh)}(hhh](j)}(h8void set_nlink (struct inode *inode, unsigned int nlink)h]j)}(h7void set_nlink(struct inode *inode, unsigned int nlink)h](j)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhjRhMubj/)}(h set_nlinkh]j5)}(h set_nlinkh]h set_nlink}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@hhhjRhMubj)}(h)(struct inode *inode, unsigned int nlink)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)}jjgsb c.set_nlinkasbuh1hhj}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&]noemphjLjMuh1jhjyubj)}(hunsigned int nlinkh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hnlinkh]hnlink}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubeh}(h]h ]h"]h$]h&]jLjMuh1jhj@hhhjRhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj<hhhjRhMubah}(h]j7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRhMhj9hhubjc)}(hhh]h)}(h"directly set an inode's link counth]h$directly set an inode’s link count}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jbhj9hhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhj[hNhNubj)}(h**Parameters** ``struct inode *inode`` inode ``unsigned int nlink`` new nlink (should be non-zero) **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink.h](h)}(h**Parameters**h]j)}(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.chMhjqubj)}(hhh](j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``unsigned int nlink`` new nlink (should be non-zero) h](j)}(h``unsigned int nlink``h]j)}(hjϖh]hunsigned int nlink}(hjіhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͖ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjɖubj)}(hhh]h)}(hnew nlink (should be non-zero)h]hnew nlink (should be non-zero)}(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&]uh1jhjqubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjqubh)}(h_This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink.h]h_This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinc_nlink (C function) c.inc_nlinkhNtauh1hhj[hhhNhNubh)}(hhh](j)}(h$void inc_nlink (struct inode *inode)h]j)}(h#void inc_nlink(struct inode *inode)h](j)}(hvoidh]hvoid}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhj]hMubj/)}(h inc_nlinkh]j5)}(h inc_nlinkh]h inc_nlink}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhj]hMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjrsb c.inc_nlinkasbuh1hhjubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(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(directly increment an inode's link counth]h*directly increment an inode’s link count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhj[hNhNubj)}(h**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. Currently, it is only here for parity with dec_nlink().h](h)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj+ubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjPh]hstruct inode *inode}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjJubj)}(hhh]h)}(hinodeh]hinode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj+ubh)}(hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. Currently, it is only here for parity with dec_nlink().h]hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. Currently, it is only here for parity with dec_nlink().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_sb_list_add (C function)c.inode_sb_list_addhNtauh1hhj[hhhNhNubh)}(hhh](j)}(h,void inode_sb_list_add (struct inode *inode)h]j)}(h+void inode_sb_list_add(struct inode *inode)h](j)}(hvoidh]hvoid}(hjИhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj̘hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMmubj)}(h h]h }(hjߘhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj̘hhhjޘhMmubj/)}(hinode_sb_list_addh]j5)}(hinode_sb_list_addh]hinode_sb_list_add}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj̘hhhjޘhMmubj)}(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 }(hjhhhNhNubah}(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)}jjsbc.inode_sb_list_addasbuh1hhj ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hjYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hinodeh]hinode}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj̘hhhjޘhMmubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjȘhhhjޘhMmubah}(h]jØah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjޘhMmhjŘhhubjc)}(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.chMmhjhhubah}(h]h ]h"]h$]h&]uh1jbhjŘhhhjޘhMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[hNhNubj)}(h6**Parameters** ``struct inode *inode`` inode to addh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMqhjubj)}(hhh]j)}(h$``struct inode *inode`` inode to addh](j)}(h``struct inode *inode``h]j)}(hjљh]hstruct inode *inode}(hjәhhhNhNubah}(h]h ]h"]h$]h&]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 inode to addh]h inode to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMnhjubah}(h]h ]h"]h$]h&]uh1jhj˙ubeh}(h]h ]h"]h$]h&]uh1jhjhMshjș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}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj'hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'hhhj9hMubj/)}(h__insert_inode_hashh]j5)}(h__insert_inode_hashh]h__insert_inode_hash}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'hhhj9hMubj)}(h,(struct inode *inode, unsigned long hashval)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjNsbc.__insert_inode_hashasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubj)}(hunsigned long hashvalh](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)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj֚ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj֚ubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj֚ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj'hhhj9hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#hhhj9hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9hMhj hhubjc)}(hhh]h)}(h hash an inodeh]h hash an inode}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhj[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.chMhjXubj)}(hhh](j)}(h'``struct inode *inode`` unhashed inode h](j)}(h``struct inode *inode``h]j)}(hj}h]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjwubj)}(hhh]h)}(hunhashed inodeh]hunhashed inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(ha``unsigned long hashval`` unsigned long value used to locate this object in the inode_hashtable. 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)}(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.}(hjϛhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj̛ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˛hMhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjXubh 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&]uh1jhjhMhjXubeh}(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}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhjPhMubj/)}(h__remove_inode_hashh]j5)}(h__remove_inode_hashh]h__remove_inode_hash}(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.__remove_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}(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)}(hremove an inode from the hashh]hremove an inode from the hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhjPhMubeh}(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)}(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 unhash h](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)}(hinode to unhashh]hinode to unhash}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]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.chMZubj)}(h h]h }(hj۝hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȝhhhjڝhMZubj/)}(h evict_inodesh]j5)}(h evict_inodesh]h evict_inodes}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjȝhhhjڝhMZubj)}(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.evict_inodesasbuh1hhjubj)}(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&]jLjMuh1jhjȝhhhjڝhMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjĝhhhjڝhMZubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjڝhMZhjhhubjc)}(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.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjڝhMZubeh}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM^hjubj)}(hhh]j)}(h4``struct super_block *sb`` superblock to operate on h](j)}(h``struct super_block *sb``h]j)}(hj͞h]hstruct super_block *sb}(hjϞhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˞ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM[hjǞubj)}(hhh]h)}(hsuperblock to operate onh]hsuperblock to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjǞubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjĞubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM]hjubh)}(hMake sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having SB_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.h]hMake sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having SB_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM\hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIhhhjZhMjubh)}(hhh]j5)}(hinodeh]hinode}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j)}j new_inodesb c.new_inodeasbuh1hhjIhhhjZhMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIhhhjZhMjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIhhhjZhMjubj/)}(h new_inodeh]j5)}(hjh]h new_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjIhhhjZhMjubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjǟhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjßubj)}(h h]h }(hjԟhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjßubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.new_inodeasbuh1hhjß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&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjIhhhjZhMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjEhhhjZhMjubah}(h]j@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhMjhjBhhubjc)}(hhh]h)}(hobtain an inodeh]hobtain an inode}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMjhjEhhubah}(h]h ]h"]h$]h&]uh1jbhjBhhhjZhMjubeh}(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)}(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.chMnhjdubj)}(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.chMkhjubj)}(hhh]h)}(h superblockh]h superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjdubh)}(h**Description**h]j)}(hjĠh]h Description}(hjƠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMmhjdubj )}(hX^Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh]h)}(hX^Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh]hX`Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode’s mapping}(hjޠhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMlhjڠubah}(h]h ]h"]h$]h&]uh1jhjhMlhjdubeh}(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 }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj!hMubj/)}(hunlock_new_inodeh]j5)}(hunlock_new_inodeh]hunlock_new_inode}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj!hMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](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)}(hinodeh]hinode}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j]j)}jj6sbc.unlock_new_inodeasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj!hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj!hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!hMhjhhubjc)}(hhh]h)}(h-clear the I_NEW state and wake up any waitersh]h-clear the I_NEW state and wake up any waiters}(hjӡhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjСhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h,``struct inode *inode`` new inode to unlock h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hnew inode to unlockh]hnew inode to unlock}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hCalled when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.h]hCalled when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.}(hjehhhNhNubah}(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](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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h,(struct inode *inode1, struct inode *inode2)h](j)}(hstruct inode *inode1h](j )}(hjzh]hstruct}(hjѢhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj͢ubj)}(h h]h }(hjޢhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj͢ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.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}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj͢ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjɢubj)}(hstruct inode *inode2h](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 c.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)}(hinode2h]hinode2}(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+take two i_mutexes on non-directory objectsh]h+take two i_mutexes on non-directory objects}(hjģhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjܣjjܣjjjuh1hhhhj[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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h-``struct inode *inode1`` first inode to lock h](j)}(h``struct inode *inode1``h]j)}(hjh]hstruct inode *inode1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hfirst inode to lockh]hfirst inode to lock}(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 lock h](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.chMhj8ubj)}(hhh]h)}(hsecond inode to lockh]hsecond inode to lock}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjyh]h Description}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h|Lock any non-NULL argument. Passed objects must not be directories. Zero, one or two objects may be locked by this function.h]h|Lock any non-NULL argument. Passed objects must not be directories. Zero, one or two objects may be locked by this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjͤhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj̤hMubj/)}(hunlock_two_nondirectoriesh]j5)}(hunlock_two_nondirectoriesh]hunlock_two_nondirectories}(hjߤhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjۤubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj̤hMubj)}(h,(struct inode *inode1, struct inode *inode2)h](j)}(hstruct inode *inode1h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.unlock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinode1h]hinode1}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inode2h](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]j5c.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)}(hinode2h]hinode2}(hjĥhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj̤hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj̤hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj̤hMhjhhubjc)}(hhh]h)}(h,release locks from lock_two_nondirectories()h]h,release locks from lock_two_nondirectories()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj̤hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[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)}(hj/h]hstruct inode *inode1}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj)ubj)}(hhh]h)}(hfirst inode to unlockh]hfirst inode to unlock}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubj)}(h/``struct inode *inode2`` second inode to unlockh](j)}(h``struct inode *inode2``h]j)}(hjhh]hstruct inode *inode2}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjbubj)}(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.chMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj&ubeh}(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}(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 }(hjЦhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjϦhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjަubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j inode_insert5sbc.inode_insert5asbuh1hhjhhhjϦ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/)}(h inode_insert5h]j5)}(hjh]h inode_insert5}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjϦhMubj)}(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}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]jc.inode_insert5asbuh1hhj8ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj8ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubj)}(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}(hjȧhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj֧hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubj)}(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*)}(h(h]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hj'hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htesth]htest}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(h)h]h)}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h(}(hjPhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(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.inode_insert5asbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(h,h]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*)}(hjDh]h)}(hjݨhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubj)}(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(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hseth]hset}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjDh]h)}(hj9hhhNhNubah}(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 }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]jc.inode_insert5asbuh1hhjubj*)}(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*}(hjũhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjDh]h)}(hjҩhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubj)}(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&]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*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj:hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjϦhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUNjjUjjjuh1hhhhj[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}(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.chMhjYubj)}(hhh](j)}(hG``struct inode *inode`` pre-allocated inode to use for insert to cache h](j)}(h``struct inode *inode``h]j)}(hj~h]hstruct inode *inode}(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.chMhjxubj)}(hhh]h)}(h.pre-allocated inode to use for insert to cacheh]h.pre-allocated inode to use for insert to cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hjh]hunsigned long hashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjЪhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj̪hMhjͪubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̪hMhjuubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(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.chMhj#ubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjuubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjbh]h void *data}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj\ubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hj{hhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh and }(hj{hhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]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:29: ./fs/inode.chMhjYubh)}(hSearch for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a variant of iget5_locked() that doesn't allocate an inode.h](h"Search for the inode specified by }(hjӫhhhNhNubj)}(h **hashval**h]hhashval}(hj۫hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӫubh and }(hjӫhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӫubh in the inode cache, and if present return it with an increased reference count. This is a variant of iget5_locked() that doesn’t allocate an inode.}(hjӫhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjYubh)}(hIf the inode is not present in the cache, insert the pre-allocated inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h]hIf the inode is not present in the cache, insert the pre-allocated inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjYubh)}(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}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA are called with the inode_hash_lock held, so they can’t sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjYubeh}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM3ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdhhhjuhM3ubh)}(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_lockedasbuh1hhjdhhhjuhM3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdhhhjuhM3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdhhhjuhM3ubj/)}(h iget5_lockedh]j5)}(hjh]h iget5_locked}(hjǬhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjìubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjdhhhjuhM3ubj)}(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 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.iget5_lockedasbuh1hhjެubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjެubj*)}(hj-h]h*}(hj,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjެubj5)}(hsbh]hsb}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjެubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjڬubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjNubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj)}(hlongh]hlong}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjNubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(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*)}(hjDh]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 reftargetj!modnameN classnameNjj)}j]jc.iget5_lockedasbuh1hhjubj*)}(hj-h]h*}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hjJhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjڬubj)}(h int (*set)(struct inode*, void*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hseth]hset}(hjήhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjDh]h)}(hjܮhhhNhNubah}(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.iget5_lockedasbuh1hhjubj*)}(hj-h]h*}(hj2hhhNhNubah}(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*}(hjhhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjDh]h)}(hjuhhhNhNubah}(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&]jLjMuh1jhjdhhhjuhM3ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj`hhhjuhM3ubah}(h]j[ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjuhM3hj]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.chM3hjݯhhubah}(h]h ]h"]h$]h&]uh1jbhj]hhhjuhM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[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)}(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.chM7hjubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hj!h]hstruct super_block *sb}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM4hjubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hM4hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM4hjubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hjZh]hunsigned long hashval}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM5hjTubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM5hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM5hjubj)}(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.chM6hjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(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.chM7hjư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&]uh1hhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjưubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(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.chM8hjubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h**test**h]htest}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]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 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 }(hjvhhhNhNubj)}(h **hashval**h]hhashval}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh and }(hjvhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh 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.}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM9hjubh)}(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.chM>hjubh)}(hbNote that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](hNote that both }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hjұhhhNhNubah}(h]h ]h"]h$]h&]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.chMBhjubeh}(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 hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMZubh)}(hhh]j5)}(hinodeh]hinode}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]j)}jiget5_locked_rcusbc.iget5_locked_rcuasbuh1hhjhhhjhMZubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMZubj*)}(hj-h]h*}(hjYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMZubj/)}(higet5_locked_rcuh]j5)}(hjHh]higet5_locked_rcu}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMZubj)}(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]jFc.iget5_locked_rcuasbuh1hhjubj)}(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)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj*)}(hjh]h(}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj5)}(htesth]htest}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubj*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(hinodeh]hinode}(hj³hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjijmodnameN classnameNjj)}j]jFc.iget5_locked_rcuasbuh1hhjBubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj*)}(hjDh]h)}(hj#hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj}ubj)}(h int (*set)(struct inode*, void*)h](j)}(hinth]hint}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hjh]h(}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj*)}(hj-h]h*}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hseth]hset}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubj*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jFc.iget5_locked_rcuasbuh1hhj7ubj*)}(hj-h]h*}(hjմhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj}ubj)}(h void *datah](j)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj*)}(hj-h]h*}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj,ubj5)}(hdatah]hdata}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj}ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMZubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMZhjhhubjc)}(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.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[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.chM^hjubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hjĵh]hstruct super_block *sb}(hjƵhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjµubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM[hjubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(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)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hjh]hunsigned long hashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM\hjubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hj6h]h#int (*test)(struct inode *, void *)}(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.chM]hj0ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhM]hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM]hjubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjoh]h"int (*set)(struct inode *, void *)}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM^hjiubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM_hjubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h**test**h]htest}(hjɶhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hj۶hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMahjubh)}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhQ callback must tolerate the inode not being stable, including being mid-teardown.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM`hjubeh}(h]h ] kernelindentah"]h$]h&]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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVhhhjghMubh)}(hhh]j5)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j]j)}j iget_lockedsb c.iget_lockedasbuh1hhjVhhhjghMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVhhhjghMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjVhhhjghMubj/)}(h iget_lockedh]j5)}(hjh]h iget_locked}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVhhhjghMubj)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjзubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.iget_lockedasbuh1hhjзubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjзubj*)}(hj-h]h*}(hjhhhNhNubah}(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 inoh](j)}(hunsignedh]hunsigned}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj)}(hlongh]hlong}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@ubj)}(h h]h }(hjnhhhNhNubah}(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&]noemphjLjMuh1jhj̷ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjVhhhjghMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjRhhhjghMubah}(h]jMah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjghMhjOhhubjc)}(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&]uh1jbhjOhhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[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&]uh1jhjƸubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj¸ubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj޸ubj)}(h*``unsigned long ino`` inode number to get h](j)}(h``unsigned long ino``h]j)}(hj h]hunsigned long ino}(hj"hhhNhNubah}(h]h ]h"]h$]h&]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}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj޸ubeh}(h]h ]h"]h$]h&]uh1jhj¸ubh)}(h**Description**h]j)}(hj[h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj¸ubh)}(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 }(hjqhhhNhNubj)}(h**ino**h]hino}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh 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.}(hjqhhhNhNubeh}(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 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.chMhj¸ubeh}(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}(hjĹhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƹmodnameN classnameNjj)}j]j)}jiuniquesb c.iuniqueasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hiuniqueh]j5)}(hjh]hiunique}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h,(struct super_block *sb, ino_t max_reserved)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j c.iuniqueasbuh1hhjubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj]hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjjhhhNhNubah}(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]j c.iuniqueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h max_reservedh]h max_reserved}(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)}(hget a unique inode numberh]hget a unique inode number}(hjܺhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjٺhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[hNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock ``ino_t max_reserved`` highest reserved inode number **Description** Obtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique. BUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h5``ino_t max_reserved`` highest reserved inode number h](j)}(h``ino_t max_reserved``h]j)}(hjVh]hino_t max_reserved}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjPubj)}(hhh]h)}(hhighest reserved inode numberh]hhighest reserved inode number}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj )}(hXWObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique. BUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h](h)}(hObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique.h]hObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hgBUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h]hgBUGS: With a large number of inodes live on the file system this function currently becomes quite slow.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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)h]j)}(h{struct inode *ilookup5_nowait(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jilookup5_nowaitsbc.ilookup5_nowaitasbuh1hhjhhhjhMubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hilookup5_nowaith]j5)}(hj,h]hilookup5_nowait}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h^(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh)}(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.ilookup5_nowaitasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(hunsigned long hashvalh](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)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjռubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjռubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjռubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj&ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hjh]h(}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(htesth]htest}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubj*)}(hjDh]h)}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj*)}(hjh]h(}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j*c.ilookup5_nowaitasbuh1hhj&ubj*)}(hj-h]h*}(hjĽhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj*)}(hjh]h,}(hjѽhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj)}(h h]h }(hj޽hhhNhNubah}(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*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hjHhhhNhNubah}(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)}(h&search for an inode in the inode cacheh]h&search for an inode in the inode cache}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjohhubah}(h]h ]h"]h$]h&]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 (*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. If the inode is in the cache, the inode is returned with an incremented reference count. **Note** I_NEW is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5() instead. Note2: **test** is called with the inode_hash_lock held, so can't sleep.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM!hjubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hj̾hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjȾhMhjɾubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȾhMhjubj)}(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.chMhjubj)}(hhh]h)}(h/hash value (usually inode number) to search forh]h/hash value (usually inode number) to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hj%h]h#int (*test)(struct inode *, void *)}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(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)}(h7``void *data`` opaque data pointer to pass to **test** h](j)}(h``void *data``h]j)}(hj^h]h void *data}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM!hjXubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hjwhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1hhjshM!hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM!hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM#hjubh)}(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}(hjſhhhNhNubah}(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"hjubh)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM&hjubh)}(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.chM'hjubh)}(hHNote2: **test** is called with the inode_hash_lock held, so can't sleep.h](hNote2: }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh; is called with the inode_hash_lock held, so can’t sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM*hjubeh}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM;ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjehM;ubh)}(hhh]j5)}(hinodeh]hinode}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]j)}jilookup5sb c.ilookup5asbuh1hhjThhhjehM;ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjehM;ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjThhhjehM;ubj/)}(hilookup5h]j5)}(hjh]hilookup5}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjehM;ubj)}(h^(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.ilookup5asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj)}(hlongh]hlong}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj5)}(hhashvalh]hhashval}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(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*)}(hjDh]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&]uh1j4hj ubah}(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 }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjDh]h)}(hjphhhNhNubah}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjThhhjehM;ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjehM;ubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjehM;hjMhhubjc)}(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&]uh1jbhjMhhhjehM;ubeh}(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.chM?hjubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM<hjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hM<hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM<hjubj)}(hJ``unsigned long hashval`` hash value (usually inode number) to search for h](j)}(h``unsigned long hashval``h]j)}(hjUh]hunsigned long hashval}(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)}(h/hash value (usually inode number) to search forh]h/hash value (usually inode number) to search for}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhM=hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM=hjubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM>hjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h7``void *data`` opaque data pointer to pass to **test** h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM?hjubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h**test**h]htest}(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?hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMAhjubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, and if the inode is in the cache, return the inode with an incremented reference count. Waits on I_NEW before returning the inode. returned with an incremented reference count.h](h"Search for the inode specified by }(hj&hhhNhNubj)}(h **hashval**h]hhashval}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh and }(hj&hhhNhNubj)}(h**data**h]hdata}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh in the inode cache, and if the inode is in the cache, return the inode with an incremented reference count. Waits on I_NEW before returning the inode. returned with an incremented reference count.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM@hjubh)}(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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMEhjubh)}(h**Note**h]j)}(hjjh]hNote}(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.chMHhjubh)}(hA**test** is called with the inode_hash_lock held, so can't sleep.h](j)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh; is called with the inode_hash_lock held, so can’t sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMIhjubeh}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jilookupsb c.ilookupasbuh1hhjhhhjhM`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM`ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhM`ubj/)}(hilookuph]j5)}(hjh]hilookup}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]j c.ilookupasbuh1hhj3ubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(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 }(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&]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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM`hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhj[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&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMdhj%ubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjJh]hstruct super_block *sb}(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.chMahjDubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMahj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMahjAubj)}(h1``unsigned long ino`` inode number to search for h](j)}(h``unsigned long ino``h]j)}(hjh]hunsigned long ino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMbhj}ubj)}(hhh]h)}(hinode number to search forh]hinode number to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjAubeh}(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.chMdhj%ubh)}(hSearch for the inode **ino** in the inode cache, and if the inode is in the cache, the inode is returned with an incremented reference count.h](hSearch for the inode }(hjhhhNhNubj)}(h**ino**h]hino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhq in the inode cache, and if the inode is in the cache, the inode is returned with an incremented reference count.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMchj%ubeh}(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}(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}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j)}jfind_inode_nowaitsbc.find_inode_nowaitasbuh1hhjhhhj"hMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj"hMubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj"hMubj/)}(hfind_inode_nowaith]j5)}(hjRh]hfind_inode_nowait}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj"hMubj)}(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]jPc.find_inode_nowaitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h1int (*match)(struct inode*, unsigned long, void*)h](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj*)}(hjh]h(}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj5)}(hmatchh]hmatch}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubj*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jPc.find_inode_nowaitasbuh1hhjLubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj)}(hlongh]hlong}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLubj*)}(hjh]h,}(hj<hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLubj*)}(hj-h]h*}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj*)}(hjDh]h)}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubeh}(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&]jLjMuh1jhjhhhj"hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj"hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj"hMhj hhubjc)}(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&]uh1jbhj hhhj"hMubeh}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(hJ``unsigned long hashval`` hash value (usually inode number) to search for h](j)}(h``unsigned long hashval``h]j)}(hjWh]hunsigned long hashval}(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)}(h/hash value (usually inode number) to search forh]h/hash value (usually inode number) to search for}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(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&]uh1jhjhMhjubj)}(h8``void *data`` opaque data pointer to pass to **match** h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h(opaque data pointer to pass to **match**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h **match**h]hmatch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(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 }(hj(hhhNhNubj)}(h **hashval**h]hhashval}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh and }(hj(hhhNhNubj)}(h**data**h]hdata}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh/ in the inode cache, where the helper function }(hj(hhhNhNubj)}(h **match**h]hmatch}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubht will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The }(hj(hhhNhNubj)}(h **match**h]hmatch}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubhX 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.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hXYThis is a even more generalized version of ilookup5() when the function must never block --- find_inode() can block in __wait_on_freeing_inode() --- or when the caller can not increment the reference count because the resulting iput() might cause an inode eviction. The tradeoff is that the **match** funtion must be very carefully implemented.h](hX$This is a even more generalized version of ilookup5() when the function must never block --- find_inode() can block in __wait_on_freeing_inode() --- or when the caller can not increment the reference count because the resulting iput() might cause an inode eviction. The tradeoff is that the }(hjhhhNhNubj)}(h **match**h]hmatch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, funtion must be very carefully implemented.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jfind_inode_rcusbc.find_inode_rcuasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hfind_inode_rcuh]j5)}(hjh]hfind_inode_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h^(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]jc.find_inode_rcuasbuh1hhj6ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubj)}(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(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hj$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htesth]htest}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjDh]h)}(hj?hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h(}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN 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*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubeh}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj@hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhj[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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj_ubj)}(hhh](j)}(h@``struct 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(hK``int (*test)(struct inode *, void *)`` Function to test match on an inode h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h"Function to test match on an inodeh]h"Function to test match on an inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj{ubj)}(h&``void *data`` Data for test function h](j)}(h``void *data``h]j)}(hj/h]h void *data}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj)ubj)}(hhh]h)}(hData for test functionh]hData for test function}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj{ubeh}(h]h ]h"]h$]h&]uh1jhj_ubh)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj_ubh)}(hX<Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ in the inode cache, where the helper function }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB will return 0 if the inode does not match and 1 if it does. The }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj_ubh)}(hhIf successful, this will return the inode for which the **test** function returned 1 and NULL otherwise.h](h8If successful, this will return the inode for which the }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( function returned 1 and NULL otherwise.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj_ubh)}(hoThe **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.h](hThe }(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.chMhj_ubh)}(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.chMhj_ubeh}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDhhhjUhMubh)}(hhh]j5)}(hinodeh]hinode}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]j)}jfind_inode_by_ino_rcusbc.find_inode_by_ino_rcuasbuh1hhjDhhhjUhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDhhhjUhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDhhhjUhMubj/)}(hfind_inode_by_ino_rcuh]j5)}(hjh]hfind_inode_by_ino_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjDhhhjUhMubj)}(h+(struct super_block *sb, unsigned long ino)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.find_inode_by_ino_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long inoh](j)}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj)}(hlongh]hlong}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj5)}(hinoh]hino}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjDhhhjUhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj@hhhjUhMubah}(h]j;ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjUhMhj=hhubjc)}(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&]uh1jbhj=hhhjUhMubeh}(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)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$Super block of file system to searchh]h$Super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``unsigned long ino`` The inode number to match h](j)}(h``unsigned long ino``h]j)}(hjh]hunsigned long ino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hThe inode number to matchh]hThe inode number to match}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 }(hj_hhhNhNubj)}(h **hashval**h]hhashval}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh and }(hj_hhhNhNubj)}(h**data**h]hdata}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh/ in the inode cache, where the helper function }(hj_hhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubhB will return 0 if the inode does not match and 1 if it does. The }(hj_hhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.}(hj_hhhNhNubeh}(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}(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 }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhj5hM~ubj/)}(hiputh]j5)}(hiputh]hiput}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#hhhj5hM~ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](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)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjJsbc.iputasbuh1hhj`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&]noemphjLjMuh1jhj\ubah}(h]h ]h"]h$]h&]jLjMuh1jhj#hhhj5hM~ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj5hM~ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hM~hjhhubjc)}(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.chM~hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj5hM~ubeh}(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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h%``struct inode *inode`` inode to put h](j)}(h``struct inode *inode``h]j)}(hj(h]hstruct inode *inode}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj"ubj)}(hhh]h)}(h inode to puth]h inode to put}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjyubh)}(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.chMhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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&]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/)}(hbmaph]j5)}(hbmaph]hbmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h&(struct inode *inode, sector_t *block)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bmapasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjJhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsector_t *blockh](h)}(hhh]j5)}(hsector_th]hsector_t}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j8c.bmapasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hblockh]hblock}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(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)}(hfind a block number in a fileh]hfind a block number in a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[hNhNubj)}(hXj**Parameters** ``struct inode *inode`` inode owning the block number being requested ``sector_t *block`` pointer containing the block to find **Description** Replaces the value in ``*block`` with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in ``*block``, with disk block relative to the disk start that holds that block of the file. Returns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and ``*block`` is also set to 0.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(hF``struct inode *inode`` inode owning the block number being requested h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h-inode owning the block number being requestedh]h-inode owning the block number being requested}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h")]h$]h&]uh1jhj,hMhjubj)}(h9``sector_t *block`` pointer containing the block to find h](j)}(h``sector_t *block``h]j)}(hjPh]hsector_t *block}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjJubj)}(hhh]h)}(h$pointer containing the block to findh]h$pointer containing the block to find}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjubeh}(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 )}(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 }(hjhhhNhNubj)}(h ``*block``h]h*block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is also set to 0.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(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().}(hjahhhNhNubah}(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](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.chM1 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM1 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.hjhhhjhM1 ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.file_update_timeasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM1 ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM1 ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM1 hjhhubjc)}(hhh]h)}(hupdate mtime and ctime timeh]hupdate mtime and ctime time}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM1 hjMhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM1 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhj[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)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM5 hjlubj)}(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.chM2 hjubj)}(hhh]h)}(h file accessedh]h file accessed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2 hjubah}(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:29: ./fs/inode.chM4 hjlubh)}(hXUpdate the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode.h]hXUpdate the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM3 hjlubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM; hjlubh)}(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< hjlubeh}(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}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMt ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4hhhjFhMt ubj/)}(h file_modifiedh]j5)}(h file_modifiedh]h file_modified}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4hhhjFhMt ubj)}(h(struct file *file)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[sbc.file_modifiedasbuh1hhjqubj)}(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&]noemphjLjMuh1jhjmubah}(h]h ]h"]h$]h&]jLjMuh1jhj4hhhjFhMt ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0hhhjFhMt ubah}(h]j+ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjFhMt hj-hhubjc)}(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.chMt hjhhubah}(h]h ]h"]h$]h&]uh1jbhj-hhhjFhMt ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[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)}(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.chMx hjubj)}(hhh]j)}(h-``struct file *file`` file that was modified h](j)}(h``struct file *file``h]j)}(hj9h]hstruct file *file}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMu hj3ubj)}(hhh]h)}(hfile that was modifiedh]hfile that was modified}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMu hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMu hj0ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjth]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMw hjubh)}(hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.h]hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMv hjubh)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMy hjubh)}(h'Caller must hold the file's inode lock.h]h)Caller must hold the file’s inode lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMz hjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM| hjubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM| hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hkiocb_modifiedh]j5)}(hkiocb_modifiedh]hkiocb_modified}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h(struct kiocb *iocb)h]j)}(hstruct kiocb *iocbh](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)}(hkiocbh]hkiocb}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j]j)}jj*sbc.kiocb_modifiedasbuh1hhj@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)}(hiocbh]hiocb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj<ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h1handle mandated vfs changes when modifying a fileh]h1handle mandated vfs changes when modifying a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[hNhNubj)}(hX(**Parameters** ``struct kiocb *iocb`` iocb that was modified **Description** When file has been modified ensure that special file privileges are removed and time settings are updated. **Context** Caller must hold the file's inode lock. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]j)}(h.``struct kiocb *iocb`` iocb that was modified h](j)}(h``struct kiocb *iocb``h]j)}(hjh]hstruct kiocb *iocb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(hiocb that was modifiedh]hiocb that was modified}(hj!hhhNhNubah}(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)}(hjCh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.h]hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h **Context**h]j)}(hjjh]hContext}(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 hjubh)}(h'Caller must hold the file's inode lock.h]h)Caller must hold the file’s inode lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hinode_init_ownerh]j5)}(hinode_init_ownerh]hinode_init_owner}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(hU(struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j)}jjsbc.inode_init_ownerasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct 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]jMc.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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst struct inode *dirh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]jMc.inode_init_ownerasbuh1hhjubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jMc.inode_init_ownerasbuh1hhj|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&]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 hjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM; hjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM; hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM; hjubj)}(h2``const struct inode *inode`` inode being checked h](j)}(h``const struct inode *inode``h]j)}(hj?h]hconst struct 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:29: ./fs/inode.chM< hj9ubj)}(hhh]h)}(hinode being checkedh]hinode being checked}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThM< hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM< hjubeh}(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.chM> hjubh)}(hnReturn true if current either has CAP_FOWNER in a namespace with the inode owner uid mapped, or owns the file.h]hnReturn true if current either has CAP_FOWNER in a namespace with the inode owner uid mapped, or owns the file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM= hjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM@ hjubeh}(h]h ] kernelindentah"]h$]h&]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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMb ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMb ubj/)}(hinode_dio_waith]j5)}(hinode_dio_waith]hinode_dio_wait}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMb ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubh)}(hhh]j5)}(hinodeh]hinode}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j]j)}jj'sbc.inode_dio_waitasbuh1hhj=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&]noemphjLjMuh1jhj9ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMb ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMb ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMb hjhhubjc)}(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.chMb hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMb ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[hNhNubj)}(hX/**Parameters** ``struct inode *inode`` inode to wait for **Description** Waits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation. Must be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMf hjubj)}(hhh]j)}(h*``struct inode *inode`` inode to wait for h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMc hjubj)}(hhh]h)}(hinode to wait forh]hinode to wait for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMc hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMc hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj@h]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMe hjubh)}(hsWaits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.h]hsWaits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMd hjubh)}(hlMust be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.h]hlMust be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMg hjubeh}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(htimestamp_truncateh]j5)}(hjh]htimestamp_truncate}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h*(struct timespec64 t, struct inode *inode)h](j)}(hstruct timespec64 th](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j]jc.timestamp_truncateasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hth]ht}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](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)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.timestamp_truncateasbuh1hhj`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&]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}(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 timespec64 t`` Timespec ``struct inode *inode`` inode being updated **Description** Truncate a timespec to the granularity supported by the fs containing the inode. Always rounds down. gran must not be 0 nor greater than a second (NSEC_PER_SEC, or 10^9 ns).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh](j)}(h!``struct timespec64 t`` Timespec h](j)}(h``struct timespec64 t``h]j)}(hj&h]hstruct timespec64 t}(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)}(hTimespech]hTimespec}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hM hj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM hjubj)}(h,``struct inode *inode`` inode being updated 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:29: ./fs/inode.chM hjYubj)}(hhh]h)}(hinode being updatedh]hinode being updated}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hTruncate a timespec to the granularity supported by the fs containing the inode. Always rounds down. gran must not be 0 nor greater than a second (NSEC_PER_SEC, or 10^9 ns).h]hTruncate a timespec to the granularity supported by the fs containing the inode. Always rounds down. gran must not be 0 nor greater than a second (NSEC_PER_SEC, or 10^9 ns).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ] kernelindentah"]h$]h&]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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jinode_set_ctime_currentsbc.inode_set_ctime_currentasbuh1hhjhhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hinode_set_ctime_currenth]j5)}(hjh]hinode_set_ctime_current}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubh)}(hhh]j5)}(hinodeh]hinode}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jc.inode_set_ctime_currentasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjHubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjDubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(hset the ctime to current_timeh]hset the ctime to current_time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[hNhNubj)}(hX**Parameters** ``struct inode *inode`` inode **Description** Set the inode's ctime to the current value for the inode. Returns the current value that was assigned. If this is not a multigrain inode, then we set it to the later of the coarse time and floor value. If it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp. After that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(hinodeh]hinode}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hM hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(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.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hIf it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp.h]hIf it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hAfter that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.h]hAfter that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ] kernelindentah"]h$]h&]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.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jinode_set_ctime_delegsbc.inode_set_ctime_delegasbuh1hhjhhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hinode_set_ctime_delegh]j5)}(hjh]hinode_set_ctime_deleg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h/(struct inode *inode, struct timespec64 update)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]jc.inode_set_ctime_delegasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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]jc.inode_set_ctime_delegasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hupdateh]hupdate}(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,try to update the ctime on a delegated inodeh]h,try to update the ctime on a delegated inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[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)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh](j)}(h(``struct inode *inode`` inode to 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj8ubj)}(hhh]h)}(hinode to updateh]hinode to update}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShM hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM hj5ubj)}(h9``struct timespec64 update`` timespec64 to set the ctime h](j)}(h``struct timespec64 update``h]j)}(hjwh]hstruct timespec64 update}(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.chM hjqubj)}(hhh]h)}(htimespec64 to set the ctimeh]htimespec64 to set the ctime}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM hj5ubeh}(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)}(hHAttempt to atomically update the ctime on behalf of a delegation holder.h]hHAttempt to atomically update the ctime on behalf of a delegation holder.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hThe nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that.h]hThe nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hXThis can race with concurrent updates to the inode, in which case the update is skipped.h]hXThis can race with concurrent updates to the inode, in which case the update is skipped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hcNote that this works even when multigrain timestamps are not enabled, so it is used in either case.h]hcNote that this works even when multigrain timestamps are not enabled, so it is used in either case.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ] kernelindentah"]h$]h&]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}(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 }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj1hM[ ubj/)}(hin_group_or_capableh]j5)}(hin_group_or_capableh]hin_group_or_capable}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj1hM[ ubj)}(hE(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjFsbc.in_group_or_capableasbuh1hhj\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&]noemphjLjMuh1jhjXubj)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.in_group_or_capableasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hvfsgid_t vfsgidh](h)}(hhh]j5)}(hvfsgid_th]hvfsgid_t}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]jc.in_group_or_capableasbuh1hhjYubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj5)}(hvfsgidh]hvfsgid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj1hM[ ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj1hM[ ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1hM[ hjhhubjc)}(hhh]h)}(h-check whether caller is CAP_FSETID privilegedh]h-check whether caller is CAP_FSETID privileged}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM[ hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj1hM[ 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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM_ hjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM\ hjubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh was found from}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hM\ hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM\ hjubj)}(h-``const struct inode *inode`` inode to check h](j)}(h``const struct inode *inode``h]j)}(hjBh]hconst struct inode *inode}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM] hj<ubj)}(hhh]h)}(hinode to checkh]hinode to check}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhM] hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM] hjubj)}(h8``vfsgid_t vfsgid`` the new/current vfsgid of **inode** h](j)}(h``vfsgid_t vfsgid``h]j)}(hj{h]hvfsgid_t vfsgid}(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)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM^ hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM` hjubh)}(hCheck whether **vfsgid** is in the caller's group list or if the caller is privileged with CAP_FSETID over **inode**. This can be used to determine whether the setgid bit can be kept or must be dropped.h](hCheck whether }(hjhhhNhNubj)}(h **vfsgid**h]hvfsgid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhU is in the caller’s group list or if the caller is privileged with CAP_FSETID over }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhV. This can be used to determine whether the setgid bit can be kept or must be dropped.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM_ hjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMc hjubh)}(hhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj)}j]jsc.mode_strip_sgidasbuh1hhjubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(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]jsc.mode_strip_sgidasbuh1hhjubj)}(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&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjPhhhjxhMr ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjLhhhjxhMr ubah}(h]jGah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjxhMr hjIhhubjc)}(hhh]h)}(h'handle the sgid bit for non-directoriesh]h'handle the sgid bit for non-directories}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMr hjhhubah}(h]h ]h"]h$]h&]uh1jbhjIhhhjxhMr ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[hNhNubj)}(hX_**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was created from ``const struct inode *dir`` parent directory inode ``umode_t mode`` mode of the file to be created in **dir** **Description** If the **mode** of the new file has both the S_ISGID and S_IXGRP bit raised and **dir** has the S_ISGID bit raised ensure that the caller is either in the group of the parent directory or they have CAP_FSETID in their user namespace and are privileged over the parent directory. In all other cases, strip the S_ISGID bit from **mode**. **Return** the new mode to use for the fileh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMv hjubj)}(hhh](j)}(hJ``struct mnt_idmap *idmap`` idmap of the mount the inode was created from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj;h]hstruct mnt_idmap *idmap}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMs hj5ubj)}(hhh]h)}(h-idmap of the mount the inode was created fromh]h-idmap of the mount the inode was created from}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMs hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMs hj2ubj)}(h3``const struct inode *dir`` parent directory inode h](j)}(h``const struct inode *dir``h]j)}(hjth]hconst struct inode *dir}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMt hjnubj)}(hhh]h)}(hparent directory inodeh]hparent directory inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMt hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMt hj2ubj)}(h;``umode_t mode`` mode of the file to be created in **dir** h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMu hjubj)}(hhh]h)}(h)mode of the file to be created in **dir**h](h"mode of the file to be created in }(hjhhhNhNubj)}(h**dir**h]hdir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMu hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMu hj2ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMw hjubh)}(hXOIf the **mode** of the new file has both the S_ISGID and S_IXGRP bit raised and **dir** has the S_ISGID bit raised ensure that the caller is either in the group of the parent directory or they have CAP_FSETID in their user namespace and are privileged over the parent directory. In all other cases, strip the S_ISGID bit from **mode**.h](hIf the }(hj hhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhA of the new file has both the S_ISGID and S_IXGRP bit raised and }(hj hhhNhNubj)}(h**dir**h]hdir}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh has the S_ISGID bit raised ensure that the caller is either in the group of the parent directory or they have CAP_FSETID in their user namespace and are privileged over the parent directory. In all other cases, strip the S_ISGID bit from }(hj hhhNhNubj)}(h**mode**h]hmode}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMv hjubh)}(h **Return**h]j)}(hjSh]hReturn}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM| hjubh)}(h the new mode to use for the fileh]h the new mode to use for the file}(hjihhhNhNubah}(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](hmake_bad_inode (C function)c.make_bad_inodehNtauh1hhj[hhhNhNubh)}(hhh](j)}(h)void make_bad_inode (struct inode *inode)h]j)}(h(void make_bad_inode(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hmake_bad_inodeh]j5)}(hmake_bad_inodeh]hmake_bad_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(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.make_bad_inodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj!hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h%mark an inode bad due to an I/O errorh]h%mark an inode bad due to an I/O error}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjUhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhj[hNhNubj)}(hX**Parameters** ``struct inode *inode`` Inode to mark bad **Description** When an inode cannot be read due to a media or remote network failure this function makes the inode "bad" and causes I/O operations on it to fail from this point on.h](h)}(h**Parameters**h]j)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjtubj)}(hhh]j)}(h*``struct inode *inode`` Inode to mark bad h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]h)}(hInode to mark badh]hInode to mark bad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjtubh)}(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.chKhjtubj )}(hWhen an inode cannot be read due to a media or remote network failure this function makes the inode "bad" and causes I/O operations on it to fail from this point on.h]h)}(hWhen an inode cannot be read due to a media or remote network failure this function makes the inode "bad" and causes I/O operations on it to fail from this point on.h]hWhen an inode cannot be read due to a media or remote network failure this function makes the inode “bad” and causes I/O operations on it to fail from this point on.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubah}(h]h ]h"]h$]h&]uh1jhjhKhjtubeh}(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}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj0hKubj/)}(h is_bad_inodeh]j5)}(h is_bad_inodeh]h is_bad_inode}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj0hKubj)}(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 }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubh)}(hhh]j5)}(hinodeh]hinode}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjEsbc.is_bad_inodeasbuh1hhj[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&]noemphjLjMuh1jhjWubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj0hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj0hKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj0hKhjhhubjc)}(hhh]h)}(his an inode erroredh]his an inode errored}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj0hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]j)}(h&``struct inode *inode`` inode to test 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]h)}(h inode to testh]h inode to test}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hKhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj )}(h=Returns true if the inode in question has been marked as bad.h]h)}(hjvh]h=Returns true if the inode in question has been marked as bad.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjtubah}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(h iget_failedh]j5)}(h iget_failedh]h iget_failed}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(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 reftargetj modnameN classnameNjj)}j]j)}jjsb c.iget_failedasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h7Mark an under-construction inode as dead and release ith]h7Mark an under-construction inode as dead and release it}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjihhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(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"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]h)}(hThe inode to discardh]hThe inode to discard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(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.chKhjubh)}(h8Mark an under-construction inode as dead and release it.h]h8Mark an under-construction inode as dead and release it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[hhhNhNubeh}(h]inode-handlingah ]h"]inode handlingah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hRegistration and Superblocksh]hRegistration and Superblocks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK$ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$deactivate_locked_super (C function)c.deactivate_locked_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void deactivate_locked_super (struct super_block *s)h]j)}(h3void deactivate_locked_super(struct super_block *s)h](j)}(hvoidh]hvoid}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBhhhjThMubj/)}(hdeactivate_locked_superh]j5)}(hdeactivate_locked_superh]hdeactivate_locked_super}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjBhhhjThMubj)}(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)}jjisbc.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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubah}(h]h ]h"]h$]h&]jLjMuh1jhjBhhhjThMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj>hhhjThMubah}(h]j9ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjThMhj;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;hhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *s`` superblock to deactivate **Description** Drops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired. Caller holds exclusive lock on superblock; that lock is released.h](h)}(h**Parameters**h]j)}(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)}(h3``struct super_block *s`` superblock to deactivate h](j)}(h``struct super_block *s``h]j)}(hjGh]hstruct super_block *s}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjAubj)}(hhh]h)}(hsuperblock to deactivateh]hsuperblock to deactivate}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj"ubj )}(hX"Drops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired. Caller holds exclusive lock on superblock; that lock is released.h](h)}(hDrops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired.h]hDrops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hACaller holds exclusive lock on superblock; that lock is released.h]hACaller holds exclusive lock on superblock; that lock is released.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdeactivate_super (C function)c.deactivate_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void deactivate_super (struct super_block *s)h]j)}(h,void deactivate_super(struct super_block *s)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdeactivate_superh]j5)}(hdeactivate_superh]hdeactivate_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct super_block *s)h]j)}(hstruct super_block *sh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(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&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj)}j]j)}jjsbc.deactivate_superasbuh1hhjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hjh]hs}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h&drop an active reference to superblockh]h&drop an active reference to superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *s`` superblock to deactivate **Description** Variant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]j)}(h3``struct super_block *s`` superblock to deactivate h](j)}(h``struct super_block *s``h]j)}(hjh]hstruct super_block *s}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hsuperblock to deactivateh]hsuperblock to deactivate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj )}(hVariant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h]h)}(hVariant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h](h@Variant of deactivate_locked_super(), except that superblock is }(hj5hhhNhNubj )}(h*not*h]hnot}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj5ubhl locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj1ubah}(h]h ]h"]h$]h&]uh1jhjUhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hretire_super (C function)c.retire_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h*void retire_super (struct super_block *sb)h]j)}(h)void retire_super(struct super_block *sb)h](j)}(hvoidh]hvoid}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjxhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM=ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjhM=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.hjxhhhjhM=ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.retire_superasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjxhhhjhM=ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhjhM=ubah}(h]joah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM=hjqhhubjc)}(hhh]h)}(h%prevents superblock from being reusedh]h%prevents superblock from being reused}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM=hj9hhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock to retire **Description** The function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn't reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect. The marker will affect the re-use only for block-device-based superblocks. Other superblocks will still get marked if this function is used, but that will not affect their reusability.h](h)}(h**Parameters**h]j)}(hj^h]h Parameters}(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.chMAhjXubj)}(hhh]j)}(h0``struct super_block *sb`` superblock to retire 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:38: ./fs/super.chM>hjwubj)}(hhh]h)}(hsuperblock to retireh]hsuperblock to retire}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjtubah}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM@hjXubj )}(hXThe function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn't reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect. The marker will affect the re-use only for block-device-based superblocks. Other superblocks will still get marked if this function is used, but that will not affect their reusability.h](h)}(hXThe function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn't reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect.h]hXThe function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn’t reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMGhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#generic_shutdown_super (C function)c.generic_shutdown_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void generic_shutdown_super (struct super_block *sb)h]j)}(h3void generic_shutdown_super(struct super_block *sb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMZubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj$hMZubj/)}(hgeneric_shutdown_superh]j5)}(hgeneric_shutdown_superh]hgeneric_shutdown_super}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj$hMZubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](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)}(h super_blockh]h super_block}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]j)}jj9sbc.generic_shutdown_superasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj$hMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj$hMZubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj$hMZhj hhubjc)}(hhh]h)}(hcommon helper for ->kill_sb()h]hcommon helper for ->kill_sb()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj$hMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXv**Parameters** ``struct super_block *sb`` superblock to kill **Description** generic_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling. Upon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM^hjubj)}(hhh]j)}(h.``struct super_block *sb`` superblock to kill h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM[hjubj)}(hhh]h)}(hsuperblock to killh]hsuperblock to kill}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hM[hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM[hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjRh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM]hjubj )}(hXgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling. Upon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.h](h)}(hXCgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling.h]hXCgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM\hjhubh)}(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.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMbhjhubeh}(h]h ]h"]h$]h&]uh1jhjzhM\hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsget_fc (C function) c.sget_fchNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct super_block * sget_fc (struct fs_context *fc, int (*test)(struct super_block *, struct fs_context *), int (*set)(struct super_block *, struct fs_context *))h]j)}(hstruct super_block *sget_fc(struct fs_context *fc, int (*test)(struct super_block*, struct fs_context*), int (*set)(struct super_block*, struct fs_context*))h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jsget_fcsb c.sget_fcasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hsget_fch]j5)}(hjh]hsget_fc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct fs_context *fc, int (*test)(struct super_block*, struct fs_context*), int (*set)(struct super_block*, struct fs_context*))h](j)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]j c.sget_fcasbuh1hhj&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)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubj)}(h4int (*test)(struct super_block*, struct fs_context*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(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*)}(hjDh]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)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.sget_fcasbuh1hhjubj*)}(hj-h]h*}(hj4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j c.sget_fcasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubj)}(h3int (*set)(struct super_block*, struct fs_context*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hseth]hset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjDh]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 }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]j c.sget_fcasbuh1hhjubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjqhhhNhNubah}(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*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hFind or create a superblockh]hFind or create a superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct fs_context *fc`` Filesystem context. ``int (*test)(struct super_block *, struct fs_context *)`` Comparison callback ``int (*set)(struct super_block *, struct fs_context *)`` Setup callback **Description** Create a new superblock or find an existing one. The **test** callback is used to find a matching existing superblock. Whether or not the requested parameters in **fc** are taken into account is specific to the **test** callback that is used. They may even be completely ignored. If an extant superblock is matched, it will be returned unless: (1) the namespace the filesystem context **fc** and the extant superblock's namespace differ (2) the filesystem context **fc** has requested that reusing an extant superblock is not allowed In both cases EBUSY will be returned. If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the **set** callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset. **Return** On success, an extant or newly created superblock is returned. On failure an error pointer is returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubj)}(hhh](j)}(h.``struct fs_context *fc`` Filesystem context. h](j)}(h``struct fs_context *fc``h]j)}(hj2h]hstruct fs_context *fc}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubj)}(hO``int (*test)(struct super_block *, struct fs_context *)`` Comparison callback h](j)}(h:``int (*test)(struct super_block *, struct fs_context *)``h]j)}(hjkh]h6int (*test)(struct super_block *, struct fs_context *)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjeubj)}(hhh]h)}(hComparison callbackh]hComparison callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhj)ubj)}(hI``int (*set)(struct super_block *, struct fs_context *)`` Setup callback h](j)}(h9``int (*set)(struct super_block *, struct fs_context *)``h]j)}(hjh]h5int (*set)(struct super_block *, struct fs_context *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hSetup callbackh]hSetup callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj)ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubh)}(h0Create a new superblock or find an existing one.h]h0Create a new superblock or find an existing one.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubh)}(hThe **test** callback is used to find a matching existing superblock. Whether or not the requested parameters in **fc** are taken into account is specific to the **test** callback that is used. They may even be completely ignored.h](hThe }(hjhhhNhNubj)}(h**test**h]htest}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhe callback is used to find a matching existing superblock. Whether or not the requested parameters in }(hjhhhNhNubj)}(h**fc**h]hfc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh+ are taken into account is specific to the }(hjhhhNhNubj)}(h**test**h]htest}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh< callback that is used. They may even be completely ignored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubh)}(h?If an extant superblock is matched, it will be returned unless:h]h?If an extant superblock is matched, it will be returned unless:}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubhenumerated_list)}(hhh](j .)}(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 }(hjahhhNhNubj)}(h**fc**h]hfc}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh/ and the extant superblock’s namespace differ}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj]ubah}(h]h ]h"]h$]h&]uh1j .hjZubj .)}(h]the filesystem context **fc** has requested that reusing an extant superblock is not allowed h]h)}(h\the filesystem context **fc** has requested that reusing an extant superblock is not allowedh](hthe filesystem context }(hjhhhNhNubj)}(h**fc**h]hfc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh? has requested that reusing an extant superblock is not allowed}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1j .hjZubeh}(h]h ]h"]h$]h&]enumtypearabicprefixjsuffixjDuh1jXhj ubh)}(h%In both cases EBUSY will be returned.h]h%In both cases EBUSY will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubh)}(hX8If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the **set** callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.h](hIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the }(hjhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubh)}(hgOn success, an extant or newly created superblock is returned. On failure an error pointer is returned.h]hgOn success, an extant or newly created superblock is returned. On failure an error pointer is returned.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsget (C function)c.sgethNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct super_block * sget (struct file_system_type *type, int (*test)(struct super_block *,void *), int (*set)(struct super_block *,void *), int flags, void *data)h]j)}(hstruct super_block *sget(struct file_system_type *type, int (*test)(struct super_block*, void*), int (*set)(struct super_block*, void*), int flags, void *data)h](j )}(hjzh]hstruct}(hj4 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0 hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM(ubj)}(h h]h }(hjB hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0 hhhjA hM(ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjS hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjP ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjU modnameN classnameNjj)}j]j)}jsgetsbc.sgetasbuh1hhj0 hhhjA hM(ubj)}(h h]h }(hjt hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0 hhhjA hM(ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0 hhhjA hM(ubj/)}(hsgeth]j5)}(hjq h]hsget}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj0 hhhjA hM(ubj)}(h(struct file_system_type *type, int (*test)(struct super_block*, void*), int (*set)(struct super_block*, void*), int flags, void *data)h](j)}(hstruct file_system_type *typeh](j )}(hjzh]hstruct}(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)}(hfile_system_typeh]hfile_system_type}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jo c.sgetasbuh1hhj 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)}(htypeh]htype}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h'int (*test)(struct super_block*, void*)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj, hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hjh]h(}(hj: hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hj-h]h*}(hjG hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(htesth]htest}(hjT hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubj*)}(hjDh]h)}(hjb hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjh]h(}(hjo hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj 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 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]jo c.sgetasbuh1hhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjh]h,}(hj hhhNhNubah}(h]h ]j6ah"]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*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjDh]h)}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h&int (*set)(struct super_block*, void*)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj! hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hjh]h(}(hj/ hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hj-h]h*}(hj< hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hseth]hset}(hjI hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubj*)}(hjDh]h)}(hjW hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjh]h(}(hjd hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj )}(hjzh]hstruct}(hjq 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]jo c.sgetasbuh1hhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjh]h,}(hj hhhNhNubah}(h]h ]j6ah"]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*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjDh]h)}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj 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}(hj$ hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h void *datah](j)}(hvoidh]hvoid}(hj= hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj9 ubj)}(h h]h }(hjK hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9 ubj*)}(hj-h]h*}(hjY hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj9 ubj5)}(hdatah]hdata}(hjf hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9 ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj0 hhhjA hM(ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj, hhhjA hM(ubah}(h]j' ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjA hM(hj) hhubjc)}(hhh]h)}(hfind or create a superblockh]hfind or create a superblock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM(hj hhubah}(h]h ]h"]h$]h&]uh1jbhj) hhhjA hM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM,hj ubj)}(hhh](j)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM)hj ubj)}(hhh]h)}(h+filesystem type superblock should belong toh]h+filesystem type superblock should belong to}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM)hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM)hj ubj)}(hA``int (*test)(struct super_block *,void *)`` comparison callback h](j)}(h,``int (*test)(struct super_block *,void *)``h]j)}(hj h]h(int (*test)(struct super_block *,void *)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM*hj ubj)}(hhh]h)}(hcomparison callbackh]hcomparison callback}(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 (*set)(struct super_block *,void *)`` setup callback h](j)}(h+``int (*set)(struct super_block *,void *)``h]j)}(hjC h]h'int (*set)(struct super_block *,void *)}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM+hj= ubj)}(hhh]h)}(hsetup callbackh]hsetup callback}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjX hM+hjY ubah}(h]h ]h"]h$]h&]uh1jhj= ubeh}(h]h ]h"]h$]h&]uh1jhjX hM+hj ubj)}(h``int flags`` mount flags h](j)}(h ``int flags``h]j)}(hj| h]h int flags}(hj~ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM,hjv ubj)}(hhh]h)}(h mount flagsh]h mount flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM,hj ubah}(h]h ]h"]h$]h&]uh1jhjv ubeh}(h]h ]h"]h$]h&]uh1jhj hM,hj ubj)}(h'``void *data`` argument to each of themh](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:38: ./fs/super.chM.hj ubj)}(hhh]h)}(hargument to each of themh]hargument to each of them}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM-hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM.hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h iterate_supers_type (C function)c.iterate_supers_typehNtauh1hhjhhhNhNubh)}(hhh](j)}(hlvoid iterate_supers_type (struct file_system_type *type, void (*f)(struct super_block *, void *), void *arg)h]j)}(hivoid iterate_supers_type(struct file_system_type *type, void (*f)(struct super_block*, void*), void *arg)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhMubj/)}(hiterate_supers_typeh]j5)}(hiterate_supers_typeh]hiterate_supers_type}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhMubj)}(hQ(struct file_system_type *type, void (*f)(struct super_block*, void*), void *arg)h](j)}(hstruct file_system_type *typeh](j )}(hjzh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubh)}(hhh]j5)}(hfile_system_typeh]hfile_system_type}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]j)}jj2sbc.iterate_supers_typeasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjHubj5)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjDubj)}(h%void (*f)(struct super_block*, void*)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfh]hf}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjDh]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 }(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&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj)}j]jc.iterate_supers_typeasbuh1hhjubj*)}(hj-h]h*}(hjXhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjrhhhNhNubah}(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*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjDubj)}(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&]noemphjLjMuh1jhjDubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h+call function for superblocks of given typeh]h+call function for superblocks of given type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX$**Parameters** ``struct file_system_type *type`` fs type ``void (*f)(struct super_block *, void *)`` function to call ``void *arg`` argument to pass to it **Description** Scans the superblock list and calls given function, passing it locked superblock and given argument.h](h)}(h**Parameters**h]j)}(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 file_system_type *type`` fs type h](j)}(h!``struct file_system_type *type``h]j)}(hjGh]hstruct file_system_type *type}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjAubj)}(hhh]h)}(hfs typeh]hfs type}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(h=``void (*f)(struct super_block *, void *)`` function to call h](j)}(h+``void (*f)(struct super_block *, void *)``h]j)}(hjh]h'void (*f)(struct super_block *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjzubj)}(hhh]h)}(hfunction to callh]hfunction to call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubj)}(h%``void *arg`` argument to pass to it h](j)}(h ``void *arg``h]j)}(hjh]h void *arg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hargument to pass to ith]hargument to pass to it}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj"ubj )}(hdScans the superblock list and calls given function, passing it locked superblock and given argument.h]h)}(hdScans the superblock list and calls given function, passing it locked superblock and given argument.h]hdScans the superblock list and calls given function, passing it locked superblock and given argument.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubah}(h]h ]h"]h$]h&]uh1jhjhMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_anon_bdev (C function)c.get_anon_bdevhNtauh1hhjhhhNhNubh)}(hhh](j)}(hint get_anon_bdev (dev_t *p)h]j)}(hint get_anon_bdev(dev_t *p)h](j)}(hinth]hint}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj?hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?hhhjQhMubj/)}(h get_anon_bdevh]j5)}(h get_anon_bdevh]h get_anon_bdev}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj?hhhjQhMubj)}(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)}jjfsbc.get_anon_bdevasbuh1hhj|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)}(hj6h]hp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjxubah}(h]h ]h"]h$]h&]jLjMuh1jhj?hhhjQhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj;hhhjQhMubah}(h]j6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjQhMhj8hhubjc)}(hhh]h)}(h=Allocate a block device for filesystems which don't have one.h]h?Allocate a block device for filesystems which don’t have one.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj8hhhjQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXc**Parameters** ``dev_t *p`` Pointer to a dev_t. **Description** Filesystems which don't use real block devices can call this function to allocate a virtual block device. **Context** Any context. Frequently called while holding sb_lock. **Return** 0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.h](h)}(h**Parameters**h]j)}(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:38: ./fs/super.chMhjubj)}(hhh]j)}(h!``dev_t *p`` Pointer to a dev_t. h](j)}(h ``dev_t *p``h]j)}(hj(h]hdev_t *p}(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)}(hPointer to a dev_t.h]hPointer to a dev_t.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hiFilesystems which don't use real block devices can call this function to allocate a virtual block device.h]hkFilesystems which don’t use real block devices can call this function to allocate a virtual block device.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(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.chMhjubh)}(h6Any context. Frequently called while holding sb_lock.h]h6Any context. Frequently called while holding sb_lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hb0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.h]hb0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsget_dev (C function) c.sget_devhNtauh1hhjhhhNhNubh)}(hhh](j)}(h@struct super_block * sget_dev (struct fs_context *fc, dev_t dev)h]j)}(h>struct super_block *sget_dev(struct fs_context *fc, dev_t dev)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMgubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMgubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jsget_devsb c.sget_devasbuh1hhjhhhjhMgubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMgubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMgubj/)}(hsget_devh]j5)}(hj3h]hsget_dev}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMgubj)}(h"(struct fs_context *fc, dev_t dev)h](j)}(hstruct fs_context *fch](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)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j1 c.sget_devasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubj)}(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]j1 c.sget_devasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMgubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMgubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMghjhhubjc)}(hhh]h)}(h,Find or create a superblock by device numberh]h,Find or create a superblock by device number}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMghj6hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct fs_context *fc`` Filesystem context. ``dev_t dev`` device number **Description** Find or create a superblock using the provided device number that will be stored in fc->sget_key. If an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard. If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset. **Return** an existing or newly created superblock on success, an error pointer on failure.h](h)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMkhjUubj)}(hhh](j)}(h.``struct fs_context *fc`` Filesystem context. h](j)}(h``struct fs_context *fc``h]j)}(hjzh]hstruct fs_context *fc}(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.chMhhjtubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjqubj)}(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&]uh1jhjhMihjqubeh}(h]h ]h"]h$]h&]uh1jhjUubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMkhjUubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMjhjUubh)}(hIf an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard.h]hIf an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMmhjUubh)}(hXIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.h]hXIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMphjUubh)}(h **Return**h]j)}(hj3h]hReturn}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMvhjUubh)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMwhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h get_tree_bdev_flags (C function)c.get_tree_bdev_flagshNtauh1hhjhhhNhNubh)}(hhh](j)}(hint get_tree_bdev_flags (struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc), unsigned int flags)h]j)}(hint get_tree_bdev_flags(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc), unsigned int flags)h](j)}(hinth]hint}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjthhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjhMvubj/)}(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.hjthhhjhMvubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.get_tree_bdev_flagsasbuh1hhjubj)}(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&]noemphjLjMuh1jhjubj)}(h@int (*fill_super)(struct super_block *sb, struct fs_context *fc)h](j)}(hinth]hint}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj#ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj*)}(hjh]h(}(hjChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj#ubj*)}(hj-h]h*}(hjPhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj#ubj5)}(h fill_superh]h fill_super}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubj*)}(hjDh]h)}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj#ubj*)}(hjh]h(}(hjxhhhNhNubah}(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.get_tree_bdev_flagsasbuh1hhj#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#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}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj)}j]jc.get_tree_bdev_flagsasbuh1hhj#ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj*)}(hj-h]h*}(hjOhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj#ubj5)}(hfch]hfc}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubj*)}(hjDh]h)}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjthhhjhMvubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhjhMvubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMvhjmhhubjc)}(hhh]h)}(h/Get a superblock based on a single block deviceh]h/Get a superblock based on a single block device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMvhjhhubah}(h]h ]h"]h$]h&]uh1jbhjmhhhjhMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMzhjubj)}(hhh](j)}(hH``struct fs_context *fc`` The filesystem context holding the parameters h](j)}(h``struct fs_context *fc``h]j)}(hj%h]hstruct fs_context *fc}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMwhjubj)}(hhh]h)}(h-The filesystem context holding the parametersh]h-The filesystem context holding the parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMwhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMwhjubj)}(hk``int (*fill_super)(struct super_block *sb, struct fs_context *fc)`` Helper to initialise a new superblock h](j)}(hD``int (*fill_super)(struct super_block *sb, struct fs_context *fc)``h]j)}(hj^h]h@int (*fill_super)(struct super_block *sb, struct fs_context *fc)}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMxhjXubj)}(hhh]h)}(h%Helper to initialise a new superblockh]h%Helper to initialise a new superblock}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMxhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMxhjubj)}(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&]uh1jhjhMzhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_tree_bdev (C function)c.get_tree_bdevhNtauh1hhjhhhNhNubh)}(hhh](j)}(hgint get_tree_bdev (struct fs_context *fc, int (*fill_super)(struct super_block *, struct fs_context *))h]j)}(hdint get_tree_bdev(struct fs_context *fc, int (*fill_super)(struct super_block*, struct fs_context*))h](j)}(hinth]hint}(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_tree_bdevh]j5)}(h get_tree_bdevh]h get_tree_bdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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 hj*ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj)}j]j)}jjsbc.get_tree_bdevasbuh1hhj*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)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubj)}(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(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h fill_superh]h fill_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjDh]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 }(hj hhhNhNubah}(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]jhc.get_tree_bdevasbuh1hhjubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jhc.get_tree_bdevasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h/Get a superblock based on a single block deviceh]h/Get a superblock based on a single block device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct fs_context *fc`` The filesystem context holding the parameters ``int (*fill_super)(struct super_block *, struct fs_context *)`` Helper to initialise a new superblockh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh](j)}(hH``struct fs_context *fc`` The filesystem context holding the parameters h](j)}(h``struct fs_context *fc``h]j)}(hjh]hstruct fs_context *fc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(h-The filesystem context holding the parametersh]h-The filesystem context holding the parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*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)}(hjNh]hhhhNhNubah}(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)}(hGet the mountable rooth]hGet the mountable root}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjehhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct fs_context *fc`` The superblock configuration context. **Description** The filesystem is invoked to get or create a superblock which can then later be used for mounting. The filesystem places a pointer to the root to be used for mounting in **fc->root**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]j)}(h@``struct fs_context *fc`` The superblock configuration context. h](j)}(h``struct fs_context *fc``h]j)}(hjh]hstruct fs_context *fc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(h%The superblock configuration context.h]h%The superblock configuration context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hThe filesystem is invoked to get or create a superblock which can then later be used for mounting. The filesystem places a pointer to the root to be used for mounting in **fc->root**.h](hThe filesystem is invoked to get or create a superblock which can then later be used for mounting. The filesystem places a pointer to the root to be used for mounting in }(hjhhhNhNubj)}(h **fc->root**h]hfc->root}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfreeze_super (C function)c.freeze_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h[int freeze_super (struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h]j)}(hZint freeze_super(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](j)}(hinth]hint}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhjIhMubj/)}(h freeze_superh]j5)}(h freeze_superh]h freeze_super}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj7hhhjIhMubj)}(hJ(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubh)}(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)}jj^sbc.freeze_superasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjtubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjpubj)}(henum freeze_holder whoh](j )}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h freeze_holderh]h freeze_holder}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.freeze_superasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwhoh]hwho}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjpubj)}(hconst void *freeze_ownerh](j )}(hjUh]hconst}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj)}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjIubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIubj5)}(h freeze_ownerh]h freeze_owner}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(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)}(h8lock the filesystem and force it into a consistent stateh]h8lock the filesystem and force it into a consistent state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj0hhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX **Parameters** ``struct super_block *sb`` the super to lock ``enum freeze_holder who`` context that wants to freeze ``const void *freeze_owner`` owner of the freeze **Description** Syncs the super to make sure the filesystem is consistent and calls the fs's freeze_fs. Subsequent calls to this without first thawing the fs may return -EBUSY. **who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to freeze the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to freeze the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed. The **who** argument distinguishes between the kernel and userspace trying to freeze the filesystem. Although there cannot be multiple kernel freezes or multiple userspace freezes in effect at any given time, the kernel and userspace can both hold a filesystem frozen. The filesystem remains frozen until there are no kernel or userspace freezes in effect. A filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned. During this function, sb->s_writers.frozen goes through these values: SB_UNFROZEN: File system is normal, all writes progress as usual. SB_FREEZE_WRITE: The file system is in the process of being frozen. New writes should be blocked, though page faults are still allowed. We wait for all writes to complete and then proceed to the next stage. SB_FREEZE_PAGEFAULT: Freezing continues. Now also page faults are blocked but internal fs threads can still modify the filesystem (although they should not dirty new pages or inodes), writeback can run etc. After waiting for all running page faults we sync the filesystem which will clean all dirty pages and inodes (no new dirty pages or inodes can be created when sync is running). SB_FREEZE_FS: The file system is frozen. Now all internal sources of fs modification are blocked (e.g. XFS preallocation truncation on inode reclaim). This is usually implemented by blocking new transactions for filesystems that have them and need this additional guard. After all internal writers are finished we call ->freeze_fs() to finish filesystem freezing. Then we transition to SB_FREEZE_COMPLETE state. This state is mostly auxiliary for filesystems to verify they do not modify frozen fs. sb->s_writers.frozen is protected by sb->s_umount. **Return** If the freeze was successful zero is returned. If the freeze failed a negative error code is returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh](j)}(h-``struct super_block *sb`` the super to lock h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hthe super to lockh]hthe super to lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``enum freeze_holder who`` context that wants to freeze h](j)}(h``enum freeze_holder who``h]j)}(hj5h]henum freeze_holder who}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj/ubj)}(hhh]h)}(hcontext that wants to freezeh]hcontext that wants to freeze}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(h1``const void *freeze_owner`` owner of the freeze h](j)}(h``const void *freeze_owner``h]j)}(hjnh]hconst void *freeze_owner}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjhubj)}(hhh]h)}(howner of the freezeh]howner of the freeze}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hSyncs the super to make sure the filesystem is consistent and calls the fs's freeze_fs. Subsequent calls to this without first thawing the fs may return -EBUSY.h]hSyncs the super to make sure the filesystem is consistent and calls the fs’s freeze_fs. Subsequent calls to this without first thawing the fs may return -EBUSY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h**who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to freeze the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to freeze the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed.h](j)}(h**who**h]hwho}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should be: * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_USERSPACE``h]hFREEZE_HOLDER_USERSPACE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( if userspace wants to freeze the fs; * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_KERNEL``h]hFREEZE_HOLDER_KERNEL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) if the kernel wants to freeze the fs. * }(hjhhhNhNubj)}(h``FREEZE_MAY_NEST``h]hFREEZE_MAY_NEST}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 whether nesting freeze and thaw requests is allowed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hXfThe **who** argument distinguishes between the kernel and userspace trying to freeze the filesystem. Although there cannot be multiple kernel freezes or multiple userspace freezes in effect at any given time, the kernel and userspace can both hold a filesystem frozen. The filesystem remains frozen until there are no kernel or userspace freezes in effect.h](hThe }(hj! hhhNhNubj)}(h**who**h]hwho}(hj) hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj! ubhX[ argument distinguishes between the kernel and userspace trying to freeze the filesystem. Although there cannot be multiple kernel freezes or multiple userspace freezes in effect at any given time, the kernel and userspace can both hold a filesystem frozen. The filesystem remains frozen until there are no kernel or userspace freezes in effect.}(hj! hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hXnA filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned.h]hXnA filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned.}(hjB hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hEDuring this function, sb->s_writers.frozen goes through these values:h]hEDuring this function, sb->s_writers.frozen goes through these values:}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hASB_UNFROZEN: File system is normal, all writes progress as usual.h]hASB_UNFROZEN: File system is normal, all writes progress as usual.}(hj` hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hSB_FREEZE_WRITE: The file system is in the process of being frozen. New writes should be blocked, though page faults are still allowed. We wait for all writes to complete and then proceed to the next stage.h]hSB_FREEZE_WRITE: The file system is in the process of being frozen. New writes should be blocked, though page faults are still allowed. We wait for all writes to complete and then proceed to the next stage.}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hXSB_FREEZE_PAGEFAULT: Freezing continues. Now also page faults are blocked but internal fs threads can still modify the filesystem (although they should not dirty new pages or inodes), writeback can run etc. After waiting for all running page faults we sync the filesystem which will clean all dirty pages and inodes (no new dirty pages or inodes can be created when sync is running).h]hXSB_FREEZE_PAGEFAULT: Freezing continues. Now also page faults are blocked but internal fs threads can still modify the filesystem (although they should not dirty new pages or inodes), writeback can run etc. After waiting for all running page faults we sync the filesystem which will clean all dirty pages and inodes (no new dirty pages or inodes can be created when sync is running).}(hj~ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hXSB_FREEZE_FS: The file system is frozen. Now all internal sources of fs modification are blocked (e.g. XFS preallocation truncation on inode reclaim). This is usually implemented by blocking new transactions for filesystems that have them and need this additional guard. After all internal writers are finished we call ->freeze_fs() to finish filesystem freezing. Then we transition to SB_FREEZE_COMPLETE state. This state is mostly auxiliary for filesystems to verify they do not modify frozen fs.h]hXSB_FREEZE_FS: The file system is frozen. Now all internal sources of fs modification are blocked (e.g. XFS preallocation truncation on inode reclaim). This is usually implemented by blocking new transactions for filesystems that have them and need this additional guard. After all internal writers are finished we call ->freeze_fs() to finish filesystem freezing. Then we transition to SB_FREEZE_COMPLETE state. This state is mostly auxiliary for filesystems to verify they do not modify frozen fs.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h2sb->s_writers.frozen is protected by sb->s_umount.h]h2sb->s_writers.frozen is protected by sb->s_umount.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.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:38: ./fs/super.chMhjubh)}(hfIf the freeze was successful zero is returned. If the freeze failed a negative error code is returned.h]hfIf the freeze was successful zero is returned. If the freeze failed a negative error code is returned.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hthaw_super (C function) c.thaw_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(hYint thaw_super (struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h]j)}(hXint thaw_super(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](j)}(hinth]hint}(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 thaw_superh]j5)}(h thaw_superh]h thaw_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 }(hjfl_lmops->lm_break function is required by break_lease().h](h)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj1ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hj1h]hstruct file *filp}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj1ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj1ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj&2h]hint arg}(hj(2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj 2ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj?2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;2hMhj<2ubah}(h]h ]h"]h$]h&]uh1jhj 2ubeh}(h]h ]h"]h$]h&]uh1jhj;2hMhj1ubj)}(hR``struct file_lease **flp`` input - file_lock to use, output - file_lock inserted h](j)}(h``struct file_lease **flp``h]j)}(hj_2h]hstruct file_lease **flp}(hja2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjY2ubj)}(hhh]h)}(h5input - file_lock to use, output - file_lock insertedh]h5input - file_lock to use, output - file_lock inserted}(hjx2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjt2hMhju2ubah}(h]h ]h"]h$]h&]uh1jhjY2ubeh}(h]h ]h"]h$]h&]uh1jhjt2hMhj1ubj)}(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)}(hj2h]h void **priv}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj2ubj)}(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)}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1ubh)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj1ubj )}(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().}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2hMhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_setlease (C function)c.vfs_setleasehNtauh1hhj $hhhNhNubh)}(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#3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj3hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj23hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3hhhj13hMubj/)}(h vfs_setleaseh]j5)}(h vfs_setleaseh]h vfs_setlease}(hjD3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj3hhhj13hMubj)}(hD(struct file *filp, int arg, struct file_lease **lease, void **priv)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hj`3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\3ubj)}(h h]h }(hjm3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\3ubh)}(hhh]j5)}(hfileh]hfile}(hj~3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j)}jjF3sbc.vfs_setleaseasbuh1hhj\3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\3ubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj\3ubj5)}(hfilph]hfilp}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjX3ubj)}(hint argh](j)}(hinth]hint}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj5)}(hargh]harg}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjX3ubj)}(hstruct file_lease **leaseh](j )}(hjzh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh)}(hhh]j5)}(h file_leaseh]h file_lease}(hj%4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'4modnameN classnameNjj)}j]j3c.vfs_setleaseasbuh1hhj4ubj)}(h h]h }(hjC4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hjQ4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj*)}(hj-h]h*}(hj^4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hleaseh]hlease}(hjk4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjX3ubj)}(h void **privh](j)}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hj4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj*)}(hj-h]h*}(hj4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hprivh]hpriv}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjX3ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj3hhhj13hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj3hhhj13hMubah}(h]j3ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj13hMhj3hhubjc)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jbhj3hhhj13hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhj $hNhNubj)}(hX**Parameters** ``struct file *filp`` file pointer ``int arg`` type of lease to obtain ``struct file_lease **lease`` file_lock to use when adding a lease ``void **priv`` private info for lm_setup when adding a lease (may be NULL if lm_setup doesn't require it) **Description** Call this to establish a lease on the file. The "lease" argument is not used for F_UNLCK requests and may be NULL. For commands that set or alter an existing lease, the ``(*lease)->fl_lmops->lm_break`` operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace). The "priv" pointer is passed directly to the lm_setup function as-is. It may be NULL if the lm_setup operation doesn't require it.h](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj5ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hj%5h]hstruct file *filp}(hj'5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj5ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj>5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:5hMhj;5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj:5hMhj5ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj^5h]hint arg}(hj`5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjX5ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hjw5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjs5hMhjt5ubah}(h]h ]h"]h$]h&]uh1jhjX5ubeh}(h]h ]h"]h$]h&]uh1jhjs5hMhj5ubj)}(hC``struct file_lease **lease`` file_lock to use when adding a lease h](j)}(h``struct file_lease **lease``h]j)}(hj5h]hstruct file_lease **lease}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj5ubj)}(hhh]h)}(h$file_lock to use when adding a leaseh]h$file_lock to use when adding a lease}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubj)}(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)}(hj5h]h void **priv}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj5ubj)}(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)}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hj 6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 6ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj5ubh)}(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"6hhhNhNubj)}(h ``(*lease)->fl_lmops->lm_break``h]h(*lease)->fl_lmops->lm_break}(hj*6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"6ubhm operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace).}(hj"6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj5ubh)}(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.}(hjC6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"locks_lock_inode_wait (C function)c.locks_lock_inode_waithNtauh1hhj $hhhNhNubh)}(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}(hjr6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjn6hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM1ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjn6hhhj6hM1ubj/)}(hlocks_lock_inode_waith]j5)}(hlocks_lock_inode_waith]hlocks_lock_inode_wait}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjn6hhhj6hM1ubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(hinodeh]hinode}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j)}jj6sbc.locks_lock_inode_waitasbuh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hinodeh]hinode}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hj!7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hj.7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj?7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjA7modnameN classnameNjj)}j]j6c.locks_lock_inode_waitasbuh1hhj7ubj)}(h h]h }(hj]7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hjk7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hflh]hfl}(hjx7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjn6hhhj6hM1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjj6hhhj6hM1ubah}(h]je6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6hM1hjg6hhubjc)}(hhh]h)}(hApply a lock to an inodeh]hApply a lock to an inode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM1hj7hhubah}(h]h ]h"]h$]h&]uh1jbhjg6hhhj6hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhj $hNhNubj)}(h**Parameters** ``struct inode *inode`` inode of the file to apply to ``struct file_lock *fl`` The lock to be applied **Description** Apply a POSIX or FLOCK style lock request to an inode.h](h)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM5hj7ubj)}(hhh](j)}(h6``struct inode *inode`` inode of the file to apply to h](j)}(h``struct inode *inode``h]j)}(hj7h]hstruct inode *inode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM2hj7ubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hM2hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM2hj7ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj8h]hstruct file_lock *fl}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM3hj8ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj58hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj18hM3hj28ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj18hM3hj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hjW8h]h Description}(hjY8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU8ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM5hj7ubh)}(h6Apply a POSIX or FLOCK style lock request to an inode.h]h6Apply a POSIX or FLOCK style lock request to an inode.}(hjm8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM4hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_test_lock (C function)c.vfs_test_lockhNtauh1hhj $hhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj8hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhj8hMubj/)}(h vfs_test_lockh]j5)}(h vfs_test_lockh]h vfs_test_lock}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8hhhj8hMubj)}(h)(struct file *filp, struct file_lock *fl)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(hfileh]hfile}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j)}jj8sbc.vfs_test_lockasbuh1hhj8ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj*)}(hj-h]h*}(hj%9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj8ubj5)}(hfilph]hfilp}(hj29hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hjK9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG9ubj)}(h h]h }(hjX9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjG9ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hji9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjf9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjk9modnameN classnameNjj)}j]j9c.vfs_test_lockasbuh1hhjG9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjG9ubj*)}(hj-h]h*}(hj9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjG9ubj5)}(hflh]hfl}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjG9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj8hhhj8hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhj8hMubah}(h]j8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj8hMhj8hhubjc)}(hhh]h)}(htest file byte range lockh]htest file byte range lock}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jbhj8hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj $hNhNubj)}(hX**Parameters** ``struct file *filp`` The file to test lock for ``struct file_lock *fl`` The lock to test; also used to hold result **Description** Returns -ERRNO on failure. Indicates presence of conflicting lock by setting conf->fl_type to something other than F_UNLCK.h](h)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj9ubj)}(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)}(hD``struct file_lock *fl`` The lock to test; also used to hold result h](j)}(h``struct file_lock *fl``h]j)}(hjF:h]hstruct file_lock *fl}(hjH:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj@:ubj)}(hhh]h)}(h*The lock to test; also used to hold resulth]h*The lock to test; also used to hold result}(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&]uh1jhj9ubh)}(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.chMhj9ubh)}(h|Returns -ERRNO on failure. Indicates presence of conflicting lock by setting conf->fl_type to something other than F_UNLCK.h]h|Returns -ERRNO on failure. Indicates presence of conflicting lock by setting conf->fl_type to something other than F_UNLCK.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_lock_file (C function)c.vfs_lock_filehNtauh1hhj $hhhNhNubh)}(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.chM ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:hhhj:hM 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:hM ubj)}(hS(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(hfileh]hfile}(hj!;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#;modnameN classnameNjj)}j]j)}jj:sbc.vfs_lock_fileasbuh1hhj:ubj)}(h h]h }(hjA;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj*)}(hj-h]h*}(hjO;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj:ubj5)}(hfilph]hfilp}(hj\;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:ubj)}(hunsigned int cmdh](j)}(hunsignedh]hunsigned}(hju;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjq;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjq;ubj)}(hinth]hint}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjq;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjq;ubj5)}(hcmdh]hcmd}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjq;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}(hj6<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2<ubj)}(h h]h }(hjC<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2<ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hjT<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQ<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjV<modnameN classnameNjj)}j]j=;c.vfs_lock_fileasbuh1hhj2<ubj)}(h h]h }(hjr<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2<ubj*)}(hj-h]h*}(hj<hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2<ubj5)}(hconfh]hconf}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj:hhhj:hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhj:hM ubah}(h]j:ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:hM 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.chM hj<hhubah}(h]h ]h"]h$]h&]uh1jbhj:hhhj:hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhj $hNhNubj)}(hX**Parameters** ``struct file *filp`` The file to apply the lock to ``unsigned int cmd`` type of locking operation (F_SETLK, F_GETLK, etc.) ``struct file_lock *fl`` The lock to be applied ``struct file_lock *conf`` Place to return a copy of the conflicting lock, if found. **Description** A caller that doesn't care about the conflicting lock may pass NULL as the final argument. If the filesystem defines a private ->lock() method, then **conf** will be left unchanged; so a caller that cares should initialize it to some acceptable default. To avoid blocking kernel daemons, such as lockd, that need to acquire POSIX locks, the ->lock() interface may return asynchronously, before the lock has been granted or denied by the underlying filesystem, if (and only if) lm_grant is set. Additionally FOP_ASYNC_LOCK in file_operations fop_flags need to be set. Callers expecting ->lock() to return asynchronously will only use F_SETLK, not F_SETLKW; they will set FL_SLEEP if (and only if) the request is for a blocking lock. When ->lock() does return asynchronously, it must return FILE_LOCK_DEFERRED, and call ->lm_grant() when the lock request completes. If the request is for non-blocking lock the file system should return FILE_LOCK_DEFERRED then try to get the lock and call the callback routine with the result. If the request timed out the callback routine will return a nonzero return code and the file system should release the lock. The file system is also responsible to keep a corresponding posix lock when it grants a lock so the VFS can find out which locks are locally held and do the correct lock cleanup when required. The underlying filesystem must not drop the kernel lock or call ->lm_grant() before returning to the caller with a FILE_LOCK_DEFERRED return code.h](h)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj<ubj)}(hhh](j)}(h4``struct file *filp`` The file to apply the lock to h](j)}(h``struct file *filp``h]j)}(hj<h]hstruct file *filp}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj<ubj)}(hhh]h)}(hThe file to apply the lock toh]hThe file to apply the lock to}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj =hM hj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj =hM hj<ubj)}(hH``unsigned int cmd`` type of locking operation (F_SETLK, F_GETLK, etc.) h](j)}(h``unsigned int cmd``h]j)}(hj1=h]hunsigned int cmd}(hj3=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj+=ubj)}(hhh]h)}(h2type of locking operation (F_SETLK, F_GETLK, etc.)h]h2type of locking operation (F_SETLK, F_GETLK, etc.)}(hjJ=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjF=hM hjG=ubah}(h]h ]h"]h$]h&]uh1jhj+=ubeh}(h]h ]h"]h$]h&]uh1jhjF=hM hj<ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjj=h]hstruct file_lock *fl}(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.chM hjd=ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hM hj=ubah}(h]h ]h"]h$]h&]uh1jhjd=ubeh}(h]h ]h"]h$]h&]uh1jhj=hM 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.chM 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=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:44: ./fs/locks.chM 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.chM 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.chM 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.chM 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.}(hj3>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh5]h}(h]h ]h"]h$]h&]entries](hvfs_cancel_lock (C function)c.vfs_cancel_lockhNtauh1hhj $hhhNhNubh)}(hhh](j)}(h=int vfs_cancel_lock (struct file *filp, struct file_lock *fl)h]j)}(hhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj^>hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM ubj)}(h h]h }(hjq>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^>hhhjp>hM ubj/)}(hvfs_cancel_lockh]j5)}(hvfs_cancel_lockh]hvfs_cancel_lock}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj^>hhhjp>hM ubj)}(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)}jj>sbc.vfs_cancel_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 reftargetj1?modnameN classnameNjj)}j]j>c.vfs_cancel_lockasbuh1hhj ?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)}(hflh]hfl}(hjh?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj^>hhhjp>hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjZ>hhhjp>hM ubah}(h]jU>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjp>hM hjW>hhubjc)}(hhh]h)}(hfile byte range unblock lockh]hfile byte range unblock lock}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj?hhubah}(h]h ]h"]h$]h&]uh1jbhjW>hhhjp>hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhj $hNhNubj)}(h**Parameters** ``struct file *filp`` The file to apply the unblock to ``struct file_lock *fl`` The lock to be unblocked **Description** Used by lock managers to cancel blocked requestsh](h)}(h**Parameters**h]j)}(hj?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj?ubj)}(hhh](j)}(h7``struct file *filp`` The file to apply the unblock to h](j)}(h``struct file *filp``h]j)}(hj?h]hstruct file *filp}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj?ubj)}(hhh]h)}(h The file to apply the unblock toh]h The file to apply the unblock to}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hM hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM hj?ubj)}(h2``struct file_lock *fl`` The lock to be unblocked h](j)}(h``struct file_lock *fl``h]j)}(hj @h]hstruct file_lock *fl}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj @ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj@ubj)}(hhh]h)}(hThe lock to be unblockedh]hThe lock to be unblocked}(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)}(hjG@h]h Description}(hjI@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE@ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj?ubh)}(h0Used by lock managers to cancel blocked requestsh]h0Used by lock managers to cancel blocked requests}(hj]@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h vfs_inode_has_locks (C function)c.vfs_inode_has_lockshNtauh1hhj $hhhNhNubh)}(hhh](j)}(h.bool vfs_inode_has_locks (struct inode *inode)h]j)}(h-bool vfs_inode_has_locks(struct inode *inode)h](j)}(hjh]hbool}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhj@hM ubj/)}(hvfs_inode_has_locksh]j5)}(hvfs_inode_has_locksh]hvfs_inode_has_locks}(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}(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.vfs_inode_has_locksasbuh1hhj@ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj*)}(hj-h]h*}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj@ubj5)}(hinodeh]hinode}(hj!AhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubah}(h]h ]h"]h$]h&]jLjMuh1jhj@hhhj@hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj@hhhj@hM ubah}(h]j@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj@hM hj@hhubjc)}(hhh]h)}(h%are any file locks held on **inode**?h](hare any file locks held on }(hjKAhhhNhNubj)}(h **inode**h]hinode}(hjSAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKAubh?}(hjKAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjHAhhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhj@hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjuAjjuAjjjuh1hhhhj $hNhNubj)}(h**Parameters** ``struct inode *inode`` inode to check for locks **Description** Return true if there are any FL_POSIX or FL_FLOCK locks currently set on **inode**.h](h)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Aubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjyAubj)}(hhh]j)}(h1``struct inode *inode`` inode to check for locks h](j)}(h``struct inode *inode``h]j)}(hjAh]hstruct inode *inode}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjAubj)}(hhh]h)}(hinode to check for locksh]hinode to check for locks}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjAubah}(h]h ]h"]h$]h&]uh1jhjyAubh)}(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:44: ./fs/locks.chM hjyAubh)}(hSReturn true if there are any FL_POSIX or FL_FLOCK locks currently set on **inode**.h](hIReturn true if there are any FL_POSIX or FL_FLOCK locks currently set on }(hjAhhhNhNubj)}(h **inode**h]hinode}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjyAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"posix_lock_inode_wait (C function)c.posix_lock_inode_waithNtauh1hhj $hhhNhNubh)}(hhh](j)}(hEint posix_lock_inode_wait (struct inode *inode, struct file_lock *fl)h]j)}(hDint posix_lock_inode_wait(struct inode *inode, struct file_lock *fl)h](j)}(hinth]hint}(hj0BhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,BhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hj?BhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,Bhhhj>BhMubj/)}(hposix_lock_inode_waith]j5)}(hposix_lock_inode_waith]hposix_lock_inode_wait}(hjQBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMBubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,Bhhhj>BhMubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjmBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiBubj)}(h h]h }(hjzBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiBubh)}(hhh]j5)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]j)}jjSBsbc.posix_lock_inode_waitasbuh1hhjiBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiBubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiBubj5)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeBubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(h file_lockh]h file_lock}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]jBc.posix_lock_inode_waitasbuh1hhjBubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj*)}(hj-h]h*}(hj)ChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj5)}(hflh]hfl}(hj6ChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeBubeh}(h]h ]h"]h$]h&]jLjMuh1jhj,Bhhhj>BhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj(Bhhhj>BhMubah}(h]j#Bah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>BhMhj%Bhhubjc)}(hhh]h)}(h"Apply a POSIX-style lock to a fileh]h"Apply a POSIX-style lock to a file}(hj`ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj]Chhubah}(h]h ]h"]h$]h&]uh1jbhj%Bhhhj>BhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxCjjxCjjjuh1hhhhj $hNhNubj)}(h**Parameters** ``struct inode *inode`` inode of file to which lock request should be applied ``struct file_lock *fl`` The lock to be applied **Description** Apply a POSIX style lock request to an inode.h](h)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj|Cubj)}(hhh](j)}(hN``struct inode *inode`` inode of file to which lock request should be applied h](j)}(h``struct inode *inode``h]j)}(hjCh]hstruct inode *inode}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjCubj)}(hhh]h)}(h5inode of file to which lock request should be appliedh]h5inode of file to which lock request should be applied}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjCubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjCh]hstruct file_lock *fl}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjCubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjCubeh}(h]h ]h"]h$]h&]uh1jhj|Cubh)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj|Cubh)}(h-Apply a POSIX style lock request to an inode.h]h-Apply a POSIX style lock request to an inode.}(hj+DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj|Cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfcntl_getlease (C function)c.fcntl_getleasehNtauh1hhj $hhhNhNubh)}(hhh](j)}(h&int fcntl_getlease (struct file *filp)h]j)}(h%int fcntl_getlease(struct file *filp)h](j)}(hinth]hint}(hjZDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjVDhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjiDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVDhhhjhDhMubj/)}(hfcntl_getleaseh]j5)}(hfcntl_getleaseh]hfcntl_getlease}(hj{DhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwDubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVDhhhjhDhMubj)}(h(struct file *filp)h]j)}(hstruct file *filph](j )}(hjzh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubh)}(hhh]j5)}(hfileh]hfile}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j]j)}jj}Dsbc.fcntl_getleaseasbuh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDubj5)}(hfilph]hfilp}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjDubah}(h]h ]h"]h$]h&]jLjMuh1jhjVDhhhjhDhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjRDhhhjhDhMubah}(h]jMDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhDhMhjODhhubjc)}(hhh]h)}(h&Enquire what lease is currently activeh]h&Enquire what lease is currently active}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jbhjODhhhjhDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2Ejj2Ejjjuh1hhhhj $hNhNubj)}(hXs**Parameters** ``struct file *filp`` the file **Description** The value returned by this function will be one of (if no lease break is pending): ``F_RDLCK`` to indicate a shared lease is held. ``F_WRLCK`` to indicate an exclusive lease is held. ``F_UNLCK`` to indicate no lease is held. (if a lease break is pending): ``F_RDLCK`` to indicate an exclusive lease needs to be changed to a shared lease (or removed). ``F_UNLCK`` to indicate the lease needs to be removed. XXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.h](h)}(h**Parameters**h]j)}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Eubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj6Eubj)}(hhh]j)}(h``struct file *filp`` the file h](j)}(h``struct file *filp``h]j)}(hj[Eh]hstruct file *filp}(hj]EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjUEubj)}(hhh]h)}(hthe fileh]hthe file}(hjtEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjpEhMhjqEubah}(h]h ]h"]h$]h&]uh1jhjUEubeh}(h]h ]h"]h$]h&]uh1jhjpEhMhjREubah}(h]h ]h"]h$]h&]uh1jhj6Eubh)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj6Eubj )}(hXThe value returned by this function will be one of (if no lease break is pending): ``F_RDLCK`` to indicate a shared lease is held. ``F_WRLCK`` to indicate an exclusive lease is held. ``F_UNLCK`` to indicate no lease is held. (if a lease break is pending): ``F_RDLCK`` to indicate an exclusive lease needs to be changed to a shared lease (or removed). ``F_UNLCK`` to indicate the lease needs to be removed. XXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.h](h)}(hRThe value returned by this function will be one of (if no lease break is pending):h]hRThe value returned by this function will be one of (if no lease break is pending):}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubh)}(h/``F_RDLCK`` to indicate a shared lease is held.h](j)}(h ``F_RDLCK``h]hF_RDLCK}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh$ to indicate a shared lease is held.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubh)}(h3``F_WRLCK`` to indicate an exclusive lease is held.h](j)}(h ``F_WRLCK``h]hF_WRLCK}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh( to indicate an exclusive lease is held.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubh)}(h)``F_UNLCK`` to indicate no lease is held.h](j)}(h ``F_UNLCK``h]hF_UNLCK}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh to indicate no lease is held.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubh)}(h(if a lease break is pending):h]h(if a lease break is pending):}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubj)}(hhh]j)}(h_``F_RDLCK`` to indicate an exclusive lease needs to be changed to a shared lease (or removed). h](j)}(h6``F_RDLCK`` to indicate an exclusive lease needs to beh](j)}(h ``F_RDLCK``h]hF_RDLCK}(hj0FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Fubh+ to indicate an exclusive lease needs to be}(hj,FhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj(Fubj)}(hhh]h)}(h'changed to a shared lease (or removed).h]h'changed to a shared lease (or removed).}(hjLFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHFhMhjIFubah}(h]h ]h"]h$]h&]uh1jhj(Fubeh}(h]h ]h"]h$]h&]uh1jhjHFhMhj%Fubah}(h]h ]h"]h$]h&]uh1jhjEubh)}(h6``F_UNLCK`` to indicate the lease needs to be removed.h](j)}(h ``F_UNLCK``h]hF_UNLCK}(hjpFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlFubh+ to indicate the lease needs to be removed.}(hjlFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubh)}(hTXXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.h]hTXXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj6Eubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#check_conflicting_open (C function)c.check_conflicting_openhNtauh1hhj $hhhNhNubh)}(hhh](j)}(hHint check_conflicting_open (struct file *filp, const int arg, int flags)h]j)}(hGint check_conflicting_open(struct file *filp, const int arg, int flags)h](j)}(hinth]hint}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjFhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFhhhjFhMubj/)}(hcheck_conflicting_openh]j5)}(hcheck_conflicting_openh]hcheck_conflicting_open}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjFhhhjFhMubj)}(h-(struct file *filp, const int arg, int flags)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hfileh]hfile}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]j)}jjFsbc.check_conflicting_openasbuh1hhjFubj)}(h h]h }(hj9GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj*)}(hj-h]h*}(hjGGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjFubj5)}(hfilph]hfilp}(hjTGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(h const int argh](j )}(hjUh]hconst}(hjmGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiGubj)}(h h]h }(hjzGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiGubj)}(hinth]hint}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjiGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiGubj5)}(hargh]harg}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(h int flagsh](j)}(hinth]hint}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj5)}(hflagsh]hflags}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubeh}(h]h ]h"]h$]h&]jLjMuh1jhjFhhhjFhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjFhhhjFhMubah}(h]jFah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjFhMhjFhhubjc)}(hhh]h)}(hnsee if the given file points to an inode that has an existing open that would conflict with the desired lease.h]hnsee if the given file points to an inode that has an existing open that would conflict with the desired lease.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jbhjFhhhjFhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhj $hNhNubj)}(hX**Parameters** ``struct file *filp`` file to check ``const int arg`` type of lease that we're trying to acquire ``int flags`` current lock flags **Description** Check to see if there's an existing open fd on this file that would conflict with the lease we're trying to set.h](h)}(h**Parameters**h]j)}(hj%Hh]h Parameters}(hj'HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Hubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjHubj)}(hhh](j)}(h$``struct file *filp`` file to check h](j)}(h``struct file *filp``h]j)}(hjDHh]hstruct file *filp}(hjFHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj>Hubj)}(hhh]h)}(h file to checkh]h file to check}(hj]HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYHhMhjZHubah}(h]h ]h"]h$]h&]uh1jhj>Hubeh}(h]h ]h"]h$]h&]uh1jhjYHhMhj;Hubj)}(h=``const int arg`` type of lease that we're trying to acquire h](j)}(h``const int arg``h]j)}(hj}Hh]h const int arg}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Hubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjwHubj)}(hhh]h)}(h*type of lease that we're trying to acquireh]h,type of lease that we’re trying to acquire}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjwHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj;Hubj)}(h!``int flags`` current lock flags h](j)}(h ``int flags``h]j)}(hjHh]h int flags}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjHubj)}(hhh]h)}(hcurrent lock flagsh]hcurrent lock flags}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj;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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjHubh)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfcntl_setlease (C function)c.fcntl_setleasehNtauh1hhj $hhhNhNubh)}(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}(hj6IhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj2IhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjEIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2IhhhjDIhMubj/)}(hfcntl_setleaseh]j5)}(hfcntl_setleaseh]hfcntl_setlease}(hjWIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj2IhhhjDIhMubj)}(h-(unsigned int fd, struct file *filp, int arg)h](j)}(hunsigned int fdh](j)}(hunsignedh]hunsigned}(hjsIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjoIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoIubj)}(hinth]hint}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjoIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoIubj5)}(hfdh]hfd}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkIubj)}(hstruct file *filph](j )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubh)}(hhh]j5)}(hfileh]hfile}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j)}jjYIsbc.fcntl_setleaseasbuh1hhjIubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj*)}(hj-h]h*}(hjJhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIubj5)}(hfilph]hfilp}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkIubj)}(hint argh](j)}(hinth]hint}(hj6JhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj2Jubj)}(h h]h }(hjDJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2Jubj5)}(hargh]harg}(hjRJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2Jubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkIubeh}(h]h ]h"]h$]h&]jLjMuh1jhj2IhhhjDIhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj.IhhhjDIhMubah}(h]j)Iah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjDIhMhj+Ihhubjc)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hj|JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjyJhhubah}(h]h ]h"]h$]h&]uh1jbhj+IhhhjDIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhj $hNhNubj)}(hX5**Parameters** ``unsigned int fd`` open file descriptor ``struct file *filp`` file pointer ``int arg`` type of lease to obtain **Description** Call this fcntl to establish a lease on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h](h)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjJubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hjJh]hunsigned int fd}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjJubj)}(hhh]h)}(hopen file descriptorh]hopen file descriptor}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM hjJubj)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hjJh]hstruct file *filp}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjJubj)}(hhh]h)}(h file pointerh]h file pointer}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj KhM hj Kubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj KhM hjJubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj/Kh]hint arg}(hj1KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Kubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hj)Kubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hjHKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDKhM hjEKubah}(h]h ]h"]h$]h&]uh1jhj)Kubeh}(h]h ]h"]h$]h&]uh1jhjDKhM hjJubeh}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjjKh]h Description}(hjlKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhKubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjJubj )}(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 }(hjKhhhNhNubj)}(h ``F_SETSIG``h]hF_SETSIG}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh. to receive a signal when the lease is broken.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjKubah}(h]h ]h"]h$]h&]uh1jhjKhM hjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"flock_lock_inode_wait (C function)c.flock_lock_inode_waithNtauh1hhj $hhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhjKhMubj/)}(hflock_lock_inode_waith]j5)}(hflock_lock_inode_waith]hflock_lock_inode_wait}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhjKhMubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubh)}(hhh]j5)}(hinodeh]hinode}(hj&LhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#Lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(LmodnameN classnameNjj)}j]j)}jjKsbc.flock_lock_inode_waitasbuh1hhjLubj)}(h h]h }(hjFLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj*)}(hj-h]h*}(hjTLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj5)}(hinodeh]hinode}(hjaLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hjzLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvLubh)}(hhh]j5)}(h file_lockh]h file_lock}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j]jBLc.flock_lock_inode_waitasbuh1hhjvLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvLubj*)}(hj-h]h*}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvLubj5)}(hflh]hfl}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubeh}(h]h ]h"]h$]h&]jLjMuh1jhjKhhhjKhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjKhhhjKhMubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhMhjKhhubjc)}(hhh]h)}(h"Apply a FLOCK-style lock to a fileh]h"Apply a FLOCK-style lock to a file}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jbhjKhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhj $hNhNubj)}(h**Parameters** ``struct inode *inode`` inode of the file to apply to ``struct file_lock *fl`` The lock to be applied **Description** Apply a FLOCK style lock request to an inode.h](h)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjMubj)}(hhh](j)}(h6``struct inode *inode`` inode of the file to apply to h](j)}(h``struct inode *inode``h]j)}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Mubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj6Mubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hjUMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQMhMhjRMubah}(h]h ]h"]h$]h&]uh1jhj6Mubeh}(h]h ]h"]h$]h&]uh1jhjQMhMhj3Mubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjuMh]hstruct file_lock *fl}(hjwMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsMubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjoMubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjoMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj3Mubeh}(h]h ]h"]h$]h&]uh1jhjMubh)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjMubh)}(h-Apply a FLOCK style lock request to an inode.h]h-Apply a FLOCK style lock request to an inode.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsys_flock (C function) c.sys_flockhNtauh1hhj $hhhNhNubh)}(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}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjMhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMIubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhjNhMIubj/)}(h sys_flockh]j5)}(h sys_flockh]h sys_flock}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhjNhMIubj)}(h#(unsigned int fd, unsigned int cmd)h](j)}(hunsigned int fdh](j)}(hunsignedh]hunsigned}(hj2NhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.Nubj)}(h h]h }(hj@NhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.Nubj)}(hinth]hint}(hjNNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.Nubj)}(h h]h }(hj\NhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.Nubj5)}(hfdh]hfd}(hjjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.Nubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*Nubj)}(hunsigned int cmdh](j)}(hunsignedh]hunsigned}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj)}(hinth]hint}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj5)}(hcmdh]hcmd}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*Nubeh}(h]h ]h"]h$]h&]jLjMuh1jhjMhhhjNhMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjMhhhjNhMIubah}(h]jMah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjNhMIhjMhhubjc)}(hhh]j.)}(hhh]j .)}(hflock() system call.h]h)}(hjNh]hflock() system call.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMIhjNubah}(h]h ]h"]h$]h&]uh1j .hjNhhhjNhNubah}(h]h ]h"]h$]h&]j\.j"uh1j.hjNhMIhjNhhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjNhMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhj $hNhNubj)}(hX**Parameters** ``unsigned int fd`` the file descriptor to lock. ``unsigned int cmd`` the type of lock to apply. **Description** Apply a ``FL_FLOCK`` style lock to an open file descriptor. The **cmd** can be one of: - ``LOCK_SH`` -- a shared lock. - ``LOCK_EX`` -- an exclusive lock. - ``LOCK_UN`` -- remove an existing lock. - ``LOCK_MAND`` -- a 'mandatory' flock. (DEPRECATED) ``LOCK_MAND`` support has been removed from the kernel.h](h)}(h**Parameters**h]j)}(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:47: ./fs/locks.chMMhjOubj)}(hhh](j)}(h1``unsigned int fd`` the file descriptor to lock. h](j)}(h``unsigned int fd``h]j)}(hj8Oh]hunsigned int fd}(hj:OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Oubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMJhj2Oubj)}(hhh]h)}(hthe file descriptor to lock.h]hthe file descriptor to lock.}(hjQOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMOhMJhjNOubah}(h]h ]h"]h$]h&]uh1jhj2Oubeh}(h]h ]h"]h$]h&]uh1jhjMOhMJhj/Oubj)}(h0``unsigned int cmd`` the type of lock to apply. h](j)}(h``unsigned int cmd``h]j)}(hjqOh]hunsigned int cmd}(hjsOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMKhjkOubj)}(hhh]h)}(hthe type of lock to apply.h]hthe type of lock to apply.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMKhjOubah}(h]h ]h"]h$]h&]uh1jhjkOubeh}(h]h ]h"]h$]h&]uh1jhjOhMKhj/Oubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMMhjOubj )}(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 }(hjOhhhNhNubj)}(h ``FL_FLOCK``h]hFL_FLOCK}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh, style lock to an open file descriptor. The }(hjOhhhNhNubj)}(h**cmd**h]hcmd}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh can be one of:}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMLhjOubj.)}(hhh](j .)}(h``LOCK_SH`` -- a shared lock.h]h)}(hjOh](j)}(h ``LOCK_SH``h]hLOCK_SH}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh -- a shared lock.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMOhjOubah}(h]h ]h"]h$]h&]uh1j .hjOubj .)}(h!``LOCK_EX`` -- an exclusive lock.h]h)}(hj$Ph](j)}(h ``LOCK_EX``h]hLOCK_EX}(hj)PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Pubh -- an exclusive lock.}(hj&PhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMPhj"Pubah}(h]h ]h"]h$]h&]uh1j .hjOubj .)}(h'``LOCK_UN`` -- remove an existing lock.h]h)}(hjJPh](j)}(h ``LOCK_UN``h]hLOCK_UN}(hjOPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLPubh -- remove an existing lock.}(hjLPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMQhjHPubah}(h]h ]h"]h$]h&]uh1j .hjOubj .)}(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}(hjvPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrPubh) -- a ‘mandatory’ flock. (DEPRECATED)}(hjrPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMRhjnPubah}(h]h ]h"]h$]h&]uh1j .hjOubeh}(h]h ]h"]h$]h&]j\.j"uh1j.hjPhMOhjOubh)}(h7``LOCK_MAND`` support has been removed from the kernel.h](j)}(h ``LOCK_MAND``h]h LOCK_MAND}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh* support has been removed from the kernel.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMThjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMLhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h locks_translate_pid (C function)c.locks_translate_pidhNtauh1hhj $hhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j)}jlocks_translate_pidsbc.locks_translate_pidasbuh1hhjPhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPhhhjQhMubj/)}(hlocks_translate_pidh]j5)}(hjPh]hlocks_translate_pid}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjPhhhjQhMubj)}(h5(struct file_lock_core *fl, struct pid_namespace *ns)h](j)}(hstruct file_lock_core *flh](j )}(hjzh]hstruct}(hj0QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Qubj)}(h h]h }(hj=QhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,Qubh)}(hhh]j5)}(hfile_lock_coreh]hfile_lock_core}(hjNQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPQmodnameN classnameNjj)}j]jPc.locks_translate_pidasbuh1hhj,Qubj)}(h h]h }(hjlQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,Qubj*)}(hj-h]h*}(hjzQhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj,Qubj5)}(hflh]hfl}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,Qubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(Qubj)}(hstruct pid_namespace *nsh](j )}(hjzh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubh)}(hhh]j5)}(h pid_namespaceh]h pid_namespace}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj)}j]jPc.locks_translate_pidasbuh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubj*)}(hj-h]h*}(hjQhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjQubj5)}(hnsh]hns}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(Qubeh}(h]h ]h"]h$]h&]jLjMuh1jhjPhhhjQhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjQhMubah}(h]jPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjQhMhjPhhubjc)}(hhh]h)}(h6translate a file_lock's fl_pid number into a namespaceh]h8translate a file_lock’s fl_pid number into a namespace}(hj!RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jbhjPhhhjQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9Rjj9Rjjjuh1hhhhj $hNhNubj)}(hX**Parameters** ``struct file_lock_core *fl`` The file_lock who's fl_pid should be translated ``struct pid_namespace *ns`` The namespace into which the pid should be translated **Description** Used to translate a fl_pid into a namespace virtual pid numberh](h)}(h**Parameters**h]j)}(hjCRh]h Parameters}(hjERhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjARubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj=Rubj)}(hhh](j)}(hN``struct file_lock_core *fl`` The file_lock who's fl_pid should be translated h](j)}(h``struct file_lock_core *fl``h]j)}(hjbRh]hstruct file_lock_core *fl}(hjdRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Rubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj\Rubj)}(hhh]h)}(h/The file_lock who's fl_pid should be translatedh]h1The file_lock who’s fl_pid should be translated}(hj{RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwRhMhjxRubah}(h]h ]h"]h$]h&]uh1jhj\Rubeh}(h]h ]h"]h$]h&]uh1jhjwRhMhjYRubj)}(hS``struct pid_namespace *ns`` The namespace into which the pid should be translated h](j)}(h``struct pid_namespace *ns``h]j)}(hjRh]hstruct pid_namespace *ns}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjRubj)}(hhh]h)}(h5The namespace into which the pid should be translatedh]h5The namespace into which the pid should be translated}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjYRubeh}(h]h ]h"]h$]h&]uh1jhj=Rubh)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj=Rubh)}(h>Used to translate a fl_pid into a namespace virtual pid numberh]h>Used to translate a fl_pid into a namespace virtual pid number}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj=Rubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj $hhhNhNubeh}(h] file-locksah ]h"] file locksah$]h&]uh1hhhhhhhhK*ubh)}(hhh](h)}(hOther Functionsh]hOther Functions}(hj ShhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ShhhhhK3ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmpage_readahead (C function)c.mpage_readaheadhNtauh1hhj ShhhNhNubh)}(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}(hj4ShhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ShhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMAubj)}(h h]h }(hjCShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ShhhjBShMAubj/)}(hmpage_readaheadh]j5)}(hmpage_readaheadh]hmpage_readahead}(hjUShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQSubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj0ShhhjBShMAubj)}(h6(struct readahead_control *rac, get_block_t get_block)h](j)}(hstruct readahead_control *rach](j )}(hjzh]hstruct}(hjqShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmSubj)}(h h]h }(hj~ShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmSubh)}(hhh]j5)}(hreadahead_controlh]hreadahead_control}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]j)}jjWSsbc.mpage_readaheadasbuh1hhjmSubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmSubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjmSubj5)}(hrach]hrac}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiSubj)}(hget_block_t get_blockh](h)}(hhh]j5)}(h get_block_th]h get_block_t}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]jSc.mpage_readaheadasbuh1hhjSubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj5)}(h get_blockh]h get_block}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiSubeh}(h]h ]h"]h$]h&]jLjMuh1jhj0ShhhjBShMAubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj,ShhhjBShMAubah}(h]j'Sah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjBShMAhj)Shhubjc)}(hhh]h)}(hstart reads against pagesh]hstart reads against pages}(hjnr_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)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjWubj)}(hhh](j)}(hC``struct address_space *mapping`` address space structure to write h](j)}(h!``struct address_space *mapping``h]j)}(hjWh]hstruct address_space *mapping}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjWubj)}(hhh]h)}(h address space structure to writeh]h address space structure to write}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjWubj)}(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)}(hj Xh]hstruct writeback_control *wbc}(hj XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Xubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjXubj)}(hhh]h)}(h?subtract the number of written pages from ***wbc->nr_to_write**h](h*subtract the number of written pages from }(hj$XhhhNhNubj)}(h***wbc->nr_to_write**h]h*wbc->nr_to_write}(hj,XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Xubeh}(h]h ]h"]h$]h&]uh1hhj XhMhj!Xubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhj XhMhjWubj)}(hB``get_block_t get_block`` the filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hjRXh]hget_block_t get_block}(hjTXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjLXubj)}(hhh]h)}(h'the filesystem's block mapper function.h]h)the filesystem’s block mapper function.}(hjkXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjgXhMhjhXubah}(h]h ]h"]h$]h&]uh1jhjLXubeh}(h]h ]h"]h$]h&]uh1jhjgXhMhjWubeh}(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:53: ./fs/mpage.chMhjWubh)}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_permission (C function)c.generic_permissionhNtauh1hhj ShhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjXhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXhhhjXhMubj/)}(hgeneric_permissionh]j5)}(hgeneric_permissionh]hgeneric_permission}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjXhhhjXhMubj)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Yubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Yubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj-YhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*Yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/YmodnameN classnameNjj)}j]j)}jjXsbc.generic_permissionasbuh1hhj Yubj)}(h h]h }(hjMYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Yubj*)}(hj-h]h*}(hj[YhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj Yubj5)}(hidmaph]hidmap}(hjhYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Yubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}Yubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}Yubh)}(hhh]j5)}(hinodeh]hinode}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]jIYc.generic_permissionasbuh1hhj}Yubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}Yubj*)}(hj-h]h*}(hjYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}Yubj5)}(hinodeh]hinode}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}Yubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(hint maskh](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj5)}(hmaskh]hmask}(hj ZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubeh}(h]h ]h"]h$]h&]jLjMuh1jhjXhhhjXhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjXhhhjXhMubah}(h]jXah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjXhMhjXhhubjc)}(hhh]h)}(h2check for access rights on a Posix-like filesystemh]h2check for access rights on a Posix-like filesystem}(hj7ZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj4Zhhubah}(h]h ]h"]h$]h&]uh1jbhjXhhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOZjjOZjjjuh1hhhhj ShNhNubj)}(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)}(hjYZh]h Parameters}(hj[ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWZubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjSZubj)}(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)}(hjxZh]hstruct mnt_idmap *idmap}(hjzZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjrZubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjrZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjoZubj)}(h9``struct inode *inode`` inode to check access rights for h](j)}(h``struct inode *inode``h]j)}(hjZh]hstruct inode *inode}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjZubj)}(hhh]h)}(h inode to check access rights forh]h inode to check access rights for}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjoZubj)}(hc``int mask`` right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...) h](j)}(h ``int mask``h]j)}(hjZh]hint mask}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjZubj)}(hhh]h)}(hUright to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...)h](hright to check for (}(hj[hhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hj [hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh, }(hj[hhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh, }hj[sbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hj/[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh, }(hj[hhhNhNubj)}(h``MAY_NOT_BLOCK``h]h MAY_NOT_BLOCK}(hjA[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh ...)}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj[ubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjoZubeh}(h]h ]h"]h$]h&]uh1jhjSZubh)}(h**Description**h]j)}(hjn[h]h Description}(hjp[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl[ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjSZubh)}(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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjSZubh)}(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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjSZubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj[hhhNhNubj)}(h **idmap**h]hidmap}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubhB. This function will then take care to map the inode according to }(hj[hhhNhNubj)}(h **idmap**h]hidmap}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj[hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjSZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_permission (C function)c.inode_permissionhNtauh1hhj ShhhNhNubh)}(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}(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 }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\hhhj\hM-ubj/)}(hinode_permissionh]j5)}(hinode_permissionh]hinode_permission}(hj(\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj\hhhj\hM-ubj)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j)}(hstruct mnt_idmap *idmaph](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)}(h mnt_idmaph]h mnt_idmap}(hjb\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjd\modnameN classnameNjj)}j]j)}jj*\sbc.inode_permissionasbuh1hhj@\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.inode_permissionasbuh1hhj\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)}(hint maskh](j)}(hinth]hint}(hj&]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj"]ubj)}(h h]h }(hj4]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"]ubj5)}(hmaskh]hmask}(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)}(h(Check for access rights to a given inodeh]h(Check for access rights to a given inode}(hjl]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM-hji]hhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhj\hM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj ShNhNubj)}(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)}(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.chM1hj]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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM.hj]ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM.hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM.hj]ubj)}(h5``struct inode *inode`` Inode to check permission 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM/hj]ubj)}(hhh]h)}(hInode to check permission onh]hInode to check permission on}(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)}(hL``int mask`` Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``) h](j)}(h ``int mask``h]j)}(hj^h]hint mask}(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.chM0hj^ubj)}(hhh]h)}(h>Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``)h](hRight to check for (}(hj8^hhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hj@^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8^ubh, }(hj8^hhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hjR^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8^ubh, }hj8^sbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjd^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8^ubh)}(hj8^hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj4^hM0hj5^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj4^hM0hj]ubeh}(h]h ]h"]h$]h&]uh1jhj]ubh)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM2hj]ubh)}(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.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM1hj]ubh)}(hEWhen checking for MAY_APPEND, MAY_WRITE must also be set in **mask**.h](h hj`fubah}(h]h ]h"]h$]h&]uh1jhjDfubeh}(h]h ]h"]h$]h&]uh1jhj_fhM? hj$eubeh}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_path_lookup (C function)c.vfs_path_lookuphNtauh1hhj ShhhNhNubh)}(hhh](j)}(hzint vfs_path_lookup (struct dentry *dentry, struct vfsmount *mnt, const char *name, unsigned int flags, struct path *path)h]j)}(hyint vfs_path_lookup(struct dentry *dentry, struct vfsmount *mnt, const char *name, unsigned int flags, struct path *path)h](j)}(hinth]hint}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjfhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMJ ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfhhhjfhMJ ubj/)}(hvfs_path_lookuph]j5)}(hvfs_path_lookuph]hvfs_path_lookup}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjfhhhjfhMJ ubj)}(hf(struct dentry *dentry, struct vfsmount *mnt, const char *name, unsigned int flags, struct path *path)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubh)}(hhh]j5)}(hdentryh]hdentry}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j)}jjfsbc.vfs_path_lookupasbuh1hhjfubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hj-ghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hdentryh]hdentry}(hj:ghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hjSghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOgubj)}(h h]h }(hj`ghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOgubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjqghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjngubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsgmodnameN classnameNjj)}j]jgc.vfs_path_lookupasbuh1hhjOgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOgubj*)}(hj-h]h*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOgubj5)}(hmnth]hmnt}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(hconst char *nameh](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*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjgubj5)}(hnameh]hname}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hj hhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhubj)}(h h]h }(hj.hhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj)}(hinth]hint}(hji_rwsem.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)}(h@``struct qstr *name`` qstr storing pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjnh]hstruct qstr *name}(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)qstr storing pathname component to lookuph]h)qstr storing pathname component to lookup}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhM hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjnubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjnh]hstruct dentry *base}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM hjoubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjohM hjnubeh}(h]h ]h"]h$]h&]uh1jhjnubh)}(h**Description**h]j)}(hj&oh]h Description}(hj(ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$oubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubh)}(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.}(hji_rwsem.h]h#The caller must hold base->i_rwsem.}(hjKohhhNhNubah}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlookup_one (C function) c.lookup_onehNtauh1hhj ShhhNhNubh)}(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}(hjzohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvohhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvohhhjohM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]j)}j lookup_onesb c.lookup_oneasbuh1hhjvohhhjohM ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvohhhjohM ubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvohhhjohM ubj/)}(h lookup_oneh]j5)}(hjoh]h lookup_one}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjvohhhjohM ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j]jo c.lookup_oneasbuh1hhjoubj)}(h h]h }(hj0phhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj*)}(hj-h]h*}(hj>phhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjoubj5)}(hidmaph]hidmap}(hjKphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjdphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`pubj)}(h h]h }(hjqphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`pubh)}(hhh]j5)}(hqstrh]hqstr}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j]jo c.lookup_oneasbuh1hhj`pubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`pubj*)}(hj-h]h*}(hjphhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj`pubj5)}(hnameh]hname}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`pubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(hstruct dentry *baseh](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]jo c.lookup_oneasbuh1hhjpubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj*)}(hj-h]h*}(hjqhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjpubj5)}(hbaseh]hbase}(hj+qhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubeh}(h]h ]h"]h$]h&]jLjMuh1jhjvohhhjohM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjrohhhjohM ubah}(h]jmoah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjohM hjoohhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjUqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjRqhhubah}(h]h ]h"]h$]h&]uh1jbhjoohhhjohM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmqjjmqjjjuh1hhhhj ShNhNubj)}(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)}(hjwqh]h Parameters}(hjyqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuqubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjqqubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjqh]hstruct mnt_idmap *idmap}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjqubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjqubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjqh]hstruct qstr *name}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjqubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjqubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjrh]hstruct dentry *base}(hj rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjrubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hj!rhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM hjqubeh}(h]h ]h"]h$]h&]uh1jhjqqubh)}(h**Description**h]j)}(hjCrh]h Description}(hjErhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjArubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjqqubh)}(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.}(hjYrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjqqubh)}(h#The caller must hold base->i_rwsem.h]h#The caller must hold base->i_rwsem.}(hjhrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjqqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h lookup_one_unlocked (C function)c.lookup_one_unlockedhNtauh1hhj ShhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrhhhjrhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]j)}jlookup_one_unlockedsbc.lookup_one_unlockedasbuh1hhjrhhhjrhM ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrhhhjrhM ubj*)}(hj-h]h*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrhhhjrhM ubj/)}(hlookup_one_unlockedh]j5)}(hjrh]hlookup_one_unlocked}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjrhhhjrhM ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj subj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj subh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj/shhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,subah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1smodnameN classnameNjj)}j]jrc.lookup_one_unlockedasbuh1hhj subj)}(h h]h }(hjMshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj subj*)}(hj-h]h*}(hj[shhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj subj5)}(hidmaph]hidmap}(hjhshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj subeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj subj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}subj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}subh)}(hhh]j5)}(hqstrh]hqstr}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]jrc.lookup_one_unlockedasbuh1hhj}subj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}subj*)}(hj-h]h*}(hjshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}subj5)}(hnameh]hname}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}subeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj subj)}(hstruct dentry *baseh](j )}(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}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj tubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]jrc.lookup_one_unlockedasbuh1hhjsubj)}(h h]h }(hj-thhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hj;thhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hbaseh]hbase}(hjHthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj subeh}(h]h ]h"]h$]h&]jLjMuh1jhjrhhhjrhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjrhhhjrhM ubah}(h]jrah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjrhM hjrhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjrthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjothhubah}(h]h ]h"]h$]h&]uh1jbhjrhhhjrhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhj ShNhNubj)}(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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubj)}(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)}(hjth]hstruct mnt_idmap *idmap}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM hjtubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjth]hstruct qstr *name}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubj)}(hhh]h)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhM hjuubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjuhM hjtubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hj%uh]hstruct dentry *base}(hj'uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#uubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjuubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hj>uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:uhM hj;uubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhj:uhM hjtubeh}(h]h ]h"]h$]h&]uh1jhjtubh)}(h**Description**h]j)}(hj`uh]h Description}(hjbuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^uubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubh)}(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.}(hjvuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubh)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)lookup_one_positive_killable (C function)c.lookup_one_positive_killablehNtauh1hhj ShhhNhNubh)}(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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhR/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 ubh)}(hhh]j5)}(hdentryh]hdentry}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j)}jlookup_one_positive_killablesbc.lookup_one_positive_killableasbuh1hhjuhhhjuhM ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuhhhjuhM ubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuhhhjuhM ubj/)}(hlookup_one_positive_killableh]j5)}(hjuh]hlookup_one_positive_killable}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjuhhhjuhM ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj.vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*vubj)}(h h]h }(hj;vhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*vubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjLvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNvmodnameN classnameNjj)}j]juc.lookup_one_positive_killableasbuh1hhj*vubj)}(h h]h }(hjjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*vubj*)}(hj-h]h*}(hjxvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj*vubj5)}(hidmaph]hidmap}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*vubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&vubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubh)}(hhh]j5)}(hqstrh]hqstr}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j]juc.lookup_one_positive_killableasbuh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj5)}(hnameh]hname}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&vubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj wubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj wubh)}(hhh]j5)}(hdentryh]hdentry}(hj,whhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.wmodnameN classnameNjj)}j]juc.lookup_one_positive_killableasbuh1hhj wubj)}(h h]h }(hjJwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj wubj*)}(hj-h]h*}(hjXwhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj wubj5)}(hbaseh]hbase}(hjewhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj wubeh}(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)}(h lookup single pathname componenth]h lookup single pathname component}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwhhubah}(h]h ]h"]h$]h&]uh1jbhjuhhhjuhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhj ShNhNubj)}(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)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubj)}(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)}(hjwh]hstruct mnt_idmap *idmap}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjwubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hj xh]hstruct qstr *name}(hj xhhhNhNubah}(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)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hj"xhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhM hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhM hjwubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjBxh]hstruct dentry *base}(hjDxhhhNhNubah}(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 hjd_inode stable, so this one avoids such problems.h]hNote that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubh)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubh)}(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 }(hjxhhhNhNubj)}(h ``-EINTR``h]h-EINTR}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh if the lock is needed.}(hjxhhhNhNubeh}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)lookup_one_positive_unlocked (C function)c.lookup_one_positive_unlockedhNtauh1hhj ShhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjyhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hj yhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"ymodnameN classnameNjj)}j]j)}jlookup_one_positive_unlockedsbc.lookup_one_positive_unlockedasbuh1hhjxhhhjyhM ubj)}(h h]h }(hjAyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjyhM ubj*)}(hj-h]h*}(hjOyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxhhhjyhM ubj/)}(hlookup_one_positive_unlockedh]j5)}(hj>yh]hlookup_one_positive_unlocked}(hj`yhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\yubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxhhhjyhM ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj{yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwyubh)}(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]jd_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)}(hjzh]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:56: ./fs/namei.chM" hjzubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj{h]hstruct mnt_idmap *idmap}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj{ubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hj6{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2{hM hj3{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj2{hM hj{ubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjV{h]hstruct qstr *name}(hjX{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjP{ubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hjo{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjk{hM hjl{ubah}(h]h ]h"]h$]h&]uh1jhjP{ubeh}(h]h ]h"]h$]h&]uh1jhjk{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&]uh1jhjzubh)}(h**Description**h]j)}(hj{h]h Description}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM# hjzubh)}(hThis helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want.h]hThis helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM" hjzubh)}(hNote that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems.h]hNote that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM% hjzubh)}(hGThis can be used for in-kernel filesystem clients such as file servers.h]hGThis can be used for in-kernel filesystem clients such as file servers.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM) hjzubh)}(h1The helper should be called without i_rwsem held.h]h1The helper should be called without i_rwsem held.}(hj |hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM+ hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#lookup_noperm_unlocked (C function)c.lookup_noperm_unlockedhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hOstruct dentry * lookup_noperm_unlocked (struct qstr *name, struct dentry *base)h]j)}(hMstruct dentry *lookup_noperm_unlocked(struct qstr *name, struct dentry *base)h](j )}(hjzh]hstruct}(hj<|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8|hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM= ubj)}(h h]h }(hjJ|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8|hhhjI|hM= ubh)}(hhh]j5)}(hdentryh]hdentry}(hj[|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjX|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]|modnameN classnameNjj)}j]j)}jlookup_noperm_unlockedsbc.lookup_noperm_unlockedasbuh1hhj8|hhhjI|hM= ubj)}(h h]h }(hj||hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8|hhhjI|hM= ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj8|hhhjI|hM= ubj/)}(hlookup_noperm_unlockedh]j5)}(hjy|h]hlookup_noperm_unlocked}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8|hhhjI|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]jw|c.lookup_noperm_unlockedasbuh1hhj|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 }(hj3}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"}ubh)}(hhh]j5)}(hdentryh]hdentry}(hjD}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjA}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjF}modnameN classnameNjj)}j]jw|c.lookup_noperm_unlockedasbuh1hhj"}ubj)}(h h]h }(hjb}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"}ubj*)}(hj-h]h*}(hjp}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"}ubj5)}(hbaseh]hbase}(hj}}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj8|hhhjI|hM= ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj4|hhhjI|hM= ubah}(h]j/|ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjI|hM= hj1|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&]uh1jbhj1|hhhjI|hM= ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``struct qstr *name`` pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** Note that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking. Unlike lookup_noperm(), it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary. Unlike try_lookup_noperm() it *does* revalidate the dentry if it already existed.h](h)}(h**Parameters**h]j)}(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.chMA hj}ubj)}(hhh](j)}(h3``struct qstr *name`` 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)}(hpathname component to lookuph]hpathname 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&]uh1hhj6~hM? hj7~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj6~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&]uh1jhjZ~ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMA 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.}(hjr~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM@ hj}ubh)}(h{Unlike lookup_noperm(), it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary.h]h{Unlike lookup_noperm(), it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMC hj}ubh)}(hQUnlike try_lookup_noperm() it *does* revalidate the dentry if it already existed.h](hUnlike try_lookup_noperm() it }(hj~hhhNhNubj )}(h*does*h]hdoes}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj~ubh- revalidate the dentry if it already existed.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMF hj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_create (C function) c.vfs_createhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hpint vfs_create (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool want_excl)h]j)}(hoint vfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool want_excl)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.chM ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~hhhj~hM ubj/)}(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.hj~hhhj~hM ubj)}(ha(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool want_excl)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNjj)}j]j)}jj~sb c.vfs_createasbuh1hhj 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)}(hidmaph]hidmap}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j 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]jH c.vfs_createasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|ubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(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&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jH c.vfs_createasbuh1hhjubj)}(h h]h N}(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]jH c.vfs_createasbuh1hhj\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&]noemphjLjMuh1jhjubj)}(hbool want_exclh](j)}(hjh]hbool}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h want_exclh]h want_excl}(hjÀhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj~hhhj~hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj~hhhj~hM ubah}(h]j~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~hM hj~hhubjc)}(hhh]h)}(hcreate new fileh]hcreate new file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhj~hhhj~hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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 file ``umode_t mode`` mode of the child file ``bool want_excl`` whether the file must not yet exist **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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj ubj)}(hhh](j)}(hH``struct 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}(hj0hhhNhNubah}(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+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChM hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM hj%ubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjgh]hstruct inode *dir}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjaubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hM hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hM hj%ubj)}(h3``struct dentry *dentry`` dentry of the child file h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(hdentry of the child fileh]hdentry of the child file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj%ubj)}(h(``umode_t mode`` mode of the child file h](j)}(h``umode_t mode``h]j)}(hjفh]h umode_t mode}(hjہhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjׁubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjӁubj)}(hhh]h)}(hmode of the child fileh]hmode of the child file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjӁubeh}(h]h ]h"]h$]h&]uh1jhjhM hj%ubj)}(h7``bool want_excl`` whether the file must not yet exist h](j)}(h``bool want_excl``h]j)}(hjh]hbool want_excl}(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)}(h#whether the file must not yet existh]h#whether the file must not yet exist}(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)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj ubh)}(hCreate a new file.h]hCreate a new file.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj 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 }(hjrhhhNhNubj)}(h **idmap**h]hidmap}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubhB. This function will then take care to map the inode according to }(hjrhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjrhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h kernel_tmpfile_open (C function)c.kernel_tmpfile_openhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hstruct file * kernel_tmpfile_open (struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred)h]j)}(hstruct file *kernel_tmpfile_open(struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred)h](j )}(hjzh]hstruct}(hjׂhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjӂhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjӂhhhjhMubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jkernel_tmpfile_opensbc.kernel_tmpfile_openasbuh1hhjӂ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/)}(hkernel_tmpfile_openh]j5)}(hjh]hkernel_tmpfile_open}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjӂhhhjhMubj)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]jc.kernel_tmpfile_openasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjMubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(hconst struct path *parentpathh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj΃hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj܃hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.kernel_tmpfile_openasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj&hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h parentpathh]h parentpath}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj)}j]jc.kernel_tmpfile_openasbuh1hhjHubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj5)}(hmodeh]hmode}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(h int open_flagh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h open_flagh]h open_flag}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(hconst struct cred *credh](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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjńubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjńubh)}(hhh]j5)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.kernel_tmpfile_openasbuh1hhjń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)}(hcredh]hcred}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjńubeh}(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`)jahuh1hhjhMhĵhhubjc)}(hhh]h)}(h&open a tmpfile for kernel internal useh]h&open a tmpfile for kernel internal use}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjbhhubah}(h]h ]h"]h$]h&]uh1jbhĵhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct path *parentpath`` path of the base directory ``umode_t mode`` mode of the new tmpfile ``int open_flag`` flags ``const struct cred *cred`` credentials for open **Description** Create and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``const struct path *parentpath`` path of the base directory h](j)}(h!``const struct path *parentpath``h]j)}(hj߅h]hconst struct path *parentpath}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݅ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjمubj)}(hhh]h)}(hpath of the base directoryh]hpath of the base directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjمubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``umode_t mode`` mode of the new tmpfile h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]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 new tmpfileh]hmode of the new tmpfile}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(h``int open_flag`` flags h](j)}(h``int open_flag``h]j)}(hjQh]h int open_flag}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjKubj)}(hhh]h)}(hflagsh]hflags}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(h1``const struct cred *cred`` credentials for open h](j)}(h``const struct cred *cred``h]j)}(hjh]hconst struct cred *cred}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hcredentials for openh]hcredentials for open}(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}(hjdž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)}(hCreate and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.h]hCreate and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.}(hjۆhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_mknod (C function) c.vfs_mknodhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hjint vfs_mknod (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)h]j)}(hiint vfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)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_mknodh]j5)}(h vfs_mknodh]h vfs_mknod}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h\(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j)}jj-sb c.vfs_mknodasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj?ubj)}(hstruct inode *dirh](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.vfs_mknodasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj?ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubh)}(hhh]j5)}(hdentryh]hdentry}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j c.vfs_mknodasbuh1hhj%ubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj*)}(hj-h]h*}(hjshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj%ubj5)}(hdentryh]hdentry}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_mknodasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjȈhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj?ubj)}(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_mknodasbuh1hhj݈ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj݈ubj5)}(hdevh]hdev}(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)}(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.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhj ShNhNubj)}(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 **Description** Create a device node or file. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjVubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuubj)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjh]hstruct inode *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hj͉hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjɉhMhjʉubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɉhMhjrubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hdentry of the child device nodeh]hdentry of the child device node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h/``umode_t mode`` mode of the child device node h](j)}(h``umode_t mode``h]j)}(hj&h]h umode_t mode}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubj)}(hhh]h)}(hmode of the child device nodeh]hmode of the child device node}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjrubj)}(h0``dev_t dev`` device number of device to create h](j)}(h ``dev_t dev``h]j)}(hj_h]h dev_t dev}(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.chMhjYubj)}(hhh]h)}(h!device number of device to createh]h!device number of device to create}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjVubh)}(hCreate a device node or file.h]hCreate a device node or file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjVubh)}(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}(hjNJhhhNhNubah}(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.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_mkdir (C function) c.vfs_mkdirhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hkstruct dentry * vfs_mkdir (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode)h]j)}(histruct dentry *vfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode)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.chM9ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj1hM9ubh)}(hhh]j5)}(hdentryh]hdentry}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j)}j vfs_mkdirsb c.vfs_mkdirasbuh1hhj hhhj1hM9ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj1hM9ubj*)}(hj-h]h*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj hhhj1hM9ubj/)}(h vfs_mkdirh]j5)}(hjah]h vfs_mkdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj1hM9ubj)}(hQ(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(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_ c.vfs_mkdirasbuh1hhjubj)}(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}(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}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNjj)}j]j_ c.vfs_mkdirasbuh1hhj ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hjXhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hdirh]hdir}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *dentryh](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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j_ c.vfs_mkdirasbuh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj*)}(hj-h]h*}(hjȌhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzubj5)}(hdentryh]hdentry}(hjՌhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(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.vfs_mkdirasbuh1hhjubj)}(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&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj1hM9ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj1hM9ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1hM9hjhhubjc)}(hhh]h)}(h5create directory returning correct dentry if possibleh]h5create directory returning correct dentry if possible}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM9hjDhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj1hM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhj ShNhNubj)}(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 **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)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM=hjcubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM:hjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjh]hstruct inode *dir}(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)}(hinode of the parent directoryh]hinode of the parent directory}(hjڍhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj֍hM;hj׍ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֍hM;hjubj)}(h8``struct dentry *dentry`` dentry of the child directory h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM<hjubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(h-``umode_t mode`` mode of the child directory h](j)}(h``umode_t mode``h]j)}(hj3h]h umode_t mode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM=hj-ubj)}(hhh]h)}(hmode of the child directoryh]hmode of the child directory}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhM=hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM=hjubeh}(h]h ]h"]h$]h&]uh1jhjcubh)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM?hjcubh)}(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.chM>hjcubh)}(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.chM@hjcubh)}(hIn the event that the filesystem does not use the ***dentry** but leaves it negative or unhashes it and possibly splices a different one returning it, the original dentry is dput() and the alternate is returned.h](h2In the event that the filesystem does not use the }(hj؎hhhNhNubj)}(h ***dentry**h]h*dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj؎ubh but leaves it negative or unhashes it and possibly splices a different one returning it, the original dentry is dput() and the alternate is returned.}(hj؎hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMFhjcubh)}(hFIn case of an error the dentry is dput() and an ERR_PTR() is returned.h]hFIn case of an error the dentry is dput() and an ERR_PTR() is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMJhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_rmdir (C function) c.vfs_rmdirhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hQint vfs_rmdir (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry)h]j)}(hPint vfs_rmdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry)h](j)}(hinth]hint}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$hhhj6hMubj/)}(h vfs_rmdirh]j5)}(h vfs_rmdirh]h vfs_rmdir}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj$hhhj6hMubj)}(hC(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry)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)}jjKsb c.vfs_rmdirasbuh1hhjaubj)}(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)}(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_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)}(hdirh]hdir}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjӏubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(hdentryh]hdentry}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j c.vfs_rmdirasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(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)}(hremove directoryh]hremove directory}(hjȐhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjŐhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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 **Description** Remove a directory. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj h]hstruct mnt_idmap *idmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjBh]hstruct inode *dir}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj<ubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(h8``struct dentry *dentry`` dentry of the child directory h](j)}(h``struct dentry *dentry``h]j)}(hj{h]hstruct dentry *dentry}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(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)}(hRemove a directory.h]hRemove a directory.}(hj̑hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjۑhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۑubhB. This function will then take care to map the inode according to }(hjۑhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۑubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjۑhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۑubh.}(hjۑhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_unlink (C function) c.vfs_unlinkhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hrint vfs_unlink (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct inode **delegated_inode)h]j)}(hqint vfs_unlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct inode **delegated_inode)h](j)}(hinth]hint}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj<hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<hhhjNhMubj/)}(h vfs_unlinkh]j5)}(h vfs_unlinkh]h vfs_unlink}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj<hhhjNhMubj)}(hc(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct inode **delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](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)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjcsb c.vfs_unlinkasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj*)}(hj-h]h*}(hjɒhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjyubj5)}(hidmaph]hidmap}(hj֒hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubj)}(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 reftargetjmodnameN classnameNjj)}j]j c.vfs_unlinkasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubh)}(hhh]j5)}(hdentryh]hdentry}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_unlinkasbuh1hhj[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&]noemphjLjMuh1jhjuubj)}(hstruct inode **delegated_inodeh](j )}(hjzh]hstruct}(hjϓhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˓ubj)}(h h]h }(hjܓhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj˓ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_unlinkasbuh1hhj˓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˓ubj*)}(hj-h]h*}(hj&hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj˓ubj5)}(hdelegated_inodeh]hdelegated_inode}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj˓ubeh}(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)}(hunlink a filesystem objecth]hunlink a filesystem object}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jbhj5hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhj ShNhNubj)}(hXW**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` parent directory ``struct dentry *dentry`` victim ``struct inode **delegated_inode`` returns victim inode, if the inode is delegated. **Description** The caller must hold dir->i_rwsem exclusively. If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation on that inode and retry. Because breaking a delegation may take a long time, the caller should drop dir->i_rwsem before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjyubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``struct inode *dir`` parent directory h](j)}(h``struct inode *dir``h]j)}(hjהh]hstruct inode *dir}(hjٔhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՔubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjєubj)}(hhh]h)}(hparent directoryh]hparent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjєubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``struct dentry *dentry`` victim 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.chMhj ubj)}(hhh]h)}(hvictimh]hvictim}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubj)}(hT``struct inode **delegated_inode`` returns victim inode, if the inode is delegated. h](j)}(h"``struct inode **delegated_inode``h]j)}(hjIh]hstruct inode **delegated_inode}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjCubj)}(hhh]h)}(h0returns victim inode, if the inode is delegated.h]h0returns victim inode, if the inode is delegated.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjubeh}(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:56: ./fs/namei.chMhjyubh)}(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.chMhjyubh)}(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.chMhjyubh)}(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.chMhjyubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjǕhhhNhNubj)}(h **idmap**h]hidmap}(hjϕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǕubhB. This function will then take care to map the inode according to }(hjǕhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǕubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjǕhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǕubh.}(hjǕhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM#hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_symlink (C function) c.vfs_symlinkhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hhint vfs_symlink (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname)h]j)}(hgint vfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname)h](j)}(hinth]hint}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj:hMubj/)}(h vfs_symlinkh]j5)}(h vfs_symlinkh]h vfs_symlink}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(hhhj:hMubj)}(hX(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname)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_symlinkasbuh1hhjeubj)}(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_symlinkasbuh1hhjזubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjזubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjזubj5)}(hdirh]hdir}(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_symlinkasbuh1hhjGubj)}(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)}(hconst char *oldnameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjȗhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj֗hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(holdnameh]holdname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]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)}(hcreate symlinkh]hcreate symlink}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj&hhubah}(h]h ]h"]h$]h&]uh1jbhj!hhhj:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhj ShNhNubj)}(hXw**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 **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)}(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)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjjh]hstruct mnt_idmap *idmap}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjdubj)}(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&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubj)}(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&]uh1jhjhMhjaubj)}(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&]uh1jhjژubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj֘ubj)}(hhh]h)}(h dentry of the child symlink fileh]h dentry of the child symlink file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj֘ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubj)}(h4``const char *oldname`` name of the file to link to h](j)}(h``const char *oldname``h]j)}(hjh]hconst char *oldname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hname of the file to link toh]hname of the file to link to}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjaubeh}(h]h ]h"]h$]h&]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:56: ./fs/namei.chMhjEubh)}(hCreate a symlink.h]hCreate a symlink.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjEubh)}(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 }(hjuhhhNhNubj)}(h **idmap**h]hidmap}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubhB. This function will then take care to map the inode according to }(hjuhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjuhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_link (C function) c.vfs_linkhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hint vfs_link (struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode)h]j)}(hint vfs_link(struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode)h](j)}(hinth]hint}(hjڙhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj֙hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj֙hhhjhMubj/)}(hvfs_linkh]j5)}(hvfs_linkh]hvfs_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj֙hhhjhMubj)}(h(struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode)h](j)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j)}jjsb c.vfs_linkasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h old_dentryh]h old_dentry}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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]jQ 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)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jQ c.vfs_linkasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *new_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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jQ c.vfs_linkasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(h new_dentryh]h new_dentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode **delegated_inodeh](j )}(hjzh]hstruct}(hjٛhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj՛ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj՛ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jQ c.vfs_linkasbuh1hhj՛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՛ubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj՛ubj5)}(hdelegated_inodeh]hdelegated_inode}(hj=hhhNhNubah}(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&]jLjMjTuh1jjUjVhjҙhhhjhMubah}(h]j͙ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjϙhhubjc)}(hhh]h)}(hcreate a new linkh]hcreate a new link}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jbhjϙhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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 inode **delegated_inode`` returns inode needing a delegation break **Description** The caller must hold dir->i_rwsem exclusively. If vfs_link discovers a delegation on the to-be-linked file in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh](j)}(h2``struct dentry *old_dentry`` object to be linked h](j)}(h``struct dentry *old_dentry``h]j)}(hjh]hstruct dentry *old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hobject to be linkedh]hobject to be linked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjߜubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjۜubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjۜubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``struct inode *dir`` new parent h](j)}(h``struct inode *dir``h]j)}(hjh]hstruct inode *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h new parenth]h new parent}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h;``struct dentry *new_dentry`` where to create the new link h](j)}(h``struct dentry *new_dentry``h]j)}(hjSh]hstruct dentry *new_dentry}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjMubj)}(hhh]h)}(hwhere to create the new linkh]hwhere to create the new link}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjubj)}(hL``struct inode **delegated_inode`` returns inode needing a delegation break h](j)}(h"``struct inode **delegated_inode``h]j)}(hjh]hstruct inode **delegated_inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h(returns inode needing a delegation breakh]h(returns inode needing a delegation break}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjǝh]h Description}(hjɝhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŝubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(h.The caller must hold dir->i_rwsem exclusively.h]h.The caller must hold dir->i_rwsem exclusively.}(hjݝhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hXEIf vfs_link discovers a delegation on the to-be-linked file in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so.h]hXEIf vfs_link discovers a delegation on the to-be-linked file in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhB. This function will then take care to map the inode according to }(hj hhhNhNubj)}(h **idmap**h]hidmap}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_rename (C function) c.vfs_renamehNtauh1hhj ShhhNhNubh)}(hhh](j)}(h&int vfs_rename (struct renamedata *rd)h]j)}(h%int vfs_rename(struct renamedata *rd)h](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjkhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhj}hMubj/)}(h vfs_renameh]j5)}(h vfs_renameh]h vfs_rename}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjkhhhj}hMubj)}(h(struct renamedata *rd)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}(hjʞhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjǞubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj̞modnameN classnameNjj)}j]j)}jjsb c.vfs_renameasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hrdh]hrd}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(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)}(hrename a filesystem objecth]hrename a filesystem object}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj,hhubah}(h]h ]h"]h$]h&]uh1jbhjdhhhj}hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhj ShNhNubj)}(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)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjKubj)}(hhh]j)}(hS``struct renamedata *rd`` pointer to :c:type:`struct renamedata ` info h](j)}(h``struct renamedata *rd``h]j)}(hjph]hstruct renamedata *rd}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjjubj)}(hhh]h)}(h8pointer to :c:type:`struct renamedata ` infoh](h pointer to }(hjhhhNhNubh)}(h(:c:type:`struct renamedata `h]j)}(hjh]hstruct renamedata}(hjhhhNhNubah}(h]h ](xrefjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocfilesystems/api-summary refdomainjreftypetype refexplicitrefwarnjj)}j]sb reftarget renamedatauh1hhjhMhjubh info}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubh)}(h**Description**h]j)}(hjԟh]h Description}(hj֟hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҟubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjKubh)}(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.chMhjKubh)}(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.chMhjKubh)}(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.chMhjKubh)}(hThe worst of all namespace operations - renaming directory. "Perverted" doesn't even start to describe it. Somebody in UCB had a heck of a trip... Problems:h]hThe worst of all namespace operations - renaming directory. “Perverted” doesn’t even start to describe it. Somebody in UCB had a heck of a trip... Problems:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjKubj )}(hXa) we can get into loop creation. b) race potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story. c) we may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them. d) conversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]jY)}(hhh](j .)}(hwe can get into loop creation.h]h)}(hj/h]hwe can get into loop creation.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj-ubah}(h]h ]h"]h$]h&]uh1j .hj*ubj .)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjEubah}(h]h ]h"]h$]h&]uh1j .hj*ubj .)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj^ubah}(h]h ]h"]h$]h&]uh1j .hj*ubj .)}(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.chMhjwubah}(h]h ]h"]h$]h&]uh1j .hj*ubeh}(h]h ]h"]h$]h&]j loweralphajhjjDuh1jXhj&ubah}(h]h ]h"]h$]h&]uh1jhj>hMhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_readlink (C function)c.vfs_readlinkhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hIint vfs_readlink (struct dentry *dentry, char __user *buffer, int buflen)h]j)}(hHint vfs_readlink(struct dentry *dentry, char __user *buffer, int buflen)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM4ubj)}(h h]h }(hj̠hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjˠhM4ubj/)}(h vfs_readlinkh]j5)}(h vfs_readlinkh]h vfs_readlink}(hjޠhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjڠubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjˠhM4ubj)}(h8(struct dentry *dentry, char __user *buffer, int buflen)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.vfs_readlinkasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hchar __user *bufferh](j)}(hcharh]hchar}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubh__user}(hjhhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int buflenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjΡhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hbuflenh]hbuflen}(hjܡhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjˠhM4ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjˠhM4ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjˠhM4hjhhubjc)}(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.chM4hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjˠhM4ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chM8hj"ubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hjGh]hstruct dentry *dentry}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM5hjAubj)}(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&]uh1hhj\hM5hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM5hj>ubj)}(h,``char __user *buffer`` user memory pointer h](j)}(h``char __user *buffer``h]j)}(hjh]hchar __user *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM6hjzubj)}(hhh]h)}(huser memory pointerh]huser memory pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM6hj>ubj)}(h``int buflen`` size of buffer h](j)}(h``int buflen``h]j)}(hjh]h int buflen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM7hjubj)}(hhh]h)}(hsize of bufferh]hsize of buffer}(hjҢhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj΢hM7hjϢubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj΢hM7hj>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.chM9hj"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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM8hj"ubh)}(hDoes not call security hook.h]hDoes not call security hook.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM:hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_get_link (C function)c.vfs_get_linkhNtauh1hhj ShhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM`ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDhhhjUhM`ubj)}(hcharh]hchar}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjDhhhjUhM`ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDhhhjUhM`ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDhhhjUhM`ubj/)}(h vfs_get_linkh]j5)}(h vfs_get_linkh]h vfs_get_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjDhhhjUhM`ubj)}(h2(struct dentry *dentry, struct delayed_call *done)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&]uh1j4hjȣubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjͣmodnameN classnameNjj)}j]j)}jjsbc.vfs_get_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct delayed_call *doneh](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 delayed_callh]h delayed_call}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j]jc.vfs_get_linkasbuh1hhjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdoneh]hdone}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjDhhhjUhM`ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj@hhhjUhM`ubah}(h]j;ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjUhM`hj=hhubjc)}(hhh]h)}(hget symlink bodyh]hget symlink body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM`hjhhubah}(h]h ]h"]h$]h&]uh1jbhj=hhhjUhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(hXi**Parameters** ``struct dentry *dentry`` dentry on which to get symbolic link ``struct delayed_call *done`` caller needs to free returned data with this **Description** Calls security hook and i_op->get_link() on the supplied inode. It does not touch atime. That's up to the caller if necessary. Does not work on "special" symlinks like /proc/$$/fd/Nh](h)}(h**Parameters**h]j)}(hj¤h]h Parameters}(hjĤhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMdhjubj)}(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&]uh1jhjߤubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMahjۤubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjۤubeh}(h]h ]h"]h$]h&]uh1jhjhMahjؤubj)}(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.chMbhjubj)}(hhh]h)}(h,caller needs to free returned data with thish]h,caller needs to free returned data with this}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMbhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMbhjؤ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:56: ./fs/namei.chMdhjubh)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMchjubh)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMehjubh)}(h6Does not work on "special" symlinks like /proc/$$/fd/Nh]h:Does not work on “special” symlinks like /proc/$$/fd/N}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMghjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpage_get_link (C function)c.page_get_linkhNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/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)}(hcharh]hchar}(hjԥhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhjť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/)}(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.hjhhhjťhMubj)}(hK(struct dentry *dentry, struct inode *inode, struct delayed_call *callback)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj)}j]j)}jjsbc.page_get_linkasbuh1hhjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjvhhhNhNubah}(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]jWc.page_get_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)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct delayed_call *callbackh](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 delayed_callh]h delayed_call}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jWc.page_get_linkasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hcallbackh]hcallback}(hjVhhhNhNubah}(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)}(h2An implementation of the get_link inode_operation.h]h2An implementation of the get_link inode_operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjťhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``struct dentry *dentry`` The directory entry which is the symlink. ``struct inode *inode`` The inode for the symlink. ``struct delayed_call *callback`` Used to drop the reference to the symlink. **Description** Filesystems which store their symlinks in the page cache should use this to implement the get_link() member of their inode_operations. **Return** A pointer to the NUL-terminated symlink.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh](j)}(hD``struct dentry *dentry`` The directory entry which is the symlink. h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjçhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h)The directory entry which is the symlink.h]h)The directory entry which is the symlink.}(hjڧhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj֧hMhjקubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֧hMhjubj)}(h3``struct inode *inode`` The inode for the symlink. h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hThe inode for the symlink.h]hThe inode for the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hM``struct delayed_call *callback`` Used to drop the reference to the symlink. h](j)}(h!``struct delayed_call *callback``h]j)}(hj3h]hstruct delayed_call *callback}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj-ubj)}(hhh]h)}(h*Used to drop the reference to the symlink.h]h*Used to drop the reference to the symlink.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hFilesystems which store their symlinks in the page cache should use this to implement the get_link() member of their inode_operations.h]hFilesystems which store their symlinks in the page cache should use this to implement the get_link() member of their inode_operations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h(A pointer to the NUL-terminated symlink.h]h(A pointer to the NUL-terminated symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpage_put_link (C function)c.page_put_linkhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hvoid page_put_link (void *arg)h]j)}(hvoid page_put_link(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:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj֨hhhjhMubj/)}(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.hj֨hhhjhMubj)}(h (void *arg)h]j)}(h void *argh](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*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hargh]harg}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj֨hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjҨhhhjhMubah}(h]jͨah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjϨhhubjc)}(hhh]h)}(h"Drop the reference to the symlink.h]h"Drop the reference to the symlink.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjghhubah}(h]h ]h"]h$]h&]uh1jbhjϨhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(hX>**Parameters** ``void *arg`` The folio which contains the symlink. **Description** This is used internally by page_get_link(). It is exported for use by filesystems which need to implement a variant of page_get_link() themselves. Despite the apparent symmetry, filesystems which use page_get_link() do not need to call page_put_link(). The argument, while it has a void pointer type, must be a pointer to the folio which was retrieved from the page cache. The delayed_call infrastructure is used to drop the reference count once the caller is done with the symlink.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]j)}(h4``void *arg`` The folio which contains the symlink. h](j)}(h ``void *arg``h]j)}(hjh]h void *arg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h%The folio which contains the symlink.h]h%The folio which contains the symlink.}(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)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hThis is used internally by page_get_link(). It is exported for use by filesystems which need to implement a variant of page_get_link() themselves. Despite the apparent symmetry, filesystems which use page_get_link() do not need to call page_put_link().h]hThis is used internally by page_get_link(). It is exported for use by filesystems which need to implement a variant of page_get_link() themselves. Despite the apparent symmetry, filesystems which use page_get_link() do not need to call page_put_link().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hThe argument, while it has a void pointer type, must be a pointer to the folio which was retrieved from the page cache. The delayed_call infrastructure is used to drop the reference count once the caller is done with the symlink.h]hThe argument, while it has a void pointer type, must be a pointer to the folio which was retrieved from the page cache. The delayed_call infrastructure is used to drop the reference count once the caller is done with the symlink.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_reset (C function) c.bio_resethNtauh1hhj ShhhNhNubh)}(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}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj6hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM"ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6hhhjHhM"ubj/)}(h bio_reseth]j5)}(h bio_reseth]h bio_reset}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj6hhhjHhM"ubj)}(h;(struct bio *bio, struct block_device *bdev, blk_opf_t opf)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj]sb c.bio_resetasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hjêhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hbioh]hbio}(hjЪhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(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 reftargetj modnameN classnameNjj)}j]j c.bio_resetasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbdevh]hbdev}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(h blk_opf_t opfh](h)}(hhh]j5)}(h blk_opf_th]h blk_opf_t}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j]j c.bio_resetasbuh1hhjUubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj5)}(hopfh]hopf}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubeh}(h]h ]h"]h$]h&]jLjMuh1jhj6hhhjHhM"ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2hhhjHhM"ubah}(h]j-ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjHhM"hj/hhubjc)}(hhh]h)}(hreinitialize a bioh]hreinitialize 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/hhhjHhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjʫjjʫjjjuh1hhhhj ShNhNubj)}(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)}(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.chM&hjΫubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM#hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h>``struct block_device *bdev`` block device to use the bio for 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.chM$hj&ubj)}(hhh]h)}(hblock device to use the bio forh]hblock device to use the bio for}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM$hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM$hjubj)}(h.``blk_opf_t opf`` operation and flags for bio h](j)}(h``blk_opf_t opf``h]j)}(hjeh]h blk_opf_t opf}(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.chM%hj_ubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM%hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM%hjubeh}(h]h ]h"]h$]h&]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.chM'hjΫubj )}(hAfter calling bio_reset(), **bio** will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.h]h)}(hAfter calling bio_reset(), **bio** will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.h](hAfter calling bio_reset(), }(hjhhhNhNubj)}(h**bio**h]hbio}(hj¬hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM'hjubah}(h]h ]h"]h$]h&]uh1jhjڬhM'hjΫubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_chain (C function) c.bio_chainhNtauh1hhj ShhhNhNubh)}(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.chMIubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMIubj/)}(h bio_chainh]j5)}(h bio_chainh]h bio_chain}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMIubj)}(h%(struct bio *bio, struct bio *parent)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(hbioh]hbio}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j]j)}jj$sb c.bio_chainasbuh1hhj:ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj:ubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubj)}(hstruct bio *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)}(hbioh]hbio}(hjέhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj˭ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjЭmodnameN classnameNjj)}j]jx c.bio_chainasbuh1hhjubj)}(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&]noemphjLjMuh1jhj6ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMIubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMIhjhhubjc)}(hhh]h)}(hchain bio completionsh]hchain bio completions}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMIhj.hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhj ShNhNubj)}(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)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMMhjMubj)}(hhh](j)}(h#``struct bio *bio`` the target bio h](j)}(h``struct bio *bio``h]j)}(hjrh]hstruct bio *bio}(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.chMJhjlubj)}(hhh]h)}(hthe target bioh]hthe target bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjiubj)}(h1``struct bio *parent`` the parent bio of **bio** h](j)}(h``struct bio *parent``h]j)}(hjh]hstruct bio *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMKhjubj)}(hhh]h)}(hthe parent bio of **bio**h](hthe parent bio of }(hjĮhhhNhNubj)}(h**bio**h]hbio}(hj̮hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĮubeh}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjiubeh}(h]h ]h"]h$]h&]uh1jhjMubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMMhjMubh)}(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 }(hj hhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh completes - instead, }(hj hhhNhNubj)}(h **parent**h]hparent}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh,’s bi_end_io won’t be called until both }(hj hhhNhNubj)}(h **parent**h]hparent}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h**bio**h]hbio}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhF have completed; the chained bio will also be freed when it completes.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMLhjMubh)}(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 }(hjahhhNhNubj)}(h**bio**h]hbio}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMPhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_alloc_bioset (C function)c.bio_alloc_biosethNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjïmodnameN classnameNjj)}j]j)}jbio_alloc_biosetsbc.bio_alloc_biosetasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hbio_alloc_bioseth]j5)}(hj߯h]hbio_alloc_bioset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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 }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj)}j]jݯc.bio_alloc_biosetasbuh1hhjubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbdevh]hbdev}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned short nr_vecsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hnr_vecsh]hnr_vecs}(hjİhhhNhNubah}(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&]uh1j4hjݰubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jݯc.bio_alloc_biosetasbuh1hhjٰubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjٰubj5)}(hopfh]hopf}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjٰubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j]jݯc.bio_alloc_biosetasbuh1hhj!ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj5)}(hgfp_maskh]hgfp_mask}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(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_alloc_biosetasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hbsh]hbs}(hjıhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(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)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chMhj ubj)}(hhh](j)}(hU``struct block_device *bdev`` block device to allocate the bio for (can be ``NULL``) h](j)}(h``struct block_device *bdev``h]j)}(hj/h]hstruct block_device *bdev}(hj1hhhNhNubah}(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)}(h6block device to allocate the bio for (can be ``NULL``)h](h-block device to allocate the bio for (can be }(hjHhhhNhNubj)}(h``NULL``h]hNULL}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh)}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubj)}(h;``unsigned short nr_vecs`` number of bvecs to pre-allocate h](j)}(h``unsigned short nr_vecs``h]j)}(hjzh]hunsigned short nr_vecs}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjtubj)}(hhh]h)}(hnumber of bvecs to pre-allocateh]hnumber of bvecs to pre-allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhj&ubj)}(h.``blk_opf_t opf`` operation and flags for bio h](j)}(h``blk_opf_t opf``h]j)}(hjh]h blk_opf_t opf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(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>``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&]uh1jhjhMhj&ubj)}(h5``struct bio_set *bs`` the bio_set to allocate from. h](j)}(h``struct bio_set *bs``h]j)}(hj%h]hstruct bio_set *bs}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj&ubeh}(h]h ]h"]h$]h&]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+Allocate a bio from the mempools in **bs**.h](h$Allocate a bio from the mempools in }(hjvhhhNhNubj)}(h**bs**h]hbs}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh.}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj ubh)}(hXIf ``__GFP_DIRECT_RECLAIM`` is set then bio_alloc will always be able to allocate a bio. This is due to the mempool guarantees. To make this work, callers must never allocate more than 1 bio at a time from the general pool. Callers that need to allocate more than 1 bio must always submit the previously allocated bio for IO before attempting to allocate a new one. Failure to do so can cause deadlocks under memory pressure.h](hIf }(hjhhhNhNubj)}(h``__GFP_DIRECT_RECLAIM``h]h__GFP_DIRECT_RECLAIM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX is set then bio_alloc will always be able to allocate a bio. This is due to the mempool guarantees. To make this work, callers must never allocate more than 1 bio at a time from the general pool. Callers that need to allocate more than 1 bio must always submit the previously allocated bio for IO before attempting to allocate a new one. Failure to do so can cause deadlocks under memory pressure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj ubh)}(hNote that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows.h]hNote that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj ubh)}(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.}(hjdzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj ubh)}(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.}(hjֳhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj ubh)}(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.chMhj ubh)}(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.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_kmalloc (C function) c.bio_kmallochNtauh1hhj ShhhNhNubh)}(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}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMWubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj9hMWubh)}(hhh]j5)}(hbioh]hbio}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj)}j]j)}j bio_kmallocsb c.bio_kmallocasbuh1hhj(hhhj9hMWubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj9hMWubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(hhhj9hMWubj/)}(h bio_kmalloch]j5)}(hjih]h bio_kmalloc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(hhhj9hMWubj)}(h((unsigned short nr_vecs, gfp_t gfp_mask)h](j)}(hunsigned short nr_vecsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hshorth]hshort}(hj´hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjдhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hnr_vecsh]hnr_vecs}(hj޴hhhNhNubah}(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]jg c.bio_kmallocasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfp_maskh]hgfp_mask}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj(hhhj9hMWubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj$hhhj9hMWubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9hMWhj!hhubjc)}(hhh]h)}(h kmalloc a bioh]h kmalloc a bio}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMWhjMhhubah}(h]h ]h"]h$]h&]uh1jbhj!hhhj9hMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhj ShNhNubj)}(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)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM[hjlubj)}(hhh](j)}(h:``unsigned short nr_vecs`` number of bio_vecs to allocate h](j)}(h``unsigned short nr_vecs``h]j)}(hjh]hunsigned short nr_vecs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXhjubj)}(hhh]h)}(hnumber of bio_vecs to allocateh]hnumber of bio_vecs to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h>``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator h](j)}(h``gfp_t gfp_mask``h]j)}(hjʵh]hgfp_t gfp_mask}(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.chMYhjĵubj)}(hhh]h)}(h*the GFP_* mask given to the slab allocatorh]h*the GFP_* mask given to the slab allocator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjߵhMYhjubah}(h]h ]h"]h$]h&]uh1jhjĵubeh}(h]h ]h"]h$]h&]uh1jhjߵhMYhjubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM[hjlubh)}(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.chMZhjlubh)}(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.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM_hjlubh)}(h **Return**h]j)}(hj;h]hReturn}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMchjlubh)}(h/Pointer to new bio on success, NULL on failure.h]h/Pointer to new bio on success, NULL on failure.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMdhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_put (C function) c.bio_puthNtauh1hhj ShhhNhNubh)}(hhh](j)}(hvoid bio_put (struct bio *bio)h]j)}(hvoid bio_put(struct bio *bio)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhjhM)ubj/)}(hbio_puth]j5)}(hbio_puth]hbio_put}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhjhM)ubj)}(h(struct bio *bio)h]j)}(hstruct bio *bioh](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}(hj۶hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjضubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjݶmodnameN classnameNjj)}j]j)}jjsb c.bio_putasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj|hhhjhM)ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjxhhhjhM)ubah}(h]jsah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM)hjuhhubjc)}(hhh]h)}(hrelease a reference to a bioh]hrelease a reference to a bio}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM)hj=hhubah}(h]h ]h"]h$]h&]uh1jbhjuhhhjhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhj ShNhNubj)}(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)}(hjbh]h Parameters}(hjdhhhNhNubah}(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-hj\ubj)}(hhh]j)}(h0``struct bio *bio`` bio to release reference to h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM*hj{ubj)}(hhh]h)}(hbio to release reference toh]hbio to release reference to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjxubah}(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.chM,hj\ubj )}(hPut a reference to a :c:type:`struct bio `, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.h]h)}(hPut a reference to a :c:type:`struct bio `, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.h](hPut a reference to a }(hjַhhhNhNubh)}(h:c:type:`struct bio `h]j)}(hjh]h struct bio}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj޷ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjjbiouh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM,hjַubhh, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.}(hjַhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM,hjҷubah}(h]h ]h"]h$]h&]uh1jhjhM,hj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_alloc_clone (C function)c.bio_alloc_clonehNtauh1hhj ShhhNhNubh)}(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}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMVubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*hhhj;hMVubh)}(hhh]j5)}(hbioh]hbio}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j)}jbio_alloc_clonesbc.bio_alloc_cloneasbuh1hhj*hhhj;hMVubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*hhhj;hMVubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj*hhhj;hMVubj/)}(hbio_alloc_cloneh]j5)}(hjkh]hbio_alloc_clone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj*hhhj;hMVubj)}(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}(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}(hjƸhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjøubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȸmodnameN classnameNjj)}j]jic.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)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio *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}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]jic.bio_alloc_cloneasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbio_srch]hbio_src}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jic.bio_alloc_cloneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(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)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jic.bio_alloc_cloneasbuh1hhj̹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)}(hbsh]hbs}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̹ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(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)}(h1clone a bio that shares the original bio's biovech]h3clone a bio that shares the original bio’s biovec}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMVhjNhhubah}(h]h ]h"]h$]h&]uh1jbhj#hhhj;hMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhj ShNhNubj)}(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)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMZhjmubj)}(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.chMWhjubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(h*``struct bio *bio_src`` bio to clone from h](j)}(h``struct bio *bio_src``h]j)}(hj˺h]hstruct bio *bio_src}(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.chMXhjźubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjźubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(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.chMYhjubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(h0``struct bio_set *bs`` bio_set to allocate from h](j)}(h``struct bio_set *bs``h]j)}(hj=h]hstruct bio_set *bs}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMZhj7ubj)}(hhh]h)}(hbio_set to allocate fromh]hbio_set to allocate from}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMZhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMZhjubeh}(h]h ]h"]h$]h&]uh1jhjmubh)}(h**Description**h]j)}(hjxh]h Description}(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\hjmubh)}(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 }(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[hjmubh)}(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 }(hjhhhNhNubj)}(h **bio_src**h]hbio_src}(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.chM^hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_init_clone (C function)c.bio_init_clonehNtauh1hhj ShhhNhNubh)}(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.chMuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMuubj/)}(hbio_init_cloneh]j5)}(hbio_init_cloneh]hbio_init_clone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMuubj)}(hL(struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp)h](j)}(hstruct block_device *bdevh](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 block_deviceh]h block_device}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj)}j]j)}jjsbc.bio_init_cloneasbuh1hhj)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)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubj)}(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]jgc.bio_init_cloneasbuh1hhjubj)}(h h]h }(hjۼhhhNhNubah}(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&]noemphjLjMuh1jhj%ubj)}(hstruct bio *bio_srch](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]jgc.bio_init_cloneasbuh1hhj 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)}(hbio_srch]hbio_src}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jgc.bio_init_cloneasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj5)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(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)}(h1clone a bio that shares the original bio's biovech]h3clone a bio that shares the original bio’s biovec}(hjؽhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMuhjսhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chMyhjubj)}(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.chMvhjubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMvhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMvhjubj)}(h&``struct bio *bio`` bio to clone into h](j)}(h``struct bio *bio``h]j)}(hjRh]hstruct bio *bio}(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.chMwhjLubj)}(hhh]h)}(hbio to clone intoh]hbio to clone into}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMwhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMwhjubj)}(h*``struct bio *bio_src`` bio to clone from h](j)}(h``struct bio *bio_src``h]j)}(hjh]hstruct bio *bio_src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMxhjubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(h"``gfp_t gfp`` allocation priority h](j)}(h ``gfp_t gfp``h]j)}(hjľh]h gfp_t gfp}(hjƾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¾ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMyhjubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjݾhhhNhNubah}(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&]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.chMzhjubh)}(hDThe caller must ensure that **bio_src** is not freed before **bio**.h](hThe caller must ensure that }(hj6hhhNhNubj)}(h **bio_src**h]hbio_src}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh is not freed before }(hj6hhhNhNubj)}(h**bio**h]hbio}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh.}(hj6hhhNhNubeh}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__bio_add_page (C function)c.__bio_add_pagehNtauh1hhj ShhhNhNubh)}(hhh](j)}(h\void __bio_add_page (struct bio *bio, struct page *page, unsigned int len, unsigned int off)h]j)}(h[void __bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int off)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]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__bio_add_pageh]j5)}(h__bio_add_pageh]h__bio_add_page}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hH(struct bio *bio, struct page *page, unsigned int len, unsigned int off)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjƿhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj¿ubj)}(h h]h }(hjӿhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj¿ubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.__bio_add_pageasbuh1hhj¿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)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj¿ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct page *pageh](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh)}(hhh]j5)}(hpageh]hpage}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]jc.__bio_add_pageasbuh1hhj4ubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int 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 }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffh]hoff}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j|ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj~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}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jbhj~hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhj ShNhNubj)}(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}(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.chMhjwubj)}(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.chMhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``struct page *page`` start page to add h](j)}(h``struct page *page``h]j)}(hjh]hstruct page *page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhjhMhjubj)}(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&]uh1jhj ubah}(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}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(hN``unsigned int off`` offset of the data relative to **page**, may cross pages h](j)}(h``unsigned int off``h]j)}(hjGh]hunsigned int off}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjAubj)}(hhh]h)}(h8offset of the data relative to **page**, may cross pagesh](hoffset of the data relative to }(hj`hhhNhNubj)}(h**page**h]hpage}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh, may cross pages}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjwubh)}(h}Add the data at **page** + **off** to **bio** as a new bvec. The caller must ensure that **bio** has space for another bvec.h](hAdd the data at }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh + }(hjhhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh- as a new bvec. The caller must ensure that }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has space for another bvec.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h bio_add_virt_nofail (C function)c.bio_add_virt_nofailhNtauh1hhj ShhhNhNubh)}(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}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj/hMubj/)}(hbio_add_virt_nofailh]j5)}(hbio_add_virt_nofailh]hbio_add_virt_nofail}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj/hMubj)}(h,(struct bio *bio, void *vaddr, unsigned len)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubh)}(hhh]j5)}(hbioh]hbio}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNjj)}j]j)}jjDsbc.bio_add_virt_nofailasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubj)}(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&]noemphjLjMuh1jhjVubj)}(h unsigned lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubeh}(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.add data in the direct kernel mapping to a bioh]h.add data in the direct kernel mapping to a bio}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhj ShNhNubj)}(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)}(hjzh]h Parameters}(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.chMhjtubj)}(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.chMhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``void *vaddr`` data to add h](j)}(h``void *vaddr``h]j)}(hjh]h void *vaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h data to addh]h data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h<``unsigned len`` length of the data to add, may cross pages h](j)}(h``unsigned len``h]j)}(hj h]h unsigned len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(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}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhjtubh)}(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.chMhjtubh)}(hAdd the data at **vaddr** to **bio**. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.h](hAdd the data at }(hj\hhhNhNubj)}(h **vaddr**h]hvaddr}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh to }(hj\hhhNhNubj)}(h**bio**h]hbio}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_page (C function)c.bio_add_pagehNtauh1hhj ShhhNhNubh)}(hhh](j)}(h\int bio_add_page (struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h]j)}(h[int bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]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 bio_add_pageh]j5)}(h bio_add_pageh]h bio_add_page}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jjsbc.bio_add_pageasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjEhhhNhNubah}(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 hjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubh)}(hhh]j5)}(hpageh]hpage}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNjj)}j]j&c.bio_add_pageasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZubj5)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffseth]hoffset}(hjWhhhNhNubah}(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)}(hattempt to add page(s) to bioh]hattempt to add page(s) to bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj~hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``struct bio *bio`` destination bio ``struct page *page`` start page to add ``unsigned int len`` vec entry length, may cross pages ``unsigned int offset`` vec entry offset relative to **page**, may cross pages **Description** Attempt to add page(s) to the bio_vec maplist. This will only fail if either bio->bi_vcnt == bio->bi_max_vecs or it's a cloned bio.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 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&]uh1jhjhMhjubj)}(h7``unsigned int len`` vec entry length, may cross pages h](j)}(h``unsigned int len``h]j)}(hj4h]hunsigned int len}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj.ubj)}(hhh]h)}(h!vec entry length, may cross pagesh]h!vec entry length, may cross pages}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubj)}(hO``unsigned int offset`` vec entry offset relative to **page**, may cross pages h](j)}(h``unsigned int offset``h]j)}(hjmh]hunsigned int offset}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjgubj)}(hhh]h)}(h6vec entry offset relative to **page**, may cross pagesh](hvec entry offset relative to }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, may cross pages}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj )}(hAttempt to add page(s) to the bio_vec maplist. This will only fail if either bio->bi_vcnt == bio->bi_max_vecs or it's a cloned bio.h]h)}(hAttempt to add page(s) to the bio_vec maplist. This will only fail if either bio->bi_vcnt == bio->bi_max_vecs or it's a cloned bio.h]hAttempt to add page(s) to the bio_vec maplist. This will only fail if either bio->bi_vcnt == bio->bi_max_vecs or it’s a cloned bio.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_folio (C function)c.bio_add_foliohNtauh1hhj ShhhNhNubh)}(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}(hj hhhNhNubah}(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}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubh)}(hhh]j5)}(hbioh]hbio}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]j)}jj+sbc.bio_add_folioasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubj)}(hstruct folio *folioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bio_add_folioasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]jc.bio_add_folioasbuh1hhj#ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj5)}(hlenh]hlen}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubj)}(h size_t offh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]jc.bio_add_folioasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj5)}(hoffh]hoff}(hjhhhNhNubah}(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(Attempt to add part of a folio to a bio.h]h(Attempt to add part of a folio to a bio.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM$hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(hj h]hstruct bio *bio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM%hjubj)}(hhh]h)}(hBIO to add to.h]hBIO to add to.}(hj"hhhNhNubah}(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)}(hjBh]hstruct folio *folio}(hjDhhhNhNubah}(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 Folio to add.h]h Folio to add.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhM&hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM&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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM'hjuubj)}(hhh]h)}(h%How many bytes from the folio to add.h]h%How many bytes from the folio to add.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubj)}(h0``size_t off`` First byte in this folio to add. h](j)}(h``size_t off``h]j)}(hjh]h size_t off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM(hjubj)}(hhh]h)}(h First byte in this folio to add.h]h First byte in this folio to add.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is bigger than PAGE_SIZE, this function can create a bio_vec that starts in a page after the bv_page. BIOs do not support folios that are 4GiB or larger.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM)hjubh)}(h **Return**h]j)}(hj(h]hReturn}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM.hjubh)}(h$Whether the addition was successful.h]h$Whether the addition was successful.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM/hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"bio_add_vmalloc_chunk (C function)c.bio_add_vmalloc_chunkhNtauh1hhj ShhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjihhhS/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&]uh1jhjihhhj{hM=ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjihhhj{hM=ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjihhhj{hM=ubj/)}(hbio_add_vmalloc_chunkh]j5)}(hbio_add_vmalloc_chunkh]hbio_add_vmalloc_chunk}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjihhhj{hM=ubj)}(h,(struct bio *bio, void *vaddr, unsigned len)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bio_add_vmalloc_chunkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *vaddrh](j)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hjThhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hvaddrh]hvaddr}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h unsigned lenh](j)}(hunsignedh]hunsigned}(hjzhhhNhNubah}(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&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjihhhj{hM=ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjehhhj{hM=ubah}(h]j`ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{hM=hjbhhubjc)}(hhh]h)}(hadd a vmalloc chunk to a bioh]hadd a vmalloc chunk to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM=hjhhubah}(h]h ]h"]h$]h&]uh1jbhjbhhhj{hM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chMAhjubj)}(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.chM>hjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h'``void *vaddr`` vmalloc address to add h](j)}(h``void *vaddr``h]j)}(hj:h]h void *vaddr}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM?hj4ubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhM?hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM?hjubj)}(h:``unsigned len`` total length in bytes of the data to add h](j)}(h``unsigned len``h]j)}(hjsh]h unsigned len}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM@hjmubj)}(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&]uh1jhjmubeh}(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.chMBhjubh)}(hAdd data starting at **vaddr** to **bio** and return how many bytes were added. This may be less than the amount originally asked. Returns 0 if no data could be added to **bio**.h](hAdd data starting at }(hjhhhNhNubj)}(h **vaddr**h]hvaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and return how many bytes were added. This may be less than the amount originally asked. Returns 0 if no data could be added to }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMAhjubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMEhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_vmalloc (C function)c.bio_add_vmallochNtauh1hhj ShhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4hhhjEhMXubj/)}(hbio_add_vmalloch]j5)}(hbio_add_vmalloch]hbio_add_vmalloc}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4hhhjEhMXubj)}(h0(struct bio *bio, void *vaddr, unsigned int len)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjZsbc.bio_add_vmallocasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjpubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(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&]noemphjLjMuh1jhjlubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj)}(hinth]hint}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$ubj)}(h h]h }(hjRhhhNhNubah}(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&]noemphjLjMuh1jhjlubeh}(h]h ]h"]h$]h&]jLjMuh1jhj4hhhjEhMXubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0hhhjEhMXubah}(h]j+ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjEhMXhj-hhubjc)}(hhh]h)}(hadd a vmalloc region to a bioh]hadd a vmalloc region to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jbhj-hhhjEhMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``struct bio *bio`` destination bio ``void *vaddr`` vmalloc address to add ``unsigned int len`` total length in bytes of the data to add **Description** Add data starting at **vaddr** to **bio**. Return ``true`` on success or ``false`` if **bio** does not have enough space for the payload. This helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM\hjubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMYhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(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.chMZhjubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(h>``unsigned int len`` total length in bytes of the data to add h](j)}(h``unsigned int len``h]j)}(hj=h]hunsigned int len}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM[hj7ubj)}(hhh]h)}(h(total length in bytes of the data to addh]h(total length in bytes of the data to add}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM[hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM[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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM]hjubh)}(hAdd data starting at **vaddr** to **bio**. Return ``true`` on success or ``false`` if **bio** does not have enough space for the payload.h](hAdd data starting at }(hjhhhNhNubj)}(h **vaddr**h]hvaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . Return }(hjhhhNhNubj)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on success or }(hjhhhNhNubj)}(h ``false``h]hfalse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, does not have enough space for the payload.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM\hjubh)}(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.chM_hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsubmit_bio_wait (C function)c.submit_bio_waithNtauh1hhj ShhhNhNubh)}(hhh](j)}(h%int submit_bio_wait (struct bio *bio)h]j)}(h$int submit_bio_wait(struct bio *bio)h](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj"hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMZubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"hhhj4hMZubj/)}(hsubmit_bio_waith]j5)}(hsubmit_bio_waith]hsubmit_bio_wait}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj"hhhj4hMZubj)}(h(struct bio *bio)h]j)}(hstruct bio *bioh](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)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjIsbc.submit_bio_waitasbuh1hhj_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)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj[ubah}(h]h ]h"]h$]h&]jLjMuh1jhj"hhhj4hMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj4hMZubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj4hMZhjhhubjc)}(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.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj4hMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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}(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)}(hK``struct bio *bio`` The :c:type:`struct bio ` which describes the I/O h](j)}(h``struct bio *bio``h]j)}(hj'h]hstruct bio *bio}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM[hj!ubj)}(hhh]h)}(h6The :c:type:`struct bio ` which describes the I/Oh](hThe }(hj@hhhNhNubh)}(h:c:type:`struct bio `h]j)}(hjJh]h struct bio}(hjLhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjjbiouh1hhj<hM[hj@ubh which describes the I/O}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj<hM[hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM[hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(hjhhhNhNubah}(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.}(hjhhhNhNubah}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbdev_rw_virt (C function)c.bdev_rw_virthNtauh1hhj ShhhNhNubh)}(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.chMtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMtubj/)}(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.hjhhhjhMtubj)}(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 }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j)}jjsbc.bdev_rw_virtasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbdevh]hbdev}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsector_t sectorh](h)}(hhh]j5)}(hsector_th]hsector_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jPc.bdev_rw_virtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsectorh]hsector}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jPc.bdev_rw_virtasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(henum req_op oph](j )}(hjh]henum}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(hhh]j5)}(hreq_oph]hreq_op}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j]jPc.bdev_rw_virtasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj5)}(hoph]hop}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMtubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMtubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMthjhhubjc)}(hhh]h)}(h3synchronously read into / write from kernel mappingh]h3synchronously read into / write from kernel mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMthjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chMxhjubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMuhj ubj)}(hhh]h)}(hblock device to accessh]hblock device to access}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMuhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMuhjubj)}(h%``sector_t sector`` sector to access h](j)}(h``sector_t sector``h]j)}(hjHh]hsector_t sector}(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.chMvhjBubj)}(hhh]h)}(hsector to accessh]hsector to access}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMvhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMvhjubj)}(h"``void *data`` data to read/write h](j)}(h``void *data``h]j)}(hjh]h void *data}(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.chMwhj{ubj)}(hhh]h)}(hdata to read/writeh]hdata to read/write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubj)}(h,``size_t len`` length in byte to read/write h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMxhjubj)}(hhh]h)}(hlength in byte to read/writeh]hlength in byte to read/write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(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.chMyhjubj)}(hhh]h)}(h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)h]h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMyhj ubah}(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}(hj0hhhNhNubah}(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)}(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 }(hjDhhhNhNubj)}(h**bdev**h]hbdev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh for }(hjDhhhNhNubj)}(h**data**h]hdata}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh/}(hjDhhhNhNubj)}(h**len**h]hlen}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh. }(hjDhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh@ must be in the kernel direct mapping and not a vmalloc address.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMzhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_copy_data (C function)c.bio_copy_datahNtauh1hhj ShhhNhNubh)}(hhh](j)}(h5void bio_copy_data (struct bio *dst, struct bio *src)h]j)}(h4void bio_copy_data(struct bio *dst, struct bio *src)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]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 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.hjhhhjhMubj)}(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 }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdsth]hdst}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio *srch](j )}(hjzh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j2c.bio_copy_dataasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(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)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``struct bio *dst`` destination bio ``struct bio *src`` source bio **Description** Stops when it reaches the end of either **src** or **dst** - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(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.chMhjubj)}(hhh](j)}(h$``struct bio *dst`` destination bio h](j)}(h``struct bio *dst``h]j)}(hj,h]hstruct bio *dst}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj&ubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#ubj)}(h``struct bio *src`` source bio h](j)}(h``struct bio *src``h]j)}(hjeh]hstruct bio *src}(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)}(h source bioh]h source bio}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj#ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 }(hjhhhNhNubj)}(h**src**h]hsrc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h**dst**h]hdst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh_ - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_endio (C function) c.bio_endiohNtauh1hhj ShhhNhNubh)}(hhh](j)}(h void bio_endio (struct bio *bio)h]j)}(hvoid bio_endio(struct bio *bio)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMQubj/)}(h bio_endioh]j5)}(h bio_endioh]h bio_endio}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMQubj)}(h(struct bio *bio)h]j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(hbioh]hbio}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]j)}jj,sb c.bio_endioasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMQubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMQubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMQhjhhubjc)}(hhh]h)}(hend I/O on a bioh]hend I/O on a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMQhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chMUhjubj)}(hhh]j)}(h``struct bio *bio`` bio h](j)}(h``struct bio *bio``h]j)}(hj h]hstruct bio *bio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMRhjubj)}(hhh]h)}(hbioh]hbio}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubah}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMThjubj )}(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.chMThj[ubh)}(hbio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h]hbio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXhj[ubeh}(h]h ]h"]h$]h&]uh1jhjmhMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_split (C function) c.bio_splithNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j bio_splitsb c.bio_splitasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(h bio_splith]j5)}(hjh]h bio_split}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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 }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj)}j]j c.bio_splitasbuh1hhjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int sectorsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsectorsh]hsectors}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bio_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(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 c.bio_splitasbuh1hhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjThhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbsh]hbs}(hjahhhNhNubah}(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 split a bioh]h split 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&]jjjjjjjjjuh1hhhhj ShNhNubj)}(hX2**Parameters** ``struct bio *bio`` bio to split ``int sectors`` number of sectors to split from the front of **bio** ``gfp_t gfp`` gfp mask ``struct bio_set *bs`` bio set to allocate from **Description** Allocates and returns a new bio which represents **sectors** from the start of **bio**, and updates **bio** to represent the remaining sectors. Unless this is a discard request the newly allocated bio will point to **bio**'s bi_io_vec. It is the caller's responsibility to ensure that neither **bio** nor **bs** are freed before the split bio.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh](j)}(h!``struct bio *bio`` bio to split h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h bio to splith]h bio to split}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hE``int sectors`` number of sectors to split from the front of **bio** h](j)}(h``int sectors``h]j)}(hjh]h int sectors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``gfp_t gfp`` gfp mask h](j)}(h ``gfp_t gfp``h]j)}(hjLh]h gfp_t gfp}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjFubj)}(hhh]h)}(hgfp maskh]hgfp mask}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubj)}(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.chMhjubj)}(hhh]h)}(hbio set to allocate fromh]hbio set to allocate from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(hAllocates and returns a new bio which represents **sectors** from the start of **bio**, and updates **bio** to represent the remaining sectors.h](h1Allocates and returns a new bio which represents }(hjhhhNhNubj)}(h **sectors**h]hsectors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh from the start of }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and updates }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ to represent the remaining sectors.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(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}(hj#hhhNhNubah}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh nor }(hjhhhNhNubj)}(h**bs**h]hbs}(hjGhhhNhNubah}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_trim (C function) c.bio_trimhNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj|hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhjhMubj/)}(hbio_trimh]j5)}(hbio_trimh]hbio_trim}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhjhMubj)}(h1(struct bio *bio, sector_t offset, sector_t size)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.bio_trimasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsector_t offseth](h)}(hhh]j5)}(hsector_th]hsector_t}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]j c.bio_trimasbuh1hhj+ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj5)}(hoffseth]hoffset}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h sector_t sizeh](h)}(hhh]j5)}(hsector_th]hsector_t}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j c.bio_trimasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj5)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(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)}(h trim a bioh]h trim 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&]uh1jbhjuhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chMhj ubj)}(hhh]h)}(h bio to trimh]h bio to trim}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(hH``sector_t offset`` number of sectors to trim from the front of **bio** h](j)}(h``sector_t offset``h]j)}(hjJh]hsector_t offset}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjDubj)}(hhh]h)}(h3number of sectors to trim from the front of **bio**h](h,number of sectors to trim from the front of }(hjchhhNhNubj)}(h**bio**h]hbio}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(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)}(hjh]h sector_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h+size we want to trim **bio** to, in sectorsh](hsize we want to trim }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to, in sectors}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbioset_init (C function) c.bioset_inithNtauh1hhj ShhhNhNubh)}(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}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj1hMubj/)}(h bioset_inith]j5)}(h bioset_inith]h bioset_init}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj1hMubj)}(hO(struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags)h](j)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubh)}(hhh]j5)}(hbio_seth]hbio_set}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjFsb c.bioset_initasbuh1hhj\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)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hunsigned int pool_sizeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h pool_sizeh]h pool_size}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hunsigned int front_padh](j)}(hunsignedh]hunsigned}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h front_padh]h front_pad}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(h int flagsh](j)}(hinth]hint}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj1hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj1hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1hMhjhhubjc)}(hhh]h)}(hInitialize a bio_seth]hInitialize a bio_set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(hj4h]hunsigned int pool_size}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj.ubj)}(hhh]h)}(h2Number of bio and bio_vecs to cache in the mempoolh]h2Number of bio and bio_vecs to cache in the mempool}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubj)}(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)}(hjmh]hunsigned int front_pad}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjgubj)}(hhh]h)}(h8Number of bytes to allocate in front of the returned bioh]h8Number of bytes to allocate in front of the returned bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hd``int flags`` Flags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER`` h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(hUFlags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER``h](h$Flags to modify behavior, currently }(hjhhhNhNubj)}(h``BIOSET_NEED_BVECS``h]hBIOSET_NEED_BVECS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``BIOSET_NEED_RESCUER``h]hBIOSET_NEED_RESCUER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj )}(hXSet up a bio_set to be used with **bio_alloc_bioset**. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If ``BIOSET_NEED_BVECS`` is set in **flags**, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If ``BIOSET_NEED_RESCUER`` is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.h]h)}(hXSet up a bio_set to be used with **bio_alloc_bioset**. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If ``BIOSET_NEED_BVECS`` is set in **flags**, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If ``BIOSET_NEED_RESCUER`` is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.h](h!Set up a bio_set to be used with }(hjhhhNhNubj)}(h**bio_alloc_bioset**h]hbio_alloc_bioset}(hj$hhhNhNubah}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is set in }(hjhhhNhNubj)}(h **flags**h]hflags}(hjHhhhNhNubah}(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}(hjZhhhNhNubah}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjrhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_open (C function) c.seq_openhNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK*ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhK*ubj/)}(hseq_openh]j5)}(hseq_openh]hseq_open}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhK*ubj)}(h4(struct file *file, const struct seq_operations *op)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.seq_openasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj"hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct seq_operations *oph](j )}(hjUh]hconst}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj )}(hjzh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubh)}(hhh]j5)}(hseq_operationsh]hseq_operations}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.seq_openasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDubj5)}(hoph]hop}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhK*ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhK*ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhK*hjhhubjc)}(hhh]h)}(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&]uh1jbhjhhhjhK*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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.chK+hjubj)}(hhh]h)}(hfile we initializeh]hfile we initialize}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hK+hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hK+hjubj)}(hI``const struct seq_operations *op`` method table describing the sequence h](j)}(h#``const struct seq_operations *op``h]j)}(hj^h]hconst struct seq_operations *op}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK,hjXubj)}(hhh]h)}(h$method table describing the sequenceh]h$method table describing the sequence}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshK,hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshK,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&]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 }(hjhhhNhNubj)}(h**file**h]hfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh., associating it with a sequence described by }(hjhhhNhNubj)}(h**op**h]hop}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h**op->start\(\)**h]h op->start()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA sets the iterator up and returns the first element of sequence. }(hjhhhNhNubj)}(h**op->stop\(\)**h]h op->stop()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh shuts it down. }(hjhhhNhNubj)}(h**op->next\(\)**h]h op->next()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( returns the next element of sequence. }(hjhhhNhNubj)}(h**op->show\(\)**h]h op->show()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means “discard this element and move on”.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK-hjubah}(h]h ]h"]h$]h&]uh1jhj?hK-hjubh)}(h**Note**h]j)}(hjHh]hNote}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK6hjaubj)}(hhh]h)}(hGpointer in **file->private_data**. This pointer should not be modified.h](h pointer in }(hjwhhhNhNubj)}(h**file->private_data**h]hfile->private_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh&. This pointer should not be modified.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK7hjtubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjshK6hj^ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_read (C function) c.seq_readhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hQssize_t seq_read (struct file *file, char __user *buf, size_t size, loff_t *ppos)h]j)}(hPssize_t seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos)h](h)}(hhh]j5)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jseq_readsb c.seq_readasbuh1hhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hseq_readh]j5)}(hjh]hseq_read}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h@(struct file *file, char __user *buf, size_t size, loff_t *ppos)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj)}j]j c.seq_readasbuh1hhjubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hchar __user *bufh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh__user}(hjhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j]j c.seq_readasbuh1hhj$ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj$ubj5)}(hpposh]hppos}(hjdhhhNhNubah}(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)}(h%->read() method for sequential files.h]h%->read() method for sequential files.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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.chKhjubj)}(hhh](j)}(h,``struct file *file`` the file to read from h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjubj)}(hhh]h)}(hthe file to read fromh]hthe file to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h+``char __user *buf`` the buffer to read to h](j)}(h``char __user *buf``h]j)}(hjh]hchar __user *buf}(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.chKhjubj)}(hhh]h)}(hthe buffer to read toh]hthe buffer to read to}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h4``size_t size`` the maximum number of bytes to read h](j)}(h``size_t size``h]j)}(hjAh]h size_t size}(hjChhhNhNubah}(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 maximum number of bytes to readh]h#the maximum number of bytes to read}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhKhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjubj)}(h2``loff_t *ppos`` the current position in the file h](j)}(h``loff_t *ppos``h]j)}(hjzh]h loff_t *ppos}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjtubj)}(hhh]h)}(h the current position in the fileh]h the current position in the file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjubj )}(hReady-made ->f_op->read()h]h)}(hjh]hReady-made ->f_op->read()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjubah}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_lseek (C function) c.seq_lseekhNtauh1hhj ShhhNhNubh)}(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 }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj'hM-ubj/)}(h seq_lseekh]j5)}(hj$h]h seq_lseek}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj'hM-ubj)}(h.(struct file *file, loff_t offset, int whence)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubh)}(hhh]j5)}(hfileh]hfile}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j" c.seq_lseekasbuh1hhjQubj)}(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 loff_t offseth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j" c.seq_lseekasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(h int whenceh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hwhenceh]hwhence}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubeh}(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'->llseek() method for sequential files.h]h'->llseek() method for sequential files.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM-hjPhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj'hM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhj ShNhNubj)}(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)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM1hjoubj)}(hhh](j)}(h+``struct file *file`` the file in question 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.chM.hjubj)}(hhh]h)}(hthe file in questionh]hthe file in question}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(h``loff_t offset`` new position h](j)}(h``loff_t offset``h]j)}(hjh]h loff_t offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM/hjubj)}(hhh]h)}(h new positionh]h new position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h7``int whence`` 0 for absolute, 1 for relative position h](j)}(h``int whence``h]j)}(hjh]h int whence}(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.chM0hjubj)}(hhh]h)}(h'0 for absolute, 1 for relative positionh]h'0 for absolute, 1 for relative position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubeh}(h]h ]h"]h$]h&]uh1jhjoubh)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM2hjoubj )}(hReady-made ->f_op->llseek()h]h)}(hjYh]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.chM1hjWubah}(h]h ]h"]h$]h&]uh1jhjhhM1hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_release (C function) c.seq_releasehNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMYubj/)}(h seq_releaseh]j5)}(h seq_releaseh]h seq_release}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMYubj)}(h((struct inode *inode, struct file *file)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)}jjsb c.seq_releaseasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(hfileh]hfile}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j]j c.seq_releaseasbuh1hhj:ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj:ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMYubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMYubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMYhjhhubjc)}(hhh]h)}(h4free the structures associated with sequential file.h]h4free the structures associated with sequential file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMYhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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.chM]hjubj)}(hhh](j)}(h"``struct inode *inode`` its 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&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMZhjubj)}(hhh]h)}(h its inodeh]h its inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(h'``struct file *file`` file in question h](j)}(h``struct file *file``h]j)}(hj9h]hstruct file *file}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM[hj3ubj)}(hhh]h)}(hfile in questionh]hfile in question}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhM[hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM[hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjth]h Description}(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.chM]hjubj )}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM\hjubah}(h]h ]h"]h$]h&]uh1jhjhM\hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_escape_mem (C function)c.seq_escape_memhNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMjubj/)}(hseq_escape_memh]j5)}(hseq_escape_memh]hseq_escape_mem}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMjubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(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 reftargetj modnameN classnameNjj)}j]j)}jjsbc.seq_escape_memasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hmh]hm}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *srch](j )}(hjUh]hconst}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnubj5)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(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.seq_escape_memasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hflagsh]hflags}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *esch](j )}(hjUh]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hesch]hesc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMjubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMjhjhhubjc)}(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&]uh1jbhjhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMkhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMkhjubj)}(h"``const char *src`` source buffer h](j)}(h``const char *src``h]j)}(hjPh]hconst char *src}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMlhjJubj)}(hhh]h)}(h source bufferh]h source buffer}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMlhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMlhjubj)}(h%``size_t len`` size of source buffer 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.chMmhjubj)}(hhh]h)}(hsize of source bufferh]hsize of source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(h<``unsigned int flags`` flags to pass to string_escape_mem() h](j)}(h``unsigned int flags``h]j)}(hjh]hunsigned int flags}(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.chMnhjubj)}(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&]uh1jhjubeh}(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)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(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 }(hjLhhhNhNubj)}(h **flags**h]hflags}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh and }(hjLhhhNhNubj)}(h**esc**h]hesc}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh") with printable escaped sequence.}(hjLhhhNhNubeh}(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.}(hjhhhNhNubah}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmangle_path (C function) c.mangle_pathhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hubj)}(hhh]h)}(h buffer starth]h buffer start}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj;ubj)}(h4``const char *p`` beginning of path in above buffer h](j)}(h``const char *p``h]j)}(hj}h]h const char *p}(hjhhhNhNubah}(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.chMhjwubj)}(hhh]h)}(h!beginning of path in above bufferh]h!beginning of path in above buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhj;ubj)}(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.chMhjubj)}(hhh]h)}(h$set of characters that need escapingh]h$set of characters that need escaping}(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&]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 }(hj hhhNhNubj)}(h**p**h]hp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh to }(hj hhhNhNubj)}(h**s**h]hs}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh., replacing each occurrence of character from }(hj hhhNhNubj)}(h**esc**h]hesc}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhI with usual octal escape. Returns pointer past last written character in }(hj hhhNhNubj)}(h**s**h]hs}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, or NULL in case of failure.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjahMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_path (C function) c.seq_pathhNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hseq_pathh]j5)}(hseq_pathh]hseq_path}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h>(struct seq_file *m, const struct path *path, const char *esc)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_pathasbuh1hhjubj)}(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)}(hconst struct path *pathh](j )}(hjUh]hconst}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj )}(hjzh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(hpathh]hpath}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]j c.seq_pathasbuh1hhj2ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2ubj5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *esch](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)}(hesch]hesc}(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]j{ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj}hhubjc)}(hhh]h)}(h&seq_file interface to print a pathnameh]h&seq_file interface to print a pathname}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj,hhubah}(h]h ]h"]h$]h&]uh1jbhj}hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhj ShNhNubj)}(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)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjKubj)}(hhh](j)}(h+``struct seq_file *m`` the seq_file handle h](j)}(h``struct seq_file *m``h]j)}(hjph]hstruct seq_file *m}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjjubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubj)}(h5``const struct path *path`` the struct path to print 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&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe struct path to printh]hthe struct path to print}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubj)}(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&]uh1jhjhMhjgubeh}(h]h ]h"]h$]h&]uh1jhjKubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjKubh)}(hbreturn the absolute path of 'path', as represented by the dentry / mnt pair in the path parameter.h]hfreturn the absolute path of ‘path’, as represented by the dentry / mnt pair in the path parameter.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_file_path (C function)c.seq_file_pathhNtauh1hhj ShhhNhNubh)}(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}(hjbhhhNhNubah}(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 }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^hhhjphMubj/)}(h seq_file_pathh]j5)}(h seq_file_pathh]h seq_file_path}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj^hhhjphMubj)}(h8(struct seq_file *m, struct file *file, const char *esc)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)}jjsbc.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)}(hj[h]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]jc.seq_file_pathasbuh1hhj 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)}(hfileh]hfile}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *esch](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|ubj5)}(hesch]hesc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj^hhhjphMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjZhhhjphMubah}(h]jUah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjphMhjWhhubjc)}(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&]uh1jbhjWhhhjphMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chMhj ubj)}(hhh](j)}(h+``struct seq_file *m`` the seq_file handle h](j)}(h``struct seq_file *m``h]j)}(hj/h]hstruct seq_file *m}(hj1hhhNhNubah}(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 seq_file handleh]hthe seq_file handle}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubj)}(h/``struct file *file`` the struct file to print h](j)}(h``struct file *file``h]j)}(hjhh]hstruct file *file}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjbubj)}(hhh]h)}(hthe struct file to printh]hthe struct file to print}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj&ubj)}(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&]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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj ubh)}(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.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_write (C function) c.seq_writehNtauh1hhj ShhhNhNubh)}(hhh](j)}(hBint seq_write (struct seq_file *seq, const void *data, size_t len)h]j)}(hAint seq_write(struct seq_file *seq, const void *data, size_t len)h](j)}(hinth]hint}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj/hM0ubj/)}(h seq_writeh]j5)}(h seq_writeh]h seq_write}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj/hM0ubj)}(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 hjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNjj)}j]j)}jjDsb c.seq_writeasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZubj5)}(hseqh]hseq}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubj)}(hconst void *datah](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)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j c.seq_writeasbuh1hhj)ubj)}(h h]h }(hjNhhhNhNubah}(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&]noemphjLjMuh1jhjVubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj/hM0ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj/hM0ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj/hM0hjhhubjc)}(hhh]h)}(hwrite arbitrary data to bufferh]hwrite arbitrary data to buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM0hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj/hM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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.chM4hjubj)}(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)}(hjh]hstruct seq_file *seq}(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.chM1hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(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&]uh1jhjhM2hjubj)}(h``size_t len`` number of bytes h](j)}(h``size_t len``h]j)}(hj9h]h size_t len}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM3hj3ubj)}(hhh]h)}(hnumber of bytesh]hnumber of bytes}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhM3hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM3hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjth]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM5hjubh)}(h(Return 0 on success, non-zero otherwise.h]h(Return 0 on success, non-zero otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM4hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_pad (C function) c.seq_padhNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMDubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMDubj/)}(hseq_padh]j5)}(hseq_padh]hseq_pad}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMDubj)}(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 }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hj[h]hm}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hchar ch](j)}(hcharh]hchar}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj5)}(hjh]hc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMDubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMDubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMDhjhhubjc)}(hhh]h)}(hwrite padding spaces to bufferh]hwrite padding spaces to buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMDhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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.chMHhjubj)}(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)}(hj&h]hchar c}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMGhj ubj)}(hhh]h)}(h,the byte to append after padding if non-zeroh]h,the byte to append after padding if non-zero}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMFhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMGhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_start (C function)c.seq_hlist_starthNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhjhMubh)}(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_startsbc.seq_hlist_startasbuh1hhj|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/)}(hseq_hlist_starth]j5)}(hjh]hseq_hlist_start}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhjhMubj)}(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]jc.seq_hlist_startasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hheadh]hhead}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]jc.seq_hlist_startasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj5)}(hposh]hpos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(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)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(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&]uh1jbhjuhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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.chMhj7ubj)}(hhh]h)}(h "the start position of the sequenceh]h"the start position of the sequence}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjxh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]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().}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!seq_hlist_start_head (C function)c.seq_hlist_start_headhNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(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_headasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hseq_hlist_start_headh]j5)}(hjh]hseq_hlist_start_head}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]jc.seq_hlist_start_headasbuh1hhj3ubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(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]jc.seq_hlist_start_headasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hposh]hpos}(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)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(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&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chMhjubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjAh]hstruct hlist_head *head}(hjChhhNhNubah}(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}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj8ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjzh]h loff_t pos}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjtubj)}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhj8ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubh)}(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.}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_next (C function)c.seq_hlist_nexthNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(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_nextsbc.seq_hlist_nextasbuh1hhjhhhjhMubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hseq_hlist_nexth]j5)}(hj7h]hseq_hlist_next}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](j)}(hvoid *vh](j)}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjpubj5)}(hvh]hv}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(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]j5c.seq_hlist_nextasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hheadh]hhead}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(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]j5c.seq_hlist_nextasbuh1hhj"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)}(hpposh]hppos}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h&move to the next position of the hlisth]h&move to the next position of the hlist}(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&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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!``void *v`` the current iterator h](j)}(h ``void *v``h]j)}(hjh]hvoid *v}(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 current iteratorh]hthe current iterator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(h&``loff_t *ppos`` the current position h](j)}(h``loff_t *ppos``h]j)}(hj?h]h loff_t *ppos}(hjAhhhNhNubah}(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.chMhj9ubj)}(hhh]h)}(hthe current positionh]hthe current position}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubeh}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h seq_hlist_start_rcu (C function)c.seq_hlist_start_rcuhNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(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_rcusbc.seq_hlist_start_rcuasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hseq_hlist_start_rcuh]j5)}(hjh]hseq_hlist_start_rcu}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](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)}(h hlist_headh]h hlist_head}(hjW hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjT ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY modnameN classnameNjj)}j]jc.seq_hlist_start_rcuasbuh1hhj5 ubj)}(h h]h }(hju hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5 ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5 ubj5)}(hheadh]hhead}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5 ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj1 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]jc.seq_hlist_start_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&]noemphjLjMuh1jhj1 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.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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj ShNhNubj)}(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)}(hjC h]hstruct hlist_head *head}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA 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&]uh1hhjX hMhjY ubah}(h]h ]h"]h$]h&]uh1jhj= ubeh}(h]h ]h"]h$]h&]uh1jhjX 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&]uh1jhjz ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjv 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&]uh1jhjv ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj: ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj ubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%seq_hlist_start_head_rcu (C function)c.seq_hlist_start_head_rcuhNtauh1hhj ShhhNhNubh)}(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 }(hjK hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubj*)}(hj-h]h*}(hjY hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj hhhj hMubj/)}(hseq_hlist_start_head_rcuh]j5)}(hjH h]hseq_hlist_start_head_rcu}(hjj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjf ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jF c.seq_hlist_start_head_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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jF 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}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjK hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjf jjf jjjuh1hhhhj ShNhNubj)}(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)}(hjp h]h Parameters}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjj 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 hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjj ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjj 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.chMhjj 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.chMhjj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_next_rcu (C function)c.seq_hlist_next_rcuhNtauh1hhj ShhhNhNubh)}(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}(hjW hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM%ubj)}(h h]h }(hje hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjS hhhjd hM%ubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjv hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjs ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx modnameN classnameNjj)}j]j)}jseq_hlist_next_rcusbc.seq_hlist_next_rcuasbuh1hhjS hhhjd hM%ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjS hhhjd hM%ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjS hhhjd hM%ubj/)}(hseq_hlist_next_rcuh]j5)}(hj h]hseq_hlist_next_rcu}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjS hhhjd hM%ubj)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](j)}(hvoid *vh](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hjh]hv}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(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}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j c.seq_hlist_next_rcuasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj\hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hheadh]hhead}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(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_hlist_next_rcuasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj~ubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjS hhhjd hM%ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjO hhhjd hM%ubah}(h]jJ ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjd hM%hjL 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}(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&]uh1jbhjL hhhjd hM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM)hjubj)}(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}(hjBhhhNhNubah}(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)}(hjbh]hstruct hlist_head *head}(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.chM'hj\ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM'hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM'hj ubj)}(h&``loff_t *ppos`` the current 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&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM(hjubj)}(hhh]h)}(hthe current positionh]hthe current position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM*hjubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM)hjubh)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM+hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#seq_hlist_start_percpu (C function)c.seq_hlist_start_percpuhNtauh1hhj ShhhNhNubh)}(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 }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&hhhj7hM?ubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj)}j]j)}jseq_hlist_start_percpusbc.seq_hlist_start_percpuasbuh1hhj&hhhj7hM?ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&hhhj7hM?ubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&hhhj7hM?ubj/)}(hseq_hlist_start_percpuh]j5)}(hjgh]hseq_hlist_start_percpu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj&hhhj7hM?ubj)}(h8(struct hlist_head __percpu *head, int *cpu, loff_t pos)h](j)}(h struct hlist_head __percpu *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]jec.seq_hlist_start_percpuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh__percpu}(hjhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hheadh]hhead}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hint *cpuh](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj"ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"ubj5)}(hcpuh]hcpu}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j]jec.seq_hlist_start_percpuasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj5)}(hposh]hpos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj&hhhj7hM?ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj"hhhj7hM?ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj7hM?hjhhubjc)}(hhh]h)}(h*start an iteration of a percpu hlist arrayh]h*start an iteration of a percpu hlist array}(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&]uh1jbhjhhhj7hM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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.chMChjubj)}(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)}(hjh]h struct hlist_head __percpu *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.chM@hjubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMAhj5ubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMAhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMAhjubj)}(h*``loff_t pos`` start position of sequence h](j)}(h``loff_t pos``h]j)}(hjth]h loff_t pos}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMBhjnubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubeh}(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.chMDhjubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"seq_hlist_next_percpu (C function)c.seq_hlist_next_percpuhNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMVubh)}(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_next_percpusbc.seq_hlist_next_percpuasbuh1hhjhhhjhMVubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMVubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMVubj/)}(hseq_hlist_next_percpuh]j5)}(hj1h]hseq_hlist_next_percpu}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMVubj)}(hB(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)h](j)}(hvoid *vh](j)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjjubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj5)}(hjh]hv}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(h struct hlist_head __percpu *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]j/c.seq_hlist_next_percpuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh__percpu}(hjhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(hint *cpuh](j)}(hinth]hint}(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-ubj5)}(hcpuh]hcpu}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(h loff_t *posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]j/c.seq_hlist_next_percpuasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjoubj5)}(hposh]hpos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMVubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMVubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMVhjhhubjc)}(hhh]h)}(h3move to the next position of the percpu hlist arrayh]h3move to the next position of the percpu hlist array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMVhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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.chMZhjubj)}(hhh](j)}(h*``void *v`` pointer to current hlist_node h](j)}(h ``void *v``h]j)}(hjh]hvoid *v}(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.chMWhjubj)}(hhh]h)}(hpointer to current hlist_nodeh]hpointer to current hlist_node}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMWhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMWhjubj)}(hS``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads h](j)}(h$``struct hlist_head __percpu *head``h]j)}(hjSh]h struct hlist_head __percpu *head}(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.chMXhjMubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMXhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMXhjubj)}(h%``int *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hjh]hint *cpu}(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.chMYhjubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(h+``loff_t *pos`` start position of 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.chMZhjubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubeh}(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.chM\hjubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM[hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h register_filesystem (C function)c.register_filesystemhNtauh1hhj ShhhNhNubh)}(hhh](j)}(h6int register_filesystem (struct file_system_type * fs)h]j)}(h4int register_filesystem(struct file_system_type *fs)h](j)}(hinth]hint}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjAhhhX/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)}(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:65: ./fs/filesystems.chK@hj!ubj)}(hhh]j)}(h;``struct file_system_type * fs`` the file system structure h](j)}(h ``struct file_system_type * fs``h]j)}(hjFh]hstruct file_system_type * fs}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK=hj@ubj)}(hhh]h)}(hthe file system structureh]hthe file system structure}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hK=hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hK=hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK?hj!ubj )}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK>hjubh)}(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 }(hjhhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hjh]hstruct file_system_type}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjjfile_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKBhjubhw that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKBhjubeh}(h]h ]h"]h$]h&]uh1jhjhK>hj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"unregister_filesystem (C function)c.unregister_filesystemhNtauh1hhj ShhhNhNubh)}(hhh](j)}(h8int unregister_filesystem (struct file_system_type * fs)h]j)}(h6int unregister_filesystem(struct file_system_type *fs)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKaubj/)}(hunregister_filesystemh]j5)}(hunregister_filesystemh]hunregister_filesystem}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKaubj)}(h(struct file_system_type *fs)h]j)}(hstruct file_system_type *fsh](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)}(hfile_system_typeh]hfile_system_type}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j]j)}jj%sbc.unregister_filesystemasbuh1hhj;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)}(hfsh]hfs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj7ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKaubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKahjhhubjc)}(hhh]h)}(hunregister a file systemh]hunregister a file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKahjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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:65: ./fs/filesystems.chKehjubj)}(hhh]j)}(h:``struct file_system_type * fs`` filesystem to unregister h](j)}(h ``struct file_system_type * fs``h]j)}(hjh]hstruct file_system_type * fs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKbhjubj)}(hhh]h)}(hfilesystem to unregisterh]hfilesystem to unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKbhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj>h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKdhjubj )}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKchjTubh)}(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 }(hjghhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hjqh]hstruct file_system_type}(hjshhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjjfile_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKghjgubh" structure may be freed or reused.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKghjTubeh}(h]h ]h"]h$]h&]uh1jhjfhKchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(wbc_attach_fdatawrite_inode (C function)c.wbc_attach_fdatawrite_inodehNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM&ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM&ubj/)}(hwbc_attach_fdatawrite_inodeh]j5)}(hwbc_attach_fdatawrite_inodeh]hwbc_attach_fdatawrite_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM&ubj)}(h4(struct writeback_control *wbc, struct inode *inode)h](j)}(hstruct writeback_control *wbch](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)}(hwriteback_controlh]hwriteback_control}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.wbc_attach_fdatawrite_inodeasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hwbch]hwbc}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j6c.wbc_attach_fdatawrite_inodeasbuh1hhjjubj)}(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&]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&associate wbc and inode for fdatawriteh]h&associate wbc and inode for fdatawrite}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM&hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(hX\**Parameters** ``struct writeback_control *wbc`` writeback_control of interest ``struct inode *inode`` target inode **Description** This function is to be used by __filemap_fdatawrite_range(), 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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(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 writeback_control *wbc`` writeback_control of interest h](j)}(h!``struct writeback_control *wbc``h]j)}(hj0h]hstruct writeback_control *wbc}(hj2hhhNhNubah}(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)}(hwriteback_control of interesth]hwriteback_control of interest}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhM'hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhM'hj'ubj)}(h%``struct inode *inode`` target inode h](j)}(h``struct inode *inode``h]j)}(hjih]hstruct inode *inode}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM(hjcubj)}(hhh]h)}(h target inodeh]h target inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hM(hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hM(hj'ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM*hj ubh)}(hThis function is to be used by __filemap_fdatawrite_range(), 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_fdatawrite_range(), which is an alternative entry point into writeback code, and first ensures }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh7 is associated with a bdi_writeback and attaches it to }(hjhhhNhNubj)}(h**wbc**h]hwbc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hwbc_detach_inode (C function)c.wbc_detach_inodehNtauh1hhj ShhhNhNubh)}(hhh](j)}(h5void wbc_detach_inode (struct writeback_control *wbc)h]j)}(h4void wbc_detach_inode(struct writeback_control *wbc)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.chM8ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhM8ubj/)}(hwbc_detach_inodeh]j5)}(hwbc_detach_inodeh]hwbc_detach_inode}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhM8ubj)}(h(struct writeback_control *wbc)h]j)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]j)}jj0sbc.wbc_detach_inodeasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjFubj5)}(hwbch]hwbc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjBubah}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhM8ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM8ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM8hjhhubjc)}(hhh]h)}(h9disassociate wbc from inode and perform foreign detectionh]h9disassociate wbc from inode and perform foreign detection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM8hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM<hjubj)}(hhh]j)}(hS``struct writeback_control *wbc`` writeback_control of the just finished writeback h](j)}(h!``struct writeback_control *wbc``h]j)}(hjh]hstruct writeback_control *wbc}(hjhhhNhNubah}(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.chM9hjubj)}(hhh]h)}(h0writeback_control of the just finished writebackh]h0writeback_control of the just finished writeback}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hM9hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM9hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM;hjubh)}(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_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM:hjubh)}(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).}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM=hjubh)}(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}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMGhjubh)}(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, }(hjhhhNhNubj)}(h**wbc**h]hwbc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMVhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%wbc_account_cgroup_owner (C function)c.wbc_account_cgroup_ownerhNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hwbc_account_cgroup_ownerh]j5)}(hwbc_account_cgroup_ownerh]hwbc_account_cgroup_owner}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hB(struct writeback_control *wbc, struct folio *folio, size_t bytes)h](j)}(hstruct writeback_control *wbch](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)}(hwriteback_controlh]hwriteback_control}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]j)}jjsbc.wbc_account_cgroup_ownerasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hwbch]hwbc}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct folio *folioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jSc.wbc_account_cgroup_ownerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t bytesh](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.wbc_account_cgroup_ownerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hbytesh]hbytes}(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)}(h2account writeback to update inode cgroup ownershiph]h2account writeback to update inode cgroup ownership}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``struct writeback_control *wbc`` writeback_control of the writeback in progress ``struct folio *folio`` folio being written out ``size_t bytes`` number of bytes being written out **Description** **bytes** from **folio** are about to written out during the writeback controlled by **wbc**. Keep the book for foreign inode detection. See wbc_detach_inode().h](h)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjpubj)}(hhh](j)}(hQ``struct writeback_control *wbc`` writeback_control of the writeback in progress h](j)}(h!``struct writeback_control *wbc``h]j)}(hjh]hstruct writeback_control *wbc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjubj)}(hhh]h)}(h.writeback_control of the writeback in progressh]h.writeback_control of the writeback in progress}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``struct folio *folio`` folio being written out h](j)}(h``struct folio *folio``h]j)}(hjh]hstruct folio *folio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjubj)}(hhh]h)}(hfolio being written outh]hfolio being written out}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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 hMhjubeh}(h]h ]h"]h$]h&]uh1jhjpubh)}(h**Description**h]j)}(hjB h]h Description}(hjD 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.chMhjpubh)}(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&]uh1jhjX ubh from }(hjX hhhNhNubj)}(h **folio**h]hfolio}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX ubh= are about to written out during the writeback controlled by }(hjX hhhNhNubj)}(h**wbc**h]hwbc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX ubhF. Keep the book for foreign inode detection. See wbc_detach_inode().}(hjX hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mark_inode_dirty (C function)c.__mark_inode_dirtyhNtauh1hhj ShhhNhNubh)}(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}(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/)}(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.hj hhhj 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 }(hj4!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hjB!hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hinodeh]hinode}(hjO!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h int flagsh](j)}(hinth]hint}(hjh!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjd!ubj)}(h h]h }(hjv!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd!ubj5)}(hflagsh]hflags}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjd!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(internal function to mark an inode dirtyh]h(internal function to mark an inode dirty}(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!jjjuh1hhhhj ShNhNubj)}(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&]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 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.}(hjA"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&]uh1jhj!ubh)}(h**Description**h]j)}(hjd"h]h Description}(hjf"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb"ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj!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.}(hjz"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj!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.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj!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.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj!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.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj!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.}(hj"hhhNhNubah}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#writeback_inodes_sb_nr (C function)c.writeback_inodes_sb_nrhNtauh1hhj ShhhNhNubh)}(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 reftargetjB#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*}(hjn#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&]uh1jhj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj)}(hlongh]hlong}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj5)}(hnrh]hnr}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(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}(hjY$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjV$hhubah}(h]h ]h"]h$]h&]uh1jbhj"hhhj"hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjq$jjq$jjjuh1hhhhj ShNhNubj)}(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&]uh1jhjy$ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hju$ubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hj$h]hstruct super_block *sb}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 hj$ubj)}(hhh]h)}(hthe number of pages to writeh]hthe number of pages to write}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hM hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM hj$ubj)}(hC``enum wb_reason reason`` reason why some writeback work initiated h](j)}(h``enum wb_reason reason``h]j)}(hj %h]henum wb_reason reason}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj %ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhju$ubh)}(h**Description**h]j)}(hjG%h]h Description}(hjI%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE%ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hju$ubh)}(hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.h]hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.}(hj]%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hju$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h writeback_inodes_sb (C function)c.writeback_inodes_sbhNtauh1hhj ShhhNhNubh)}(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}(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_sbh]j5)}(hwriteback_inodes_sbh]hwriteback_inodes_sb}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj%hhhj%hM ubj)}(h/(struct super_block *sb, 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_sbasbuh1hhj%ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj*)}(hj-h]h*}(hj&hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj%ubj5)}(hsbh]hsb}(hj"&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubj)}(henum wb_reason reasonh](j )}(hjh]henum}(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)}(h wb_reasonh]h wb_reason}(hjY&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjV&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[&modnameN classnameNjj)}j]j&c.writeback_inodes_sbasbuh1hhj7&ubj)}(h h]h }(hjw&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7&ubj5)}(hreasonh]hreason}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7&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&jjjuh1hhhhj ShNhNubj)}(hXK**Parameters** ``struct super_block *sb`` the superblock ``enum wb_reason reason`` reason why some writeback work was initiated **Description** Start writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.h](h)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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)}(hj&h]hstruct super_block *sb}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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)}(hG``enum wb_reason reason`` reason why some writeback work was initiated h](j)}(h``enum wb_reason reason``h]j)}(hj)'h]henum wb_reason reason}(hj+'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj''ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj#'ubj)}(hhh]h)}(h,reason why some writeback work was initiatedh]h,reason why some writeback work was initiated}(hjB'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>'hM hj?'ubah}(h]h ]h"]h$]h&]uh1jhj#'ubeh}(h]h ]h"]h$]h&]uh1jhj>'hM hj&ubeh}(h]h ]h"]h$]h&]uh1jhj&ubh)}(h**Description**h]j)}(hjd'h]h Description}(hjf'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb'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.}(hjz'hhhNhNubah}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'try_to_writeback_inodes_sb (C function)c.try_to_writeback_inodes_sbhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hOvoid try_to_writeback_inodes_sb (struct super_block *sb, enum wb_reason reason)h]j)}(hNvoid try_to_writeback_inodes_sb(struct super_block *sb, enum wb_reason reason)h](j)}(hvoidh]hvoid}(hj'hhhNhNubah}(h]h ]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/)}(htry_to_writeback_inodes_sbh]j5)}(htry_to_writeback_inodes_sbh]htry_to_writeback_inodes_sb}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'hhhj'hM ubj)}(h/(struct super_block *sb, 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.try_to_writeback_inodes_sbasbuh1hhj'ubj)}(h h]h }(hj$(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj*)}(hj-h]h*}(hj2(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj'ubj5)}(hsbh]hsb}(hj?(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubj)}(henum wb_reason reasonh](j )}(hjh]henum}(hjX(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjT(ubj)}(h h]h }(hje(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT(ubh)}(hhh]j5)}(h wb_reasonh]h wb_reason}(hjv(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjs(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx(modnameN classnameNjj)}j]j (c.try_to_writeback_inodes_sbasbuh1hhjT(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT(ubj5)}(hreasonh]hreason}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjT(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'try to start writeback if none underwayh]h'try to start writeback if none underway}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj(hhubah}(h]h ]h"]h$]h&]uh1jbhj'hhhj'hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhj ShNhNubj)}(h**Parameters** ``struct super_block *sb`` the superblock ``enum wb_reason reason`` reason why some writeback work was initiated **Description** Invoke __writeback_inodes_sb_nr if no writeback is currently underway.h](h)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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)}(hj )h]hstruct super_block *sb}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj )ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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)}(hG``enum wb_reason reason`` reason why some writeback work was initiated h](j)}(h``enum wb_reason reason``h]j)}(hjF)h]henum wb_reason reason}(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)}(h,reason why some writeback work was initiatedh]h,reason why some writeback work was initiated}(hj_)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[)hM hj\)ubah}(h]h ]h"]h$]h&]uh1jhj@)ubeh}(h]h ]h"]h$]h&]uh1jhj[)hM hj)ubeh}(h]h ]h"]h$]h&]uh1jhj(ubh)}(h**Description**h]j)}(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)}(hFInvoke __writeback_inodes_sb_nr if no writeback is currently underway.h]hFInvoke __writeback_inodes_sb_nr if no writeback is currently underway.}(hj)hhhNhNubah}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsync_inodes_sb (C function)c.sync_inodes_sbhNtauh1hhj ShhhNhNubh)}(hhh](j)}(h,void sync_inodes_sb (struct super_block *sb)h]j)}(h+void sync_inodes_sb(struct super_block *sb)h](j)}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)hhhj)hM ubj/)}(hsync_inodes_sbh]j5)}(hsync_inodes_sbh]hsync_inodes_sb}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj)hhhj)hM ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj!*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#*modnameN classnameNjj)}j]j)}jj)sbc.sync_inodes_sbasbuh1hhj)ubj)}(h h]h }(hjA*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubj*)}(hj-h]h*}(hjO*hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj)ubj5)}(hsbh]hsb}(hj\*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubah}(h]h ]h"]h$]h&]jLjMuh1jhj)hhhj)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)}(hsync sb inode pagesh]hsync sb inode pages}(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*jjjuh1hhhhj ShNhNubj)}(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)}(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)}(hj*h]hstruct super_block *sb}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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*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&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj*ubh)}(hPThis function writes and waits on any dirty inode belonging to this super_block.h]hPThis function writes and waits on any dirty inode belonging to this super_block.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hwrite_inode_now (C function)c.write_inode_nowhNtauh1hhj ShhhNhNubh)}(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}(hjG+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjC+hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMA ubj)}(h h]h }(hjV+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjC+hhhjU+hMA ubj/)}(hwrite_inode_nowh]j5)}(hwrite_inode_nowh]hwrite_inode_now}(hjh+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjd+ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjC+hhhjU+hMA ubj)}(h(struct inode *inode, int sync)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)}jjj+sbc.write_inode_nowasbuh1hhj+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)}(hint synch](j)}(hinth]hint}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj+ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj5)}(hsynch]hsync}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|+ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjC+hhhjU+hMA ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj?+hhhjU+hMA ubah}(h]j:+ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjU+hMA hj<+hhubjc)}(hhh]h)}(hwrite an inode to diskh]hwrite an inode to disk}(hj<,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMA hj9,hhubah}(h]h ]h"]h$]h&]uh1jbhj<+hhhjU+hMA ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjT,jjT,jjjuh1hhhhj ShNhNubj)}(hXE**Parameters** ``struct inode *inode`` inode to write to disk ``int sync`` whether the write should be synchronous or not **Description** This function commits an inode to disk immediately if it is dirty. This is primarily needed by knfsd. The caller must either have a ref on the inode or must have set I_WILL_FREE.h](h)}(h**Parameters**h]j)}(hj^,h]h Parameters}(hj`,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\,ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chME hjX,ubj)}(hhh](j)}(h/``struct inode *inode`` inode to write to disk 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.chMB hjw,ubj)}(hhh]h)}(hinode to write to diskh]hinode to write to disk}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMB hj,ubah}(h]h ]h"]h$]h&]uh1jhjw,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMB hjt,ubj)}(h<``int sync`` whether the write should be synchronous or not h](j)}(h ``int sync``h]j)}(hj,h]hint sync}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMC hj,ubj)}(hhh]h)}(h.whether the write should be synchronous or noth]h.whether the write should be synchronous or not}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMC hj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMC hjt,ubeh}(h]h ]h"]h$]h&]uh1jhjX,ubh)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chME hjX,ubh)}(heThis function commits an inode to disk immediately if it is dirty. This is primarily needed by knfsd.h]heThis function commits an inode to disk immediately if it is dirty. This is primarily needed by knfsd.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMD hjX,ubh)}(hLThe caller must either have a ref on the inode or must have set I_WILL_FREE.h]hLThe caller must either have a ref on the inode or must have set I_WILL_FREE.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMG hjX,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sync_inode_metadata (C function)c.sync_inode_metadatahNtauh1hhj ShhhNhNubh)}(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}(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/)}(hsync_inode_metadatah]j5)}(hsync_inode_metadatah]hsync_inode_metadata}(hjf-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjb-ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjA-hhhjS-hM\ ubj)}(h(struct inode *inode, int wait)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)}jjh-sbc.sync_inode_metadataasbuh1hhj~-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&]noemphjLjMuh1jhjz-ubj)}(hint waith](j)}(hinth]hint}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj5)}(hwaith]hwait}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjz-ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjA-hhhjS-hM\ ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=-hhhjS-hM\ ubah}(h]j8-ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjS-hM\ hj:-hhubjc)}(hhh]h)}(hwrite an inode to diskh]hwrite an inode to disk}(hj:.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM\ hj7.hhubah}(h]h ]h"]h$]h&]uh1jbhj:-hhhjS-hM\ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjR.jjR.jjjuh1hhhhj ShNhNubj)}(hX **Parameters** ``struct inode *inode`` the inode to sync ``int wait`` wait for I/O to complete. **Description** Write an inode to disk and adjust its dirty state after completion. **Note** only writes the actual inode, no associated data or other metadata.h](h)}(h**Parameters**h]j)}(hj\.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`` the inode to sync 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&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM] hju.ubj)}(hhh]h)}(hthe inode to synch]hthe inode to sync}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hM] hj.ubah}(h]h ]h"]h$]h&]uh1jhju.ubeh}(h]h ]h"]h$]h&]uh1jhj.hM] hjr.ubj)}(h'``int wait`` wait for I/O to complete. h](j)}(h ``int wait``h]j)}(hj.h]hint wait}(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)}(hwait for I/O to complete.h]hwait for I/O to complete.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hM^ hj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hM^ hjr.ubeh}(h]h ]h"]h$]h&]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)}(hCWrite an inode to disk and adjust its dirty state after completion.h]hCWrite an inode to disk and adjust its dirty state after completion.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM_ hjV.ubh)}(h**Note**h]j)}(hj/h]hNote}(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.chMa hjV.ubh)}(hConly writes the actual inode, no associated data or other metadata.h]hConly writes the actual inode, no associated data or other metadata.}(hj,/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMb hjV.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hanon_inode_getfile (C function)c.anon_inode_getfilehNtauh1hhj ShhhNhNubh)}(hhh](j)}(hnstruct file * anon_inode_getfile (const char *name, const struct file_operations *fops, void *priv, int flags)h]j)}(hlstruct file *anon_inode_getfile(const char *name, const struct file_operations *fops, void *priv, int flags)h](j )}(hjzh]hstruct}(hj[/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW/hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKubj)}(h h]h }(hji/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW/hhhjh/hKubh)}(hhh]j5)}(hfileh]hfile}(hjz/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjw/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|/modnameN classnameNjj)}j]j)}janon_inode_getfilesbc.anon_inode_getfileasbuh1hhjW/hhhjh/hKubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW/hhhjh/hKubj*)}(hj-h]h*}(hj/hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjW/hhhjh/hKubj/)}(hanon_inode_getfileh]j5)}(hj/h]hanon_inode_getfile}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjW/hhhjh/hKubj)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)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 0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj/ubj5)}(hnameh]hname}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(h"const struct file_operations *fopsh](j )}(hjUh]hconst}(hj20hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.0ubj)}(h h]h }(hj?0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.0ubj )}(hjzh]hstruct}(hjM0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.0ubj)}(h h]h }(hjZ0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.0ubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjk0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjh0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjm0modnameN classnameNjj)}j]j/c.anon_inode_getfileasbuh1hhj.0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.0ubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj.0ubj5)}(hfopsh]hfops}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(h void *privh](j)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0ubj5)}(hprivh]hpriv}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(h int flagsh](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj 1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj5)}(hflagsh]hflags}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjW/hhhjh/hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjS/hhhjh/hKubah}(h]jN/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjh/hKhjP/hhubjc)}(hhh]h)}(hvcreates a new file instance by hooking it up to an anonymous inode, and a dentry that describe the "class" of the fileh]hzcreates a new file instance by hooking it up to an anonymous inode, and a dentry that describe the “class” of the file}(hjE1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjB1hhubah}(h]h ]h"]h$]h&]uh1jbhjP/hhhjh/hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]1jj]1jjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``const char *name`` [in] name of the "class" of the new file ``const struct file_operations *fops`` [in] file operations for the new file ``void *priv`` [in] private data for the new file (will be file's private_data) ``int flags`` [in] flags **Description** Creates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Returns the newly created file* or an error pointer.h](h)}(h**Parameters**h]j)}(hjg1h]h Parameters}(hji1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje1ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhja1ubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hj1h]hconst char *name}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj1ubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hKhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hKhj}1ubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hj1h]h"const struct file_operations *fops}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj1ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hKhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hKhj}1ubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hj1h]h void *priv}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj1ubj)}(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)}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 2hKhj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj 2hKhj}1ubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hj12h]h int flags}(hj32hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/2ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj+2ubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjJ2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjF2hKhjG2ubah}(h]h ]h"]h$]h&]uh1jhj+2ubeh}(h]h ]h"]h$]h&]uh1jhjF2hKhj}1ubeh}(h]h ]h"]h$]h&]uh1jhja1ubh)}(h**Description**h]j)}(hjl2h]h Description}(hjn2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj2ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhja1ubh)}(hXmCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Returns the newly created file* or an error pointer.h]hXmCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Returns the newly created file* or an error pointer.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhja1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%anon_inode_getfile_fmode (C function)c.anon_inode_getfile_fmodehNtauh1hhj ShhhNhNubh)}(hhh](j)}(hstruct file * anon_inode_getfile_fmode (const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h]j)}(hstruct file *anon_inode_getfile_fmode(const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h](j )}(hjzh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2hhhj2hKubh)}(hhh]j5)}(hfileh]hfile}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}janon_inode_getfile_fmodesbc.anon_inode_getfile_fmodeasbuh1hhj2hhhj2hKubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2hhhj2hKubj*)}(hj-h]h*}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2hhhj2hKubj/)}(hanon_inode_getfile_fmodeh]j5)}(hj2h]hanon_inode_getfile_fmode}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj 3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj2hhhj2hKubj)}(h](const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hj+3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'3ubj)}(h h]h }(hj83hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'3ubj)}(hcharh]hchar}(hjF3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj'3ubj)}(h h]h }(hjT3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'3ubj*)}(hj-h]h*}(hjb3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj'3ubj5)}(hnameh]hname}(hjo3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#3ubj)}(h"const struct file_operations *fopsh](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)}(hfile_operationsh]hfile_operations}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j2c.anon_inode_getfile_fmodeasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hfopsh]hfops}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#3ubj)}(h void *privh](j)}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ubj)}(h h]h }(hj!4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hj/4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hprivh]hpriv}(hj<4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#3ubj)}(h int flagsh](j)}(hinth]hint}(hjU4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjQ4ubj)}(h h]h }(hjc4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQ4ubj5)}(hflagsh]hflags}(hjq4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQ4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#3ubj)}(hfmode_t f_modeh](h)}(hhh]j5)}(hfmode_th]hfmode_t}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]j2c.anon_inode_getfile_fmodeasbuh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj5)}(hf_modeh]hf_mode}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#3ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj2hhhj2hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2hhhj2hKubah}(h]j2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hKhj2hhubjc)}(hhh]h)}(hvcreates a new file instance by hooking it up to an anonymous inode, and a dentry that describe the "class" of the fileh]hzcreates a new file instance by hooking it up to an anonymous inode, and a dentry that describe the “class” of the file}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj4hhubah}(h]h ]h"]h$]h&]uh1jbhj2hhhj2hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``const char *name`` [in] name of the "class" of the new file ``const struct file_operations *fops`` [in] file operations for the new file ``void *priv`` [in] private data for the new file (will be file's private_data) ``int flags`` [in] flags ``fmode_t f_mode`` [in] fmode **Description** Creates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Allows setting the fmode. Returns the newly created file* or an error pointer.h](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj4ubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hj$5h]hconst char *name}(hj&5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj5ubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj=5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj95hKhj:5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj95hKhj5ubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hj]5h]h"const struct file_operations *fops}(hj_5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjW5ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjv5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjr5hKhjs5ubah}(h]h ]h"]h$]h&]uh1jhjW5ubeh}(h]h ]h"]h$]h&]uh1jhjr5hKhj5ubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hj5h]h void *priv}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj5ubj)}(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)}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hKhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hKhj5ubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hj5h]h int flags}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj5ubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hKhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hKhj5ubj)}(h!``fmode_t f_mode`` [in] fmode h](j)}(h``fmode_t f_mode``h]j)}(hj6h]hfmode_t f_mode}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj6ubj)}(hhh]h)}(h [in] fmodeh]h [in] fmode}(hj!6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hKhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hKhj5ubeh}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hjC6h]h Description}(hjE6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA6ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj4ubh)}(hXCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Allows setting the fmode. Returns the newly created file* or an error pointer.h]hXCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Allows setting the fmode. Returns the newly created file* or an error pointer.}(hjY6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&anon_inode_create_getfile (C function)c.anon_inode_create_getfilehNtauh1hhj ShhhNhNubh)}(hhh](j)}(hstruct file * anon_inode_create_getfile (const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h]j)}(hstruct file *anon_inode_create_getfile(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6hhhj6hKubh)}(hhh]j5)}(hfileh]hfile}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j)}janon_inode_create_getfilesbc.anon_inode_create_getfileasbuh1hhj6hhhj6hKubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6hhhj6hKubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6hhhj6hKubj/)}(hanon_inode_create_getfileh]j5)}(hj6h]hanon_inode_create_getfile}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj6hhhj6hKubj)}(hp(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj)}(hcharh]hchar}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj6ubj)}(h h]h }(hj+7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hj97hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hnameh]hname}(hjF7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubj)}(h"const struct file_operations *fopsh](j )}(hjUh]hconst}(hj_7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[7ubj)}(h h]h }(hjl7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[7ubj )}(hjzh]hstruct}(hjz7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[7ubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j6c.anon_inode_create_getfileasbuh1hhj[7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[7ubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj[7ubj5)}(hfopsh]hfops}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubj)}(h void *privh](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hj8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hprivh]hpriv}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubj)}(h int flagsh](j)}(hinth]hint}(hj,8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(8ubj)}(h h]h }(hj:8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(8ubj5)}(hflagsh]hflags}(hjH8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubj)}(h!const struct inode *context_inodeh](j )}(hjUh]hconst}(hja8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]8ubj)}(h h]h }(hjn8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]8ubj )}(hjzh]hstruct}(hj|8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]8ubh)}(hhh]j5)}(hinodeh]hinode}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j6c.anon_inode_create_getfileasbuh1hhj]8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]8ubj*)}(hj-h]h*}(hj8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj]8ubj5)}(h context_inodeh]h context_inode}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj6hhhj6hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj6hhhj6hKubah}(h]j{6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6hKhj}6hhubjc)}(hhh]h)}(hLike anon_inode_getfile(), but creates a new !S_PRIVATE anon inode rather than reuse the singleton anon inode and calls the inode_init_security_anon() LSM hook.h]hLike anon_inode_getfile(), but creates a new !S_PRIVATE anon inode rather than reuse the singleton anon inode and calls the inode_init_security_anon() LSM hook.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj8hhubah}(h]h ]h"]h$]h&]uh1jbhj}6hhhj6hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj ShNhNubj)}(hXT**Parameters** ``const char *name`` [in] name of the "class" of the new file ``const struct file_operations *fops`` [in] file operations for the new file ``void *priv`` [in] private data for the new file (will be file's private_data) ``int flags`` [in] flags ``const struct inode *context_inode`` [in] the logical relationship with the new inode (optional) **Description** Create a new anonymous inode and file pair. This can be done for two reasons: - for the inode to have its own security context, so that LSMs can enforce policy on the inode's creation; - if the caller needs a unique inode, for example in order to customize the size returned by fstat() The LSM may use **context_inode** in inode_init_security_anon(), but a reference to it is not held. Returns the newly created file* or an error pointer.h](h)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj!9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj9ubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hj>9h]hconst char *name}(hj@9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj89ubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hjW9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjS9hKhjT9ubah}(h]h ]h"]h$]h&]uh1jhj89ubeh}(h]h ]h"]h$]h&]uh1jhjS9hKhj59ubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjw9h]h"const struct file_operations *fops}(hjy9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjq9ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhjq9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhj59ubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hj9h]h void *priv}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj9ubj)}(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)}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhj59ubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hj9h]h int flags}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj9ubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhj59ubj)}(he``const struct inode *context_inode`` [in] the logical relationship with the new inode (optional) h](j)}(h%``const struct inode *context_inode``h]j)}(hj":h]h!const struct inode *context_inode}(hj$:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj :ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj:ubj)}(hhh]h)}(h>[in] the logical relationship with the new inode (optional)h]h>[in] the logical relationship with the new inode (optional)}(hj;:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7:hKhj8:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj7:hKhj59ubeh}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hj]:h]h Description}(hj_:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[:ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj9ubh)}(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:}(hjs:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj9ubj.)}(hhh](j .)}(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;}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj:ubah}(h]h ]h"]h$]h&]uh1j .hj:ubj .)}(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()}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chMhj:ubah}(h]h ]h"]h$]h&]uh1j .hj:ubeh}(h]h ]h"]h$]h&]j\.j"uh1j.hj:hKhj9ubh)}(hcThe LSM may use **context_inode** in inode_init_security_anon(), but a reference to it is not held.h](hThe LSM may use }(hj:hhhNhNubj)}(h**context_inode**h]h context_inode}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubhB in inode_init_security_anon(), but a reference to it is not held.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chMhj9ubh)}(h4Returns the newly created file* or an error pointer.h]h4Returns the newly created file* or an error pointer.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hanon_inode_getfd (C function)c.anon_inode_getfdhNtauh1hhj ShhhNhNubh)}(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}(hj ;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ;hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM3ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ;hhhj;hM3ubj/)}(hanon_inode_getfdh]j5)}(hanon_inode_getfdh]hanon_inode_getfd}(hj.;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*;ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj ;hhhj;hM3ubj)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjJ;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF;ubj)}(h h]h }(hjW;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjF;ubj)}(hcharh]hchar}(hje;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjF;ubj)}(h h]h }(hjs;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjF;ubj*)}(hj-h]h*}(hj;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjF;ubj5)}(hnameh]hname}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjF;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjB;ubj)}(h"const struct file_operations *fopsh](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)}(hfile_operationsh]hfile_operations}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]j)}jj0;sbc.anon_inode_getfdasbuh1hhj;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)}(hfopsh]hfops}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjB;ubj)}(h void *privh](j)}(hvoidh]hvoid}(hj4<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0<ubj)}(h h]h }(hjB<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0<ubj*)}(hj-h]h*}(hjP<hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0<ubj5)}(hprivh]hpriv}(hj]<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjB;ubj)}(h int flagsh](j)}(hinth]hint}(hjv<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjr<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjr<ubj5)}(hflagsh]hflags}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjr<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjB;ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj ;hhhj;hM3ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj;hhhj;hM3ubah}(h]j;ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj;hM3hj;hhubjc)}(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}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM3hj<hhubah}(h]h ]h"]h$]h&]uh1jbhj;hhhj;hM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhj ShNhNubj)}(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)}(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:71: ./fs/anon_inodes.chM7hj<ubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file 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:71: ./fs/anon_inodes.chM7hj<ubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hM7hj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hM7hj<ubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hj6=h]h"const struct file_operations *fops}(hj8=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4=ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM8hj0=ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjO=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjK=hM8hjL=ubah}(h]h ]h"]h$]h&]uh1jhj0=ubeh}(h]h ]h"]h$]h&]uh1jhjK=hM8hj<ubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hjo=h]h void *priv}(hjq=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm=ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM9hji=ubj)}(hhh]h)}(hC[in] private data for the new file (will be file's private_data)h]hE[in] private data for the new file (will be file’s private_data)}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hM9hj=ubah}(h]h ]h"]h$]h&]uh1jhji=ubeh}(h]h ]h"]h$]h&]uh1jhj=hM9hj<ubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hj=h]h int flags}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM:hj=ubj)}(hhh]h)}(h [in] flagsh]h [in] 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<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:71: ./fs/anon_inodes.chM<hj<ubh)}(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.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM;hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%setattr_should_drop_sgid (C function)c.setattr_should_drop_sgidhNtauh1hhj ShhhNhNubh)}(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}(hj(>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$>hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKubj)}(h h]h }(hj7>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$>hhhj6>hKubj/)}(hsetattr_should_drop_sgidh]j5)}(hsetattr_should_drop_sgidh]hsetattr_should_drop_sgid}(hjI>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjE>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj$>hhhj6>hKubj)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](j)}(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}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj)}j]j)}jjK>sbc.setattr_should_drop_sgidasbuh1hhja>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]>ubj)}(hconst struct inode *inodeh](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)}(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_sgidasbuh1hhj>ubj)}(h h]h }(hj.?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj*)}(hj-h]h*}(hjubj5)}(hinodeh]hinode}(hjI?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]>ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj$>hhhj6>hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj >hhhj6>hKubah}(h]j>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6>hKhj>hhubjc)}(hhh]h)}(h4determine whether the setgid bit needs to be removedh]h4determine whether the setgid bit needs to be removed}(hjs?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjp?hhubah}(h]h ]h"]h$]h&]uh1jbhj>hhhj6>hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhj ShNhNubj)}(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)}(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.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}(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 **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?hKhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hKhj?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@hKhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?ubh)}(h**Description**h]j)}(hj:@h]h Description}(hj<@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8@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().}(hjP@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)}(hja@h]hReturn}(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?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.}(hjw@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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(setattr_should_drop_suidgid (C function)c.setattr_should_drop_suidgidhNtauh1hhj ShhhNhNubh)}(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}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK1ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhj@hK1ubj/)}(hsetattr_should_drop_suidgidh]j5)}(hsetattr_should_drop_suidgidh]hsetattr_should_drop_suidgid}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@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}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]j)}jj@sbc.setattr_should_drop_suidgidasbuh1hhj@ubj)}(h h]h }(hj!AhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj*)}(hj-h]h*}(hj/AhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj@ubj5)}(hidmaph]hidmap}(hjCubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(hdentryh]hdentry}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]jCc.setattr_prepareasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hdentryh]hdentry}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>Cubj)}(hstruct iattr *attrh](j )}(hjzh]hstruct}(hj(DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$Dubj)}(h h]h }(hj5DhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$Dubh)}(hhh]j5)}(hiattrh]hiattr}(hjFDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHDmodnameN classnameNjj)}j]jCc.setattr_prepareasbuh1hhj$Dubj)}(h h]h }(hjdDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$Dubj*)}(hj-h]h*}(hjrDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj$Dubj5)}(hattrh]hattr}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$Dubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>Cubeh}(h]h ]h"]h$]h&]jLjMuh1jhjChhhjChKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjChhhjChKubah}(h]jBah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChKhjBhhubjc)}(hhh]h)}(h2check if attribute changes to a dentry are allowedh]h2check if attribute changes to a dentry are allowed}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjDhhubah}(h]h ]h"]h$]h&]uh1jbhjBhhhjChKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj ShNhNubj)}(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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjDubj)}(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)}(hjDh]hstruct mnt_idmap *idmap}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjDubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhKhjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhKhjDubj)}(h*``struct dentry *dentry`` dentry to check h](j)}(h``struct dentry *dentry``h]j)}(hj#Eh]hstruct dentry *dentry}(hj%EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Eubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjEubj)}(hhh]h)}(hdentry to checkh]hdentry to check}(hjCheck if we are allowed to change the attributes contained in }(hjEhhhNhNubj)}(h**attr**h]hattr}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubhX 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.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjDubh)}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubhB. This function will then take care to map the inode according to }(hjEhhhNhNubj)}(h **idmap**h]hidmap}(hjEhhhNhNubah}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjDubh)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_newsize_ok (C function)c.inode_newsize_okhNtauh1hhj ShhhNhNubh)}(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}(hjBFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>FhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKubj)}(h h]h }(hjQFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>FhhhjPFhKubj/)}(hinode_newsize_okh]j5)}(hinode_newsize_okh]hinode_newsize_ok}(hjcFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_Fubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>FhhhjPFhKubj)}(h*(const struct inode *inode, loff_t offset)h](j)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{Fubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{Fubj )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{Fubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{Fubh)}(hhh]j5)}(hinodeh]hinode}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j]j)}jjeFsbc.inode_newsize_okasbuh1hhj{Fubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{Fubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{Fubj5)}(hinodeh]hinode}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{Fubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwFubj)}(h loff_t offseth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]jFc.inode_newsize_okasbuh1hhjGubj)}(h h]h }(hj-GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj5)}(hoffseth]hoffset}(hj;GhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwFubeh}(h]h ]h"]h$]h&]jLjMuh1jhj>FhhhjPFhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:FhhhjPFhKubah}(h]j5Fah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPFhKhj7Fhhubjc)}(hhh]h)}(h+may this inode be truncated to a given sizeh]h+may this inode be truncated to a given size}(hjeGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjbGhhubah}(h]h ]h"]h$]h&]uh1jbhj7FhhhjPFhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}Gjj}Gjjjuh1hhhhj ShNhNubj)}(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)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjGubj)}(hhh](j)}(h8``const struct inode *inode`` the inode to be truncated h](j)}(h``const struct inode *inode``h]j)}(hjGh]hconst struct inode *inode}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjGubj)}(hhh]h)}(hthe inode to be truncatedh]hthe inode to be truncated}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhKhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhKhjGubj)}(h6``loff_t offset`` the new size to assign to the inode h](j)}(h``loff_t offset``h]j)}(hjGh]h loff_t offset}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjGubj)}(hhh]h)}(h#the new size to assign to the inodeh]h#the new size to assign to the inode}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhKhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhKhjGubeh}(h]h ]h"]h$]h&]uh1jhjGubh)}(h**Description**h]j)}(hjHh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjGubh)}(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.}(hj0HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjGubh)}(hXxinode_newsize_ok will check filesystem limits and ulimits to check that the new inode size is within limits. inode_newsize_ok will also send SIGXFSZ when necessary. Caller must not proceed with inode size change if failure is returned. **inode** must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).h](hinode_newsize_ok will check filesystem limits and ulimits to check that the new inode size is within limits. inode_newsize_ok will also send SIGXFSZ when necessary. Caller must not proceed with inode size change if failure is returned. }(hj?HhhhNhNubj)}(h **inode**h]hinode}(hjGHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Hubh must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).}(hj?HhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjGubh)}(h **Return**h]j)}(hjbHh]hReturn}(hjdHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Hubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjGubh)}(h"0 on success, -ve errno on failureh]h"0 on success, -ve errno on failure}(hjxHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsetattr_copy (C function)c.setattr_copyhNtauh1hhj ShhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM4ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjHhM4ubj/)}(h setattr_copyh]j5)}(h setattr_copyh]h setattr_copy}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjHhM4ubj)}(hH(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j)}jjHsbc.setattr_copyasbuh1hhjHubj)}(h h]h }(hj"IhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj*)}(hj-h]h*}(hj0IhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjHubj5)}(hidmaph]hidmap}(hj=IhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjVIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRIubj)}(h h]h }(hjcIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRIubh)}(hhh]j5)}(hinodeh]hinode}(hjtIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvImodnameN classnameNjj)}j]jIc.setattr_copyasbuh1hhjRIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRIubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjRIubj5)}(hinodeh]hinode}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubj)}(hconst struct iattr *attrh](j )}(hjUh]hconst}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubh)}(hhh]j5)}(hiattrh]hiattr}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]jIc.setattr_copyasbuh1hhjIubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj*)}(hj-h]h*}(hj+JhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIubj5)}(hattrh]hattr}(hj8JhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubeh}(h]h ]h"]h$]h&]jLjMuh1jhjHhhhjHhM4ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHhhhjHhM4ubah}(h]jHah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjHhM4hjHhhubjc)}(hhh]h)}(h3copy simple metadata updates into the generic inodeh]h3copy simple metadata updates into the generic inode}(hjbJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM4hj_Jhhubah}(h]h ]h"]h$]h&]uh1jbhjHhhhjHhM4ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzJjjzJjjjuh1hhhhj ShNhNubj)}(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)}(hjJh]h Parameters}(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.chM8hj~Jubj)}(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)}(hjJh]hstruct mnt_idmap *idmap}(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.chM5hjJubj)}(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&]uh1hhjJhM5hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM5hjJubj)}(h0``struct inode *inode`` the inode to be updated h](j)}(h``struct inode *inode``h]j)}(hjJh]hstruct inode *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.chM6hjJubj)}(hhh]h)}(hthe inode to be updatedh]hthe inode to be updated}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhM6hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM6hjJubj)}(h0``const struct iattr *attr`` the new attributes h](j)}(h``const struct iattr *attr``h]j)}(hjKh]hconst struct iattr *attr}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM7hjKubj)}(hhh]h)}(hthe new attributesh]hthe new attributes}(hj.KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*KhM7hj+Kubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhj*KhM7hjJubeh}(h]h ]h"]h$]h&]uh1jhj~Jubh)}(h**Description**h]j)}(hjPKh]h Description}(hjRKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNKubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM9hj~Jubh)}(h:setattr_copy must be called with i_rwsem held exclusively.h]h:setattr_copy must be called with i_rwsem held exclusively.}(hjfKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM8hj~Jubh)}(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.}(hjuKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM:hj~Jubh)}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubhB. This function will then take care to map the inode according to }(hjKhhhNhNubj)}(h **idmap**h]hidmap}(hjKhhhNhNubah}(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}(hjKhhhNhNubah}(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.chMAhj~Jubh)}(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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMGhj~Jubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnotify_change (C function)c.notify_changehNtauh1hhj ShhhNhNubh)}(hhh](j)}(hvint notify_change (struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct inode **delegated_inode)h]j)}(huint notify_change(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct inode **delegated_inode)h](j)}(hinth]hint}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhjLhMubj/)}(h notify_changeh]j5)}(h notify_changeh]h notify_change}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhjLhMubj)}(hd(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct inode **delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj5LhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1Lubj)}(h h]h }(hjBLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1Lubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjSLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjULmodnameN classnameNjj)}j]j)}jjLsbc.notify_changeasbuh1hhj1Lubj)}(h h]h }(hjsLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1Lubj*)}(hj-h]h*}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj1Lubj5)}(hidmaph]hidmap}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1Lubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-Lubj)}(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]joLc.notify_changeasbuh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj*)}(hj-h]h*}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj5)}(hdentryh]hdentry}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-Lubj)}(hstruct iattr *attrh](j )}(hjzh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hj$MhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubh)}(hhh]j5)}(hiattrh]hiattr}(hj5MhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2Mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7MmodnameN classnameNjj)}j]joLc.notify_changeasbuh1hhjMubj)}(h h]h }(hjSMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj*)}(hj-h]h*}(hjaMhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjMubj5)}(hattrh]hattr}(hjnMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-Lubj)}(hstruct inode **delegated_inodeh](j )}(hjzh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubh)}(hhh]j5)}(hinodeh]hinode}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj)}j]joLc.notify_changeasbuh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj*)}(hj-h]h*}(hjMhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjMubj*)}(hj-h]h*}(hjMhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjMubj5)}(hdelegated_inodeh]hdelegated_inode}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-Lubeh}(h]h ]h"]h$]h&]jLjMuh1jhjKhhhjLhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjKhhhjLhMubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjLhMhjKhhubjc)}(hhh]h)}(h(modify attributes of a filesystem objecth]h(modify attributes of a filesystem object}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jbhjKhhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-Njj-Njjjuh1hhhhj ShNhNubj)}(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 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)}(hj7Nh]h Parameters}(hj9NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Nubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhj1Nubj)}(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)}(hjVNh]hstruct mnt_idmap *idmap}(hjXNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjPNubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjoNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkNhMhjlNubah}(h]h ]h"]h$]h&]uh1jhjPNubeh}(h]h ]h"]h$]h&]uh1jhjkNhMhjMNubj)}(h*``struct dentry *dentry`` object affected h](j)}(h``struct dentry *dentry``h]j)}(hjNh]hstruct dentry *dentry}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjNubj)}(hhh]h)}(hobject affectedh]hobject affected}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjMNubj)}(h&``struct iattr *attr`` new attributes h](j)}(h``struct iattr *attr``h]j)}(hjNh]hstruct iattr *attr}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjNubj)}(hhh]h)}(hnew attributesh]hnew attributes}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjMNubj)}(hL``struct inode **delegated_inode`` returns inode, if the inode is delegated h](j)}(h"``struct inode **delegated_inode``h]j)}(hjOh]hstruct inode **delegated_inode}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjNubj)}(hhh]h)}(h(returns inode, if the inode is delegatedh]h(returns inode, if the inode is delegated}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjMNubeh}(h]h ]h"]h$]h&]uh1jhj1Nubh)}(h**Description**h]j)}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Oubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhj1Nubh)}(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.}(hjROhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhj1Nubh)}(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.}(hjaOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhj1Nubh)}(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.}(hjpOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhj1Nubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjOhhhNhNubj)}(h **idmap**h]hidmap}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubhB. This function will then take care to map the inode according to }(hjOhhhNhNubj)}(h **idmap**h]hidmap}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjOhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhj1Nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_path (C function)c.d_pathhNtauh1hhj ShhhNhNubh)}(hhh](j)}(h>char * d_path (const struct path *path, char *buf, int buflen)h]j)}(h 1 ``loff_t start`` Starting offset. Page containing 'start' is included. ``loff_t end`` End offset. Page containing 'end' is included. If 'end' is LLONG_MAX, pages from 'start' till the end of file are included. **Description** DAX requires ZONE_DEVICE mapped pages. These pages are never 'onlined' to the page allocator so they are considered idle when page->count == 1. A filesystem uses this interface to determine if any page in the mapping is busy, i.e. for DMA, or other get_user_pages() usages. It is expected that the filesystem is holding locks to block the establishment of new mappings in this address_space. I.e. it expects to be able to run unmap_mapping_range() and subsequently not race mapping_mapped() becoming true.h](h)}(h**Parameters**h]j)}(hjOTh]h Parameters}(hjQThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMTubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjITubj)}(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)}(hjnTh]hstruct address_space *mapping}(hjpThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlTubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjhTubj)}(hhh]h)}(h3address space to scan for a page with ref count > 1h]h3address space to scan for a page with ref count > 1}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjhTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjeTubj)}(hG``loff_t start`` Starting offset. Page containing 'start' is included. h](j)}(h``loff_t start``h]j)}(hjTh]h loff_t start}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjTubj)}(hhh]h)}(h5Starting offset. Page containing 'start' is included.h]h9Starting offset. Page containing ‘start’ is included.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjeTubj)}(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)}(hjTh]h loff_t end}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjTubj)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjeTubeh}(h]h ]h"]h$]h&]uh1jhjITubh)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjITubh)}(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.}(hj2UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjITubh)}(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.}(hjAUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjITubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdax_iomap_rw (C function)c.dax_iomap_rwhNtauh1hhj ShhhNhNubh)}(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}(hjsUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjuUmodnameN classnameNjj)}j]j)}j dax_iomap_rwsbc.dax_iomap_rwasbuh1hhjlUhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlUhhhjUhMubj/)}(h dax_iomap_rwh]j5)}(hjUh]h dax_iomap_rw}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjlUhhhjUhMubj)}(hH(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)h](j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]jUc.dax_iomap_rwasbuh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj*)}(hj-h]h*}(hj VhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjUubj5)}(hiocbh]hiocb}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubj)}(hstruct iov_iter *iterh](j )}(hjzh]hstruct}(hj2VhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.Vubj)}(h h]h }(hj?VhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.Vubh)}(hhh]j5)}(hiov_iterh]hiov_iter}(hjPVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRVmodnameN classnameNjj)}j]jUc.dax_iomap_rwasbuh1hhj.Vubj)}(h h]h }(hjnVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.Vubj*)}(hj-h]h*}(hj|VhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj.Vubj5)}(hiterh]hiter}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.Vubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubj)}(hconst struct iomap_ops *opsh](j )}(hjUh]hconst}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj )}(hjzh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(hhh]j5)}(h iomap_opsh]h iomap_ops}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j]jUc.dax_iomap_rwasbuh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjVubj5)}(hopsh]hops}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubeh}(h]h ]h"]h$]h&]jLjMuh1jhjlUhhhjUhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhUhhhjUhMubah}(h]jcUah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjUhMhjeUhhubjc)}(hhh]h)}(hPerform I/O to a DAX fileh]hPerform I/O to a DAX file}(hj>WhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj;Whhubah}(h]h ]h"]h$]h&]uh1jbhjeUhhhjUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVWjjVWjjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``struct kiocb *iocb`` The control block for this I/O ``struct iov_iter *iter`` The addresses to do I/O from or to ``const struct iomap_ops *ops`` iomap ops passed from the file system **Description** This function performs read and write operations to directly mapped persistent memory. The callers needs to take care of read/write exclusion and evicting any page cache pages in the region under I/O.h](h)}(h**Parameters**h]j)}(hj`Wh]h Parameters}(hjbWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Wubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjZWubj)}(hhh](j)}(h6``struct kiocb *iocb`` The control block for this I/O h](j)}(h``struct kiocb *iocb``h]j)}(hjWh]hstruct kiocb *iocb}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Wubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjyWubj)}(hhh]h)}(hThe control block for this I/Oh]hThe control block for this I/O}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjyWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjvWubj)}(h=``struct iov_iter *iter`` The addresses to do I/O from or to h](j)}(h``struct iov_iter *iter``h]j)}(hjWh]hstruct iov_iter *iter}(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.chMhjWubj)}(hhh]h)}(h"The addresses to do I/O from or toh]h"The addresses to do I/O from or to}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjvWubj)}(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.chMhjWubj)}(hhh]h)}(h%iomap ops passed from the file systemh]h%iomap ops passed from the file system}(hj XhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjvWubeh}(h]h ]h"]h$]h&]uh1jhjZWubh)}(h**Description**h]j)}(hj,Xh]h Description}(hj.XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Xubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjZWubh)}(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.}(hjBXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjZWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdax_iomap_fault (C function)c.dax_iomap_faulthNtauh1hhj ShhhNhNubh)}(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}(hjtXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvXmodnameN classnameNjj)}j]j)}jdax_iomap_faultsbc.dax_iomap_faultasbuh1hhjmXhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmXhhhjXhMubj/)}(hdax_iomap_faulth]j5)}(hjXh]hdax_iomap_fault}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjmXhhhjXhMubj)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubh)}(hhh]j5)}(hvm_faulth]hvm_fault}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]jXc.dax_iomap_faultasbuh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj*)}(hj-h]h*}(hj YhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjXubj5)}(hvmfh]hvmf}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hunsigned int orderh](j)}(hunsignedh]hunsigned}(hj3YhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/Yubj)}(h h]h }(hjAYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/Yubj)}(hinth]hint}(hjOYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/Yubj)}(h h]h }(hj]YhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/Yubj5)}(horderh]horder}(hjkYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/Yubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hunsigned long *pfnph](j)}(hunsignedh]hunsigned}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj)}(hlongh]hlong}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj*)}(hj-h]h*}(hjYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYubj5)}(hpfnph]hpfnp}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hint *iomap_errph](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj*)}(hj-h]h*}(hjYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYubj5)}(h iomap_errph]h iomap_errp}(hj ZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hconst struct iomap_ops *opsh](j )}(hjUh]hconst}(hj$ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Zubj)}(h h]h }(hj1ZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Zubj )}(hjzh]hstruct}(hj?ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Zubj)}(h h]h }(hjLZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Zubh)}(hhh]j5)}(h iomap_opsh]h iomap_ops}(hj]ZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_ZmodnameN classnameNjj)}j]jXc.dax_iomap_faultasbuh1hhj Zubj)}(h h]h }(hj{ZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Zubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj Zubj5)}(hopsh]hops}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Zubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubeh}(h]h ]h"]h$]h&]jLjMuh1jhjmXhhhjXhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjiXhhhjXhMubah}(h]jdXah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjXhMhjfXhhubjc)}(hhh]h)}(h!handle a page fault on a DAX fileh]h!handle a page fault on a DAX file}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jbhjfXhhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhj ShNhNubj)}(hXH**Parameters** ``struct vm_fault *vmf`` The description of the fault ``unsigned int order`` Order of the page to fault in ``unsigned long *pfnp`` PFN to insert for synchronous faults if fsync is required ``int *iomap_errp`` Storage for detailed error code in case of error ``const struct iomap_ops *ops`` Iomap ops passed from the file system **Description** When a page fault occurs, filesystems may call this helper in their fault handler for DAX files. dax_iomap_fault() assumes the caller has done all the necessary locking for page fault to proceed successfully.h](h)}(h**Parameters**h]j)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjZubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hj[h]hstruct vm_fault *vmf}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjZubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjZubj)}(h5``unsigned int order`` Order of the page to fault in h](j)}(h``unsigned int order``h]j)}(hj:[h]hunsigned int order}(hj<[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8[ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj4[ubj)}(hhh]h)}(hOrder of the page to fault inh]hOrder of the page to fault in}(hjS[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjO[hMhjP[ubah}(h]h ]h"]h$]h&]uh1jhj4[ubeh}(h]h ]h"]h$]h&]uh1jhjO[hMhjZubj)}(hR``unsigned long *pfnp`` PFN to insert for synchronous faults if fsync is required h](j)}(h``unsigned long *pfnp``h]j)}(hjs[h]hunsigned long *pfnp}(hju[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq[ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjm[ubj)}(hhh]h)}(h9PFN to insert for synchronous faults if fsync is requiredh]h9PFN to insert for synchronous faults if fsync is required}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhjm[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjZubj)}(hE``int *iomap_errp`` Storage for detailed error code in case of error h](j)}(h``int *iomap_errp``h]j)}(hj[h]hint *iomap_errp}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj[ubj)}(hhh]h)}(h0Storage for detailed error code in case of errorh]h0Storage for detailed error code in case of error}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjZubj)}(hF``const struct iomap_ops *ops`` Iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hj[h]hconst struct iomap_ops *ops}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj[ubj)}(hhh]h)}(h%Iomap ops passed from the file systemh]h%Iomap ops passed from the file system}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjZubeh}(h]h ]h"]h$]h&]uh1jhjZubh)}(h**Description**h]j)}(hj \h]h Description}(hj"\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjZubh)}(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.}(hj6\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dax_finish_sync_fault (C function)c.dax_finish_sync_faulthNtauh1hhj ShhhNhNubh)}(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}(hjh\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hje\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjj\modnameN classnameNjj)}j]j)}jdax_finish_sync_faultsbc.dax_finish_sync_faultasbuh1hhja\hhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMYubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhja\hhhj\hMYubj/)}(hdax_finish_sync_faulth]j5)}(hj\h]hdax_finish_sync_fault}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hja\hhhj\hMYubj)}(h=(struct vm_fault *vmf, unsigned int order, unsigned long pfn)h](j)}(hstruct vm_fault *vmfh](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)}(hvm_faulth]hvm_fault}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]j\c.dax_finish_sync_faultasbuh1hhj\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)}(hvmfh]hvmf}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubj)}(hunsigned int orderh](j)}(hunsignedh]hunsigned}(hj']hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj#]ubj)}(h h]h }(hj5]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#]ubj)}(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)}(horderh]horder}(hj_]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubj)}(hunsigned long pfnh](j)}(hunsignedh]hunsigned}(hjx]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjt]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt]ubj)}(hlongh]hlong}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjt]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt]ubj5)}(hpfnh]hpfn}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjt]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubeh}(h]h ]h"]h$]h&]jLjMuh1jhja\hhhj\hMYubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj]\hhhj\hMYubah}(h]jX\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj\hMYhjZ\hhubjc)}(hhh]h)}(hfinish synchronous page faulth]hfinish synchronous page fault}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMYhj]hhubah}(h]h ]h"]h$]h&]uh1jbhjZ\hhhj\hMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj ShNhNubj)}(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)}(hj]h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM]hj]ubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hj^h]hstruct vm_fault *vmf}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMZhj^ubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hj4^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0^hMZhj1^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj0^hMZhj^ubj)}(h5``unsigned int order`` Order of entry to be inserted h](j)}(h``unsigned int order``h]j)}(hjT^h]hunsigned int order}(hjV^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR^ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM[hjN^ubj)}(hhh]h)}(hOrder of entry to be insertedh]hOrder of entry to be inserted}(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[hj^ubj)}(h$``unsigned long pfn`` PFN to insert h](j)}(h``unsigned long pfn``h]j)}(hj^h]hunsigned long pfn}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM\hj^ubj)}(hhh]h)}(h PFN to inserth]h PFN to insert}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hM\hj^ubah}(h]h ]h"]h$]h&]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&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM^hj]ubh)}(hThis function ensures that the file range touched by the page fault is stored persistently on the media and handles inserting of appropriate page table entry.h]hThis function ensures that the file range touched by the page fault is stored persistently on the media and handles inserting of appropriate page table entry.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM]hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$simple_rename_timestamp (C function)c.simple_rename_timestamphNtauh1hhj ShhhNhNubh)}(hhh](j)}(hvoid simple_rename_timestamp (struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h]j)}(hvoid simple_rename_timestamp(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h](j)}(hvoidh]hvoid}(hj _hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj _hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM&ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj _hhhj_hM&ubj/)}(hsimple_rename_timestamph]j5)}(hsimple_rename_timestamph]hsimple_rename_timestamp}(hj._hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj _hhhj_hM&ubj)}(hd(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h](j)}(hstruct inode *old_dirh](j )}(hjzh]hstruct}(hjJ_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF_ubj)}(h h]h }(hjW_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjF_ubh)}(hhh]j5)}(hinodeh]hinode}(hjh_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hje_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjj_modnameN classnameNjj)}j]j)}jj0_sbc.simple_rename_timestampasbuh1hhjF_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjF_ubj*)}(hj-h]h*}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjF_ubj5)}(hold_dirh]hold_dir}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjF_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjB_ubj)}(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}(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)}(h old_dentryh]h old_dentry}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjB_ubj)}(hstruct inode *new_dirh](j )}(hjzh]hstruct}(hj,`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(`ubj)}(h h]h }(hj9`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(`ubh)}(hhh]j5)}(hinodeh]hinode}(hjJ`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjG`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjL`modnameN classnameNjj)}j]j_c.simple_rename_timestampasbuh1hhj(`ubj)}(h h]h }(hjh`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(`ubj*)}(hj-h]h*}(hjv`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&]noemphjLjMuh1jhjB_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}(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)}(h new_dentryh]h new_dentry}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjB_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.update the various inode timestamps for renameh]h.update the various inode timestamps for rename}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM&hjahhubah}(h]h ]h"]h$]h&]uh1jbhj_hhhj_hM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5ajj5ajjjuh1hhhhj ShNhNubj)}(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?ah]h Parameters}(hjAahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=aubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM*hj9aubj)}(hhh](j)}(h/``struct inode *old_dir`` old parent directory h](j)}(h``struct inode *old_dir``h]j)}(hj^ah]hstruct inode *old_dir}(hj`ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\aubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM'hjXaubj)}(hhh]h)}(hold parent directoryh]hold parent directory}(hjwahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjsahM'hjtaubah}(h]h ]h"]h$]h&]uh1jhjXaubeh}(h]h ]h"]h$]h&]uh1jhjsahM'hjUaubj)}(h;``struct dentry *old_dentry`` dentry that is being renamed h](j)}(h``struct dentry *old_dentry``h]j)}(hjah]hstruct dentry *old_dentry}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM(hjaubj)}(hhh]h)}(hdentry that is being renamedh]hdentry that is being renamed}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM(hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM(hjUaubj)}(h/``struct inode *new_dir`` new parent directory h](j)}(h``struct inode *new_dir``h]j)}(hjah]hstruct inode *new_dir}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM)hjaubj)}(hhh]h)}(hnew parent directoryh]hnew parent directory}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM)hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM)hjUaubj)}(h0``struct dentry *new_dentry`` target for rename h](j)}(h``struct dentry *new_dentry``h]j)}(hj bh]hstruct dentry *new_dentry}(hj bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM*hjbubj)}(hhh]h)}(htarget for renameh]htarget for rename}(hj"bhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM*hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM*hjUaubeh}(h]h ]h"]h$]h&]uh1jhj9aubh)}(h**Description**h]j)}(hjDbh]h Description}(hjFbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBbubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM,hj9aubh)}(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 }(hjZbhhhNhNubj)}(h**old_dentry**h]h old_dentry}(hjbbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZbubh and }(hjZbhhhNhNubj)}(h**new_dentry**h]h new_dentry}(hjtbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZbubh$ (if any), have their ctime updated.}(hjZbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM+hj9aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_setattr (C function)c.simple_setattrhNtauh1hhj ShhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjbhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMsubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhjbhMsubj/)}(hsimple_setattrh]j5)}(hsimple_setattrh]hsimple_setattr}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjbhhhjbhMsubj)}(hE(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj cmodnameN classnameNjj)}j]j)}jjbsbc.simple_setattrasbuh1hhjbubj)}(h h]h }(hj(chhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj*)}(hj-h]h*}(hj6chhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbubj5)}(hidmaph]hidmap}(hjCchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj\chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXcubj)}(h h]h }(hjichhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXcubh)}(hhh]j5)}(hdentryh]hdentry}(hjzchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|cmodnameN classnameNjj)}j]j$cc.simple_setattrasbuh1hhjXcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXcubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjXcubj5)}(hdentryh]hdentry}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(hstruct iattr *iattrh](j )}(hjzh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubh)}(hhh]j5)}(hiattrh]hiattr}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]j$cc.simple_setattrasbuh1hhjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hiattrh]hiattr}(hj#dhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubeh}(h]h ]h"]h$]h&]jLjMuh1jhjbhhhjbhMsubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjbhhhjbhMsubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjbhMshjbhhubjc)}(hhh]h)}(hsetattr for simple filesystemh]hsetattr for simple filesystem}(hjMdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMshjJdhhubah}(h]h ]h"]h$]h&]uh1jbhjbhhhjbhMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjedjjedjjjuh1hhhhj ShNhNubj)}(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)}(hjodh]h Parameters}(hjqdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmdubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMwhjidubj)}(hhh](j)}(h6``struct mnt_idmap *idmap`` idmap of the target mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjdh]hstruct mnt_idmap *idmap}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMthjdubj)}(hhh]h)}(hidmap of the target mounth]hidmap of the target mount}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMthjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMthjdubj)}(h!``struct dentry *dentry`` dentry h](j)}(h``struct dentry *dentry``h]j)}(hjdh]hstruct dentry *dentry}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMuhjdubj)}(hhh]h)}(hdentryh]hdentry}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMuhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMuhjdubj)}(h(``struct iattr *iattr`` iattr structure h](j)}(h``struct iattr *iattr``h]j)}(hjeh]hstruct iattr *iattr}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMvhjdubj)}(hhh]h)}(hiattr structureh]hiattr structure}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMvhjeubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjehMvhjdubeh}(h]h ]h"]h$]h&]uh1jhjidubh)}(h**Description**h]j)}(hj;eh]h Description}(hj=ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9eubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMxhjidubh)}(h(Returns 0 on success, -error on failure.h]h(Returns 0 on success, -error on failure.}(hjQehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMwhjidubh)}(hdsimple_setattr is a simple ->setattr implementation without a proper implementation of size changes.h]hdsimple_setattr is a simple ->setattr implementation without a proper implementation of size changes.}(hj`ehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMyhjidubh)}(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.}(hjoehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM|hjidubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$simple_read_from_buffer (C function)c.simple_read_from_bufferhNtauh1hhj ShhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]j)}jsimple_read_from_buffersbc.simple_read_from_bufferasbuh1hhjehhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMVubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjehhhjehMVubj/)}(hsimple_read_from_bufferh]j5)}(hjeh]hsimple_read_from_buffer}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjehhhjehMVubj)}(hQ(void __user *to, size_t count, loff_t *ppos, const void *from, size_t available)h](j)}(hvoid __user *toh](j)}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh__user}(hjehhhNhNubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(htoh]hto}(hj+fhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjGfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjIfmodnameN classnameNjj)}j]jec.simple_read_from_bufferasbuh1hhj@fubj)}(h h]h }(hjefhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@fubj5)}(hcounth]hcount}(hjsfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@fubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]jec.simple_read_from_bufferasbuh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hpposh]hppos}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hconst void *fromh](j )}(hjUh]hconst}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj)}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjfubj)}(h h]h }(hj ghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hfromh]hfrom}(hj%ghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjAghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCgmodnameN classnameNjj)}j]jec.simple_read_from_bufferasbuh1hhj:gubj)}(h h]h }(hj_ghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:gubj5)}(h availableh]h available}(hjmghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:gubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubeh}(h]h ]h"]h$]h&]jLjMuh1jhjehhhjehMVubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjehhhjehMVubah}(h]jeah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjehMVhjehhubjc)}(hhh]h)}(h'copy data from the buffer to user spaceh]h'copy data from the buffer to user space}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMVhjghhubah}(h]h ]h"]h$]h&]uh1jbhjehhhjehMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgjjgjjjuh1hhhhj ShNhNubj)}(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)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMZhjgubj)}(hhh](j)}(h5``void __user *to`` the user space buffer to read to h](j)}(h``void __user *to``h]j)}(hjgh]hvoid __user *to}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMWhjgubj)}(hhh]h)}(h the user space buffer to read toh]h the user space buffer to read to}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMWhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMWhjgubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjhh]h size_t count}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMXhj hubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hj*hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hhMXhj'hubah}(h]h ]h"]h$]h&]uh1jhj hubeh}(h]h ]h"]h$]h&]uh1jhj&hhMXhjgubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hjJhh]h loff_t *ppos}(hjLhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMYhjDhubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjchhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hhMYhj`hubah}(h]h ]h"]h$]h&]uh1jhjDhubeh}(h]h ]h"]h$]h&]uh1jhj_hhMYhjgubj)}(h-``const void *from`` the buffer to read from h](j)}(h``const void *from``h]j)}(hjhh]hconst void *from}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMZhj}hubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMZhjhubah}(h]h ]h"]h$]h&]uh1jhj}hubeh}(h]h ]h"]h$]h&]uh1jhjhhMZhjgubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjhh]hsize_t available}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM[hjhubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhM[hjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhM[hjgubeh}(h]h ]h"]h$]h&]uh1jhjgubh)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM]hjgubh)}(hThe simple_read_from_buffer() function reads up to **count** bytes from the buffer **from** at offset **ppos** into the user space address starting at **to**.h](h3The simple_read_from_buffer() function reads up to }(hj ihhhNhNubj)}(h **count**h]hcount}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj iubh bytes from the buffer }(hj ihhhNhNubj)}(h**from**h]hfrom}(hj'ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj iubh at offset }(hj ihhhNhNubj)}(h**ppos**h]hppos}(hj9ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj iubh) into the user space address starting at }(hj ihhhNhNubj)}(h**to**h]hto}(hjKihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj iubh.}(hj ihhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM\hjgubh)}(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 }(hjdihhhNhNubj)}(h**ppos**h]hppos}(hjlihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdiubhD is advanced by this number, or negative value is returned on error.}(hjdihhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM_hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#simple_write_to_buffer (C function)c.simple_write_to_bufferhNtauh1hhj ShhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]j)}jsimple_write_to_buffersbc.simple_write_to_bufferasbuh1hhjihhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMyubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjihhhjihMyubj/)}(hsimple_write_to_bufferh]j5)}(hjih]hsimple_write_to_buffer}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjihhhjihMyubj)}(hQ(void *to, size_t available, loff_t *ppos, const void __user *from, size_t count)h](j)}(hvoid *toh](j)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjiubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(htoh]hto}(hj jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjjmodnameN classnameNjj)}j]jic.simple_write_to_bufferasbuh1hhj5jubj)}(h h]h }(hjZjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5jubj5)}(h availableh]h available}(hjhjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5jubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]jic.simple_write_to_bufferasbuh1hhj}jubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}jubj*)}(hj-h]h*}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}jubj5)}(hpposh]hppos}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}jubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(hconst void __user *fromh](j )}(hjUh]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj)}(hvoidh]hvoid}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubh__user}(hjjhhhNhNubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj5)}(hfromh]hfrom}(hj,khhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjHkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJkmodnameN classnameNjj)}j]jic.simple_write_to_bufferasbuh1hhjAkubj)}(h h]h }(hjfkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAkubj5)}(hcounth]hcount}(hjtkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubeh}(h]h ]h"]h$]h&]jLjMuh1jhjihhhjihMyubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjihhhjihMyubah}(h]jiah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjihMyhjihhubjc)}(hhh]h)}(h'copy data from user space to the bufferh]h'copy data from user space to the buffer}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMyhjkhhubah}(h]h ]h"]h$]h&]uh1jbhjihhhjihMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhj ShNhNubj)}(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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM}hjkubj)}(hhh](j)}(h$``void *to`` the buffer to write to h](j)}(h ``void *to``h]j)}(hjkh]hvoid *to}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMzhjkubj)}(hhh]h)}(hthe buffer to write toh]hthe buffer to write to}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMzhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMzhjkubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjlh]hsize_t available}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM{hjlubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hj1lhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-lhM{hj.lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj-lhM{hjkubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hjQlh]h loff_t *ppos}(hjSlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM|hjKlubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjflhM|hjglubah}(h]h ]h"]h$]h&]uh1jhjKlubeh}(h]h ]h"]h$]h&]uh1jhjflhM|hjkubj)}(h?``const void __user *from`` the user space buffer to read from h](j)}(h``const void __user *from``h]j)}(hjlh]hconst void __user *from}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM}hjlubj)}(hhh]h)}(h"the user space buffer to read fromh]h"the user space buffer to read from}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhM}hjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhM}hjkubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjlh]h size_t count}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM~hjlubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhM~hjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhM~hjkubeh}(h]h ]h"]h$]h&]uh1jhjkubh)}(h**Description**h]j)}(hjlh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjkubh)}(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 }(hjmhhhNhNubj)}(h **count**h]hcount}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh/ bytes from the user space address starting at }(hjmhhhNhNubj)}(h**from**h]hfrom}(hj.mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh into the buffer }(hjmhhhNhNubj)}(h**to**h]hto}(hj@mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh at offset }(hjmhhhNhNubj)}(h**ppos**h]hppos}(hjRmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjkubh)}(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 }(hjkmhhhNhNubj)}(h**ppos**h]hppos}(hjsmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkmubhD is advanced by this number, or negative value is returned on error.}(hjkmhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$memory_read_from_buffer (C function)c.memory_read_from_bufferhNtauh1hhj ShhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j]j)}jmemory_read_from_buffersbc.memory_read_from_bufferasbuh1hhjmhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmhhhjmhMubj/)}(hmemory_read_from_bufferh]j5)}(hjmh]hmemory_read_from_buffer}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjmhhhjmhMubj)}(hJ(void *to, size_t count, loff_t *ppos, const void *from, size_t available)h](j)}(hvoid *toh](j)}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjmubj)}(h h]h }(hj nhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjmubj5)}(htoh]hto}(hj'nhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjCnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEnmodnameN classnameNjj)}j]jmc.memory_read_from_bufferasbuh1hhjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubeh}(h]h ]h"]h$]h&]jLjMuh1jhjqhhhjqhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjqhhhjqhMubah}(h]jqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjqhMhjqhhubjc)}(hhh]h)}(h-generic export_operations->encode_fh functionh]h-generic export_operations->encode_fh function}(hjhshhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjeshhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjqhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhj ShNhNubj)}(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)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjsubj)}(hhh](j)}(h-``struct inode *inode`` the object to encode h](j)}(h``struct inode *inode``h]j)}(hjsh]hstruct inode *inode}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjsubj)}(hhh]h)}(hthe object to encodeh]hthe object to encode}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubj)}(h6``__u32 *fh`` where to store the file handle fragment h](j)}(h ``__u32 *fh``h]j)}(hjsh]h __u32 *fh}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjsubj)}(hhh]h)}(h'where to store the file handle fragmenth]h'where to store the file handle fragment}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubj)}(hA``int *max_len`` maximum length to store there (in 4 byte units) h](j)}(h``int *max_len``h]j)}(hjth]h int *max_len}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjtubj)}(hhh]h)}(h/maximum length to store there (in 4 byte units)h]h/maximum length to store there (in 4 byte units)}(hj4thhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0thMhj1tubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhj0thMhjsubj)}(h;``struct inode *parent`` parent directory inode, if wanted h](j)}(h``struct inode *parent``h]j)}(hjTth]hstruct inode *parent}(hjVthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjNtubj)}(hhh]h)}(h!parent directory inode, if wantedh]h!parent directory inode, if wanted}(hjmthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjithMhjjtubah}(h]h ]h"]h$]h&]uh1jhjNtubeh}(h]h ]h"]h$]h&]uh1jhjithMhjsubeh}(h]h ]h"]h$]h&]uh1jhjsubh)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjsubh)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_fh_to_dentry (C function)c.generic_fh_to_dentryhNtauh1hhj ShhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjthMubh)}(hhh]j5)}(hdentryh]hdentry}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]j)}jgeneric_fh_to_dentrysbc.generic_fh_to_dentryasbuh1hhjthhhjthMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjthMubj*)}(hj-h]h*}(hj"uhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjthhhjthMubj/)}(hgeneric_fh_to_dentryh]j5)}(hjuh]hgeneric_fh_to_dentry}(hj3uhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/uubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjthhhjthMubj)}(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}(hjNuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJuubj)}(h h]h }(hj[uhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJuubh)}(hhh]j5)}(h super_blockh]h super_block}(hjluhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnumodnameN classnameNjj)}j]juc.generic_fh_to_dentryasbuh1hhjJuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJuubj*)}(hj-h]h*}(hjuhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJuubj5)}(hsbh]hsb}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFuubj)}(hstruct fid *fidh](j )}(hjzh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hfidh]hfid}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]juc.generic_fh_to_dentryasbuh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuubj5)}(hfidh]hfid}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFuubj)}(h int fh_lenh](j)}(hinth]hint}(hj.vhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj*vubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubh)}(hhh]j5)}(h super_blockh]h super_block}(hjOwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQwmodnameN classnameNjj)}j]juc.generic_fh_to_dentryasbuh1hhjvubj)}(h h]h }(hjmwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj*)}(hj-h]h*}(hj{whhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj5)}(hsbh]hsb}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubj*)}(hjh]h,}(hjwhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubh)}(hhh]j5)}(hu64h]hu64}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]juc.generic_fh_to_dentryasbuh1hhjvubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj5)}(hinoh]hino}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubj*)}(hjh]h,}(hjwhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubh)}(hhh]j5)}(hu32h]hu32}(hj xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]juc.generic_fh_to_dentryasbuh1hhjvubj)}(h h]h }(hj*xhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj5)}(hgenh]hgen}(hj8xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubj*)}(hjDh]h)}(hjFxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFuubeh}(h]h ]h"]h$]h&]jLjMuh1jhjthhhjthMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhjthMubah}(h]jtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthMhjthhubjc)}(hhh]h)}(h4generic helper for the fh_to_dentry export operationh]h4generic helper for the fh_to_dentry export operation}(hjoxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjlxhhubah}(h]h ]h"]h$]h&]uh1jbhjthhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhj ShNhNubj)}(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)}(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:83: ./fs/libfs.chMhjxubj)}(hhh](j)}(hJ``struct super_block *sb`` filesystem to do the file handle conversion on h](j)}(h``struct super_block *sb``h]j)}(hjxh]hstruct super_block *sb}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjxubj)}(hhh]h)}(h.filesystem to do the file handle conversion onh]h.filesystem to do the file handle conversion on}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjxubj)}(h+``struct fid *fid`` file handle to convert h](j)}(h``struct fid *fid``h]j)}(hjxh]hstruct fid *fid}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjxubj)}(hhh]h)}(hfile handle to converth]hfile handle to convert}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjxubj)}(h2``int fh_len`` length of the file handle in bytes h](j)}(h``int fh_len``h]j)}(hj"yh]h int fh_len}(hj$yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj yubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjyubj)}(hhh]h)}(h"length of the file handle in bytesh]h"length of the file handle in bytes}(hj;yhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7yhMhj8yubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhj7yhMhjxubj)}(h$``int fh_type`` type of file handle h](j)}(h``int fh_type``h]j)}(hj[yh]h int fh_type}(hj]yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjUyubj)}(hhh]h)}(htype of file handleh]htype of file handle}(hjtyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjpyhMhjqyubah}(h]h ]h"]h$]h&]uh1jhjUyubeh}(h]h ]h"]h$]h&]uh1jhjpyhMhjxubj)}(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)}(hjyh]hEstruct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjyubj)}(hhh]h)}(h%filesystem callback to retrieve inodeh]h%filesystem callback to retrieve inode}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjxubeh}(h]h ]h"]h$]h&]uh1jhjxubh)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjxubh)}(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 }(hjyhhhNhNubj)}(h**fid**h]hfid}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubhJ as long as it has one of the well-known Linux filehandle types and calls }(hjyhhhNhNubj)}(h **get_inode**h]h get_inode}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubhI on it to retrieve the inode for the object specified in the file handle.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_fh_to_parent (C function)c.generic_fh_to_parenthNtauh1hhj ShhhNhNubh)}(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}(hj8zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4zhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjFzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4zhhhjEzhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjWzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYzmodnameN classnameNjj)}j]j)}jgeneric_fh_to_parentsbc.generic_fh_to_parentasbuh1hhj4zhhhjEzhMubj)}(h h]h }(hjxzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4zhhhjEzhMubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4zhhhjEzhMubj/)}(hgeneric_fh_to_parenth]j5)}(hjuzh]hgeneric_fh_to_parent}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4zhhhjEzhMubj)}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubh)}(hhh]j5)}(h super_blockh]h super_block}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j]jszc.generic_fh_to_parentasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzubj5)}(hsbh]hsb}(hj {hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hstruct fid *fidh](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)}(hfidh]hfid}(hj@{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj={ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjB{modnameN classnameNjj)}j]jszc.generic_fh_to_parentasbuh1hhj{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)}(hfidh]hfid}(hjy{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(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}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(h int fh_typeh](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_typeh]hfh_type}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hDstruct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen)h](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]jszc.generic_fh_to_parentasbuh1hhj{ubj)}(h h]h }(hj8|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj*)}(hj-h]h*}(hjF|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj*)}(hjh]h(}(hjS|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj*)}(hj-h]h*}(hj`|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj5)}(h get_inodeh]h get_inode}(hjm|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubj*)}(hjDh]h)}(hj{|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj*)}(hjh]h(}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{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 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]jszc.generic_fh_to_parentasbuh1hhj{ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj5)}(hsbh]hsb}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubj*)}(hjh]h,}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubh)}(hhh]j5)}(hu64h]hu64}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]jszc.generic_fh_to_parentasbuh1hhj{ubj)}(h h]h }(hj6}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj5)}(hinoh]hino}(hjD}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubj*)}(hjh]h,}(hjR}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj)}(h h]h }(hj_}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubh)}(hhh]j5)}(hu32h]hu32}(hjp}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjm}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjr}modnameN classnameNjj)}j]jszc.generic_fh_to_parentasbuh1hhj{ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj5)}(hgenh]hgen}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubj*)}(hjDh]h)}(hj}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubeh}(h]h ]h"]h$]h&]jLjMuh1jhj4zhhhjEzhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0zhhhjEzhMubah}(h]j+zah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjEzhMhj-zhhubjc)}(hhh]h)}(h4generic helper for the fh_to_parent export operationh]h4generic helper for the fh_to_parent export operation}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jbhj-zhhhjEzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhj ShNhNubj)}(hXj**Parameters** ``struct super_block *sb`` filesystem to do the file handle conversion on ``struct fid *fid`` file handle to convert ``int fh_len`` length of the file handle in bytes ``int fh_type`` type of file handle ``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)`` filesystem callback to retrieve inode **Description** This function decodes **fid** as long as it has one of the well-known Linux filehandle types and calls **get_inode** on it to retrieve the inode for the _parent_ object specified in the file handle if it is specified in the file handle, or NULL otherwise.h](h)}(h**Parameters**h]j)}(hj}h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]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)}(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:83: ./fs/libfs.chMhj~ubj)}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj)~hMhj ~ubj)}(h+``struct fid *fid`` file handle to convert h](j)}(h``struct fid *fid``h]j)}(hjM~h]hstruct fid *fid}(hjO~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjG~ubj)}(hhh]h)}(hfile handle to converth]hfile handle to convert}(hjf~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjb~hMhjc~ubah}(h]h ]h"]h$]h&]uh1jhjG~ubeh}(h]h ]h"]h$]h&]uh1jhjb~hMhj ~ubj)}(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.chMhj~ubj)}(hhh]h)}(h"length of the file handle in bytesh]h"length of the file handle in bytes}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj ~ubj)}(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.chMhj~ubj)}(hhh]h)}(htype of file handleh]htype of file handle}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj ~ubj)}(hp``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)`` filesystem callback to retrieve inode h](j)}(hI``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)``h]j)}(hj~h]hEstruct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)}(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%filesystem callback to retrieve inodeh]h%filesystem callback to retrieve inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhjubah}(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)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 _parent_ object specified in the file handle if it is specified in the file handle, or NULL otherwise.h](hThis function decodes }(hjIhhhNhNubj)}(h**fid**h]hfid}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubhJ as long as it has one of the well-known Linux filehandle types and calls }(hjIhhhNhNubj)}(h **get_inode**h]h get_inode}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh 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.}(hjIhhhNhNubeh}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__generic_file_fsync (C function)c.__generic_file_fsynchNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h__generic_file_fsynch]j5)}(h__generic_file_fsynch]h__generic_file_fsync}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.__generic_file_fsyncasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t starth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]jc.__generic_file_fsyncasbuh1hhjGubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj5)}(hstarth]hstart}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t endh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.__generic_file_fsyncasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hendh]hend}(hj€hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int datasynch](j)}(hinth]hint}(hjۀhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj׀ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj׀ubj5)}(hdatasynch]hdatasync}(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)}(h3generic fsync implementation for simple filesystemsh]h3generic fsync implementation for simple filesystems}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj ShNhNubj)}(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)}(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:83: ./fs/libfs.chMhj=ubj)}(hhh](j)}(h*``struct file *file`` file to synchronize h](j)}(h``struct file *file``h]j)}(hjbh]hstruct file *file}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj\ubj)}(hhh]h)}(hfile to synchronizeh]hfile to synchronize}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubj)}(h'``loff_t start`` start offset in bytes h](j)}(h``loff_t start``h]j)}(hjh]h loff_t start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(hstart offset in bytesh]hstart offset in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjYubj)}(h/``loff_t end`` end offset in bytes (inclusive) h](j)}(h``loff_t end``h]j)}(hjԁh]h loff_t end}(hjցhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҁubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj΁ubj)}(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&]uh1jhj΁ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjYubj)}(h=``int datasync`` only synchronize essential metadata if true h](j)}(h``int datasync``h]j)}(hj h]h int datasync}(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.chMhjubj)}(hhh]h)}(h+only synchronize essential metadata if trueh]h+only synchronize essential metadata if true}(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)}(hjHh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj=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.}(hj^hhhNhNubah}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_file_fsync (C function)c.generic_file_fsynchNtauh1hhj ShhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hgeneric_file_fsynch]j5)}(hgeneric_file_fsynch]hgeneric_file_fsync}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjʂhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƂubj)}(h h]h }(hjׂhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƂubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.generic_file_fsyncasbuh1hhjƂ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}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƂubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj‚ubj)}(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 reftargetjAmodnameN classnameNjj)}j]jc.generic_file_fsyncasbuh1hhj8ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj5)}(hstarth]hstart}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj‚ubj)}(h loff_t endh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.generic_file_fsyncasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hendh]hend}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj‚ubj)}(h int datasynch](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)}(hdatasynch]hdatasync}(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>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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhj ShNhNubj)}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM!hj.ubj)}(hhh](j)}(h*``struct file *file`` file to synchronize h](j)}(h``struct file *file``h]j)}(hjSh]hstruct file *file}(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)}(hfile to synchronizeh]hfile to synchronize}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubj)}(h'``loff_t start`` start offset in bytes h](j)}(h``loff_t start``h]j)}(hjh]h loff_t start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM hjubj)}(hhh]h)}(hstart offset in bytesh]hstart offset in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjJubj)}(h/``loff_t end`` end offset in bytes (inclusive) h](j)}(h``loff_t end``h]j)}(hjńh]h loff_t end}(hjDŽ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!hjubj)}(hhh]h)}(hend offset in bytes (inclusive)h]hend offset in bytes (inclusive)}(hjބhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjڄhM!hjۄubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڄhM!hjJubj)}(h<``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.chM#hjubj)}(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.chM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&generic_check_addressable (C function)c.generic_check_addressablehNtauh1hhj ShhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjThhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM4ubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjfhM4ubj/)}(hgeneric_check_addressableh]j5)}(hgeneric_check_addressableh]hgeneric_check_addressable}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjfhM4ubj)}(h)(unsigned blocksize_bits, u64 num_blocks)h](j)}(hunsigned blocksize_bitsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hblocksize_bitsh]hblocksize_bits}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hu64 num_blocksh](h)}(hhh]j5)}(hu64h]hu64}(hjͅhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjʅubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjυmodnameN classnameNjj)}j]j)}jj{sbc.generic_check_addressableasbuh1hhjƅubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƅubj5)}(h num_blocksh]h num_blocks}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƅubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjThhhjfhM4ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjfhM4ubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjfhM4hjMhhubjc)}(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.chM4hj"hhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjfhM4ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhj ShNhNubj)}(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)}(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:83: ./fs/libfs.chM8hjAubj)}(hhh](j)}(h:``unsigned blocksize_bits`` log of file system block size h](j)}(h``unsigned blocksize_bits``h]j)}(hjfh]hunsigned blocksize_bits}(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.chM5hj`ubj)}(hhh]h)}(hlog of file system block sizeh]hlog of file system block size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM5hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM5hj]ubj)}(h3``u64 num_blocks`` number of blocks in file system h](j)}(h``u64 num_blocks``h]j)}(hjh]hu64 num_blocks}(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)}(hnumber of blocks in file systemh]hnumber of blocks in file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hj]ubeh}(h]h ]h"]h$]h&]uh1jhjAubh)}(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.chM8hjAubh)}(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.chM7hjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_nosetlease (C function)c.simple_nosetleasehNtauh1hhj ShhhNhNubh)}(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}(hj1hhhNhNubah}(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}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjTsbc.simple_nosetleaseasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj5)}(hfilph]hfilp}(hjLJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(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&]noemphjLjMuh1jhjfubj)}(hstruct file_lease **flph](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 file_leaseh]h file_lease}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]jc.simple_nosetleaseasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hflph]hflp}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(h void **privh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hprivh]hpriv}(hjȈhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubeh}(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&]jjjj jj jjjuh1hhhhj ShNhNubj)}(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)}(hj3h]hstruct file *filp}(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 file pointerh]h file pointer}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj*ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hjlh]hint arg}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjfubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhj*ubj)}(h=``struct file_lease **flp`` new lease supplied for insertion h](j)}(h``struct file_lease **flp``h]j)}(hjh]hstruct file_lease **flp}(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 new lease supplied for insertionh]h new lease supplied for insertion}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj*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.chMhj؉ubj)}(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&]uh1jhj؉ubeh}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_get_link (C function)c.simple_get_linkhNtauh1hhj ShhhNhNubh)}(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}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZhhhjkhMubj)}(hcharh]hchar}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjZhhhjkhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZhhhjkhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZhhhjkhMubj/)}(hsimple_get_linkh]j5)}(hsimple_get_linkh]hsimple_get_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjZhhhjkhMubj)}(hG(struct dentry *dentry, struct inode *inode, struct delayed_call *done)h](j)}(hstruct dentry *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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjފubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.simple_get_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubh)}(hhh]j5)}(hinodeh]hinode}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]jc.simple_get_linkasbuh1hhj1ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj1ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct delayed_call *doneh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h delayed_callh]h delayed_call}(hjËhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjŋmodnameN classnameNjj)}j]jc.simple_get_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdoneh]hdone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjZhhhjkhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjVhhhjkhMubah}(h]jQah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjkhMhjShhubjc)}(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&]uh1jbhjShhhjkhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj ShNhNubj)}(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)}(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:83: ./fs/libfs.chMhjBubj)}(hhh](j)}(h(``struct dentry *dentry`` not used here h](j)}(h``struct dentry *dentry``h]j)}(hjgh]hstruct dentry *dentry}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjaubj)}(hhh]h)}(h not used hereh]h not used here}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(h*``struct inode *inode`` the symlink inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(hthe symlink inodeh]hthe symlink inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubj)}(h,``struct delayed_call *done`` not used here h](j)}(h``struct delayed_call *done``h]j)}(hjٌh]hstruct delayed_call *done}(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 not used hereh]h not used here}(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&]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:83: ./fs/libfs.chMhjBubh)}(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.chMhjBubh)}(h **Return**h]j)}(hj;h]hReturn}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjBubh)}(hthe symlink targeth]hthe symlink target}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_ci_d_compare (C function)c.generic_ci_d_comparehNtauh1hhj ShhhNhNubh)}(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&]uh1jhj|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|hhhjhMubj/)}(hgeneric_ci_d_compareh]j5)}(hgeneric_ci_d_compareh]hgeneric_ci_d_compare}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhjhMubj)}(hY(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name)h](j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjʍhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj؍hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.generic_ci_d_compareasbuh1hhjubj)}(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}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj)}(hinth]hint}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjFubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *strh](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)}(hstrh]hstr}(hjߎhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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 }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hqstrh]hqstr}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]jc.generic_ci_d_compareasbuh1hhjubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj]hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj|hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjxhhhjhMubah}(h]jsah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjuhhubjc)}(hhh]h)}(hhjgubj)}(hhh](j)}(h?``const struct dentry *dentry`` dentry of the parent directory h](j)}(h``const struct dentry *dentry``h]j)}(hjh]hconst struct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM;hjubj)}(hhh]h)}(hdentry of the parent directoryh]hdentry of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubj)}(h?``struct qstr *str`` qstr of name whose hash we should fill in h](j)}(h``struct qstr *str``h]j)}(hjŒh]hstruct qstr *str}(hjǒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÒubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM<hjubj)}(hhh]h)}(h)qstr of name whose hash we should fill inh]h)qstr of name whose hash we should fill in}(hjޒhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjڒhM<hjےubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڒhM<hjubeh}(h]h ]h"]h$]h&]uh1jhjgubh)}(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>hjgubh)}(h;0 if hash was successful or unchanged, and -EINVAL on errorh]h;0 if hash was successful or unchanged, and -EINVAL on error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM>hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_ci_match (C function)c.generic_ci_matchhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hint generic_ci_match (const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h]j)}(hint generic_ci_match(const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h](j)}(hinth]hint}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjAhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMZubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAhhhjShMZubj/)}(hgeneric_ci_matchh]j5)}(hgeneric_ci_matchh]hgeneric_ci_match}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjAhhhjShMZubj)}(hy(const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h](j)}(hconst struct inode *parenth](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j 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)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjhsbc.generic_ci_matchasbuh1hhj~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)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hconst struct qstr *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hqstrh]hqstr}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]jדc.generic_ci_matchasbuh1hhj 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)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hconst struct qstr *folded_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 }(hj”hhhNhNubah}(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]jדc.generic_ci_matchasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h folded_nameh]h folded_name}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hconst u8 *de_nameh](j )}(hjUh]hconst}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubh)}(hhh]j5)}(hu8h]hu8}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]jדc.generic_ci_matchasbuh1hhj!ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj!ubj5)}(hde_nameh]hde_name}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hu32 de_name_lenh](h)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jדc.generic_ci_matchasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h de_name_lenh]h de_name_len}(hjĕhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubeh}(h]h ]h"]h$]h&]jLjMuh1jhjAhhhjShMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=hhhjShMZubah}(h]j8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjShMZhj:hhubjc)}(hhh]h)}(hMatch a name (case-insensitively) with a dirent. This is a filesystem helper for comparison with directory entries. generic_ci_d_compare should be used in VFS' ->d_compare instead.h]hMatch a name (case-insensitively) with a dirent. This is a filesystem helper for comparison with directory entries. generic_ci_d_compare should be used in VFS’ ->d_compare instead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jbhj:hhhjShMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chM^hj ubj)}(hhh](j)}(hR``const struct inode *parent`` Inode of the parent of the dirent under comparison h](j)}(h``const struct inode *parent``h]j)}(hj/h]hconst struct inode *parent}(hj1hhhNhNubah}(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)}(h2Inode of the parent of the dirent under comparisonh]h2Inode of the parent of the dirent under comparison}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhM^hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM^hj&ubj)}(h/``const struct qstr *name`` name under lookup. h](j)}(h``const struct qstr *name``h]j)}(hjhh]hconst struct qstr *name}(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.chM_hjbubj)}(hhh]h)}(hname under lookup.h]hname under lookup.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM_hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM_hj&ubj)}(hI``const struct qstr *folded_name`` Optional pre-folded name under lookup h](j)}(h"``const struct qstr *folded_name``h]j)}(hjh]hconst struct qstr *folded_name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM`hjubj)}(hhh]h)}(h%Optional pre-folded name under lookuph]h%Optional pre-folded name under lookup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hj&ubj)}(h#``const u8 *de_name`` Dirent name. h](j)}(h``const u8 *de_name``h]j)}(hjږh]hconst u8 *de_name}(hjܖhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjؖubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMahjԖubj)}(hhh]h)}(h Dirent name.h]h Dirent name.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjԖubeh}(h]h ]h"]h$]h&]uh1jhjhMahj&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.chMbhj ubj)}(hhh]h)}(hdirent name length.h]hdirent name length.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMbhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMbhj&ubeh}(h]h ]h"]h$]h&]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.chMdhj ubh)}(hTest whether a case-insensitive directory entry matches the filename being searched. If **folded_name** is provided, it is used instead of recalculating the casefold of **name**.h](hYTest whether a case-insensitive directory entry matches the filename being searched. If }(hjdhhhNhNubj)}(h**folded_name**h]h folded_name}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubhB is provided, it is used instead of recalculating the casefold of }(hjdhhhNhNubj)}(h**name**h]hname}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMchj 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.chMghj ubh)}(hK> 0 if the directory entry matches, 0 if it doesn't match, or < 0 on error.h]hM> 0 if the directory entry matches, 0 if it doesn’t match, or < 0 on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_set_sb_d_ops (C function)c.generic_set_sb_d_opshNtauh1hhj ShhhNhNubh)}(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&]uh1jhjڗ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ڗhhhjhMubj/)}(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.hjڗhhhjhMubj)}(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 }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]j)}jjsbc.generic_set_sb_d_opsasbuh1hhjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(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)}(hYhelper for choosing the set of filesystem-wide dentry operations for the enabled featuresh]hYhelper for choosing the set of filesystem-wide dentry operations for the enabled features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjӗhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(hjh]h Parameters}(hj˜hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]j)}(h7``struct super_block *sb`` superblock to be configured h](j)}(h``struct super_block *sb``h]j)}(hjߘh]hstruct super_block *sb}(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.chMhj٘ubj)}(hhh]h)}(hsuperblock to be configuredh]hsuperblock to be configured}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj٘ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj֘ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubh)}(hX&Filesystems supporting casefolding and/or fscrypt can call this helper at mount-time to configure default dentry_operations to the best set of dentry operations required for the enabled features. The helper must be called after these have been configured, but before the root dentry is created.h]hX&Filesystems supporting casefolding and/or fscrypt can call this helper at mount-time to configure default dentry_operations to the best set of dentry operations required for the enabled features. The helper must be called after these have been configured, but before the root dentry is created.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%inode_maybe_inc_iversion (C function)c.inode_maybe_inc_iversionhNtauh1hhj ShhhNhNubh)}(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}(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 }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[hhhjlhMubj/)}(hinode_maybe_inc_iversionh]j5)}(hinode_maybe_inc_iversionh]hinode_maybe_inc_iversion}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj[hhhjlhMubj)}(h!(struct inode *inode, bool force)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.inode_maybe_inc_iversionasbuh1hhjubj)}(h h]h }(hjٙhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h bool forceh](j)}(hjh]hbool}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hforceh]hforce}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj[hhhjlhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjWhhhjlhMubah}(h]jRah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjlhMhjThhubjc)}(hhh]h)}(hincrements i_versionh]hincrements i_version}(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&]uh1jbhjThhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(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)}(hH``struct inode *inode`` inode with the i_version that should be updated h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(h/inode with the i_version that should be updatedh]h/inode with the i_version that should be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``bool force`` increment the counter even if it's not necessary? h](j)}(h``bool force``h]j)}(hj̚h]h bool force}(hjΚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʚubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjƚubj)}(hhh]h)}(h1increment the counter even if it's not necessary?h]h3increment the counter even if it’s not necessary?}(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&]uh1jhjnubh)}(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:83: ./fs/libfs.chMhjnubh)}(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.chMhjnubh)}(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.chMhjnubh)}(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.chMhjnubh)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!inode_query_iversion (C function)c.inode_query_iversionhNtauh1hhj ShhhNhNubh)}(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}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNjj)}j]j)}jinode_query_iversionsbc.inode_query_iversionasbuh1hhjuhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuhhhjhMubj/)}(hinode_query_iversionh]j5)}(hjh]hinode_query_iversion}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjuhhhjhMubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.inode_query_iversionasbuh1hhjǛ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&]noemphjLjMuh1jhjÛubah}(h]h ]h"]h$]h&]jLjMuh1jhjuhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjqhhhjhMubah}(h]jlah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjnhhubjc)}(hhh]h)}(hread i_version for later useh]hread i_version for later use}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jbhjnhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhj ShNhNubj)}(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)}(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:83: ./fs/libfs.chMhjhubj)}(hhh]j)}(hB``struct inode *inode`` inode from which i_version should be read h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(h)inode from which i_version should be readh]h)inode from which i_version should be read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubh)}(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.chMhjhubh)}(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.chMhjhubh)}(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.chMhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!simple_inode_init_ts (C function)c.simple_inode_init_tshNtauh1hhj ShhhNhNubh)}(hhh](j)}(h(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(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.posix_acl_chmodasbuh1hhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjThhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *dentryh](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]jBc.posix_acl_chmodasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj*)}(hj-h]h*}(hjğhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj5)}(hdentryh]hdentry}(hjџhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(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]jBc.posix_acl_chmodasbuh1hhjubj)}(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&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjǞhhhjٞhMOubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjÞhhhjٞhMOubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjٞhMOhjhhubjc)}(hhh]h)}(hchmod a posix aclh]hchmod a posix acl}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMOhj@hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjٞhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhj ShNhNubj)}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMShj_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)}(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.chMQhj~ubj)}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMQhj{ubj)}(h9``struct dentry *dentry`` dentry to check permissions on h](j)}(h``struct dentry *dentry``h]j)}(hjϠh]hstruct dentry *dentry}(hjѠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͠ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMRhjɠubj)}(hhh]h)}(hdentry to check permissions onh]hdentry to check permissions on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjɠubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj{ubj)}(h+``umode_t mode`` the new mode of **inode** h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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 }(hj!hhhNhNubj)}(h **inode**h]hinode}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShj{ubeh}(h]h ]h"]h$]h&]uh1jhj_ubh)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMUhj_ubh)}(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 }(hjghhhNhNubj)}(h **idmap**h]hidmap}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubhB. This function will then take care to map the inode according to }(hjghhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjghhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMThj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"posix_acl_update_mode (C function)c.posix_acl_update_modehNtauh1hhj ShhhNhNubh)}(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}(hj̡hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjȡhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMubj)}(h h]h }(hjۡhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȡhhhjڡhMubj/)}(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.hjȡhhhjڡhMubj)}(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 }(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.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjUhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjbhhhNhNubah}(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 hjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jCc.posix_acl_update_modeasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj*)}(hj-h]h*}(hjŢhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwubj5)}(hinodeh]hinode}(hjҢhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(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]jCc.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(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}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubh)}(hhh]j5)}(h posix_aclh]h posix_acl}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj)}j]jCc.posix_acl_update_modeasbuh1hhj<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<ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj<ubj5)}(haclh]hacl}(hjhhhNhNubah}(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]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjڡhMhjhhubjc)}(hhh]h)}(hupdate mode in set_aclh]hupdate mode in set_acl}(hjΣhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjˣhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjڡhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``struct inode *inode`` target inode ``umode_t *mode_p`` mode (pointer) for update ``struct posix_acl **acl`` acl pointer **Description** Update the file mode when setting an ACL: compute the new file permission bits based on the ACL. In addition, if the ACL is equivalent to the new file mode, set ***acl** to NULL to indicate that no ACL should be set. As with chmod, clear the setgid bit if the caller is not in the owning group or capable of CAP_FSETID (see inode_change_ok). If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**. Called from set_acl inode operations.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(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}(hj0hhhNhNubah}(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)}(hjZh]hstruct inode *inode}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjTubj)}(hhh]h)}(h target inodeh]h target inode}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubj)}(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)}(hj̤h]hstruct posix_acl **acl}(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 acl pointerh]h acl pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjƤubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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 }(hjhhhNhNubj)}(h***acl**h]h*acl}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ to NULL to indicate that no ACL should be set.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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).}(hj>hhhNhNubah}(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 }(hjMhhhNhNubj)}(h **idmap**h]hidmap}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubhB. This function will then take care to map the inode according to }(hjMhhhNhNubj)}(h **idmap**h]hidmap}(hjghhhNhNubah}(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}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh.}(hjMhhhNhNubeh}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!posix_acl_from_xattr (C function)c.posix_acl_from_xattrhNtauh1hhj ShhhNhNubh)}(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 }(hjϥhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjΥhMubh)}(hhh]j5)}(h posix_aclh]h posix_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjݥubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jposix_acl_from_xattrsbc.posix_acl_from_xattrasbuh1hhjhhhjΥ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/)}(hposix_acl_from_xattrh]j5)}(hjh]hposix_acl_from_xattr}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjΥhMubj)}(h?(struct user_namespace *userns, const void *value, size_t size)h](j)}(hstruct user_namespace *usernsh](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)}(huser_namespaceh]huser_namespace}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj)}j]jc.posix_acl_from_xattrasbuh1hhj7ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(husernsh]huserns}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubj)}(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}(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)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubj)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.posix_acl_from_xattrasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsizeh]hsize}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjΥhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjΥhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjΥhMhjhhubjc)}(hhh]h)}(h3convert POSIX ACLs from backing store to VFS formath]h3convert POSIX ACLs from backing store to VFS format}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj^hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjΥhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhj ShNhNubj)}(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.chMhj}ubj)}(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)}(hjۧh]hconst void *value}(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%the uapi representation of POSIX ACLsh]h%the uapi representation of POSIX ACLs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjէubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``size_t size`` the size of **void** h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(hthe size of **void**h](h the size of }(hj-hhhNhNubj)}(h**void**h]hvoid}(hj5hhhNhNubah}(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)hMhjubeh}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj}ubh)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj}ubh)}(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.chMhj}ubh)}(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.chMhj}ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj}ubh)}(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.}(hjʨhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_set_acl (C function) c.vfs_set_aclhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hnint vfs_set_acl (struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h]j)}(hmint vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM5ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM5ubj/)}(h vfs_set_aclh]j5)}(h vfs_set_aclh]h vfs_set_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM5ubj)}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(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)}jjsb c.vfs_set_aclasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(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}(hjƩhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjéubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȩmodnameN classnameNjj)}j]jp c.vfs_set_aclasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubj)}(hconst char *acl_nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjOhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hacl_nameh]hacl_name}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubj)}(hstruct posix_acl *kaclh](j )}(hjzh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubh)}(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]jp c.vfs_set_aclasbuh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjqubj5)}(hkaclh]hkacl}(hj̪hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM5ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM5ubah}(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.chM5hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM5ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *dentry`` the dentry based on which to set the posix acls ``const char *acl_name`` the name of the posix acl ``struct posix_acl *kacl`` the posix acls in the appropriate VFS format **Description** This function sets **kacl**. The caller must all posix_acl_release() on **kacl** afterwards. **Return** On success 0, on error negative errno.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM9hjubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj7h]hstruct mnt_idmap *idmap}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM6hj1ubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhM6hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM6hj.ubj)}(hJ``struct dentry *dentry`` the dentry based on which to set the posix acls h](j)}(h``struct dentry *dentry``h]j)}(hjph]hstruct dentry *dentry}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM7hjjubj)}(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&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hj.ubj)}(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}(hj«hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hj.ubj)}(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.chM9hjܫubj)}(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&]uh1jhjܫubeh}(h]h ]h"]h$]h&]uh1jhjhM9hj.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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM;hjubh)}(h\This function sets **kacl**. The caller must all posix_acl_release() on **kacl** afterwards.h](hThis function sets }(hj3hhhNhNubj)}(h**kacl**h]hkacl}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh-. The caller must all posix_acl_release() on }(hj3hhhNhNubj)}(h**kacl**h]hkacl}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh afterwards.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM:hjubh)}(h **Return**h]j)}(hjhh]hReturn}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM=hjubh)}(h&On success 0, on error negative errno.h]h&On success 0, on error negative errno.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM>hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_get_acl (C function) c.vfs_get_aclhNtauh1hhj ShhhNhNubh)}(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}(hj̬hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɬubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjάmodnameN 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&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]j c.vfs_get_aclasbuh1hhj#ubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj*)}(hj-h]h*}(hjqhhhNhNubah}(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&]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]j c.vfs_get_aclasbuh1hhjubj)}(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 *acl_nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hacl_nameh]hacl_name}(hjKhhhNhNubah}(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)}(hget posix aclsh]hget posix acls}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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}(hjϮhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjˮhMhj̮ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjˮhMhjubj)}(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.chMhjubj)}(hhh]h)}(h4the dentry based on which to retrieve the posix aclsh]h4the dentry based on which to retrieve the posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``const char *acl_name`` the name of the posix acl h](j)}(h``const char *acl_name``h]j)}(hj(h]hconst char *acl_name}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj"ubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]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 }(hjyhhhNhNubj)}(h**kacl**h]hkacl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubhA from the filesystem. The caller must all posix_acl_release() on }(hjyhhhNhNubj)}(h**kacl**h]hkacl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh.}(hjyhhhNhNubeh}(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.}(hjįhhhNhNubah}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_remove_acl (C function)c.vfs_remove_aclhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hYint vfs_remove_acl (struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h]j)}(hXint vfs_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j)}jjsbc.vfs_remove_aclasbuh1hhj,ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj,ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj°modnameN classnameNjj)}j]jjc.vfs_remove_aclasbuh1hhjubj)}(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(ubj)}(hconst char *acl_nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hacl_nameh]hacl_name}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(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.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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}(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)}(hidmap of the mounth]hidmap of the mount}(hjڱhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjֱhMhjױubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjֱhMhjubj)}(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.chMhjubj)}(hhh]h)}(h4the dentry based on which to retrieve the posix aclsh]h4the dentry based on which to retrieve the posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``const char *acl_name`` the name of the posix acl h](j)}(h``const char *acl_name``h]j)}(hj3h]hconst char *acl_name}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj-ubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfill_mg_cmtime (C function)c.fill_mg_cmtimehNtauh1hhj ShhhNhNubh)}(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}(hjڲhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjֲhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjֲhhhjhK 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.hjֲhhhjhK ubj)}(h;(struct kstat *stat, u32 request_mask, struct inode *inode)h](j)}(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}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j)}jjsbc.fill_mg_cmtimeasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hstath]hstat}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hu32 request_maskh](h)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jQc.fill_mg_cmtimeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjѳhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjͳubj)}(h h]h }(hj޳hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjͳubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jQc.fill_mg_cmtimeasbuh1hhjͳ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)}(hinodeh]hinode}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjͳubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjֲhhhjhK ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjҲhhhjhK ubah}(h]jͲah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhK hjϲhhubjc)}(hhh]h)}(h5Fill in the mtime and ctime and flag ctime as QUERIEDh]h5Fill in the mtime and ctime and flag ctime as QUERIED}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK hjOhhubah}(h]h ]h"]h$]h&]uh1jbhjϲhhhjhK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(hjth]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK$hjnubj)}(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)}(hj̴h]hu32 request_mask}(hjδhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʴubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK"hjƴubj)}(hhh]h)}(hSTATX_* values requestedh]hSTATX_* values requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK"hjubah}(h]h ]h"]h$]h&]uh1jhjƴubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK#hjubeh}(h]h ]h"]h$]h&]uh1jhjnubh)}(h**Description**h]j)}(hj@h]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK%hjnubh)}(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 }(hjVhhhNhNubj)}(h **inode**h]hinode}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh=, grab the ctime and mtime out if it and store the result in }(hjVhhhNhNubj)}(h**stat**h]hstat}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubhr. When fetching the value, flag it as QUERIED (if not already) so the next write will record a distinct timestamp.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK$hjnubh)}(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(hjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_fillattr (C function)c.generic_fillattrhNtauh1hhj ShhhNhNubh)}(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 }(hjǵhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjƵhKBubj/)}(hgeneric_fillattrh]j5)}(hgeneric_fillattrh]hgeneric_fillattr}(hjٵhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjյubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjƵhKBubj)}(hT(struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(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)}jj۵sbc.generic_fillattrasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(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&]noemphjLjMuh1jhjubj)}(hu32 request_maskh](h)}(hhh]j5)}(hu32h]hu32}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]j/c.generic_fillattrasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj5)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(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}(hjͶhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjʶubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj϶modnameN classnameNjj)}j]j/c.generic_fillattrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkstath]hkstat}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j]j/c.generic_fillattrasbuh1hhjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hstath]hstat}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjƵhKBubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjƵhKBubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjƵhKBhjhhubjc)}(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&]uh1jbhjhhhjƵhKBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(hj·h]h Parameters}(hjķhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhj߷ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKChj۷ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKChjubah}(h]h ]h"]h$]h&]uh1jhj۷ubeh}(h]h ]h"]h$]h&]uh1jhjhKChjطubj)}(h(``u32 request_mask`` statx request_mask h](j)}(h``u32 request_mask``h]j)}(hjh]hu32 request_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKDhjubj)}(hhh]h)}(hstatx request_maskh]hstatx request_mask}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hKDhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hKDhjطubj)}(h3``struct inode *inode`` Inode to use as the source h](j)}(h``struct inode *inode``h]j)}(hjSh]hstruct inode *inode}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKEhjMubj)}(hhh]h)}(hInode to use as the sourceh]hInode to use as the source}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhKEhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhKEhjطubj)}(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&]uh1jhjhKFhjط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&]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.}(hjݸhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before filling in the uid and gid filds. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$generic_fill_statx_attr (C function)c.generic_fill_statx_attrhNtauh1hhj ShhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjMhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKuubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhj_hKuubj/)}(hgeneric_fill_statx_attrh]j5)}(hgeneric_fill_statx_attrh]hgeneric_fill_statx_attr}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhj_hKuubj)}(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)}jjtsbc.generic_fill_statx_attrasbuh1hhjubj)}(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}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jȹc.generic_fill_statx_attrasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjJhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hstath]hstat}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjMhhhj_hKuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjIhhhj_hKuubah}(h]jDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj_hKuhjFhhubjc)}(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.chKuhj~hhubah}(h]h ]h"]h$]h&]uh1jbhjFhhhj_hKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(hjºh]hstruct inode *inode}(hjĺhhhNhNubah}(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}(hjۺhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj׺hKvhjغubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj׺hKvhjubj)}(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.chKwhjubj)}(hhh]h)}(h$Where to fill in the attribute flagsh]h$Where to fill in the attribute flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKwhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKxhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-generic_fill_statx_atomic_writes (C function)"c.generic_fill_statx_atomic_writeshNtauh1hhj ShhhNhNubh)}(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}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjhKubj/)}(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.hjwhhhjhKubj)}(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 }(hjŻhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkstath]hkstat}(hjֻhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjӻubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjػmodnameN classnameNjj)}j]j)}jjsb"c.generic_fill_statx_atomic_writesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hstath]hstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int unit_minh](j)}(hunsignedh]hunsigned}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj&ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj)}(hinth]hint}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj&ubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj5)}(hunit_minh]hunit_min}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int unit_maxh](j)}(hunsignedh]hunsigned}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj5)}(hunit_maxh]hunit_max}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int unit_max_opth](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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjȼubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȼubj5)}(h unit_max_opth]h unit_max_opt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjȼubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjwhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjhKubah}(h]jnah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjphhubjc)}(hhh]h)}(h&Fill in atomic writes statx attributesh]h&Fill in atomic writes statx attributes}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhj+hhubah}(h]h ]h"]h$]h&]uh1jbhjphhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhj ShNhNubj)}(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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjJubj)}(hhh](j)}(h<``struct kstat *stat`` Where to fill in the attribute flags h](j)}(h``struct kstat *stat``h]j)}(hjoh]hstruct kstat *stat}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjiubj)}(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&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhKhjfubj)}(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&]uh1jhjhKhjfubj)}(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&]uh1jhj߽ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhj۽ubj)}(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&]uh1jhj۽ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjfubj)}(hW``unsigned int unit_max_opt`` Optimised maximum supported atomic write length in bytes h](j)}(h``unsigned int unit_max_opt``h]j)}(hjh]hunsigned int unit_max_opt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubj)}(hhh]h)}(h8Optimised maximum supported atomic write length in bytesh]h8Optimised maximum supported atomic write length in bytes}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hKhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hKhjfubeh}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjJubh)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_getattr_nosec (C function)c.vfs_getattr_nosechNtauh1hhj ShhhNhNubh)}(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}(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)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.vfs_getattr_nosecasbuh1hhjӾubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjӾubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjӾubj5)}(hpathh]hpath}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjӾubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjϾubj)}(hstruct kstat *stath](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)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j,c.vfs_getattr_nosecasbuh1hhj`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)}(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}(hj׿hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjԿubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjٿmodnameN classnameNjj)}j]j,c.vfs_getattr_nosecasbuh1hhjп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&]noemphjLjMuh1jhjϾubj)}(hunsigned int query_flagsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h query_flagsh]h query_flags}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjϾubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(hgetattr without security checksh]hgetattr without security checks}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhj{hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chKhjubj)}(hhh]h)}(h!structure to return attributes inh]h!structure to return attributes in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hj1h]hu32 request_mask}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhj+ubj)}(hhh]h)}(h0STATX_xxx flags indicating what the caller wantsh]h0STATX_xxx flags indicating what the caller wants}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhKhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhKhjubj)}(h=``unsigned int query_flags`` Query mode (AT_STATX_SYNC_TYPE) h](j)}(h``unsigned int query_flags``h]j)}(hjjh]hunsigned int query_flags}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjdubj)}(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&]uh1jhjdubeh}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_fsync_range (C function)c.vfs_fsync_rangehNtauh1hhj ShhhNhNubh)}(hhh](j)}(hOint vfs_fsync_range (struct file *file, loff_t start, loff_t end, int datasync)h]j)}(hNint vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hvfs_fsync_rangeh]j5)}(hvfs_fsync_rangeh]hvfs_fsync_range}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(hfileh]hfile}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j]j)}jjsbc.vfs_fsync_rangeasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubj)}(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]jpc.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&]noemphjLjMuh1jhj.ubj)}(h loff_t endh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jpc.vfs_fsync_rangeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hendh]hend}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubj)}(h int datasynch](j)}(hinth]hint}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj5)}(hdatasynch]hdatasync}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h1helper to sync a range of data & metadata to diskh]h1helper to sync a range of data & metadata to disk}(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&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chKhjubj)}(hhh]h)}(h6offset in bytes of the beginning of data range to synch]h6offset in bytes of the beginning of data range to sync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hj1h]h loff_t end}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhj+ubj)}(hhh]h)}(h4offset in bytes of the end of data range (inclusive)h]h4offset in bytes of the end of data range (inclusive)}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhKhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhKhjubj)}(h'``int datasync`` perform only datasync h](j)}(h``int datasync``h]j)}(hjjh]h int datasync}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjdubj)}(hhh]h)}(hperform only datasynch]hperform only datasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_fsync (C function) c.vfs_fsynchNtauh1hhj ShhhNhNubh)}(hhh](j)}(h/int vfs_fsync (struct file *file, int datasync)h]j)}(h.int vfs_fsync(struct file *file, int datasync)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj.hKubj/)}(h vfs_fsynch]j5)}(h vfs_fsynch]h vfs_fsync}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj.hKubj)}(h!(struct file *file, int datasync)h](j)}(hstruct file *fileh](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)}(hfileh]hfile}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]j)}jjCsb c.vfs_fsyncasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubj)}(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&]noemphjLjMuh1jhjUubeh}(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)}(h&perform a fsync or fdatasync on a fileh]h&perform a fsync or fdatasync on a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj.hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhj ShNhNubj)}(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)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhj1ubj)}(hhh](j)}(h#``struct file *file`` file to sync h](j)}(h``struct file *file``h]j)}(hjVh]hstruct file *file}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjPubj)}(hhh]h)}(h file to synch]h file to sync}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhKhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKhjMubj)}(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&]uh1jhjhKhjMubeh}(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&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhj1ubh)}(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.chKhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"__vfs_setxattr_locked (C function)c.__vfs_setxattr_lockedhNtauh1hhj ShhhNhNubh)}(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 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 inode **delegated_inode)h](j)}(hinth]hint}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/hhhjAhMubj/)}(h__vfs_setxattr_lockedh]j5)}(h__vfs_setxattr_lockedh]h__vfs_setxattr_locked}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj/hhhjAhMubj)}(h(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags, struct inode **delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](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)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjVsbc.__vfs_setxattr_lockedasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubj)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubj)}(hconst char *nameh](j )}(hjUh]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj)}(hcharh]hchar}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjNubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjNubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubj)}(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&]noemphjLjMuh1jhjhubj)}(h size_t sizeh](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]jc.__vfs_setxattr_lockedasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsizeh]hsize}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubj)}(h int flagsh](j)}(hinth]hint}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjPubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj5)}(hflagsh]hflags}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubj)}(hstruct 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)}(hinodeh]hinode}(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)hjubj*)}(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&]noemphjLjMuh1jhjhubeh}(h]h ]h"]h$]h&]jLjMuh1jhj/hhhjAhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj+hhhjAhMubah}(h]j&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjAhMhj(hhubjc)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj(hhhjAhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj ShNhNubj)}(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 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)}(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:95: ./fs/xattr.chM hj3ubj)}(hhh](j)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjXh]hstruct mnt_idmap *idmap}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjRubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjOubj)}(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 hjOubj)}(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 hjOubj)}(h/``const void *value`` value to set **name** to h](j)}(h``const void *value``h]j)}(hjh]hconst void *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjubj)}(hhh]h)}(hvalue to set **name** toh](h value to set }(hjhhhNhNubj)}(h**name**h]hname}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjOubj)}(h"``size_t size`` size of **value** h](j)}(h``size_t size``h]j)}(hjNh]h size_t size}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjHubj)}(hhh]h)}(hsize of **value**h](hsize of }(hjghhhNhNubj)}(h **value**h]hvalue}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1hhjchM hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM hjOubj)}(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&]uh1jhjhMhjOubj)}(hz``struct inode **delegated_inode`` on return, will contain an inode pointer that a delegation was broken on, NULL if none.h](j)}(h"``struct inode **delegated_inode``h]j)}(hjh]hstruct 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&]uh1jhjhMhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_listxattr (C function)c.vfs_listxattrhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hFssize_t vfs_listxattr (struct dentry *dentry, char *list, size_t size)h]j)}(hEssize_t vfs_listxattr(struct dentry *dentry, char *list, size_t size)h](h)}(hhh]j5)}(hssize_th]hssize_t}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]j)}j vfs_listxattrsbc.vfs_listxattrasbuh1hhj#hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhjKhMubj/)}(h vfs_listxattrh]j5)}(hjHh]h vfs_listxattr}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#hhhjKhMubj)}(h0(struct dentry *dentry, char *list, size_t size)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jFc.vfs_listxattrasbuh1hhjuubj)}(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)}(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&]noemphjLjMuh1jhjqubj)}(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 reftargetj0modnameN classnameNjj)}j]jFc.vfs_listxattrasbuh1hhj'ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj5)}(hsizeh]hsize}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubeh}(h]h ]h"]h$]h&]jLjMuh1jhj#hhhjKhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjKhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhMhjhhubjc)}(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&]uh1jbhjhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(hjh]h char *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubj)}(hhh]h)}(h buffer to store xattr names intoh]h buffer to store xattr names into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``size_t size`` size of the buffer h](j)}(h``size_t size``h]j)}(hj7h]h size_t size}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhj1ubj)}(hhh]h)}(hsize of the bufferh]hsize of the buffer}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__vfs_removexattr_locked (C function)c.__vfs_removexattr_lockedhNtauh1hhj ShhhNhNubh)}(hhh](j)}(hint __vfs_removexattr_locked (struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct inode **delegated_inode)h]j)}(h~int __vfs_removexattr_locked(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct inode **delegated_inode)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhM ubj/)}(h__vfs_removexattr_lockedh]j5)}(h__vfs_removexattr_lockedh]h__vfs_removexattr_locked}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhM ubj)}(hb(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct inode **delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j)}jj1sbc.__vfs_removexattr_lockedasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubj)}(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&]noemphjLjMuh1jhjCubj)}(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}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubj*)}(hj-h]h*}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj)ubj5)}(hnameh]hname}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubj)}(hstruct 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)}(hinodeh]hinode}(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)hjubj*)}(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&]noemphjLjMuh1jhjCubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h6set an extended attribute while holding the inode lockh]h6set an extended attribute while holding the inode lock}(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&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhj ShNhNubj)}(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`` name of xattr to remove ``struct inode **delegated_inode`` on return, will contain an inode pointer that a delegation was broken on, NULL if none.h](h)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhj4ubj)}(hhh](j)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjYh]hstruct mnt_idmap *idmap}(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.chMhjSubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubj)}(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&]uh1jhjhMhjPubj)}(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&]uh1jhjhMhjPubj)}(hz``struct inode **delegated_inode`` on return, will contain an inode pointer that a delegation was broken on, NULL if none.h](j)}(h"``struct inode **delegated_inode``h]j)}(hjh]hstruct 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&]uh1jhjhMhjPubeh}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_listxattr (C function)c.generic_listxattrhNtauh1hhj ShhhNhNubh)}(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 reftargetjbmodnameN classnameNjj)}j]j)}jgeneric_listxattrsbc.generic_listxattrasbuh1hhjYhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYhhhjhMjubj/)}(hgeneric_listxattrh]j5)}(hj~h]hgeneric_listxattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjYhhhjhMjubj)}(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]j|c.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*}(hj;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbufferh]hbuffer}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsize_t buffer_sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]j|c.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&]jLjMuh1jhjYhhhjhMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjUhhhjhMjubah}(h]jPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMjhjRhhubjc)}(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&]uh1jbhjRhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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)}(hj4h]h char *buffer}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMlhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMlhjubj)}(h*``size_t buffer_size`` size of **buffer** h](j)}(h``size_t buffer_size``h]j)}(hjmh]hsize_t buffer_size}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMmhjgubj)}(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&]uh1jhjgubeh}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxattr_full_name (C function)c.xattr_full_namehNtauh1hhj ShhhNhNubh)}(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}(hj hhhNhNubah}(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 }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hxattr_full_nameh]j5)}(hxattr_full_nameh]hxattr_full_name}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubh)}(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)}jjUsbc.xattr_full_nameasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj5)}(hhandlerh]hhandler}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubeh}(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}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjghhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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}(hj!hhhNhNubah}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubh)}(h**Note**h]j)}(hjFh]hNote}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(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.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mnt_get_write_access (C function)c.mnt_get_write_accesshNtauh1hhj ShhhNhNubh)}(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}(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]j~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h5get write access to a mount without freeze protectionh]h5get write access to a mount without freeze protection}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjGhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhj ShNhNubj)}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjfubj)}(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&]uh1jhjfubh)}(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.chMhjfubh)}(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.chMhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_want_write (C function)c.mnt_want_writehNtauh1hhj ShhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]j)}jj.sbc.mnt_want_writeasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDubj5)}(hj[h]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(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&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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&]uh1jhj ubah}(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&]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)}(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.chMhjubh)}(hX*This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mount is read-write, filesystem is not frozen) before returning success. When the write operation is finished, mnt_drop_write() must be called. This is effectively a refcount.h]hX*This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mount is read-write, filesystem is not frozen) before returning success. When the write operation is finished, mnt_drop_write() must be called. This is effectively a refcount.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mnt_want_write_file (C function)c.mnt_want_write_filehNtauh1hhj ShhhNhNubh)}(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}(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]j~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h"get write access to a file's mounth]h$get write access to a file’s mount}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhj ShNhNubj)}(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)}(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 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&]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.chMhjgubh)}(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.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mnt_put_write_access (C function)c.mnt_put_write_accesshNtauh1hhj ShhhNhNubh)}(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.chM1ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM1ubj/)}(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.hjhhhjhM1ubj)}(h(struct vfsmount *mnt)h]j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]j)}jj/sbc.mnt_put_write_accessasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjEubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM1ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM1hjhhubjc)}(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.chM1hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chM5hjubj)}(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}(hjhhhNhNubah}(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.chM2hjubj)}(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"hM2hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM2hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjHh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM4hjubh)}(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.chM3hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_drop_write (C function)c.mnt_drop_writehNtauh1hhj ShhhNhNubh)}(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.chMAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMAubj/)}(hmnt_drop_writeh]j5)}(hmnt_drop_writeh]hmnt_drop_write}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMAubj)}(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&]jLjMuh1jhjhhhjhMAubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMAubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMAhjhhubjc)}(hhh]h)}(hgive up write access to a mounth]hgive up write access to a mount}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMAhjJhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhj ShNhNubj)}(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)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMEhjiubj)}(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.chMBhjubj)}(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&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjiubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMDhjiubh)}(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.chMChjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_create_mount (C function)c.vfs_create_mounthNtauh1hhj ShhhNhNubh)}(hhh](j)}(h:struct vfsmount * vfs_create_mount (struct fs_context *fc)h]j)}(h8struct vfsmount *vfs_create_mount(struct fs_context *fc)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhMubh)}(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_mountasbuh1hhj hhhjhMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhMubj*)}(hj-h]h*}(hj\hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj hhhjhMubj/)}(hvfs_create_mounth]j5)}(hjKh]hvfs_create_mount}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhMubj)}(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]jIc.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&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhMubeh}(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}(hj hhhNhNubah}(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&]jjjj!jj!jjjuh1hhhhj ShNhNubj)}(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)}(hjJh]hstruct fs_context *fc}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjDubj)}(hhh]h)}(h6The configuration context with the superblock attachedh]h6The configuration context with the superblock attached}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpath_is_mountpoint (C function)c.path_is_mountpointhNtauh1hhj ShhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j)}jjsbc.path_is_mountpointasbuh1hhjubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj|hhhNhNubah}(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&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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&]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)}(hj/h]h Description}(hj1hhhNhNubah}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjEubah}(h]h ]h"]h$]h&]uh1jhjWhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmay_umount_tree (C function)c.may_umount_treehNtauh1hhj ShhhNhNubh)}(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&]uh1jhjzhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM0ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzhhhjhM0ubj/)}(hmay_umount_treeh]j5)}(hmay_umount_treeh]hmay_umount_tree}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjzhhhjhM0ubj)}(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&]jLjMuh1jhjzhhhjhM0ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjvhhhjhM0ubah}(h]jqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM0hjshhubjc)}(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.chM0hj:hhubah}(h]h ]h"]h$]h&]uh1jbhjshhhjhM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhj ShNhNubj)}(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}(hjahhhNhNubah}(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.chM4hjYubj)}(hhh]j)}(h*``struct vfsmount *m`` root of mount tree h](j)}(h``struct vfsmount *m``h]j)}(hj~h]hstruct vfsmount *m}(hjhhhNhNubah}(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.chM1hjxubj)}(hhh]h)}(hroot of mount treeh]hroot of mount tree}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjuubah}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM3hjYubh)}(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.chM2hjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmay_umount (C function) c.may_umounthNtauh1hhj ShhhNhNubh)}(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.chMLubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMLubj/)}(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 hMLubj)}(h(struct vfsmount *mnt)h]j)}(hstruct vfsmount *mnth](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)}(hvfsmounth]hvfsmount}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj)}j]j)}jj!sb c.may_umountasbuh1hhj7ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hMLubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMLubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMLhjhhubjc)}(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.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chMPhjubj)}(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.chMMhjubj)}(hhh]h)}(h root of mounth]h root of mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMOhjubh)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMNhjubh)}(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.chMShjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h clone_private_mount (C function)c.clone_private_mounthNtauh1hhj ShhhNhNubh)}(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.chM7 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM7 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_mountasbuh1hhjhhhjhM7 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM7 ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhM7 ubj/)}(hclone_private_mounth]j5)}(hjh]hclone_private_mount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM7 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 }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]jc.clone_private_mountasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpathh]hpath}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM7 ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM7 ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM7 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.chM7 hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM7 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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.chM; hjubj)}(hhh]j)}(h*``const struct path *path`` path to clone h](j)}(h``const struct path *path``h]j)}(hjh]hconst struct path *path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM8 hjubj)}(hhh]h)}(h path to cloneh]h path to clone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8 hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj h]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.chM: hjubh)}(hThis creates a new vfsmount, which will be the clone of **path**. The new mount will not be attached anywhere in the namespace and will be private (i.e. changes to the originating mount won't be propagated into this).h](h8This creates a new vfsmount, which will be the clone of }(hj6hhhNhNubj)}(h**path**h]hpath}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh. 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).}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM9 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().}(hjWhhhNhNubah}(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().}(hjfhhhNhNubah}(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&]uh1jhj ShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_set_expiry (C function)c.mnt_set_expiryhNtauh1hhj ShhhNhNubh)}(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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubh)}(hhh]j5)}(h list_headh]h list_head}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j]j c.mnt_set_expiryasbuh1hhj@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 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&]jjjjjjjjjuh1hhhhj ShNhNubj)}(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}(hjAhhhNhNubah}(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.chMhj9ubj)}(hhh]h)}(hThe list to add the mount to.h]hThe list to add the mount to.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj ShhhNhNubeh}(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)}(hfint proc_dostring (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(heint proc_dostring(const struct ctl_table *table, int write, 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)}(hT(const struct ctl_table *table, int write, 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 }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]j)}jjsbc.proc_dostringasbuh1hhjubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htableh]htable}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int writeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j]c.proc_dostringasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hlenph]hlenp}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]j]c.proc_dostringasbuh1hhj]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)}(hpposh]hppos}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXi**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes a string from/to the user buffer. If the kernel buffer provided is not large enough to hold the string, the string is truncated. The copied string is ``NULL-terminated``. If the string is being read by the user process, it is copied and a newline '\n' is added. It is truncated if the buffer is not large enough. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjh]hconst struct ctl_table *table}(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.chKhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjAh]h int write}(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.chKhj;ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh& if this is a write to the sysctl file}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjVhKhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjubj)}(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.chKhjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjh]h size_t *lenp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjh]h loff_t *ppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubh)}(hXEReads/writes a string from/to the user buffer. If the kernel buffer provided is not large enough to hold the string, the string is truncated. The copied string is ``NULL-terminated``. If the string is being read by the user process, it is copied and a newline '\n' is added. It is truncated if the buffer is not large enough.h](hReads/writes a string from/to the user buffer. If the kernel buffer provided is not large enough to hold the string, the string is truncated. The copied string is }(hjKhhhNhNubj)}(h``NULL-terminated``h]hNULL-terminated}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh. 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.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dobool (C function) c.proc_doboolhNtauh1hhjhhhNhNubh)}(hhh](j)}(hdint proc_dobool (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hcint proc_dobool(const struct ctl_table *table, int write, 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.chMlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMlubj/)}(h proc_doboolh]j5)}(h proc_doboolh]h proc_dobool}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMlubj)}(hT(const struct ctl_table *table, int write, 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)}jjsb c.proc_doboolasbuh1hhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj?hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htableh]htable}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int writeh](j)}(hinth]hint}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjaubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj5)}(hwriteh]hwrite}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(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]j- c.proc_doboolasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hlenph]hlenp}(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}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j- c.proc_doboolasbuh1hhj-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)}(hpposh]hppos}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMlubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMlubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMlhjhhubjc)}(hhh]h)}(hread/write a boolh]hread/write a bool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMlhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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)}(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.chMphjubj)}(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.chMmhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(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.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&hMnhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjXh]h void *buffer}(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.chMohjRubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMohjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMohjubj)}(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.chMphjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubj)}(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.chMqhjubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubeh}(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.chMshjubh)}(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.chMrhjubh)}(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.chMuhjubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMxhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dointvec (C function)c.proc_dointvechNtauh1hhjhhhNhNubh)}(hhh](j)}(hfint proc_dointvec (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(heint proc_dointvec(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hinth]hint}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdhhhjvhMubj/)}(h proc_dointvech]j5)}(h proc_dointvech]h proc_dointvec}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjdhhhjvhMubj)}(hT(const struct ctl_table *table, int write, 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)}(h int writeh](j)}(hinth]hint}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj5)}(hwriteh]hwrite}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(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}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjdhhhjvhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj`hhhjvhMubah}(h]j[ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjvhMhj]hhubjc)}(hhh]h)}(hread a vector of integersh]hread a vector of integers}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjahhubah}(h]h ]h"]h$]h&]uh1jbhj]hhhjvhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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.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 write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(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&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(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.chMhjXubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(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)}(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.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_douintvec (C function)c.proc_douintvechNtauh1hhjhhhNhNubh)}(hhh](j)}(hgint proc_douintvec (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hfint proc_douintvec(const struct ctl_table *table, int write, 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 }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"hhhj4hMubj/)}(hproc_douintvech]j5)}(hproc_douintvech]hproc_douintvec}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj"hhhj4hMubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(h h]h }(hjphhhNhNubah}(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)}jjIsbc.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&]noemphjLjMuh1jhj[ubj)}(h int writeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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 }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj*)}(hj-h]h*}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj!ubj5)}(hbufferh]hbuffer}(hjNhhhNhNubah}(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}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jc.proc_douintvecasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj[ubj)}(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&]noemphjLjMuh1jhj[ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj"hhhj4hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj4hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj4hMhjhhubjc)}(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&]uh1jbhjhhhj4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(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)}(hjch]hconst struct ctl_table *table}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(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&]uh1hhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjZubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(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&]uh1jhjhMhjZubj)}(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&]uh1jhjhMhjZubj)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjZubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjUh]h loff_t *ppos}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjOubj)}(hhh]h)}(h file positionh]h file position}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjZubeh}(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)}(hmint proc_dointvec_minmax (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hlint proc_dointvec_minmax(const struct ctl_table *table, int write, 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)}(hT(const struct ctl_table *table, int write, 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 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 }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]j)}jjsbc.proc_dointvec_minmaxasbuh1hhjubj)}(h h]h }(hjzhhhNhNubah}(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)}(h int writeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(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]jvc.proc_dointvec_minmaxasbuh1hhj!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)}(hlenph]hlenp}(hjahhhNhNubah}(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&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jvc.proc_dointvec_minmaxasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(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)}(hX@**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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 on write when the range check fails.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.chMhjubj)}(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&]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}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjZh]h int write}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjTubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh& if this is a write to the sysctl file}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubj)}(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)}(hjNh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(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.}(hjdhhhNhNubah}(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).}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(hDReturns 0 on success or -EINVAL on write when the range check fails.h]hDReturns 0 on success or -EINVAL on write when the range check fails.}(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)}(hnint proc_douintvec_minmax (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hmint proc_douintvec_minmax(const struct ctl_table *table, int write, 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.chM%ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM%ubj/)}(hproc_douintvec_minmaxh]j5)}(hproc_douintvec_minmaxh]hproc_douintvec_minmax}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM%ubj)}(hT(const struct ctl_table *table, int write, 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 }(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 }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjUhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htableh]htable}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int writeh](j)}(hinth]hint}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj5)}(hwriteh]hwrite}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(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]jCc.proc_douintvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj!hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hlenph]hlenp}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j]jCc.proc_douintvec_minmaxasbuh1hhjCubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]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)}(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.chM%hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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 on write when the range check fails.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.chM)hjubj)}(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.chM&hjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hj'h]h int write}(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.chM'hj!ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh& if this is a write to the sysctl file}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj<hM'hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM'hjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjnh]h void *buffer}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM(hjhubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(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.chM)hjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(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.chM*hjubj)}(hhh]h)}(h file positionh]h file position}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM,hjubh)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM+hjubh)}(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.chM/hjubh)}(hDReturns 0 on success or -ERANGE on write when the range check fails.h]hDReturns 0 on success or -ERANGE on write when the range check fails.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM4hjubeh}(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)}(hlint proc_dou8vec_minmax (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hkint proc_dou8vec_minmax(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hinth]hint}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjzhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMCubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzhhhjhMCubj/)}(hproc_dou8vec_minmaxh]j5)}(hproc_dou8vec_minmaxh]hproc_dou8vec_minmax}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjzhhhjhMCubj)}(hT(const struct ctl_table *table, int write, 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)}(h int writeh](j)}(hinth]hint}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjDubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj5)}(hwriteh]hwrite}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](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)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_dou8vec_minmaxasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpposh]hppos}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjzhhhjhMCubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjvhhhjhMCubah}(h]jqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMChjshhubjc)}(hhh]h)}(h3read a vector of unsigned chars with min/max valuesh]h3read a vector of unsigned chars with min/max values}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMChjwhhubah}(h]h ]h"]h$]h&]uh1jbhjshhhjhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX`**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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 write when the range check fails.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.chMGhjubj)}(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.chMDhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(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.chMEhjubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh& if this is a write to the sysctl file}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hMEhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMEhjubj)}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMFhj5ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMFhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMFhjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjth]h size_t *lenp}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMGhjnubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(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.chMHhjubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMJhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMIhjubh)}(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.chMMhjubh)}(hEReturns 0 on success or an error on write when the range check fails.h]hEReturns 0 on success or an error on write when the range check fails.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMPhjubeh}(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)}(hoint proc_doulongvec_minmax (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hnint proc_doulongvec_minmax(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hinth]hint}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjGhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjYhMubj/)}(hproc_doulongvec_minmaxh]j5)}(hproc_doulongvec_minmaxh]hproc_doulongvec_minmax}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhjYhMubj)}(hT(const struct ctl_table *table, int write, 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)}jjnsbc.proc_doulongvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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)}(h int writeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjFubj5)}(hbufferh]hbuffer}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(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_doulongvec_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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_doulongvec_minmaxasbuh1hhjubj)}(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&]jLjMuh1jhjGhhhjYhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjChhhjYhMubah}(h]j>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjYhMhj@hhubjc)}(hhh]h)}(h2read a vector of long integers with min/max valuesh]h2read a vector of long integers with min/max values}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjcubj)}(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 write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(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&]uh1jhjhMhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjh]h void *buffer}(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 user bufferh]hthe user buffer}(hj!hhhNhNubah}(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)}(hjAh]h size_t *lenp}(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 size of the user bufferh]hthe size of the user buffer}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjzh]h loff_t *ppos}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjtubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjcubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjcubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjcubh)}(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).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjcubh)}(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.chMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.proc_doulongvec_ms_jiffies_minmax (C function)#c.proc_doulongvec_ms_jiffies_minmaxhNtauh1hhjhhhNhNubh)}(hhh](j)}(hzint proc_doulongvec_ms_jiffies_minmax (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hyint proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int write, 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 }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj&hMubj/)}(h!proc_doulongvec_ms_jiffies_minmaxh]j5)}(h!proc_doulongvec_ms_jiffies_minmaxh]h!proc_doulongvec_ms_jiffies_minmax}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj&hMubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubj )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubh)}(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)}jj;sb#c.proc_doulongvec_ms_jiffies_minmaxasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjQubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(h int writeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(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*}(hj3 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&]noemphjLjMuh1jhjMubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj\ hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjY ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^ modnameN classnameNjj)}j]j#c.proc_doulongvec_ms_jiffies_minmaxasbuh1hhjU ubj)}(h h]h }(hjz hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjU ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjU ubj5)}(hlenph]hlenp}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjU ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(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_ms_jiffies_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&]noemphjLjMuh1jhjMubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj&hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj&hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj&hMhj hhubjc)}(hhh]h)}(h7read a vector of millisecond values with min/max valuesh]h7read a vector of millisecond values with min/max values}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj, jj, jjjuh1hhhhjhNhNubj)}(hXo**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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. The values are treated as milliseconds, and converted to jiffies when they are stored. 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)}(hj6 h]h Parameters}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj0 ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjU h]hconst struct ctl_table *table}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjO ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjj hMhjk ubah}(h]h ]h"]h$]h&]uh1jhjO ubeh}(h]h ]h"]h$]h&]uh1jhjj hMhjL ubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hj h]h int write}(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 hMhjL 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.chMhj ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjL 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.chMhj ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj# hMhj$ ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj# hMhjL ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjG h]h loff_t *ppos}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjA ubj)}(hhh]h)}(h file positionh]h file position}(hj` hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\ hMhj] ubah}(h]h ]h"]h$]h&]uh1jhjA ubeh}(h]h ]h"]h$]h&]uh1jhj\ hMhjL ubeh}(h]h ]h"]h$]h&]uh1jhj0 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.chMhj0 ubh)}(hReads/writes up to table->maxlen/sizeof(unsigned long) unsigned long values from/to the user buffer, treated as an ASCII string. The values are treated as milliseconds, and converted to jiffies when they are stored.h]hReads/writes up to table->maxlen/sizeof(unsigned long) unsigned long values from/to the user buffer, treated as an ASCII string. The values are treated as milliseconds, and converted to jiffies when they are stored.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj0 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.chMhj0 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.chMhj0 ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"proc_dointvec_jiffies (C function)c.proc_dointvec_jiffieshNtauh1hhjhhhNhNubh)}(hhh](j)}(hnint proc_dointvec_jiffies (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hmint proc_dointvec_jiffies(const struct ctl_table *table, int write, 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.chM[ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hM[ubj/)}(hproc_dointvec_jiffiesh]j5)}(hproc_dointvec_jiffiesh]hproc_dointvec_jiffies}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hM[ubj)}(hT(const struct ctl_table *table, int write, 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 }(hjJ 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&]uh1j4hjX ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj] modnameN classnameNjj)}j]j)}jj sbc.proc_dointvec_jiffiesasbuh1hhj 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)}(h int writeh](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)}(hwriteh]hwrite}(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]jw c.proc_dointvec_jiffiesasbuh1hhj" 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)}(hlenph]hlenp}(hjb 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]jw c.proc_dointvec_jiffiesasbuh1hhjw 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)}(hpposh]hppos}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjw 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$read a vector of integers as secondsh]h$read a vector of integers as seconds}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM[hj hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hM[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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. The values read are assumed to be in seconds, and are converted into jiffies. 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.chM_hj 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.chM\hjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hM\hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM\hjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hj[h]h int write}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM]hjUubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh& if this is a write to the sysctl file}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjphM]hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM]hjubj)}(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.chM^hjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubj)}(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.chM_hjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjubj)}(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.chM`hjubj)}(hhh]h)}(h file positionh]h file position}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hM`hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM`hjubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMbhj ubh)}(hReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in seconds, and are converted into jiffies.h]hReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in seconds, and are converted into jiffies.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMahj ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMfhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)proc_dointvec_userhz_jiffies (C function)c.proc_dointvec_userhz_jiffieshNtauh1hhjhhhNhNubh)}(hhh](j)}(huint proc_dointvec_userhz_jiffies (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(htint proc_dointvec_userhz_jiffies(const struct ctl_table *table, int write, 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.chM|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM|ubj/)}(hproc_dointvec_userhz_jiffiesh]j5)}(hproc_dointvec_userhz_jiffiesh]hproc_dointvec_userhz_jiffies}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM|ubj)}(hT(const struct ctl_table *table, int write, 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_dointvec_userhz_jiffiesasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htableh]htable}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int writeh](j)}(hinth]hint}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjiubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj5)}(hwriteh]hwrite}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(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]j5c.proc_dointvec_userhz_jiffiesasbuh1hhjubj)}(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}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj)}j]j5c.proc_dointvec_userhz_jiffiesasbuh1hhj5ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj*)}(hj-h]h*}(hjhhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5ubj5)}(hpposh]hppos}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(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.read a vector of integers as 1/USER_HZ secondsh]h.read a vector of integers as 1/USER_HZ seconds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM|hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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`` pointer to the file position **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in 1/USER_HZ seconds, and are converted into jiffies. 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.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.chM}hjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(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.chM~hjubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh& if this is a write to the sysctl file}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj.hM~hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM~hjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj`h]h void *buffer}(hjbhhhNhNubah}(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.chMhjZubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(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`` pointer to the 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)}(hpointer to the file positionh]hpointer to the 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)}(hj h]h Description}(hjhhhNhNubah}(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.chMhjubh)}(hReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in 1/USER_HZ seconds, and are converted into jiffies.h]hReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in 1/USER_HZ seconds, and are converted into jiffies.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%proc_dointvec_ms_jiffies (C function)c.proc_dointvec_ms_jiffieshNtauh1hhjhhhNhNubh)}(hhh](j)}(hqint proc_dointvec_ms_jiffies (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hpint proc_dointvec_ms_jiffies(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj]hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]hhhjohMubj/)}(hproc_dointvec_ms_jiffiesh]j5)}(hproc_dointvec_ms_jiffiesh]hproc_dointvec_ms_jiffies}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj]hhhjohMubj)}(hT(const struct ctl_table *table, int write, 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_dointvec_ms_jiffiesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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)}(h int writeh](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)}(hwriteh]hwrite}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj\ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj\ubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_dointvec_ms_jiffiesasbuh1hhjubj)}(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_dointvec_ms_jiffiesasbuh1hhjubj)}(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}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj]hhhjohMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjYhhhjohMubah}(h]jTah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjohMhjVhhubjc)}(hhh]h)}(h+read a vector of integers as 1 millisecondsh]h+read a vector of integers as 1 milliseconds}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jbhjVhhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``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`` the current position in the file **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in 1/1000 seconds, and are converted into jiffies. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjyubj)}(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 write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(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&]uh1jhjhMhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjh]h void *buffer}(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 user bufferh]hthe user buffer}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjWh]h size_t *lenp}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjQubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(h2``loff_t *ppos`` the current position in the file 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 the current position in the fileh]h the current position in the file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjyubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjyubh)}(hReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in 1/1000 seconds, and are converted into jiffies.h]hReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in 1/1000 seconds, and are converted into jiffies.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjyubh)}(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.chMhjyubeh}(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)}(hmint proc_do_large_bitmap (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hlint proc_do_large_bitmap(const struct ctl_table *table, int write, 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 }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj-hMubj/)}(hproc_do_large_bitmaph]j5)}(hproc_do_large_bitmaph]hproc_do_large_bitmap}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj-hMubj)}(hT(const struct ctl_table *table, int write, 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 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)}(h ctl_tableh]h ctl_table}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjBsbc.proc_do_large_bitmapasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjXubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTubj)}(h int writeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbufferh]hbuffer}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]jc.proc_do_large_bitmapasbuh1hhj\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)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTubj)}(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_do_large_bitmapasbuh1hhjubj)}(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&]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)}(h!read/write from/to a large bitmaph]h!read/write from/to a large bitmap}(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&]uh1jbhjhhhj-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjhNhNubj)}(hXB**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** The bitmap is stored at table->data and the bitmap length (in bits) in table->maxlen. We use a range comma separated format (e.g. 1,3-4,10-10) so that large bitmaps may be represented in a compact manner. Writing into the file will clear the bitmap then update it with the given input. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj7ubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjVubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjSubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(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&]uh1jhjhMhjSubj)}(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&]uh1jhjhMhjSubj)}(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}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjSubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjNh]h loff_t *ppos}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjHubj)}(hhh]h)}(h file positionh]h file position}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjSubeh}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj7ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj7ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj7ubh)}(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.chMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]sysctl-interfaceah ]h"]sysctl interfaceah$]h&]uh1hhjhhhhhKiubh)}(hhh](h)}(hproc filesystem interfaceh]hproc filesystem interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKoubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_flush_pid (C function)c.proc_flush_pidhNtauh1hhjhhhNhNubh)}(hhh](j)}(h%void proc_flush_pid (struct pid *pid)h]j)}(h$void proc_flush_pid(struct pid *pid)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM 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.hjhhhjhM ubj)}(h(struct pid *pid)h]j)}(hstruct pid *pidh](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)}(hpidh]hpid}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]j)}jj(sbc.proc_flush_pidasbuh1hhj>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)}(hpidh]hpid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(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)}(h8Remove dcache entries for **pid** from the /proc dcache.h](hRemove dcache entries for }(hjhhhNhNubj)}(h**pid**h]hpid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh from the /proc dcache.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubj)}(hhh]j)}(h0``struct pid *pid`` pid that should be flushed. h](j)}(h``struct pid *pid``h]j)}(hjh]hstruct pid *pid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubj)}(hhh]h)}(hpid that should be flushed.h]hpid that should be flushed.}(hj1hhhNhNubah}(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)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubh)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubh)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubh)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubj)}(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.}(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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKuubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eventfd_signal_mask (C function)c.eventfd_signal_maskhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhU/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&]uh1jhjhhhj'hK/ubj/)}(heventfd_signal_maskh]j5)}(heventfd_signal_maskh]heventfd_signal_mask}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj'hK/ubj)}(h((struct eventfd_ctx *ctx, __poll_t mask)h](j)}(hstruct eventfd_ctx *ctxh](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 eventfd_ctxh]h eventfd_ctx}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j]j)}jj<sbc.eventfd_signal_maskasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjRubj5)}(hctxh]hctx}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNubj)}(h __poll_t maskh](h)}(hhh]j5)}(h__poll_th]h__poll_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.eventfd_signal_maskasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj'hK/ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj'hK/ubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj'hK/hjhhubjc)}(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/hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj'hK/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhjhNhNubj)}(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)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK3hj=ubj)}(hhh](j)}(hA``struct eventfd_ctx *ctx`` [in] Pointer to the eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hjbh]hstruct eventfd_ctx *ctx}(hjdhhhNhNubah}(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.chK0hj\ubj)}(hhh]h)}(h$[in] Pointer to the eventfd context.h]h$[in] Pointer to the eventfd context.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhK0hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhK0hjYubj)}(h!``__poll_t mask`` [in] poll mask h](j)}(h``__poll_t mask``h]j)}(hjh]h __poll_t mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK1hjubj)}(hhh]h)}(h[in] poll maskh]h[in] poll mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK1hjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK3hj=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).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK2hj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heventfd_ctx_put (C function)c.eventfd_ctx_puthNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKaubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj)hKaubj/)}(heventfd_ctx_puth]j5)}(heventfd_ctx_puth]heventfd_ctx_put}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj)hKaubj)}(h(struct eventfd_ctx *ctx)h]j)}(hstruct eventfd_ctx *ctxh](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 eventfd_ctxh]h eventfd_ctx}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]j)}jj>sbc.eventfd_ctx_putasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(hctxh]hctx}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj)hKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj)hKaubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj)hKahjhhubjc)}(hhh]h)}(h5Releases a reference to the internal eventfd context.h]h5Releases a reference to the internal eventfd context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKahjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj)hKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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:119: ./fs/eventfd.chKehjubj)}(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.}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1 hKbhj2 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj1 hKbhj ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjW h]h Description}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKdhjubh)}(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().}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*eventfd_ctx_remove_wait_queue (C function)c.eventfd_ctx_remove_wait_queuehNtauh1hhjhhhNhNubh)}(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 }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj%!hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hctxh]hctx}(hj2!hhhNhNubah}(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}(hjN!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjK!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjP!modnameN classnameNjj)}j]j!c.eventfd_ctx_remove_wait_queueasbuh1hhjG!ubj)}(h h]h }(hjl!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjG!ubj*)}(hj-h]h*}(hjz!hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjG!ubj5)}(hwaith]hwait}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjG!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h __u64 *cnth](h)}(hhh]j5)}(h__u64h]h__u64}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j]j!c.eventfd_ctx_remove_wait_queueasbuh1hhj!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)}(hcnth]hcnt}(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)}(h0Read the current counter and removes wait queue.h]h0Read the current counter and removes wait queue.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj"hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjhNhNubj)}(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)}(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.chKhj""ubj)}(hhh](j)}(h=``struct eventfd_ctx *ctx`` [in] Pointer to eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hjG"h]hstruct eventfd_ctx *ctx}(hjI"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE"ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhjA"ubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(hj`"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\"hKhj]"ubah}(h]h ]h"]h$]h&]uh1jhjA"ubeh}(h]h ]h"]h$]h&]uh1jhj\"hKhj>"ubj)}(h<``wait_queue_entry_t *wait`` [in] Wait queue to be removed. h](j)}(h``wait_queue_entry_t *wait``h]j)}(hj"h]hwait_queue_entry_t *wait}(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.chKhjz"ubj)}(hhh]h)}(h[in] Wait queue to be removed.h]h[in] Wait queue to be removed.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hKhj"ubah}(h]h ]h"]h$]h&]uh1jhjz"ubeh}(h]h ]h"]h$]h&]uh1jhj"hKhj>"ubj)}(h:``__u64 *cnt`` [out] Pointer to the 64-bit counter value. h](j)}(h``__u64 *cnt``h]j)}(hj"h]h __u64 *cnt}(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.chKhj"ubj)}(hhh]h)}(h*[out] Pointer to the 64-bit counter value.h]h*[out] Pointer to the 64-bit counter value.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hKhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hKhj>"ubeh}(h]h ]h"]h$]h&]uh1jhj""ubh)}(h**Description**h]j)}(hj"h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj""ubh)}(h:Returns ``0`` if successful, or the following error codes:h](hReturns }(hj #hhhNhNubj)}(h``0``h]h0}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj #ubh- if successful, or the following error codes:}(hj #hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj""ubh option_list)}(hhh]hoption_list_item)}(hhh](h option_group)}(hhh]hoption)}(h-EAGAINh](h option_string)}(h-Eh]h-E}hjB#sbah}(h]h ]h"]h$]h&]uh1j@#hj<#ubhoption_argument)}(hAGAINh]hAGAIN}(hjR#hhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jP#hj<#ubeh}(h]h ]h"]h$]h&]uh1j:#hj7#ubah}(h]h ]h"]h$]h&]uh1j5#hj2#ubh description)}(h$: The operation would have blocked. h]h)}(h#: The operation would have blocked.h]h#: The operation would have blocked.}(hjs#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhjo#ubah}(h]h ]h"]h$]h&]uh1jm#hj2#ubeh}(h]h ]h"]h$]h&]uh1j0#hj-#ubah}(h]h ]h"]h$]h&]uh1j+#hj#hKhj""ubh)}(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.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj""ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heventfd_fget (C function)c.eventfd_fgethNtauh1hhjhhhNhNubh)}(hhh](j)}(h#struct file * eventfd_fget (int fd)h]j)}(h!struct file *eventfd_fget(int fd)h](j )}(hjzh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM:ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhj#hM: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)}j eventfd_fgetsbc.eventfd_fgetasbuh1hhj#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/)}(h eventfd_fgeth]j5)}(hj$h]h eventfd_fget}(hj"$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#hhhj#hM:ubj)}(h(int fd)h]j)}(hint fdh](j)}(hinth]hint}(hj=$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj9$ubj)}(h h]h }(hjK$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9$ubj5)}(hfdh]hfd}(hjY$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5$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)}(h2Acquire a reference of an eventfd file descriptor.h]h2Acquire a reference of an eventfd file descriptor.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM:hj$hhubah}(h]h ]h"]h$]h&]uh1jbhj#hhhj#hM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``int fd`` [in] Eventfd file descriptor. **Description** Returns a pointer to the eventfd file structure in case of success, or the following error pointer: -EBADF : Invalid **fd** file descriptor. -EINVAL : The **fd** file descriptor is not an eventfd file.h](h)}(h**Parameters**h]j)}(hj$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.chM>hj$ubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hj$h]hint fd}(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.chM;hj$ubj)}(hhh]h)}(h[in] Eventfd file descriptor.h]h[in] Eventfd file descriptor.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hM;hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM;hj$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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM=hj$ubh)}(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%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM<hj$ubj,#)}(hhh](j1#)}(hhh](j6#)}(hhh]j;#)}(h-EBADFh](jA#)}(h-Eh]h-E}hj1%sbah}(h]h ]h"]h$]h&]uh1j@#hj-%ubjQ#)}(hBADFh]hBADF}(hj?%hhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jP#hj-%ubeh}(h]h ]h"]h$]h&]uh1j:#hj*%ubah}(h]h ]h"]h$]h&]uh1j5#hj'%ubjn#)}(h!: Invalid **fd** file descriptor.h]h)}(hj\%h](h : Invalid }(hj^%hhhNhNubj)}(h**fd**h]hfd}(hje%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^%ubh file descriptor.}(hj^%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM?hjZ%ubah}(h]h ]h"]h$]h&]uh1jm#hj'%ubeh}(h]h ]h"]h$]h&]uh1j0#hj$%ubj1#)}(hhh](j6#)}(hhh]j;#)}(h-EINVALh](jA#)}(h-Eh]h-E}hj%sbah}(h]h ]h"]h$]h&]uh1j@#hj%ubjQ#)}(hINVALh]hINVAL}(hj%hhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jP#hj%ubeh}(h]h ]h"]h$]h&]uh1j:#hj%ubah}(h]h ]h"]h$]h&]uh1j5#hj%ubjn#)}(h4: The **fd** file descriptor is not an eventfd file.h]h)}(hj%h](h: The }(hj%hhhNhNubj)}(h**fd**h]hfd}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh( file descriptor is not an eventfd file.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM@hj%ubah}(h]h ]h"]h$]h&]uh1jm#hj%ubeh}(h]h ]h"]h$]h&]uh1j0#hj$%ubeh}(h]h ]h"]h$]h&]uh1j+#hj}%hM?hj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heventfd_ctx_fdget (C function)c.eventfd_ctx_fdgethNtauh1hhjhhhNhNubh)}(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&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMTubj)}(h h]h }(hj!&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&hhhj &hMTubh)}(hhh]j5)}(h eventfd_ctxh]h eventfd_ctx}(hj2&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4&modnameN classnameNjj)}j]j)}jeventfd_ctx_fdgetsbc.eventfd_ctx_fdgetasbuh1hhj&hhhj &hMTubj)}(h h]h }(hjS&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&hhhj &hMTubj*)}(hj-h]h*}(hja&hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&hhhj &hMTubj/)}(heventfd_ctx_fdgeth]j5)}(hjP&h]heventfd_ctx_fdget}(hjr&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjn&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj&hhhj &hMTubj)}(h(int fd)h]j)}(hint fdh](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)}(hfdh]hfd}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubah}(h]h ]h"]h$]h&]jLjMuh1jhj&hhhj &hMTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj &hhhj &hMTubah}(h]j&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj &hMThj&hhubjc)}(hhh]h)}(h5Acquires a reference to the internal eventfd context.h]h5Acquires 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.chMThj&hhubah}(h]h ]h"]h$]h&]uh1jbhj&hhhj &hMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjhNhNubj)}(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)}(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.chMXhj&ubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hj'h]hint fd}(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.chMUhj'ubj)}(hhh]h)}(h[in] Eventfd file descriptor.h]h[in] Eventfd file descriptor.}(hj-'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)'hMUhj*'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj)'hMUhj 'ubah}(h]h ]h"]h$]h&]uh1jhj&ubh)}(h**Description**h]j)}(hjO'h]h Description}(hjQ'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM'ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMWhj&ubh)}(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:}(hje'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMVhj&ubh)}(h eventfd_fgeth]h eventfd_fget}(hjt'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMYhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eventfd_ctx_fileget (C function)c.eventfd_ctx_filegethNtauh1hhjhhhNhNubh)}(hhh](j)}(h+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6+ubh# if ready events are available, or }(hj6+hhhNhNubj)}(h``zero``h]hzero}(hjP+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6+ubh otherwise.}(hj6+hhhNhNubeh}(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&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!busy_loop_ep_timeout (C function)c.busy_loop_ep_timeouthNtauh1hhj)hhhNhNubh)}(hhh](j)}(hJbool busy_loop_ep_timeout (unsigned long start_time, struct eventpoll *ep)h]j)}(hIbool busy_loop_ep_timeout(unsigned long start_time, struct eventpoll *ep)h](j)}(hjh]hbool}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj+hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+hhhj+hMubj/)}(hbusy_loop_ep_timeouth]j5)}(hbusy_loop_ep_timeouth]hbusy_loop_ep_timeout}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj+hhhj+hMubj)}(h0(unsigned long start_time, struct eventpoll *ep)h](j)}(hunsigned long start_timeh](j)}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj)}(hlongh]hlong}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj5)}(h start_timeh]h start_time}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+ubj)}(hstruct eventpoll *eph](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 eventpollh]h eventpoll}(hj4,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6,modnameN classnameNjj)}j]j)}jj+sbc.busy_loop_ep_timeoutasbuh1hhj,ubj)}(h h]h }(hjT,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj*)}(hj-h]h*}(hjb,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj,ubj5)}(heph]hep}(hjo,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)}(hcheck if busy poll has timed out. The timeout value from the epoll instance ep is preferred, but if it is not set fallback to the system-wide global via busy_loop_timeout.h]hcheck if busy poll has timed out. The timeout value from the epoll instance ep is preferred, but if it is not set fallback to the system-wide global via busy_loop_timeout.}(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,jjjuh1hhhhj)hNhNubj)}(h**Parameters** ``unsigned long start_time`` The start time used to compute the remaining time until timeout. ``struct eventpoll *ep`` Pointer to the eventpoll context. **Return** true if the timeout has expired, false otherwise.h](h)}(h**Parameters**h]j)}(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^``unsigned long start_time`` The start time used to compute the remaining time until timeout. h](j)}(h``unsigned long start_time``h]j)}(hj,h]hunsigned long start_time}(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@The start time used to compute the remaining time until timeout.h]h@The start time used to compute the remaining time until timeout.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj,ubj)}(h;``struct 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,ubeh}(h]h ]h"]h$]h&]uh1jhj,ubh)}(h **Return**h]j)}(hjN-h]hReturn}(hjP-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL-ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj,ubh)}(h1true if the timeout has expired, false otherwise.h]h1true if the timeout has expired, false otherwise.}(hjd-hhhNhNubah}(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&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hreverse_path_check (C function)c.reverse_path_checkhNtauh1hhj)hhhNhNubh)}(hhh](j)}(hint reverse_path_check (void)h]j)}(hint reverse_path_check(void)h](j)}(hinth]hint}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj-hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-hhhj-hMubj/)}(hreverse_path_checkh]j5)}(hreverse_path_checkh]hreverse_path_check}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj-hhhj-hMubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj-ubah}(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)}(hThe tfile_check_list is list of epitem_head, which have links that are proposed to be newly added. We need to make sure that those added links don't add too many paths such that we will spend all our time waking up eventpoll objects.h]hThe tfile_check_list is list of epitem_head, which have links that are proposed to be newly added. We need to make sure that those added links don’t add too many paths such that we will spend all our time waking up eventpoll objects.}(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.jjjuh1hhhhj)hNhNubj)}(h**Parameters** ``void`` no arguments **Return** ``zero`` if the proposed links don't create too many paths, ``-1`` otherwise.h](h)}(h**Parameters**h]j)}(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``void`` no arguments h](j)}(h``void``h]j)}(hj;.h]hvoid}(hj=.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9.ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chKhj5.ubj)}(hhh]h)}(h no argumentsh]h no arguments}(hjT.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP.hKhjQ.ubah}(h]h ]h"]h$]h&]uh1jhj5.ubeh}(h]h ]h"]h$]h&]uh1jhjP.hKhj2.ubah}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h **Return**h]j)}(hjv.h]hReturn}(hjx.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt.ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chKhj.ubh)}(hM``zero`` if the proposed links don't create too many paths, ``-1`` otherwise.h](j)}(h``zero``h]hzero}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh6 if the proposed links don’t create too many paths, }(hj.hhhNhNubj)}(h``-1``h]h-1}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh otherwise.}(hj.hhhNhNubeh}(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&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_poll (C function) c.ep_pollhNtauh1hhj)hhhNhNubh)}(hhh](j)}(hpint ep_poll (struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h]j)}(hoint ep_poll(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.hhhj.hMubj/)}(hep_pollh]j5)}(hep_pollh]hep_poll}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj.hhhj.hMubj)}(hd(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h](j)}(hstruct eventpoll *eph](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 eventpollh]h eventpoll}(hj6/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8/modnameN classnameNjj)}j]j)}jj.sb c.ep_pollasbuh1hhj/ubj)}(h h]h }(hjV/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj*)}(hj-h]h*}(hjd/hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj/ubj5)}(heph]hep}(hjq/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]jR/ 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 0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj5)}(h maxeventsh]h maxevents}(hj(0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(hstruct timespec64 *timeouth](j )}(hjzh]hstruct}(hjA0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=0ubj)}(h h]h }(hjN0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=0ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hj_0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetja0modnameN classnameNjj)}j]jR/ c.ep_pollasbuh1hhj=0ubj)}(h h]h }(hj}0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=0ubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj=0ubj5)}(htimeouth]htimeout}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=0ubeh}(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.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj0hhubah}(h]h ]h"]h$]h&]uh1jbhj.hhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhj)hNhNubj)}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj0ubj)}(hhh](j)}(h;``struct eventpoll *ep`` Pointer to the eventpoll context. h](j)}(h``struct eventpoll *ep``h]j)}(hj1h]hstruct eventpoll *ep}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj0ubj)}(hhh]h)}(h!Pointer to the eventpoll context.h]h!Pointer to the eventpoll context.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubj)}(ho``struct epoll_event __user *events`` Pointer to the userspace buffer where the ready events should be stored. h](j)}(h%``struct epoll_event __user *events``h]j)}(hj<1h]h!struct epoll_event __user *events}(hj>1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:1ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj61ubj)}(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.}(hjU1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjR1ubah}(h]h ]h"]h$]h&]uh1jhj61ubeh}(h]h ]h"]h$]h&]uh1jhjQ1hMhj0ubj)}(hR``int maxevents`` Size (in terms of number of events) of the caller event buffer. h](j)}(h``int maxevents``h]j)}(hjv1h]h int maxevents}(hjx1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt1ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjp1ubj)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjp1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubj)}(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)}(hj1h]hstruct timespec64 *timeout}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj1ubj)}(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 }(hj1hhhNhNubj)}(h **timeout**h]htimeout}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubhi ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred).}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h **Return**h]j)}(hj1h]hReturn}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj0ubh)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_loop_check_proc (C function)c.ep_loop_check_prochNtauh1hhj)hhhNhNubh)}(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}(hjB2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>2hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chM ubj)}(h h]h }(hjQ2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>2hhhjP2hM ubj/)}(hep_loop_check_proch]j5)}(hep_loop_check_proch]hep_loop_check_proc}(hjc2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_2ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>2hhhjP2hM ubj)}(h!(struct eventpoll *ep, int depth)h](j)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{2ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}jje2sbc.ep_loop_check_procasbuh1hhj{2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{2ubj*)}(hj-h]h*}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{2ubj5)}(heph]hep}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjw2ubj)}(h int depthh](j)}(hinth]hint}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj5)}(hdepthh]hdepth}(hj 3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjw2ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj>2hhhjP2hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:2hhhjP2hM ubah}(h]j52ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjP2hM hj72hhubjc)}(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 }(hj73hhhNhNubj)}(h**ep**h]hep}(hj?3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj73ubhl inside another epoll file does not create closed loops, and determine the depth of the subtree starting at }(hj73hhhNhNubj)}(h**ep**h]hep}(hjQ3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj73ubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chM hj43hhubah}(h]h ]h"]h$]h&]uh1jbhj72hhhjP2hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjo3jjo3jjjuh1hhhhj)hNhNubj)}(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)}(hjy3h]h Parameters}(hj{3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw3ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chM hjs3ubj)}(hhh](j)}(h]``struct eventpoll *ep`` the :c:type:`struct eventpoll ` to be currently checked. h](j)}(h``struct eventpoll *ep``h]j)}(hj3h]hstruct eventpoll *ep}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chM hj3ubj)}(hhh]h)}(hCthe :c:type:`struct eventpoll ` to be currently checked.h](hthe }(hj3hhhNhNubh)}(h&:c:type:`struct eventpoll `h]j)}(hj3h]hstruct eventpoll}(hj3hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj eventpolluh1hhj3hM hj3ubh to be currently checked.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj3hM hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM hj3ubj)}(h7``int depth`` Current depth of the path being checked. h](j)}(h ``int depth``h]j)}(hj3h]h int depth}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj3ubj)}(hhh]h)}(h(Current depth of the path being checked.h]h(Current depth of the path being checked.}(hj 4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 4hMhj 4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj 4hMhj3ubeh}(h]h ]h"]h$]h&]uh1jhjs3ubh)}(h **Return**h]j)}(hj/4h]hReturn}(hj14hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-4ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjs3ubh)}(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.}(hjE4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjs3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_loop_check (C function)c.ep_loop_checkhNtauh1hhj)hhhNhNubh)}(hhh](j)}(h>int ep_loop_check (struct eventpoll *ep, struct eventpoll *to)h]j)}(h=int ep_loop_check(struct eventpoll *ep, struct eventpoll *to)h](j)}(hinth]hint}(hjt4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjp4hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMJubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjp4hhhj4hMJubj/)}(h ep_loop_checkh]j5)}(h ep_loop_checkh]h ep_loop_check}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjp4hhhj4hMJubj)}(h,(struct eventpoll *ep, struct eventpoll *to)h](j)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]j)}jj4sbc.ep_loop_checkasbuh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hj4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(heph]hep}(hj 5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubj)}(hstruct eventpoll *toh](j )}(hjzh]hstruct}(hj#5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hj05hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hjA5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjC5modnameN classnameNjj)}j]j4c.ep_loop_checkasbuh1hhj5ubj)}(h h]h }(hj_5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj*)}(hj-h]h*}(hjm5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5ubj5)}(htoh]hto}(hjz5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjp4hhhj4hMJubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjl4hhhj4hMJubah}(h]jg4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj4hMJhji4hhubjc)}(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 (}(hj5hhhNhNubj)}(h**to**h]hto}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh*) into another epoll file (represented by }(hj5hhhNhNubj)}(h**ep**h]hep}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh2) does not create closed loops or too deep chains.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMJhj5hhubah}(h]h ]h"]h$]h&]uh1jbhji4hhhj4hMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhj)hNhNubj)}(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)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMNhj5ubj)}(hhh](j)}(hE``struct eventpoll *ep`` Pointer to the epoll we are inserting into. h](j)}(h``struct eventpoll *ep``h]j)}(hj 6h]hstruct eventpoll *ep}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMNhj6ubj)}(hhh]h)}(h+Pointer to the epoll we are inserting into.h]h+Pointer to the epoll we are inserting into.}(hj"6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMNhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMNhj6ubj)}(h>``struct eventpoll *to`` Pointer to the epoll to be inserted. h](j)}(h``struct eventpoll *to``h]j)}(hjB6h]hstruct eventpoll *to}(hjD6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@6ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMOhj<6ubj)}(hhh]h)}(h$Pointer to the epoll to be inserted.h]h$Pointer to the epoll to be inserted.}(hj[6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjW6hMOhjX6ubah}(h]h ]h"]h$]h&]uh1jhj<6ubeh}(h]h ]h"]h$]h&]uh1jhjW6hMOhj6ubeh}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h **Return**h]j)}(hj}6h]hReturn}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{6ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMQhj5ubh)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh if adding the epoll }(hj6hhhNhNubj)}(h**to**h]hto}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh inside the epoll }(hj6hhhNhNubj)}(h**from**h]hfrom}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh& does not violate the constraints, or }(hj6hhhNhNubj)}(h``-1``h]h-1}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh otherwise.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMQhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubeh}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sysfs_create_file_ns (C function)c.sysfs_create_file_nshNtauh1hhj6hhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMgubj)}(h h]h }(hj.7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhj-7hMgubj/)}(hsysfs_create_file_nsh]j5)}(hsysfs_create_file_nsh]hsysfs_create_file_ns}(hj@7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<7ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj7hhhj-7hMgubj)}(hD(struct kobject *kobj, const struct attribute *attr, const void *ns)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj\7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX7ubj)}(h h]h }(hji7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjX7ubh)}(hhh]j5)}(hkobjecth]hkobject}(hjz7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjw7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|7modnameN classnameNjj)}j]j)}jjB7sbc.sysfs_create_file_nsasbuh1hhjX7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjX7ubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjX7ubj5)}(hkobjh]hkobj}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjX7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjT7ubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(h attributeh]h attribute}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj 8modnameN classnameNjj)}j]j7c.sysfs_create_file_nsasbuh1hhj7ubj)}(h h]h }(hj%8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hj38hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hattrh]hattr}(hj@8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjT7ubj)}(hconst void *nsh](j )}(hjUh]hconst}(hjY8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjU8ubj)}(h h]h }(hjf8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjU8ubj)}(hvoidh]hvoid}(hjt8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjU8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjU8ubj*)}(hj-h]h*}(hj8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjU8ubj5)}(hnsh]hns}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjU8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjT7ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj7hhhj-7hMgubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj7hhhj-7hMgubah}(h]j7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj-7hMghj7hhubjc)}(hhh]h)}(h5create an attribute file for an object with custom nsh]h5create an attribute file for an object with custom ns}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMghj8hhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhj-7hMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhj6hNhNubj)}(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)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMkhj8ubj)}(hhh](j)}(h3``struct kobject *kobj`` object we're creating for h](j)}(h``struct kobject *kobj``h]j)}(hj9h]hstruct kobject *kobj}(hj 9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhhj9ubj)}(hhh]h)}(hobject we're creating forh]hobject we’re creating for}(hj!9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhhj8ubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hjA9h]hconst struct attribute *attr}(hjC9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMihj;9ubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hjZ9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjV9hMihjW9ubah}(h]h ]h"]h$]h&]uh1jhj;9ubeh}(h]h ]h"]h$]h&]uh1jhjV9hMihj8ubj)}(h:``const void *ns`` namespace the new file should belong toh](j)}(h``const void *ns``h]j)}(hjz9h]hconst void *ns}(hj|9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMkhjt9ubj)}(hhh]h)}(h'namespace the new file should belong toh]h'namespace the new file should belong to}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMjhj9ubah}(h]h ]h"]h$]h&]uh1jhjt9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMkhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$sysfs_add_file_to_group (C function)c.sysfs_add_file_to_grouphNtauh1hhj6hhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj9hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9hhhj9hMubj/)}(hsysfs_add_file_to_grouph]j5)}(hsysfs_add_file_to_grouph]hsysfs_add_file_to_group}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj9hhhj9hMubj)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj :ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj :ubh)}(hhh]j5)}(hkobjecth]hkobject}(hj/:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1:modnameN classnameNjj)}j]j)}jj9sbc.sysfs_add_file_to_groupasbuh1hhj :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)}(hkobjh]hkobj}(hjj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj :ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj :ubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(h attributeh]h attribute}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj)}j]jK:c.sysfs_add_file_to_groupasbuh1hhj: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 :ubj)}(hconst char *grouph](j )}(hjUh]hconst}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ;ubj)}(hcharh]hchar}(hj);hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ;ubj)}(h h]h }(hj7;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ;ubj*)}(hj-h]h*}(hjE;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ;ubj5)}(hgrouph]hgroup}(hjR;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj :ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj9hhhj9hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj9hhhj9hMubah}(h]j9ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9hMhj9hhubjc)}(hhh]h)}(h.add an attribute file to a pre-existing group.h]h.add an attribute file to a pre-existing group.}(hj|;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjy;hhubah}(h]h ]h"]h$]h&]uh1jbhj9hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhj6hNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're acting for. ``const struct attribute *attr`` attribute descriptor. ``const char *group`` group name.h](h)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj;ubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hj;h]hstruct kobject *kobj}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj;ubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj;ubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hj;h]hconst struct attribute *attr}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj;ubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj <hMhj <ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj <hMhj;ubj)}(h!``const char *group`` group name.h](j)}(h``const char *group``h]j)}(hj/<h]hconst char *group}(hj1<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)}(h group name.h]h group name.}(hjH<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjE<ubah}(h]h ]h"]h$]h&]uh1jhj)<ubeh}(h]h ]h"]h$]h&]uh1jhjD<hMhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_chmod_file (C function)c.sysfs_chmod_filehNtauh1hhj6hhhNhNubh)}(hhh](j)}(hWint sysfs_chmod_file (struct kobject *kobj, const struct attribute *attr, umode_t mode)h]j)}(hVint sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, umode_t mode)h](j)}(hinth]hint}(hj<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj<hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<hhhj<hMubj/)}(hsysfs_chmod_fileh]j5)}(hsysfs_chmod_fileh]hsysfs_chmod_file}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj<hhhj<hMubj)}(hB(struct kobject *kobj, const struct attribute *attr, umode_t mode)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubh)}(hhh]j5)}(hkobjecth]hkobject}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj)}j]j)}jj<sbc.sysfs_chmod_fileasbuh1hhj<ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubj*)}(hj-h]h*}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj<ubj5)}(hkobjh]hkobj}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj<ubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hj8=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4=ubj)}(h h]h }(hjE=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4=ubj )}(hjzh]hstruct}(hjS=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4=ubj)}(h h]h }(hj`=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4=ubh)}(hhh]j5)}(h attributeh]h attribute}(hjq=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjn=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjs=modnameN classnameNjj)}j]j=c.sysfs_chmod_fileasbuh1hhj4=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4=ubj*)}(hj-h]h*}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4=ubj5)}(hattrh]hattr}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj<ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj)}j]j=c.sysfs_chmod_fileasbuh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubj5)}(hmodeh]hmode}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj<ubeh}(h]h ]h"]h$]h&]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)}(h6update the modified mode value on an object attribute.h]h6update the modified mode value on an object attribute.}(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&]uh1jbhj~<hhhj<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4>jj4>jjjuh1hhhhj6hNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're acting for. ``const struct attribute *attr`` attribute descriptor. ``umode_t mode`` file permissions.h](h)}(h**Parameters**h]j)}(hj>>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.chMhj8>ubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hj]>h]hstruct kobject *kobj}(hj_>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[>ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjW>ubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjv>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjr>hMhjs>ubah}(h]h ]h"]h$]h&]uh1jhjW>ubeh}(h]h ]h"]h$]h&]uh1jhjr>hMhjT>ubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hj>h]hconst struct attribute *attr}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj>ubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjT>ubj)}(h"``umode_t mode`` file permissions.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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj>ubj)}(hhh]h)}(hfile permissions.h]hfile permissions.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjT>ubeh}(h]h ]h"]h$]h&]uh1jhj8>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sysfs_break_active_protection (C function)c.sysfs_break_active_protectionhNtauh1hhj6hhhNhNubh)}(hhh](j)}(hgstruct kernfs_node * sysfs_break_active_protection (struct kobject *kobj, const struct attribute *attr)h]j)}(hestruct kernfs_node *sysfs_break_active_protection(struct kobject *kobj, const struct attribute *attr)h](j )}(hjzh]hstruct}(hj)?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%?hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj7?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%?hhhj6?hMubh)}(hhh]j5)}(h kernfs_nodeh]h kernfs_node}(hjH?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjE?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJ?modnameN classnameNjj)}j]j)}jsysfs_break_active_protectionsbc.sysfs_break_active_protectionasbuh1hhj%?hhhj6?hMubj)}(h h]h }(hji?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%?hhhj6?hMubj*)}(hj-h]h*}(hjw?hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj%?hhhj6?hMubj/)}(hsysfs_break_active_protectionh]j5)}(hjf?h]hsysfs_break_active_protection}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj%?hhhj6?hMubj)}(h4(struct kobject *kobj, const struct attribute *attr)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]jd?c.sysfs_break_active_protectionasbuh1hhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj*)}(hj-h]h*}(hj?hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?ubj5)}(hkobjh]hkobj}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj?ubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj)}(h h]h }(hj @hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj )}(hjzh]hstruct}(hj.@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj)}(h h]h }(hj;@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubh)}(hhh]j5)}(h attributeh]h attribute}(hjL@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjI@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjN@modnameN classnameNjj)}j]jd?c.sysfs_break_active_protectionasbuh1hhj@ubj)}(h h]h }(hjj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj*)}(hj-h]h*}(hjx@hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj@ubj5)}(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%?hhhj6?hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj!?hhhj6?hMubah}(h]j?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6?hMhj?hhubjc)}(hhh]h)}(hbreak "active" protectionh]hbreak “active” protection}(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&]uh1jbhj?hhhj6?hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhj6hNhNubj)}(hX**Parameters** ``struct kobject *kobj`` The kernel object **attr** is associated with. ``const struct attribute *attr`` The attribute to break the "active" protection for. **Description** With sysfs, just like kernfs, deletion of an attribute is postponed until all active .show() and .store() callbacks have finished unless this function is called. Hence this function is useful in methods that implement self deletion.h](h)}(h**Parameters**h]j)}(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)}(hH``struct kobject *kobj`` The kernel object **attr** is associated with. 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.chMhj@ubj)}(hhh]h)}(h.The kernel object **attr** is associated with.h](hThe kernel object }(hj AhhhNhNubj)}(h**attr**h]hattr}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Aubh is associated with.}(hj AhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj@ubj)}(hU``const struct attribute *attr`` The attribute to break the "active" protection for. h](j)}(h ``const struct attribute *attr``h]j)}(hj;Ah]hconst struct attribute *attr}(hj=AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Aubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj5Aubj)}(hhh]h)}(h3The attribute to break the "active" protection for.h]h7The attribute to break the “active” protection for.}(hjTAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPAhMhjQAubah}(h]h ]h"]h$]h&]uh1jhj5Aubeh}(h]h ]h"]h$]h&]uh1jhjPAhMhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@ubh)}(h**Description**h]j)}(hjvAh]h Description}(hjxAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtAubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj@ubh)}(hWith sysfs, just like kernfs, deletion of an attribute is postponed until all active .show() and .store() callbacks have finished unless this function is called. Hence this function is useful in methods that implement self deletion.h]hWith sysfs, just like kernfs, deletion of an attribute is postponed until all active .show() and .store() callbacks have finished unless this function is called. Hence this function is useful in methods that implement self deletion.}(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&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,sysfs_unbreak_active_protection (C function)!c.sysfs_unbreak_active_protectionhNtauh1hhj6hhhNhNubh)}(hhh](j)}(h=void sysfs_unbreak_active_protection (struct kernfs_node *kn)h]j)}(hHash the attribute name and namespace tag and kill the victim.h]h>Hash the attribute name and namespace tag and kill the victim.}(hjEhhhNhNubah}(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&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sysfs_remove_file_self (C function)c.sysfs_remove_file_selfhNtauh1hhj6hhhNhNubh)}(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)FhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj%FhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj7FhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%Fhhhj6FhMubj/)}(hsysfs_remove_file_selfh]j5)}(hsysfs_remove_file_selfh]hsysfs_remove_file_self}(hjIFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEFubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj%Fhhhj6FhMubj)}(h4(struct kobject *kobj, const struct attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjeFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaFubj)}(h h]h }(hjrFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaFubh)}(hhh]j5)}(hkobjecth]hkobject}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j]j)}jjKFsbc.sysfs_remove_file_selfasbuh1hhjaFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaFubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjaFubj5)}(hkobjh]hkobj}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]Fubj)}(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}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]jFc.sysfs_remove_file_selfasbuh1hhjFubj)}(h h]h }(hj.GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sysfs_remove_file_from_group (C function)c.sysfs_remove_file_from_grouphNtauh1hhj6hhhNhNubh)}(hhh](j)}(hivoid sysfs_remove_file_from_group (struct kobject *kobj, const struct attribute *attr, const char *group)h]j)}(hhvoid sysfs_remove_file_from_group(struct kobject *kobj, const struct attribute *attr, const char *group)h](j)}(hvoidh]hvoid}(hjmHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjiHhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM&ubj)}(h h]h }(hj|HhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiHhhhj{HhM&ubj/)}(hsysfs_remove_file_from_grouph]j5)}(hsysfs_remove_file_from_grouph]hsysfs_remove_file_from_group}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjiHhhhj{HhM&ubj)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubh)}(hhh]j5)}(hkobjecth]hkobject}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j]j)}jjHsbc.sysfs_remove_file_from_groupasbuh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjHubj5)}(hkobjh]hkobj}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hj)IhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj )}(hjzh]hstruct}(hj7IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjDIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubh)}(hhh]j5)}(h attributeh]h attribute}(hjUIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWImodnameN classnameNjj)}j]jHc.sysfs_remove_file_from_groupasbuh1hhjIubj)}(h h]h }(hjsIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIubj5)}(hattrh]hattr}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubj)}(hconst char *grouph](j )}(hjUh]hconst}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj)}(hcharh]hchar}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIubj5)}(hgrouph]hgroup}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubeh}(h]h ]h"]h$]h&]jLjMuh1jhjiHhhhj{HhM&ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjeHhhhj{HhM&ubah}(h]j`Hah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{HhM&hjbHhhubjc)}(hhh]h)}(h&remove an attribute file from a group.h]h&remove an attribute file from a group.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM&hjJhhubah}(h]h ]h"]h$]h&]uh1jbhjbHhhhj{HhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-Jjj-Jjjjuh1hhhhj6hNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're acting for. ``const struct attribute *attr`` attribute descriptor. ``const char *group`` group name.h](h)}(h**Parameters**h]j)}(hj7Jh]h Parameters}(hj9JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Jubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM*hj1Jubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjVJh]hstruct kobject *kobj}(hjXJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTJubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM'hjPJubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjoJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkJhM'hjlJubah}(h]h ]h"]h$]h&]uh1jhjPJubeh}(h]h ]h"]h$]h&]uh1jhjkJhM'hjMJubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hjJh]hconst struct attribute *attr}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM(hjJubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhM(hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM(hjMJubj)}(h!``const char *group`` group name.h](j)}(h``const char *group``h]j)}(hjJh]hconst char *group}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM*hjJubj)}(hhh]h)}(h group name.h]h group name.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM)hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM*hjMJubeh}(h]h ]h"]h$]h&]uh1jhj1Jubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sysfs_create_bin_file (C function)c.sysfs_create_bin_filehNtauh1hhj6hhhNhNubh)}(hhh](j)}(hRint sysfs_create_bin_file (struct kobject *kobj, const struct bin_attribute *attr)h]j)}(hQint sysfs_create_bin_file(struct kobject *kobj, const struct bin_attribute *attr)h](j)}(hinth]hint}(hj"KhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM?ubj)}(h h]h }(hj1KhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhj0KhM?ubj/)}(hsysfs_create_bin_fileh]j5)}(hsysfs_create_bin_fileh]hsysfs_create_bin_file}(hjCKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?Kubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhj0KhM?ubj)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj_KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[Kubj)}(h h]h }(hjlKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[Kubh)}(hhh]j5)}(hkobjecth]hkobject}(hj}KhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj)}j]j)}jjEKsbc.sysfs_create_bin_fileasbuh1hhj[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)}(hkobjh]hkobj}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[Kubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjWKubj)}(h const struct bin_attribute *attrh](j )}(hjUh]hconst}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(h bin_attributeh]h bin_attribute}(hj LhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj LmodnameN classnameNjj)}j]jKc.sysfs_create_bin_fileasbuh1hhjKubj)}(h h]h }(hj(LhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj*)}(hj-h]h*}(hj6LhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjKubj5)}(hattrh]hattr}(hjCLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjWKubeh}(h]h ]h"]h$]h&]jLjMuh1jhjKhhhj0KhM?ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjKhhhj0KhM?ubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj0KhM?hjKhhubjc)}(hhh]h)}(hcreate binary file for object.h]hcreate binary file for object.}(hjmLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM?hjjLhhubah}(h]h ]h"]h$]h&]uh1jbhjKhhhj0KhM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj6hNhNubj)}(hp**Parameters** ``struct kobject *kobj`` object. ``const struct bin_attribute *attr`` attribute descriptor.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.chMChjLubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjLh]hstruct kobject *kobj}(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.chM@hjLubj)}(hhh]h)}(hobject.h]hobject.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhM@hjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhM@hjLubj)}(h:``const struct bin_attribute *attr`` attribute descriptor.h](j)}(h$``const struct bin_attribute *attr``h]j)}(hjLh]h const struct bin_attribute *attr}(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.chMBhjLubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMAhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMBhjLubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sysfs_remove_bin_file (C function)c.sysfs_remove_bin_filehNtauh1hhj6hhhNhNubh)}(hhh](j)}(hSvoid sysfs_remove_bin_file (struct kobject *kobj, const struct bin_attribute *attr)h]j)}(hRvoid sysfs_remove_bin_file(struct kobject *kobj, const struct bin_attribute *attr)h](j)}(hvoidh]hvoid}(hjAMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj=MhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMSubj)}(h h]h }(hjPMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=MhhhjOMhMSubj/)}(hsysfs_remove_bin_fileh]j5)}(hsysfs_remove_bin_fileh]hsysfs_remove_bin_file}(hjbMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^Mubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj=MhhhjOMhMSubj)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj~MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzMubh)}(hhh]j5)}(hkobjecth]hkobject}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj)}j]j)}jjdMsbc.sysfs_remove_bin_fileasbuh1hhjzMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzMubj*)}(hj-h]h*}(hjMhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzMubj5)}(hkobjh]hkobj}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvMubj)}(h const struct bin_attribute *attrh](j )}(hjUh]hconst}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj )}(hjzh]hstruct}(hj NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubh)}(hhh]j5)}(h bin_attributeh]h bin_attribute}(hj)NhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&Nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+NmodnameN classnameNjj)}j]jMc.sysfs_remove_bin_fileasbuh1hhjMubj)}(h h]h }(hjGNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj*)}(hj-h]h*}(hjUNhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjMubj5)}(hattrh]hattr}(hjbNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvMubeh}(h]h ]h"]h$]h&]jLjMuh1jhj=MhhhjOMhMSubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj9MhhhjOMhMSubah}(h]j4Mah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjOMhMShj6Mhhubjc)}(hhh]h)}(hremove binary file for object.h]hremove binary file for object.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMShjNhhubah}(h]h ]h"]h$]h&]uh1jbhj6MhhhjOMhMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhj6hNhNubj)}(hp**Parameters** ``struct kobject *kobj`` object. ``const struct bin_attribute *attr`` attribute descriptor.h](h)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMWhjNubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjNh]hstruct kobject *kobj}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMThjNubj)}(hhh]h)}(hobject.h]hobject.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMThjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMThjNubj)}(h:``const struct bin_attribute *attr`` attribute descriptor.h](j)}(h$``const struct bin_attribute *attr``h]j)}(hjOh]h const struct bin_attribute *attr}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMVhjOubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMUhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMVhjNubeh}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$sysfs_file_change_owner (C function)c.sysfs_file_change_ownerhNtauh1hhj6hhhNhNubh)}(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}(hj`OhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj\OhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjoOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\OhhhjnOhMubj/)}(hsysfs_file_change_ownerh]j5)}(hsysfs_file_change_ownerh]hsysfs_file_change_owner}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}Oubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj\OhhhjnOhMubj)}(hB(struct kobject *kobj, const char *name, kuid_t kuid, kgid_t kgid)h](j)}(hstruct kobject *kobjh](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]j)}jjOsbc.sysfs_file_change_ownerasbuh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj*)}(hj-h]h*}(hjOhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOubj5)}(hkobjh]hkobj}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubj)}(hconst char *nameh](j )}(hjUh]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Pubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Pubj)}(hcharh]hchar}(hj*PhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj Pubj)}(h h]h }(hj8PhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Pubj*)}(hj-h]h*}(hjFPhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj Pubj5)}(hnameh]hname}(hjSPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Pubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubj)}(h kuid_t kuidh](h)}(hhh]j5)}(hkuid_th]hkuid_t}(hjoPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqPmodnameN classnameNjj)}j]jOc.sysfs_file_change_ownerasbuh1hhjhPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhPubj5)}(hkuidh]hkuid}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubj)}(h kgid_t kgidh](h)}(hhh]j5)}(hkgid_th]hkgid_t}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]jOc.sysfs_file_change_ownerasbuh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj5)}(hkgidh]hkgid}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubeh}(h]h ]h"]h$]h&]jLjMuh1jhj\OhhhjnOhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjXOhhhjnOhMubah}(h]jSOah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjnOhMhjUOhhubjc)}(hhh]h)}(hchange owner of a sysfs file.h]hchange owner of a sysfs file.}(hj QhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj Qhhubah}(h]h ]h"]h$]h&]uh1jbhjUOhhhjnOhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%Qjj%Qjjjuh1hhhhj6hNhNubj)}(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/Qh]h Parameters}(hj1QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Qubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj)Qubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjNQh]hstruct kobject *kobj}(hjPQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLQubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjHQubj)}(hhh]h)}(hobject.h]hobject.}(hjgQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjcQhMhjdQubah}(h]h ]h"]h$]h&]uh1jhjHQubeh}(h]h ]h"]h$]h&]uh1jhjcQhMhjEQubj)}(h1``const char *name`` name of the file to change. h](j)}(h``const char *name``h]j)}(hjQh]hconst char *name}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjQubj)}(hhh]h)}(hname of the file to change.h]hname of the file to change.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjEQubj)}(h!``kuid_t kuid`` new owner's kuid h](j)}(h``kuid_t kuid``h]j)}(hjQh]h kuid_t kuid}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjQubj)}(hhh]h)}(hnew owner's kuidh]hnew owner’s kuid}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjEQubj)}(h!``kgid_t kgid`` new owner's kgid h](j)}(h``kgid_t kgid``h]j)}(hjQh]h kgid_t kgid}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjQubj)}(hhh]h)}(hnew owner's kgidh]hnew owner’s kgid}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjEQubeh}(h]h ]h"]h$]h&]uh1jhj)Qubh)}(h**Description**h]j)}(hj4Rh]h Description}(hj6RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Rubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj)Qubh)}(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 }(hjJRhhhNhNubj)}(h**name**h]hname}(hjRRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJRubh under }(hjJRhhhNhNubj)}(h**kobj**h]hkobj}(hjdRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJRubh and changes the ownership to }(hjJRhhhNhNubj)}(h**kuid**h]hkuid}(hjvRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJRubh/}(hjJRhhhNhNubj)}(h**kgid**h]hkgid}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJRubh.}(hjJRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj)Qubh)}(h.Returns 0 on success or error code on failure.h]h.Returns 0 on success or error code on failure.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj)Qubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_change_owner (C function)c.sysfs_change_ownerhNtauh1hhj6hhhNhNubh)}(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}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjRhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRhhhjRhMubj/)}(hsysfs_change_ownerh]j5)}(hsysfs_change_ownerh]hsysfs_change_owner}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjRhhhjRhMubj)}(h0(struct kobject *kobj, kuid_t kuid, kgid_t kgid)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Subj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Subh)}(hhh]j5)}(hkobjecth]hkobject}(hj+ShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(Subah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-SmodnameN classnameNjj)}j]j)}jjRsbc.sysfs_change_ownerasbuh1hhj Subj)}(h h]h }(hjKShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Subj*)}(hj-h]h*}(hjYShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj Subj5)}(hkobjh]hkobj}(hjfShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Subeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjSubj)}(h kuid_t kuidh](h)}(hhh]j5)}(hkuid_th]hkuid_t}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]jGSc.sysfs_change_ownerasbuh1hhj{Subj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{Subj5)}(hkuidh]hkuid}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{Subeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjSubj)}(h kgid_t kgidh](h)}(hhh]j5)}(hkgid_th]hkgid_t}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]jGSc.sysfs_change_ownerasbuh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj5)}(hkgidh]hkgid}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjSubeh}(h]h ]h"]h$]h&]jLjMuh1jhjRhhhjRhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjRhhhjRhMubah}(h]jRah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRhMhjRhhubjc)}(hhh]h)}(h!change owner of the given object.h]h!change owner of the given object.}(hj ThhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjThhubah}(h]h ]h"]h$]h&]uh1jbhjRhhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8Tjj8Tjjjuh1hhhhj6hNhNubj)}(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)}(hjBTh]h Parameters}(hjDThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@Tubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Uubh/}(hj$UhhhNhNubj)}(h**kgid**h]hkgid}(hjPUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Uubh. 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 }(hj$UhhhNhNubj)}(h**kobj**h]hkobj}(hjbUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Uubh6, the default attributes associated with the ktype of }(hj$UhhhNhNubj)}(h**kobj**h]hkobj}(hjtUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Uubh9 and the default attributes associated with the ktype of }(hj$UhhhNhNubj)}(h**kobj**h]hkobj}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Uubh. 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.}(hj$UhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj= 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)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj}Yubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hjYh]h char *buf}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjYubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjYubj)}(hX``int at`` offset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZE h](j)}(h ``int at``h]j)}(hjYh]hint at}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjYubj)}(hhh]h)}(hLoffset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZEh](h offset in }(hjYhhhNhNubj)}(h**buf**h]hbuf}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh to start write in bytes }(hjYhhhNhNubj)}(h**at**h]hat}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh must be >= 0 && < PAGE_SIZE}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjYubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hj9Zh]hconst char *fmt}(hj;ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Zubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj3Zubj)}(hhh]h)}(hformath]hformat}(hjRZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNZhMhjOZubah}(h]h ]h"]h$]h&]uh1jhj3Zubeh}(h]h ]h"]h$]h&]uh1jhjNZhMhjYubj)}(h&``...`` optional arguments to **fmt** h](j)}(h``...``h]j)}(hjrZh]h...}(hjtZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpZubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjlZubj)}(hhh]h)}(hoptional arguments to **fmt**h](hoptional arguments to }(hjZhhhNhNubj)}(h**fmt**h]hfmt}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1hhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjlZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjYubeh}(h]h ]h"]h$]h&]uh1jhj}Yubh)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj}Yubh)}(hBReturns number of characters written starting at &**buf**[**at**].h](h:Returns number of characters written starting at &**buf**[}(hjZhhhNhNubj)}(h**at**h]hat}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh].}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj}Yubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'sysfs_bin_attr_simple_read (C function)c.sysfs_bin_attr_simple_readhNtauh1hhj6hhhNhNubh)}(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[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj)}j]j)}jsysfs_bin_attr_simple_readsbc.sysfs_bin_attr_simple_readasbuh1hhj[hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj7[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[hhhj6[hMubj/)}(hsysfs_bin_attr_simple_readh]j5)}(hj3[h]hsysfs_bin_attr_simple_read}(hjI[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjE[ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj[hhhj6[hMubj)}(hp(struct file *file, struct kobject *kobj, const struct bin_attribute *attr, char *buf, loff_t off, size_t count)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(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)}(hfileh]hfile}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj)}j]j1[c.sysfs_bin_attr_simple_readasbuh1hhj`[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`[ubj*)}(hj-h]h*}(hj[hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj`[ubj5)}(hfileh]hfile}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\[ubj)}(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]j1[c.sysfs_bin_attr_simple_readasbuh1hhj[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)}(h const struct bin_attribute *attrh](j )}(hjUh]hconst}(hjD\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@\ubj)}(h h]h }(hjQ\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@\ubj )}(hjzh]hstruct}(hj_\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@\ubj)}(h h]h }(hjl\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@\ubh)}(hhh]j5)}(h bin_attributeh]h bin_attribute}(hj}\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjz\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]j1[c.sysfs_bin_attr_simple_readasbuh1hhj@\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\[ubj)}(h char *bufh](j)}(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)}(hbufh]hbuf}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\[ubj)}(h loff_t offh](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]j1[c.sysfs_bin_attr_simple_readasbuh1hhj ]ubj)}(h h]h }(hj2]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ]ubj5)}(hoffh]hoff}(hj@]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\[ubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hj\]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjY]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^]modnameN classnameNjj)}j]j1[c.sysfs_bin_attr_simple_readasbuh1hhjU]ubj)}(h h]h }(hjz]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjU]ubj5)}(hcounth]hcount}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjU]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\[ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj[hhhj6[hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj [hhhj6[hMubah}(h]j[ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6[hMhj[hhubjc)}(hhh]h)}(h)read callback to simply copy from memory.h]h)read callback to simply copy from memory.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhj6[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj6hNhNubj)}(hX**Parameters** ``struct file *file`` attribute file which is being read. ``struct kobject *kobj`` object to which the attribute belongs. ``const struct bin_attribute *attr`` attribute descriptor. ``char *buf`` destination buffer. ``loff_t off`` offset in bytes from which to read. ``size_t count`` maximum number of bytes to read. **Description** Simple ->read() callback for bin_attributes backed by a buffer in memory. The **private** and **size** members in struct bin_attribute must be set to the buffer's location and size before the bin_attribute is created in sysfs. Bounds check for **off** and **count** is done in sysfs_kf_bin_read(). Negative value check for **off** is done in vfs_setpos() and default_llseek(). Returns number of bytes written to **buf**.h](h)}(h**Parameters**h]j)}(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.chM hj]ubj)}(hhh](j)}(h:``struct file *file`` attribute file which is being read. 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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj]ubj)}(hhh]h)}(h#attribute file which is being read.h]h#attribute file which is being read.}(hj ^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMhj ^ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj]ubj)}(h@``struct kobject *kobj`` object to which the attribute belongs. h](j)}(h``struct kobject *kobj``h]j)}(hj,^h]hstruct kobject *kobj}(hj.^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*^ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj&^ubj)}(hhh]h)}(h&object to which the attribute belongs.h]h&object to which the attribute belongs.}(hjE^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjA^hMhjB^ubah}(h]h ]h"]h$]h&]uh1jhj&^ubeh}(h]h ]h"]h$]h&]uh1jhjA^hMhj]ubj)}(h;``const struct bin_attribute *attr`` attribute descriptor. h](j)}(h$``const struct bin_attribute *attr``h]j)}(hje^h]h const struct bin_attribute *attr}(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)}(hattribute descriptor.h]hattribute descriptor.}(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)}(h"``char *buf`` destination buffer. h](j)}(h ``char *buf``h]j)}(hj^h]h char *buf}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM hj^ubj)}(hhh]h)}(hdestination buffer.h]hdestination buffer.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hM hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM hj]ubj)}(h3``loff_t off`` offset in bytes from which to read. h](j)}(h``loff_t off``h]j)}(hj^h]h loff_t off}(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.chM!hj^ubj)}(hhh]h)}(h#offset in bytes from which to read.h]h#offset in bytes from which to read.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hM!hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM!hj]ubj)}(h2``size_t count`` maximum number of bytes to read. h](j)}(h``size_t count``h]j)}(hj_h]h size_t count}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM"hj _ubj)}(hhh]h)}(h maximum number of bytes to read.h]h maximum number of bytes to read.}(hj)_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%_hM"hj&_ubah}(h]h ]h"]h$]h&]uh1jhj _ubeh}(h]h ]h"]h$]h&]uh1jhj%_hM"hj]ubeh}(h]h ]h"]h$]h&]uh1jhj]ubh)}(h**Description**h]j)}(hjK_h]h Description}(hjM_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI_ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM$hj]ubh)}(hSimple ->read() callback for bin_attributes backed by a buffer in memory. The **private** and **size** members in struct bin_attribute must be set to the buffer's location and size before the bin_attribute is created in sysfs.h](hNSimple ->read() callback for bin_attributes backed by a buffer in memory. The }(hja_hhhNhNubj)}(h **private**h]hprivate}(hji_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja_ubh and }(hja_hhhNhNubj)}(h**size**h]hsize}(hj{_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja_ubh~ members in struct bin_attribute must be set to the buffer’s location and size before the bin_attribute is created in sysfs.}(hja_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM#hj]ubh)}(hBounds check for **off** and **count** is done in sysfs_kf_bin_read(). Negative value check for **off** is done in vfs_setpos() and default_llseek().h](hBounds check for }(hj_hhhNhNubj)}(h**off**h]hoff}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh and }(hj_hhhNhNubj)}(h **count**h]hcount}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh: is done in sysfs_kf_bin_read(). Negative value check for }(hj_hhhNhNubj)}(h**off**h]hoff}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh. is done in vfs_setpos() and default_llseek().}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM'hj]ubh)}(h+Returns number of bytes written to **buf**.h](h#Returns number of bytes written to }(hj_hhhNhNubj)}(h**buf**h]hbuf}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM*hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_create_link (C function)c.sysfs_create_linkhNtauh1hhj6hhhNhNubh)}(hhh](j)}(hVint sysfs_create_link (struct kobject *kobj, struct kobject *target, const char *name)h]j)}(hUint sysfs_create_link(struct kobject *kobj, struct kobject *target, const char *name)h](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj`hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKTubj)}(h h]h }(hj)`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`hhhj(`hKTubj/)}(hsysfs_create_linkh]j5)}(hsysfs_create_linkh]hsysfs_create_link}(hj;`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7`ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj`hhhj(`hKTubj)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjW`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS`ubj)}(h h]h }(hjd`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjS`ubh)}(hhh]j5)}(hkobjecth]hkobject}(hju`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjr`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjw`modnameN classnameNjj)}j]j)}jj=`sbc.sysfs_create_linkasbuh1hhjS`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjS`ubj*)}(hj-h]h*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjS`ubj5)}(hkobjh]hkobj}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjS`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjO`ubj)}(hstruct kobject *targeth](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`c.sysfs_create_linkasbuh1hhj`ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj*)}(hj-h]h*}(hjahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj`ubj5)}(htargeth]htarget}(hj ahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjO`ubj)}(hconst char *nameh](j )}(hjUh]hconst}(hj9ahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5aubj)}(h h]h }(hjFahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5aubj)}(hcharh]hchar}(hjTahhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj5aubj)}(h h]h }(hjbahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5aubj*)}(hj-h]h*}(hjpahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5aubj5)}(hnameh]hname}(hj}ahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5aubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjO`ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj`hhhj(`hKTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj`hhhj(`hKTubah}(h]j `ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj(`hKThj`hhubjc)}(hhh]h)}(h#create symlink between two objects.h]h#create symlink between two objects.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKThjahhubah}(h]h ]h"]h$]h&]uh1jbhj`hhhj(`hKTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhj6hNhNubj)}(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)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKXhjaubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hjah]hstruct kobject *kobj}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKUhjaubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahKUhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahKUhjaubj)}(h5``struct kobject *target`` object we're pointing to. h](j)}(h``struct kobject *target``h]j)}(hj!bh]hstruct kobject *target}(hj#bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKVhjbubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hj:bhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6bhKVhj7bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj6bhKVhjaubj)}(h)``const char *name`` name of the symlink.h](j)}(h``const char *name``h]j)}(hjZbh]hconst char *name}(hj\bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXbubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKXhjTbubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hjsbhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKWhjpbubah}(h]h ]h"]h$]h&]uh1jhjTbubeh}(h]h ]h"]h$]h&]uh1jhjobhKXhjaubeh}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%sysfs_create_link_nowarn (C function)c.sysfs_create_link_nowarnhNtauh1hhj6hhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjbhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKaubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhjbhKaubj/)}(hsysfs_create_link_nowarnh]j5)}(hsysfs_create_link_nowarnh]hsysfs_create_link_nowarn}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjbhhhjbhKaubj)}(h@(struct kobject *kobj, struct kobject *target, const char *name)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}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]j)}jjbsbc.sysfs_create_link_nowarnasbuh1hhjbubj)}(h h]h }(hj/chhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj*)}(hj-h]h*}(hj=chhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbubj5)}(hkobjh]hkobj}(hjJchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(hstruct kobject *targeth](j )}(hjzh]hstruct}(hjcchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_cubj)}(h h]h }(hjpchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_cubh)}(hhh]j5)}(hkobjecth]hkobject}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]j+cc.sysfs_create_link_nowarnasbuh1hhj_cubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_cubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj_cubj5)}(htargeth]htarget}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_cubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(hconst char *nameh](j )}(hjUh]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj)}(hcharh]hchar}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hj dhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hnameh]hname}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubeh}(h]h ]h"]h$]h&]jLjMuh1jhjbhhhjbhKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjbhhhjbhKaubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjbhKahjbhhubjc)}(hhh]h)}(h#create symlink between two objects.h]h#create symlink between two objects.}(hjAdhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKahj>dhhubah}(h]h ]h"]h$]h&]uh1jbhjbhhhjbhKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYdjjYdjjjuh1hhhhj6hNhNubj)}(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)}(hjcdh]h Parameters}(hjedhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjadubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKehj]dubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hjdh]hstruct kobject *kobj}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKbhj|dubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhKbhjdubah}(h]h ]h"]h$]h&]uh1jhj|dubeh}(h]h ]h"]h$]h&]uh1jhjdhKbhjydubj)}(h5``struct kobject *target`` object we're pointing to. h](j)}(h``struct kobject *target``h]j)}(hjdh]hstruct kobject *target}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKchjdubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhKchjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhKchjydubj)}(h*``const char *name`` name of the symlink. h](j)}(h``const char *name``h]j)}(hjdh]hconst char *name}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKdhjdubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hj ehhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ehKdhj eubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhj ehKdhjydubeh}(h]h ]h"]h$]h&]uh1jhj]dubh)}(h**Description**h]j)}(hj/eh]h Description}(hj1ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-eubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKfhj]dubj )}(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.}(hjIehhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKehjEeubah}(h]h ]h"]h$]h&]uh1jhjWehKehj]dubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_remove_link (C function)c.sysfs_remove_linkhNtauh1hhj6hhhNhNubh)}(hhh](j)}(h?void sysfs_remove_link (struct kobject *kobj, const char *name)h]j)}(h>void sysfs_remove_link(struct kobject *kobj, const char *name)h](j)}(hvoidh]hvoid}(hj~ehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjzehhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzehhhjehKubj/)}(hsysfs_remove_linkh]j5)}(hsysfs_remove_linkh]hsysfs_remove_link}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjzehhhjehKubj)}(h((struct kobject *kobj, const char *name)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh)}(hhh]j5)}(hkobjecth]hkobject}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]j)}jjesbc.sysfs_remove_linkasbuh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(hkobjh]hkobj}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hconst char *nameh](j )}(hjUh]hconst}(hj-fhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)fubj)}(h h]h }(hj:fhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)fubj)}(hcharh]hchar}(hjHfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)fubj)}(h h]h }(hjVfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)fubj*)}(hj-h]h*}(hjdfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj)fubj5)}(hnameh]hname}(hjqfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)fubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubeh}(h]h ]h"]h$]h&]jLjMuh1jhjzehhhjehKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjvehhhjehKubah}(h]jqeah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjehKhjsehhubjc)}(hhh]h)}(h%remove symlink in object's directory.h]h'remove symlink in object’s directory.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjfhhubah}(h]h ]h"]h$]h&]uh1jbhjsehhhjehKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhj6hNhNubj)}(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)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjfubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjfh]hstruct kobject *kobj}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjfubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhKhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjfubj)}(h3``const char *name`` name of the symlink to remove.h](j)}(h``const char *name``h]j)}(hjgh]hconst char *name}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjgubj)}(hhh]h)}(hname of the symlink to remove.h]hname of the symlink to remove.}(hj.ghhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhj+gubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhj*ghKhjfubeh}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sysfs_rename_link_ns (C function)c.sysfs_rename_link_nshNtauh1hhj6hhhNhNubh)}(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}(hjoghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjkghhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKubj)}(h h]h }(hj~ghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkghhhj}ghKubj/)}(hsysfs_rename_link_nsh]j5)}(hsysfs_rename_link_nsh]hsysfs_rename_link_ns}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjkghhhj}ghKubj)}(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}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubh)}(hhh]j5)}(hkobjecth]hkobject}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j)}jjgsbc.sysfs_rename_link_nsasbuh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj*)}(hj-h]h*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjgubj5)}(hkobjh]hkobj}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hstruct kobject *targh](j )}(hjzh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(h h]h }(hj+hhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubh)}(hhh]j5)}(hkobjecth]hkobject}(hjhmodnameN classnameNjj)}j]jgc.sysfs_rename_link_nsasbuh1hhjhubj)}(h h]h }(hjZhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj*)}(hj-h]h*}(hjhhhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhubj5)}(htargh]htarg}(hjuhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hconst char *oldh](j )}(hjUh]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj)}(hcharh]hchar}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj*)}(hj-h]h*}(hjhhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhubj5)}(holdh]hold}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hconst char *newh](j )}(hjUh]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj)}(hcharh]hchar}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj*)}(hj-h]h*}(hj"ihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhubj5)}(hnewh]hnew}(hj/ihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hconst void *new_nsh](j )}(hjUh]hconst}(hjHihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDiubj)}(h h]h }(hjUihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDiubj)}(hvoidh]hvoid}(hjcihhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjDiubj)}(h h]h }(hjqihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDiubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDiubj5)}(hnew_nsh]hnew_ns}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubeh}(h]h ]h"]h$]h&]jLjMuh1jhjkghhhj}ghKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjgghhhj}ghKubah}(h]jbgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj}ghKhjdghhubjc)}(hhh]h)}(h%rename symlink in object's directory.h]h'rename symlink in object’s directory.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjihhubah}(h]h ]h"]h$]h&]uh1jbhjdghhhj}ghKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhj6hNhNubj)}(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)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjiubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjih]hstruct kobject *kobj}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjiubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj jhKhj jubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhj jhKhjiubj)}(h3``struct kobject *targ`` object we're pointing to. h](j)}(h``struct kobject *targ``h]j)}(hj0jh]hstruct kobject *targ}(hj2jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.jubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhj*jubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hjIjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEjhKhjFjubah}(h]h ]h"]h$]h&]uh1jhj*jubeh}(h]h ]h"]h$]h&]uh1jhjEjhKhjiubj)}(h2``const char *old`` previous name of the symlink. h](j)}(h``const char *old``h]j)}(hjijh]hconst char *old}(hjkjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjcjubj)}(hhh]h)}(hprevious name of the symlink.h]hprevious name of the symlink.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~jhKhjjubah}(h]h ]h"]h$]h&]uh1jhjcjubeh}(h]h ]h"]h$]h&]uh1jhj~jhKhjiubj)}(h-``const char *new`` new name of the symlink. h](j)}(h``const char *new``h]j)}(hjjh]hconst char *new}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjjubj)}(hhh]h)}(hnew name of the symlink.h]hnew name of the symlink.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhKhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhKhjiubj)}(h5``const void *new_ns`` new namespace of the symlink. h](j)}(h``const void *new_ns``h]j)}(hjjh]hconst void *new_ns}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjjubj)}(hhh]h)}(hnew namespace of the symlink.h]hnew namespace of the symlink.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhKhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhKhjiubeh}(h]h ]h"]h$]h&]uh1jhjiubh)}(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:134: ./fs/sysfs/symlink.chKhjiubj )}(h6A helper function for the common rename symlink idiom.h]h)}(hj.kh]h6A helper function for the common rename symlink idiom.}(hj0khhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhj,kubah}(h]h ]h"]h$]h&]uh1jhj=khKhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj6hhhNhNubeh}(h]+the-filesystem-for-exporting-kernel-objectsah ]h"]+the filesystem for exporting kernel objectsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hThe debugfs filesystemh]hThe debugfs filesystem}(hjVkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjSkhhhhhKubh)}(hhh](h)}(hdebugfs interfaceh]hdebugfs interface}(hjgkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdkhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_lookup (C function)c.debugfs_lookuphNtauh1hhjdkhhhNhNubh)}(hhh](j)}(hHstruct dentry * debugfs_lookup (const char *name, struct dentry *parent)h]j)}(hFstruct dentry *debugfs_lookup(const char *name, struct dentry *parent)h](j )}(hjzh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMQubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhjkhMQubh)}(hhh]j5)}(hdentryh]hdentry}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j)}jdebugfs_lookupsbc.debugfs_lookupasbuh1hhjkhhhjkhMQubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhjkhMQubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkhhhjkhMQubj/)}(hdebugfs_lookuph]j5)}(hjkh]hdebugfs_lookup}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjkhhhjkhMQubj)}(h)(const char *name, struct dentry *parent)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj)}(hcharh]hchar}(hj#lhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjlubj)}(h h]h }(hj1lhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hj-h]h*}(hj?lhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hnameh]hname}(hjLlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjelhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjalubj)}(h h]h }(hjrlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjalubh)}(hhh]j5)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jkc.debugfs_lookupasbuh1hhjalubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjalubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjalubj5)}(hparenth]hparent}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjalubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubeh}(h]h ]h"]h$]h&]jLjMuh1jhjkhhhjkhMQubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkhhhjkhMQubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjkhMQhjkhhubjc)}(hhh]h)}(h look up an existing debugfs fileh]h look up an existing debugfs file}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMQhjlhhubah}(h]h ]h"]h$]h&]uh1jbhjkhhhjkhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjdkhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to look up. ``struct dentry *parent`` a pointer to the parent dentry of the file. **Description** This function will return a pointer to a dentry if it succeeds. If the file doesn't exist or an error occurs, ``NULL`` will be returned. The returned dentry must be passed to dput() when it is no longer needed. If debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h)}(h**Parameters**h]j)}(hjmh]h Parameters}(hj mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMUhjmubj)}(hhh](j)}(hW``const char *name`` a pointer to a string containing the name of the file to look up. h](j)}(h``const char *name``h]j)}(hj'mh]hconst char *name}(hj)mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%mubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMRhj!mubj)}(hhh]h)}(hAa pointer to a string containing the name of the file to look up.h]hAa pointer to a string containing the name of the file to look up.}(hj@mhhhNhNubah}(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)}(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:143: ./fs/debugfs/inode.chMhjpubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjph]hconst char *name}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjpubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hjph]h umode_t mode}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjpubj)}(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)}(hj3qh]hstruct dentry *parent}(hj5qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1qubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj-qubj)}(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.}(hjLqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjIqubah}(h]h ]h"]h$]h&]uh1jhj-qubeh}(h]h ]h"]h$]h&]uh1jhjHqhMhjpubj)}(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)}(hjmqh]h void *data}(hjoqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjgqubj)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjqubah}(h]h ]h"]h$]h&]uh1jhjgqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjpubj)}(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)}(hjqh]h"const struct file_operations *fops}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjqubj)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjpubeh}(h]h ]h"]h$]h&]uh1jhjpubh)}(h**Description**h]j)}(hjqh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubh)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubh)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubh)}(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.}(hjrhhhNhNubah}(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&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_file_size (C function)c.debugfs_create_file_sizehNtauh1hhjdkhhhNhNubh)}(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}(hjFrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBrhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM ubj)}(h h]h }(hjUrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBrhhhjTrhM ubj/)}(hdebugfs_create_file_sizeh]j5)}(hdebugfs_create_file_sizeh]hdebugfs_create_file_size}(hjgrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcrubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjBrhhhjTrhM ubj)}(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}(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*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj5)}(hnameh]hname}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{rubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]j)}jjirsbc.debugfs_create_file_sizeasbuh1hhjrubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj5)}(hmodeh]hmode}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{rubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj*shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&subj)}(h h]h }(hj7shhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&subh)}(hhh]j5)}(hdentryh]hdentry}(hjHshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJsmodnameN classnameNjj)}j]jrc.debugfs_create_file_sizeasbuh1hhj&subj)}(h h]h }(hjfshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&subj*)}(hj-h]h*}(hjtshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&subj5)}(hparenth]hparent}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&subeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{rubj)}(h void *datah](j)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hjshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hdatah]hdata}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{rubj)}(h"const struct file_operations *fopsh](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 }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]jrc.debugfs_create_file_sizeasbuh1hhjsubj)}(h h]h }(hj3thhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hjAthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hfopsh]hfops}(hjNthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{rubj)}(hloff_t file_sizeh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjltmodnameN classnameNjj)}j]jrc.debugfs_create_file_sizeasbuh1hhjctubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjctubj5)}(h file_sizeh]h file_size}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjctubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{rubeh}(h]h ]h"]h$]h&]jLjMuh1jhjBrhhhjTrhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj>rhhhjTrhM ubah}(h]j9rah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjTrhM hj;rhhubjc)}(hhh]h)}(h'create a file in the debugfs filesystemh]h'create a file in the debugfs filesystem}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM hjthhubah}(h]h ]h"]h$]h&]uh1jbhj;rhhhjTrhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjdkhNhNubj)}(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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjtubj)}(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)}(hjuh]hconst char *name}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjtubj)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjtubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hj:uh]h umode_t mode}(hjhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_automount (C function)c.debugfs_create_automounthNtauh1hhjdkhhhNhNubh)}(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}(hjLyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHyhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMeubj)}(h h]h }(hjZyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHyhhhjYyhMeubh)}(hhh]j5)}(hdentryh]hdentry}(hjkyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmymodnameN classnameNjj)}j]j)}jdebugfs_create_automountsbc.debugfs_create_automountasbuh1hhjHyhhhjYyhMeubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHyhhhjYyhMeubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjHyhhhjYyhMeubj/)}(hdebugfs_create_automounth]j5)}(hjyh]hdebugfs_create_automount}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHyhhhjYyhMeubj)}(hL(const char *name, struct dentry *parent, debugfs_automount_t f, void *data)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj)}(hcharh]hchar}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjyubj5)}(hnameh]hname}(hj zhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj#zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj)}(h h]h }(hj0zhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubh)}(hhh]j5)}(hdentryh]hdentry}(hjAzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCzmodnameN classnameNjj)}j]jyc.debugfs_create_automountasbuh1hhjzubj)}(h h]h }(hj_zhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj*)}(hj-h]h*}(hjmzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzubj5)}(hparenth]hparent}(hjzzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubj)}(hdebugfs_automount_t fh](h)}(hhh]j5)}(hdebugfs_automount_th]hdebugfs_automount_t}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j]jyc.debugfs_create_automountasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj5)}(hjh]hf}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubj)}(h void *datah](j)}(hvoidh]hvoid}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzubj5)}(hdatah]hdata}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubeh}(h]h ]h"]h$]h&]jLjMuh1jhjHyhhhjYyhMeubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDyhhhjYyhMeubah}(h]j?yah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjYyhMehjAyhhubjc)}(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.chMehj*{hhubah}(h]h ]h"]h$]h&]uh1jbhjAyhhhjYyhMeubeh}(h]h ](jfunctioneh"]h$]h&]jjjjE{jjE{jjjuh1hhhhjdkhNhNubj)}(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)}(hjO{h]h Parameters}(hjQ{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM{ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMihjI{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)}(hjn{h]hconst char *name}(hjp{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMfhjh{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{hMfhj{ubah}(h]h ]h"]h$]h&]uh1jhjh{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMfhje{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)}(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.chMihj{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.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMghj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMihje{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.chMjhj{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.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMjhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMjhje{ubj)}(h/``void *data`` opaque argument to pass to f(). h](j)}(h``void *data``h]j)}(hj|h]h void *data}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMkhj|ubj)}(hhh]h)}(hopaque argument to pass to f().h]hopaque argument to pass to f().}(hj3|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/|hMkhj0|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj/|hMkhje{ubeh}(h]h ]h"]h$]h&]uh1jhjI{ubh)}(h**Description**h]j)}(hjU|h]h Description}(hjW|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS|ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMmhjI{ubh)}(h/**f** should return what ->d_automount() would.h](j)}(h**f**h]hf}(hjo|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk|ubh* should return what ->d_automount() would.}(hjk|hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMlhjI{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#debugfs_create_symlink (C function)c.debugfs_create_symlinkhNtauh1hhjdkhhhNhNubh)}(hhh](j)}(hdstruct dentry * debugfs_create_symlink (const char *name, struct dentry *parent, const char *target)h]j)}(hbstruct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, const char *target)h](j )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhj|hMubh)}(hhh]j5)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j)}jdebugfs_create_symlinksbc.debugfs_create_symlinkasbuh1hhj|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/)}(hdebugfs_create_symlinkh]j5)}(hj|h]hdebugfs_create_symlink}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhj|hMubj)}(h=(const char *name, struct dentry *parent, const char *target)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 }(hjK}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj*)}(hj-h]h*}(hjY}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}ubj5)}(hnameh]hname}(hjf}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.debugfs_create_symlinkasbuh1hhj{}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)}(hconst char *targeth](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)}(htargeth]htarget}(hj3~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)}(h0create a symbolic link in the debugfs filesystemh]h0create a symbolic link in the debugfs filesystem}(hj]~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjZ~hhubah}(h]h ]h"]h$]h&]uh1jbhj|hhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjju~jju~jjjuh1hhhhjdkhNhNubj)}(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)}(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.chMhjy~ubj)}(hhh](j)}(h_``const char *name`` a pointer to a string containing the name of the symbolic link to create. h](j)}(h``const char *name``h]j)}(hj~h]hconst char *name}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj~ubj)}(hhh]h)}(hIa pointer to a string containing the name of the symbolic link to create.h]hIa pointer to a string containing the name of the symbolic link to create.}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj~ubj)}(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.}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj~ubj)}(he``const char *target`` a pointer to a string containing the path to the target of the symbolic link. h](j)}(h``const char *target``h]j)}(hjh]hconst char *target}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj ubj)}(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.chMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj~ubeh}(h]h ]h"]h$]h&]uh1jhjy~ubh)}(h**Description**h]j)}(hjNh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjy~ubh)}(hiThis function creates a symbolic link with the given name in debugfs that links to the given target path.h]hiThis function creates a symbolic link with the given name in debugfs that links to the given target path.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjy~ubh)}(hX1This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the symbolic link is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.h]hX1This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the symbolic link is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjy~ubh)}(hPIf debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h4If debugfs is not enabled in the kernel, the value -}(hjhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh will be returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjy~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_remove (C function)c.debugfs_removehNtauh1hhjdkhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_removeh]j5)}(hdebugfs_removeh]hdebugfs_remove}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jjsbc.debugfs_removeasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjYhhhNhNubah}(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)}(hrecursively removes a directoryh]hrecursively removes a directory}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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)}(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.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.)}(hjhhhNhNubah}(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.}(hj%hhhNhNubah}(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&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&debugfs_lookup_and_remove (C function)c.debugfs_lookup_and_removehNtauh1hhjdkhhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjPhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM&ubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPhhhjbhM&ubj/)}(hdebugfs_lookup_and_removeh]j5)}(hdebugfs_lookup_and_removeh]hdebugfs_lookup_and_remove}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjPhhhjbhM&ubj)}(h)(const char *name, struct dentry *parent)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjȁhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjՁhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjwsbc.debugfs_lookup_and_removeasbuh1hhjubj)}(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}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(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)}(h4lookup a directory or file and recursively remove ith]h4lookup a directory or file and recursively remove it}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM&hjnhhubah}(h]h ]h"]h$]h&]uh1jbhjIhhhjbhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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.chM*hjubj)}(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.chM'hjubj)}(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&]uh1hhjǂhM'hjȂubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǂhM'hjubj)}(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.chM(hjubj)}(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&]uh1hhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj&h]h Description}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM*hjubh)}(hThis is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.h]hThis is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM)hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_change_name (C function)c.debugfs_change_namehNtauh1hhjdkhhhNhNubh)}(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}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjghhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM<ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjghhhjyhM<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.hjghhhjyhM<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}(hjƃhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjÃubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȃmodnameN classnameNjj)}j]j)}jjsbc.debugfs_change_nameasbuh1hhjubj)}(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)}(hconst char *fmth](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}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjQhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfmth]hfmt}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h...h]j*)}(hjVh]h...}(hjwhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjghhhjyhM<ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjchhhjyhM<ubah}(h]j^ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjyhM<hj`hhubjc)}(hhh]h)}(h1rename a file/directory in the debugfs filesystemh]h1rename a file/directory in the debugfs filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM<hjhhubah}(h]h ]h"]h$]h&]uh1jbhj`hhhjyhM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(hX**Parameters** ``struct dentry *dentry`` dentry of an object to be renamed. ``const char *fmt`` format for new name ``...`` variable arguments **Description** This function renames a file/directory in debugfs. The target must not exist for rename to succeed. This function will return 0 on success and -E... on failure. If debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h)}(h**Parameters**h]j)}(hj„h]h Parameters}(hjĄhhhNhNubah}(h]h ]h"]h$]h&]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)}(hjh]hstruct dentry *dentry}(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.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>hjubj)}(hhh]h)}(hformat for new nameh]hformat for new name}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hM>hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM>hj؄ubj)}(h``...`` variable arguments h](j)}(h``...``h]j)}(hjSh]h...}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chKhjMubj)}(hhh]h)}(hvariable argumentsh]hvariable arguments}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhKhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhKhj؄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)}(hubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubh)}(hX}Up to a matching call to debugfs_file_put(), any successive call into the file removing functions debugfs_remove() and debugfs_remove_recursive() will block. Since associated private file data may only get freed after a successful return of any of the removal functions, you may safely access it after a successful call to debugfs_file_get() without worrying about lifetime issues.h]hX}Up to a matching call to debugfs_file_put(), any successive call into the file removing functions debugfs_remove() and debugfs_remove_recursive() will block. Since associated private file data may only get freed after a successful return of any of the removal functions, you may safely access it after a successful call to debugfs_file_get() without worrying about lifetime issues.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubh)}(hIf -``EIO`` is returned, the file has already been removed and thus, it is not safe to access any of its data. If, on the other hand, it is allowed to access the file data, zero is returned.h](hIf -}(hjehhhNhNubj)}(h``EIO``h]hEIO}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh is returned, the file has already been removed and thus, it is not safe to access any of its data. If, on the other hand, it is allowed to access the file data, zero is returned.}(hjehhhNhNubeh}(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&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_file_put (C function)c.debugfs_file_puthNtauh1hhjdkhhhNhNubh)}(hhh](j)}(h-void debugfs_file_put (struct dentry *dentry)h]j)}(h,void debugfs_file_put(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hdebugfs_file_puth]j5)}(hdebugfs_file_puth]hdebugfs_file_put}(hjLjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjÈubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj߈ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj߈ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjɈsbc.debugfs_file_putasbuh1hhj߈ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj߈ubj*)}(hj-h]h*}(hj/hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj߈ubj5)}(hdentryh]hdentry}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj߈ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjۈubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h mark the end of file data accessh]h mark the end of file data access}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjchhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjdkhNhNubj)}(hX"**Parameters** ``struct dentry *dentry`` the dentry object formerly passed to debugfs_file_get(). **Description** Allow any ongoing concurrent call into debugfs_remove() or debugfs_remove_recursive() blocked by a former call to debugfs_file_get() to proceed and return to its caller.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubj)}(hhh]j)}(hS``struct dentry *dentry`` the dentry object formerly passed to debugfs_file_get(). h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubj)}(hhh]h)}(h8the dentry object formerly passed to debugfs_file_get().h]h8the dentry object formerly passed to debugfs_file_get().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubh)}(hAllow any ongoing concurrent call into debugfs_remove() or debugfs_remove_recursive() blocked by a former call to debugfs_file_get() to proceed and return to its caller.h]hAllow any ongoing concurrent call into debugfs_remove() or debugfs_remove_recursive() blocked by a former call to debugfs_file_get() to proceed and return to its caller.}(hjhhhNhNubah}(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&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_enter_cancellation (C function)c.debugfs_enter_cancellationhNtauh1hhjdkhhhNhNubh)}(hhh](j)}(h^void debugfs_enter_cancellation (struct file *file, struct debugfs_cancellation *cancellation)h]j)}(h]void debugfs_enter_cancellation(struct file *file, struct debugfs_cancellation *cancellation)h](j)}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$hhhj6hKubj/)}(hdebugfs_enter_cancellationh]j5)}(hdebugfs_enter_cancellationh]hdebugfs_enter_cancellation}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj$hhhj6hKubj)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjKsbc.debugfs_enter_cancellationasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjaubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubj)}(h)struct debugfs_cancellation *cancellationh](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)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjӊubj*)}(hj-h]h*}(hj!hhhNhNubah}(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&]noemphjLjMuh1jhj]ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj$hhhj6hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj6hKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6hKhjhhubjc)}(hhh]h)}(henter a debugfs cancellationh]henter a debugfs cancellation}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjUhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj6hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjdkhNhNubj)}(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)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjtubj)}(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.chKhjubah}(h]h ]h"]h$]h&]uh1jhj̋ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjtubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjtubh)}(hXWhen a debugfs file is removed it needs to wait for all active operations to complete. However, the operation itself may need to wait for hardware or completion of some asynchronous process or similar. As such, it may need to be cancelled to avoid long waits or even deadlocks.h]hXWhen a debugfs file is removed it needs to wait for all active operations to complete. However, the operation itself may need to wait for hardware or completion of some asynchronous process or similar. As such, it may need to be cancelled to avoid long waits or even deadlocks.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjtubh)}(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().}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjtubh)}(h?This function must be paired with debugfs_leave_cancellation().h]h?This function must be paired with debugfs_leave_cancellation().}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_leave_cancellation (C function)c.debugfs_leave_cancellationhNtauh1hhjdkhhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjmhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmhhhjhKubj/)}(hdebugfs_leave_cancellationh]j5)}(hdebugfs_leave_cancellationh]hdebugfs_leave_cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjmhhhjhKubj)}(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}(hǰhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɌubah}(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}(hj hhhNhNubah}(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}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj)}j]jc.debugfs_leave_cancellationasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h cancellationh]h cancellation}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjmhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjihhhjhKubah}(h]jdah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjfhhubjc)}(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&]uh1jbhjfhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(hX**Parameters** ``struct file *file`` the file being accessed ``struct debugfs_cancellation *cancellation`` the cancellation previously registered with debugfs_enter_cancellation() **Description** See the documentation of debugfs_enter_cancellation().h](h)}(h**Parameters**h]j)}(hjÍh]h Parameters}(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.chKhjubj)}(hhh](j)}(h.``struct file *file`` the file being accessed h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.chKhjubj)}(hhh]h)}(hHthe cancellation previously registered with debugfs_enter_cancellation()h]hHthe cancellation previously registered with debugfs_enter_cancellation()}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hKhjٍubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjWh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]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().}(hjmhhhNhNubah}(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&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u8 (C function)c.debugfs_create_u8hNtauh1hhjdkhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjՎubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjՎubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjՎubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjՎubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjՎubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjюubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_u8asbuh1hhj2ubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj5)}(hmodeh]hmode}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjюubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jUc.debugfs_create_u8asbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj*)}(hj-h]h*}(hjʏhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|ubj5)}(hparenth]hparent}(hj׏hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(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]jUc.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}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMQhjShhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjdkhNhNubj)}(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)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMUhjrubj)}(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.chMShjʐ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&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjʐubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj h]hstruct dentry *parent}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 }(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.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)}(hjUh]h u8 *value}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMXhjOubj)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMWhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMXhjubeh}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMZhjrubh)}(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.chMYhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u16 (C function)c.debugfs_create_u16hNtauh1hhjdkhhhNhNubh)}(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 }(hj hhhNhNubah}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj)}(hcharh]hchar}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj3ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hnameh]hname}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(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}(hjŒhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjޒhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjڒubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjڒubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_u16asbuh1hhjڒubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjڒubj*)}(hj-h]h*}(hj(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjڒubj5)}(hparenth]hparent}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjڒubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(h u16 *valueh](h)}(hhh]j5)}(hu16h]hu16}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]jc.debugfs_create_u16asbuh1hhjJubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj*)}(hj-h]h*}(hj}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(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̓jjjuh1hhhhjdkhNhNubj)}(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&]uh1hhj hMvhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMvhjubj)}(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}(hj0hhhNhNubah}(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.chMwhj(ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMwhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMwhjubj)}(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)}(hjgh]hstruct dentry *parent}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMzhjaubj)}(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.chMxhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMzhjubj)}(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{hjɔubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȔhM|hjubeh}(h]h ]h"]h$]h&]uh1jhjГubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 variable is so set, it can be read from, and written to.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM}hjГubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u32 (C function)c.debugfs_create_u32hNtauh1hhjdkhhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjThhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjfhMubj/)}(hdebugfs_create_u32h]j5)}(hdebugfs_create_u32h]hdebugfs_create_u32}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjfhMubj)}(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)}jj{sbc.debugfs_create_u32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]jc.debugfs_create_u32asbuh1hhj8ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj8ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjThhhjfhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjfhMubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjfhMhjMhhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 32-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 32-bit value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjfhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjdkhNhNubj)}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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)}(hjSh]hconst char *name}(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.chMhjMubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubj)}(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&]uh1jhjhMhjJubj)}(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.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}(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.chMhjۗubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڗhMhjJubj)}(hV``u32 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u32 *value``h]j)}(hjh]h u32 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(hj*hhhNhNubah}(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&hMhjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h**Description**h]j)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]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 }(hjchhhNhNubj)}(h **value**h]hvalue}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh . If the }(hjchhhNhNubj)}(h**mode**h]hmode}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh9 variable is so set, it can be read from, and written to.}(hjchhhNhNubeh}(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&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u64 (C function)c.debugfs_create_u64hNtauh1hhjdkhhhNhNubh)}(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 }(hjŘhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjĘhMubj/)}(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.hjhhhjĘhMubj)}(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}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]j)}jj٘sbc.debugfs_create_u64asbuh1hhjLubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(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]joc.debugfs_create_u64asbuh1hhjubj)}(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 u64 *valueh](h)}(hhh]j5)}(hu64h]hu64}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]joc.debugfs_create_u64asbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hjFhhhNhNubah}(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)}(hMcreate a debugfs file that is used to read and write an unsigned 64-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 64-bit value}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjĘhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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.}(hjʚhhhNhNubah}(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)}(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.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}(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.chMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(hV``u64 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u64 *value``h]j)}(hjoh]h u64 *value}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjiubj)}(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&]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: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}(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&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!debugfs_create_ulong (C function)c.debugfs_create_ulonghNtauh1hhjdkhhhNhNubh)}(hhh](j)}(hgvoid debugfs_create_ulong (const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h]j)}(hfvoid debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj"hMubj/)}(hdebugfs_create_ulongh]j5)}(hdebugfs_create_ulongh]hdebugfs_create_ulong}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj"hMubj)}(hM(const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj)}(hcharh]hchar}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjMubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjMubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(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)}jj7sbc.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&]noemphjLjMuh1jhjIubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j͜c.debugfs_create_ulongasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(hunsigned long *valueh](j)}(hunsignedh]hunsigned}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj"hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj"hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj"hMhj hhubjc)}(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&]uh1jbhj hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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&]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.}(hj1hhhNhNubah}(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)}(hjQh]h umode_t mode}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjKubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(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)}(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&]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)}(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 }(hj(hhhNhNubj)}(h **value**h]hvalue}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh . If the }(hj(hhhNhNubj)}(h**mode**h]hmode}(hjBhhhNhNubah}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x8 (C function)c.debugfs_create_x8hNtauh1hhjdkhhhNhNubh)}(hhh](j)}(hYvoid debugfs_create_x8 (const char *name, umode_t mode, struct dentry *parent, u8 *value)h]j)}(hXvoid debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](j)}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjhMubj/)}(hdebugfs_create_x8h]j5)}(hdebugfs_create_x8h]hdebugfs_create_x8}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjwhhhjhMubj)}(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 }(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_x8asbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubh)}(hhh]j5)}(hdentryh]hdentry}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j4c.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)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(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]j4c.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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjˠubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjwhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjhMubah}(h]jnah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjphhubjc)}(hhh]h)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jbhjphhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhjdkhNhNubj)}(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)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjQubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjvh]hconst char *name}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjpubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(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}(hjȡhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjġhMhjšubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjġhMhjmubj)}(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}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(hT``u8 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h ``u8 *value``h]j)}(hj4h]h u8 *value}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjmubeh}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x16 (C function)c.debugfs_create_x16hNtauh1hhjdkhhhNhNubh)}(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}(hjʢhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƢubj)}(h h]h }(hjעhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƢubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjƢubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƢubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjƢubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƢubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj¢ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_x16asbuh1hhj#ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj5)}(hmodeh]hmode}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj¢ubj)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jFc.debugfs_create_x16asbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjmubj5)}(hparenth]hparent}(hjȣhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj¢ubj)}(h u16 *valueh](h)}(hhh]j5)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jFc.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&]noemphjLjMuh1jhj¢ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM(ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM(ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM(hjhhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 16-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 16-bit value}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM(hjDhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhjdkhNhNubj)}(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)}(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.chM,hjcubj)}(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)}(hjh]h umode_t mode}(hjähhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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*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}(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.chM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(hU``u16 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u16 *value``h]j)}(hjFh]h u16 *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.chM.hj@ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(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&]uh1jhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x32 (C function)c.debugfs_create_x32hNtauh1hhjdkhhhNhNubh)}(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*}(hjhhhNhNubah}(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 umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj)}j]j)}jj¥sbc.debugfs_create_x32asbuh1hhj5ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj5)}(hmodeh]hmode}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(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]jXc.debugfs_create_x32asbuh1hhjubj)}(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}(hjڦhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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]jXc.debugfs_create_x32asbuh1hhjubj)}(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}(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}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM:hjVhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjdkhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u32 *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hj{h]h Parameters}(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.chM>hjuubj)}(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&]uh1hhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjͧubeh}(h]h ]h"]h$]h&]uh1jhjhM<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)}(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.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}(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.chM=hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hM?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)}(hjXh]h u32 *value}(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.chM@hjRubj)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM@hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM@hjubeh}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x64 (C function)c.debugfs_create_x64hNtauh1hhjdkhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j)}jjԨsbc.debugfs_create_x64asbuh1hhjGubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj5)}(hmodeh]hmode}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(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]jjc.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&]noemphjLjMuh1jhjubj)}(h u64 *valueh](h)}(hhh]j5)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jjc.debugfs_create_x64asbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(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}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMLhjhhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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.chMPhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(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.}(hjŪhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMMhjªubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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}(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.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 }(hj7hhhNhNubj)}(h``NULL``h]hNULL}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubhF, then the file will be created in the root of the debugfs filesystem.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMOhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMQhjubj)}(hU``u64 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u64 *value``h]j)}(hjjh]h u64 *value}(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.chMRhjdubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"debugfs_create_size_t (C function)c.debugfs_create_size_thNtauh1hhjdkhhhNhNubh)}(hhh](j)}(havoid debugfs_create_size_t (const char *name, umode_t mode, struct dentry *parent, size_t *value)h]j)}(h`void debugfs_create_size_t(const char *name, umode_t mode, struct dentry *parent, size_t *value)h](j)}(hvoidh]hvoid}(hjëhhhNhNubah}(h]h ]j ah"]h$]h&]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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(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 }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_size_tasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjŬhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj¬ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjǬmodnameN classnameNjj)}j]j|c.debugfs_create_size_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)}(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]j|c.debugfs_create_size_tasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMnhjzhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjѫhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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&]uh1hhj hMphj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMphjubj)}(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)}(hj0h]hstruct dentry *parent}(hj2hhhNhNubah}(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 }(hjIhhhNhNubj)}(h``NULL``h]hNULL}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubhF, then the file will be created in the root of the debugfs filesystem.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMqhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMshjubj)}(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)}(hj|h]h size_t *value}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMthjvubj)}(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&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$debugfs_create_atomic_t (C function)c.debugfs_create_atomic_thNtauh1hhjdkhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjѮhhhjhMubj/)}(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ѮhhhjhMubj)}(hH(const char *name, umode_t mode, struct dentry *parent, atomic_t *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(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)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_atomic_tasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjƯhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjׯhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjԯubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjٯmodnameN classnameNjj)}j]jc.debugfs_create_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&]noemphjLjMuh1jhj ubj)}(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_tasbuh1hhj%ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj*)}(hj-h]h*}(hjXhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj%ubj5)}(hvalueh]hvalue}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjѮhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjͮhhhjhMubah}(h]jȮah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjʮhhubjc)}(hhh]h)}(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&]uh1jbhjʮhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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.chMhjʰubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjʰubeh}(h]h ]h"]h$]h&]uh1jhjhMhjǰubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(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&]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)}(hjBh]hstruct dentry *parent}(hjDhhhNhNubah}(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 }(hj[hhhNhNubj)}(h``NULL``h]hNULL}(hjchhhNhNubah}(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.chMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjǰubj)}(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&]uh1jhjhMhjǰubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_create_bool (C function)c.debugfs_create_boolhNtauh1hhjdkhhhNhNubh)}(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}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hcharh]hchar}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj[hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hnameh]hname}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(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)}jj sbc.debugfs_create_boolasbuh1hhj}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&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj˲hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDzubj)}(h h]h }(hjزhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDzubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_boolasbuh1hhjDzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDzubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDzubj5)}(hparenth]hparent}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h bool *valueh](j)}(hjh]hbool}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hjVhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hvalueh]hvalue}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(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)}(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&]uh1jbhjܱhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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)}(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.chMhjȳubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjȳubeh}(h]h ]h"]h$]h&]uh1jhjhMhjųubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]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)}(hj@h]hstruct dentry *parent}(hjBhhhNhNubah}(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 }(hjYhhhNhNubj)}(h``NULL``h]hNULL}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubhF, then the file will be created in the root of the debugfs filesystem.}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjųubj)}(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.chMhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjųubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjȴh]h Description}(hjʴhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƴubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 }(hj޴hhhNhNubj)}(h **value**h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj޴ubh . If the }(hj޴hhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj޴ubh9 variable is so set, it can be read from, and written to.}(hj޴hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_str (C function)c.debugfs_create_strhNtauh1hhjdkhhhNhNubh)}(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}(hj1hhhNhNubah}(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 }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-hhhj?hMcubj/)}(hdebugfs_create_strh]j5)}(hdebugfs_create_strh]hdebugfs_create_str}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj-hhhj?hMcubj)}(hE(const char *name, umode_t mode, struct dentry *parent, char **value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(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)}jjTsbc.debugfs_create_strasbuh1hhjǵ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&]noemphjLjMuh1jhjfubj)}(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}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]jc.debugfs_create_strasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(h char **valueh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubeh}(h]h ]h"]h$]h&]jLjMuh1jhj-hhhj?hMcubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj)hhhj?hMcubah}(h]j$ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj?hMchj&hhubjc)}(hhh]h)}(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&]uh1jbhj&hhhj?hMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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}(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.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)}(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.chMdhj 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;hMdhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMdhjubj)}(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}(hjahhhNhNubah}(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.chMehjYubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMehjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMehjubj)}(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.chMjhj޷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.chMihjubah}(h]h ]h"]h$]h&]uh1jhj޷ubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubeh}(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.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 }(hj6hhhNhNubj)}(h **value**h]hvalue}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh . If the }(hj6hhhNhNubj)}(h**mode**h]hmode}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh9 variable is so set, it can be read from, and written to.}(hj6hhhNhNubeh}(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&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_create_blob (C function)c.debugfs_create_blobhNtauh1hhjdkhhhNhNubh)}(hhh](j)}(h~struct dentry * debugfs_create_blob (const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h]j)}(h|struct dentry *debugfs_create_blob(const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.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_blobsbc.debugfs_create_blobasbuh1hhjhhhjhMubj)}(h h]h }(hjɸhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hj׸hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hdebugfs_create_blobh]j5)}(hjƸh]hdebugfs_create_blob}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hZ(const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j 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}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]jĸc.debugfs_create_blobasbuh1hhj\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&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjƹhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjùubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȹmodnameN classnameNjj)}j]jĸc.debugfs_create_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 hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdebugfs_blob_wrapperh]hdebugfs_blob_wrapper}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]jĸc.debugfs_create_blobasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hblobh]hblob}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j|ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj~hhubjc)}(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&]uh1jbhj~hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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)}(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.chMhjԺubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԺubeh}(h]h ]h"]h$]h&]uh1jhjhMhjѺubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjѺubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjLh]hstruct dentry *parent}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjFubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjehhhNhNubj)}(h``NULL``h]hNULL}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubhF, then the file will be created in the root of the debugfs filesystem.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjѺubj)}(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&]uh1jhjhMhjѺubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjԻh]h Description}(hjֻhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjһubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_u32_array (C function)c.debugfs_create_u32_arrayhNtauh1hhjdkhhhNhNubh)}(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}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjWhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWhhhjihMubj/)}(hdebugfs_create_u32_arrayh]j5)}(hdebugfs_create_u32_arrayh]hdebugfs_create_u32_array}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjWhhhjihMubj)}(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&]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)}jj~sbc.debugfs_create_u32_arrayasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubh)}(hhh]j5)}(hdentryh]hdentry}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j]jc.debugfs_create_u32_arrayasbuh1hhj;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)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(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}(hjͽhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjʽubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjϽmodnameN classnameNjj)}j]jc.debugfs_create_u32_arrayasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(harrayh]harray}(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)}(h5create a debugfs file that is used to read u32 array.h]h5create a debugfs file that is used to read u32 array.}(hj0hhhNhNubah}(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&]uh1jbhjPhhhjihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjdkhNhNubj)}(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)}(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.chMhjLubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjqh]hconst char *name}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjkubj)}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhjhubj)}(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.}(hjþhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjhubj)}(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&]uh1jhjhMhjhubj)}(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}(hj1hhhNhNubah}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjhubeh}(h]h ]h"]h$]h&]uh1jhjLubh)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM hjLubh)}(hX This function creates a file in debugfs with the given name that exports **array** as data. If the **mode** variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.h](hIThis function creates a file in debugfs with the given name that exports }(hjhhhNhNubj)}(h **array**h]harray}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh as data. If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!debugfs_print_regs32 (C function)c.debugfs_print_regs32hNtauh1hhjdkhhhNhNubh)}(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}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjϿhhhjhMubj/)}(hdebugfs_print_regs32h]j5)}(hdebugfs_print_regs32h]hdebugfs_print_regs32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjϿhhhjhMubj)}(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 hj ubj)}(h h]h }(hjhhhNhNubah}(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 reftargetj0modnameN classnameNjj)}j]j)}jjsbc.debugfs_print_regs32asbuh1hhj ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj\hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hjh]hs}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h const struct debugfs_reg32 *regsh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubh)}(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]jJc.debugfs_print_regs32asbuh1hhj}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)}(hregsh]hregs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int nregsh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hnregsh]hnregs}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hvoid __iomem *baseh](j)}(hvoidh]hvoid}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj=ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubh__iomem}(hj=hhhNhNubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj=ubj5)}(hbaseh]hbase}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(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&]jLjMuh1jhjϿhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj˿hhhjhMubah}(h]jƿah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjȿhhubjc)}(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&]uh1jbhjȿhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]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)}(h4the seq_file structure being used to generate outputh]h4the seq_file structure being used to generate output}(hjBhhhNhNubah}(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)}(hQ``const struct debugfs_reg32 *regs`` an array if struct debugfs_reg32 structures h](j)}(h$``const struct debugfs_reg32 *regs``h]j)}(hjbh]h const struct debugfs_reg32 *regs}(hjdhhhNhNubah}(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+an array if struct debugfs_reg32 structuresh]h+an array if struct debugfs_reg32 structures}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM!hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM!hj ubj)}(h,``int nregs`` the length of the above array h](j)}(h ``int nregs``h]j)}(hjh]h int nregs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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"hj ubj)}(hL``void __iomem *base`` the base address to be used in reading the registers h](j)}(h``void __iomem *base``h]j)}(hjh]hvoid __iomem *base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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#hj ubj)}(h>``char *prefix`` a string to be prefixed to every output line h](j)}(h``char *prefix``h]j)}(hj h]h char *prefix}(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$hjubj)}(hhh]h)}(h,a string to be prefixed to every output lineh]h,a string to be prefixed to every output line}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hM$hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM$hj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjHh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(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}(hj^hhhNhNubah}(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&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$debugfs_create_regset32 (C function)c.debugfs_create_regset32hNtauh1hhjdkhhhNhNubh)}(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&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_regset32asbuh1hhj#ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj5)}(hmodeh]hmode}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jFc.debugfs_create_regset32asbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjmubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(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]jFc.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}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMOubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMOubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMOhjhhubjc)}(hhh]h)}(h2create a debugfs file that returns register valuesh]h2create a debugfs file that returns register values}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMOhj_hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjdkhNhNubj)}(hX@**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``struct debugfs_regset32 *regset`` a pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found. **Description** This function creates a file in debugfs with the given name that reports the names and values of a set of 32-bit registers. If the **mode** variable is so set it can be read from. Writing is not supported.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMShj~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.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)}(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.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}(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.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)}(hjah]hstruct debugfs_regset32 *regset}(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.chMWhj[ubj)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMUhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMWhjubeh}(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.chMYhj~ubh)}(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.chMXhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdkhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(debugfs_create_devm_seqfile (C function)c.debugfs_create_devm_seqfilehNtauh1hhjdkhhhNhNubh)}(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}(hjhhhNhNubah}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubh)}(hhh]j5)}(hdeviceh]hdevice}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_devm_seqfileasbuh1hhj-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)}(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 }(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 reftargetj modnameN classnameNjj)}j]jkc.debugfs_create_devm_seqfileasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjJhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjWhhhNhNubah}(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}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjlubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hread_fnh]hread_fn}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubj*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jkc.debugfs_create_devm_seqfileasbuh1hhjlubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hjh]hs}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubj*)}(hjh]h,}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj)}(hvoidh]hvoid}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjlubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hdatah]hdata}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubj*)}(hjDh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubeh}(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&]jjjjjjjjjuh1hhhhjdkhNhNubj)}(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)}(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.chMhj!ubj)}(hhh]h)}(hname of the debugfs file.h]hname of the debugfs file.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj`h]hstruct dentry *parent}(hjbhhhNhNubah}(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.chMhjZubj)}(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 }(hjyhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubhF, then the file will be created in the root of the debugfs filesystem.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(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&]uh1jhjdkhhhNhNubeh}(h]debugfs-interfaceah ]h"]debugfs interfaceah$]h&]uh1hhjSkhhhhhKubeh}(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_handlerj(error_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}(jjjjj Uj UjXjUjjj$j$jSjSjjjjjjjjj)j)j6j6jPkjMkjjjju nametypes}(jjj UjXjj$jSjjjjj)j6jPkjjuh}(jhjhj Uhhjjkjpjjjz j jtjyjjjBjGjbjgjjjj j;"j@"j$j$j&j&jK)jP)j,j$,jp.ju.j 0j0j1j1jA3jF3j4j4j]6jb6j7j7j_9jd9j(;j-;j<j<j>j>j@j@jBjBjaDjfDjYFj^FjGjGj[Ij`IjJjJj]LjbLj7Njjjjojtj jjjj' j, jjj6j;jjjkjpjjjjj.j3j j jSj $j&$j+$j&j&j(j$(j+j+j-j-j/j/j3j3je6jj6j8j8j:j:jU>jZ>j@j@j#Bj(BjMDjRDjFjFj)Ij.IjKjKjMjMjPjPjj Sj'Sj,Sj VjVjXjXj[j[j^j^j`j`j!bj&bjfjfjdjjijjljljmojrojrjrjujujxjxj/|j4|j~j~jʂjςjjjjjj j3j8jj$j͙jҙjbjgjjj;j@jjjͨjҨj-j2jjjjjj$jsjxj!j&jjj|jjjjjjjj`jej+j0jjjjjjjjjjjsjxjjjjjjjjjjjjjjj{jjUjZjjjjjsjxjjjjjjj j jJ jO jj"jjj8j=jjjjjjjjj j j"j"j%j%j'j'j)j)j:+j?+j8-j=-jN/jS/j2j2j{6j6j;j;j>j >j@j@jBjCj5Fj:FjHjHjKjKjOjOjRjRjcUjhUjdXjiXjX\j]\j_j_jbjbjejejijijmjmjqjqjtjtj+zj0zjjjjjKjPj$j)jQjVjsjxjjj8j=jїj֗jRjWjljqjjjjÞjjġjjjjjjjjjͲjҲjjjDjIjnjsjjjjjjj&j+jjjjjPjUjjj~jjjj~jjjjjjjjjjqjvjjjjjjjjjjjjjjj[j`jjjjjjjqjvj>jCj jj j jjjTjYjjjjjjj)jj jjjj j j#j#j&j &j'j'j6j)j)j)j|+j+j-j-j.j.j52j:2jg4jl4jMkj6j7j7j9j9j|<j<j?j!?jAjAjACjFCjFj!Fj`HjeHjKjKj4Mj9MjSOjXOjRjRjUjUjXjXj[j [j `j`jbjbjqejvejbgjggjjSkjjdkjkjkjnj nj9rj>rjvjvj?yjDyj|j|jjjGjLj^jcjjjjjjjj jdjijjjjjKjPjjjj jnjsjjjjjjjjjȮjͮjڱj߱j$j)j|jjNjSjƿj˿jjjju 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.