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.hhMhj?hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMubeh}(h]h ](jstructeh"]h$]h&]jjjjZjjZjjjuh1hhhhhhNhNubj)}(hX***Definition**:: struct file_ra_state { pgoff_t start; unsigned int size; unsigned int async_size; unsigned int ra_pages; unsigned short order; unsigned short mmap_miss; loff_t prev_pos; }; **Members** ``start`` Where the most recent readahead started. ``size`` Number of pages read in the most recent readahead. ``async_size`` Numer of pages that were/are not needed immediately and so were/are genuinely "ahead". Start next readahead when the first of these pages is accessed. ``ra_pages`` Maximum size of a readahead request, copied from the bdi. ``order`` Preferred folio order used for most recent readahead. ``mmap_miss`` How many mmap accesses missed in the page cache. ``prev_pos`` The last byte in the most recent read request.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh:}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj^ubj)}(hstruct file_ra_state { pgoff_t start; unsigned int size; unsigned int async_size; unsigned int ra_pages; unsigned short order; unsigned short mmap_miss; loff_t prev_pos; };h]hstruct file_ra_state { pgoff_t start; unsigned int size; unsigned int async_size; unsigned int ra_pages; unsigned short order; unsigned short mmap_miss; loff_t prev_pos; };}hjsbah}(h]h ]h"]h$]h&]jLjMuh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj^ubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj^ubj)}(hhh](j)}(h3``start`` Where the most recent readahead started. h](j)}(h ``start``h]j)}(hjh]hstart}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h(Where the most recent readahead started.h]h(Where the most recent readahead started.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h<``size`` Number of pages read in the most recent readahead. h](j)}(h``size``h]j)}(hjh]hsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h2Number of pages read in the most recent readahead.h]h2Number of pages read in the most recent readahead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``async_size`` Numer of pages that were/are not needed immediately and so were/are genuinely "ahead". Start next readahead when the first of these pages is accessed. h](j)}(h``async_size``h]j)}(hj!h]h async_size}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hNumer of pages that were/are not needed immediately and so were/are genuinely "ahead". Start next readahead when the first of these pages is accessed.h]hNumer of pages that were/are not needed immediately and so were/are genuinely “ahead”. Start next readahead when the first of these pages is accessed.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(hG``ra_pages`` Maximum size of a readahead request, copied from the bdi. h](j)}(h ``ra_pages``h]j)}(hj[h]hra_pages}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjUubj)}(hhh]h)}(h9Maximum size of a readahead request, copied from the bdi.h]h9Maximum size of a readahead request, copied from the bdi.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(h@``order`` Preferred folio order used for most recent readahead. h](j)}(h ``order``h]j)}(hjh]horder}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h5Preferred folio order used for most recent readahead.h]h5Preferred folio order used for most recent readahead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``mmap_miss`` How many mmap accesses missed in the page cache. h](j)}(h ``mmap_miss``h]j)}(hjh]h mmap_miss}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h0How many mmap accesses missed in the page cache.h]h0How many mmap accesses missed in the page cache.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``prev_pos`` The last byte in the most recent read request.h](j)}(h ``prev_pos``h]j)}(hj h]hprev_pos}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h.The last byte in the most recent read request.h]h.The last byte in the most recent read request.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hjI h]h Description}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhhhhubh)}(hhWhen this structure is passed to ->readahead(), the "most recent" readahead means the current readahead.h]hlWhen this structure is passed to ->readahead(), the “most recent” readahead means the current readahead.}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile (C struct)c.filehNtauh1hhhhhhNhNubh)}(hhh](j)}(hfileh]j)}(h struct fileh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubj/)}(hfileh]j5)}(hj h]hfile}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]jz ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhj| hhubjc)}(hhh]h)}(hRepresents a fileh]hRepresents a file}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM1hj 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; 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 ``f_path`` path of the file ``{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.hhM5hj 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; 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; 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.hhM7hj 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.hhMYhj 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.hhM3hj0 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 hM3hjL ubah}(h]h ]h"]h$]h&]uh1jhj0 ubeh}(h]h ]h"]h$]h&]uh1jhjK hM3hj- 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.hhM4hji 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 hM4hj ubah}(h]h ]h"]h$]h&]uh1jhji ubeh}(h]h ]h"]h$]h&]uh1jhj hM4hj- 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.hhM5hj ubj)}(hhh]h)}(hfile operationsh]hfile operations}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM5hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM5hj- 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.hhM6hj 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 hM6hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM6hj- 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.hhM7hj ubj)}(hhh]h)}(h"filesystem or driver specific datah]h"filesystem or driver specific data}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ hM7hj0 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj/ hM7hj- 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.hhM8hjM ubj)}(hhh]h)}(h cached inodeh]h cached inode}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh hM8hji ubah}(h]h ]h"]h$]h&]uh1jhjM ubeh}(h]h ]h"]h$]h&]uh1jhjh hM8hj- 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.hhM9hj ubj)}(hhh]h)}(h file flagsh]h file flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM9hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM9hj- ubj)}(h``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.hhM:hj ubj)}(hhh]h)}(h iocb flagsh]h iocb flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM:hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM:hj- ubj)}(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.hhM;hj ubj)}(hhh]h)}(h%stashed credentials of creator/openerh]h%stashed credentials of creator/opener}(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``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.hhM<hj1 ubj)}(hhh]h)}(h file ownerh]h file owner}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjL hM<hjM ubah}(h]h ]h"]h$]h&]uh1jhj1 ubeh}(h]h ]h"]h$]h&]uh1jhjL hM<hj- ubj)}(h``f_path`` path of the file h](j)}(h ``f_path``h]j)}(hjp h]hf_path}(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.hhM=hjj ubj)}(hhh]h)}(hpath of the fileh]hpath of the file}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM=hj ubah}(h]h ]h"]h$]h&]uh1jhjj ubeh}(h]h ]h"]h$]h&]uh1jhj hM=hj- ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj h]h{unnamed_union}}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKhj ubj)}(hhh]h)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj- ubj)}(h-``f_pos_lock`` lock protecting file position h](j)}(h``f_pos_lock``h]j)}(hj h]h f_pos_lock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM>hj ubj)}(hhh]h)}(hlock protecting file positionh]hlock protecting file position}(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``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.hhM?hj ubj)}(hhh]h)}(hspecific to pipesh]hspecific to pipes}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0 hM?hj1 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj0 hM?hj- ubj)}(h``f_pos`` file position h](j)}(h ``f_pos``h]j)}(hjT h]hf_pos}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM@hjN ubj)}(hhh]h)}(h file positionh]h file position}(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)}(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.hhMAhj 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 hMAhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMAhj- ubj)}(h``f_wb_err`` writeback error h](j)}(h ``f_wb_err``h]j)}(hj h]hf_wb_err}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMBhj ubj)}(hhh]h)}(hwriteback errorh]hwriteback error}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMBhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMBhj- ubj)}(h%``f_sb_err`` per sb writeback errors h](j)}(h ``f_sb_err``h]j)}(hj h]hf_sb_err}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMChj ubj)}(hhh]h)}(hper sb writeback errorsh]hper sb writeback errors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMChjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMChj- ubj)}(h/``f_ep`` link of all epoll hooks for this file h](j)}(h``f_ep``h]j)}(hj8h]hf_ep}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMDhj2ubj)}(hhh]h)}(h%link of all epoll hooks for this fileh]h%link of all epoll hooks for this file}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMDhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMDhj- ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjqh]h{unnamed_union}}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKhjkubj)}(hhh]h)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhKhj- ubj)}(h&``f_task_work`` task work entry point h](j)}(h``f_task_work``h]j)}(hjh]h f_task_work}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMEhjubj)}(hhh]h)}(htask work entry pointh]htask work entry point}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhj- ubj)}(h"``f_llist`` work queue entrypoint h](j)}(h ``f_llist``h]j)}(hjh]hf_llist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMFhjubj)}(hhh]h)}(hwork queue entrypointh]hwork queue entrypoint}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhj- 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.hhMGhjubj)}(hhh]h)}(hfile's readahead stateh]hfile’s readahead state}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMGhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMGhj- ubj)}(hM``f_freeptr`` Pointer used by SLAB_TYPESAFE_BY_RCU file cache (don't touch.) h](j)}(h ``f_freeptr``h]j)}(hjUh]h f_freeptr}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMHhjOubj)}(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.)}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMHhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMHhj- ubj)}(h``f_ref`` reference counth](j)}(h ``f_ref``h]j)}(hjh]hf_ref}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMHhjubj)}(hhh]h)}(hreference counth]hreference count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhj- 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_vfsuidasbuh1hhjhhhZ/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_uid_into_vfsuidh]j5)}(hjh]hi_uid_into_vfsuid}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubhdesc_parameterlist)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](hdesc_parameter)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j ]jc.i_uid_into_vfsuidasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubhdesc_sig_punctuation)}(h*h]h*}(hjhhhNhNubah}(h]h ]pah"]h$]h&]uh1jhjBubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj<ubjA)}(hconst struct inode *inodeh](j )}(hconsth]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.i_uid_into_vfsuidasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj<ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h3map an inode's i_uid down according to an idmappingh]h5map an inode’s i_uid down according to an idmapping}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjThhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhhhNhNubj)}(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)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjsubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``const struct inode *inode`` inode to map h](j)}(h``const struct inode *inode``h]j)}(hjh]hconst struct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h inode to maph]h inode to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjsubh)}(h **Return**h]j)}(hj h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjsubh)}(huwhe inode's i_uid mapped down according to **idmap**. If the inode's i_uid has no mapping INVALID_VFSUID is returned.h](h-whe inode’s i_uid mapped down according to }(hj"hhhNhNubj)}(h **idmap**h]hidmap}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubhC. If the inode’s i_uid has no mapping INVALID_VFSUID is returned.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjsubeh}(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}(hjehhhNhNubah}(h]h ]ktah"]h$]h&]uh1jchj_hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_hhhjthMubj/)}(hi_uid_needs_updateh]j5)}(hi_uid_needs_updateh]hi_uid_needs_update}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj_hhhjthMubj;)}(hN(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.i_uid_needs_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst struct iattr *attrh](j )}(hjh]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)}(hiattrh]hiattr}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j ]jc.i_uid_needs_updateasbuh1hhjubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.i_uid_needs_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj_hhhjthMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj[hhhjthMubah}(h]jVah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthMhjXhhubjc)}(hhh]h)}(h/check whether inode's i_uid needs to be updatedh]h1check whether inode’s i_uid needs to be updated}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj9hhubah}(h]h ]h"]h$]h&]uh1jbhjXhhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhhhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct iattr *attr`` the new attributes of **inode** ``const struct inode *inode`` the inode to update **Description** Check whether the $inode's i_uid field needs to be updated taking idmapped mounts into account if the filesystem supports it. **Return** true if **inode**'s i_uid field needs to be updated, false if not.h](h)}(h**Parameters**h]j)}(hj^h]h Parameters}(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.hhMhjXubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj}h]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjwubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h=``const struct iattr *attr`` the new attributes of **inode** h](j)}(h``const struct iattr *attr``h]j)}(hjh]hconst struct iattr *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe new attributes of **inode**h](hthe new attributes of }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h2``const struct inode *inode`` the inode to update h](j)}(h``const struct inode *inode``h]j)}(hjh]hconst struct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjXubh)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjXubh)}(h **Return**h]j)}(hj_h]hReturn}(hjahhhNhNubah}(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.hhMhjXubh)}(hBtrue if **inode**'s i_uid field needs to be updated, false if not.h](htrue if }(hjuhhhNhNubj)}(h **inode**h]hinode}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh3’s i_uid field needs to be updated, false if not.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjXubeh}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhZ/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/)}(h i_uid_updateh]j5)}(h i_uid_updateh]h i_uid_update}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(hH(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.i_uid_updateasbuh1hhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubh)}(hhh]j5)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j-c.i_uid_updateasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj5)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j-c.i_uid_updateasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hupdate **inode**'s i_uid fieldh](hupdate }(hjqhhhNhNubj)}(h **inode**h]hinode}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh’s i_uid field}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjnhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(hXG**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct iattr *attr`` the new attributes of **inode** ``struct inode *inode`` the inode to update **Description** Safely update **inode**'s i_uid field translating the vfsuid of any idmapped mount into the filesystem kuid.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``const struct iattr *attr`` the new attributes of **inode** h](j)}(h``const struct iattr *attr``h]j)}(hjh]hconst struct iattr *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe new attributes of **inode**h](hthe new attributes of }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``struct inode *inode`` the inode to update h](j)}(h``struct inode *inode``h]j)}(hjDh]hstruct inode *inode}(hjFhhhNhNubah}(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.hhMhj>ubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(hlSafely update **inode**'s i_uid field translating the vfsuid of any idmapped mount into the filesystem kuid.h](hSafely update }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhW’s i_uid field translating the vfsuid of any idmapped mount into the filesystem kuid.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}ji_gid_into_vfsgidsbc.i_gid_into_vfsgidasbuh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hi_gid_into_vfsgidh]j5)}(hjh]hi_gid_into_vfsgid}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j ]jc.i_gid_into_vfsgidasbuh1hhj$ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj)}(hjh]h*}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.i_gid_into_vfsgidasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h3map an inode's i_gid down according to an idmappingh]h5map an inode’s i_gid down according to an idmapping}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj1hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhhhNhNubj)}(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)}(hjVh]h Parameters}(hjXhhhNhNubah}(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.hhMhjPubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjuh]hstruct mnt_idmap *idmap}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjoubj)}(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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(h+``const struct inode *inode`` inode to map h](j)}(h``const struct inode *inode``h]j)}(hjh]hconst struct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h inode to maph]h inode to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubeh}(h]h ]h"]h$]h&]uh1jhjPubh)}(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.hhMhjPubh)}(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.hhMhjPubeh}(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](jd)}(hjgh]hbool}(hj@hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj<hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<hhhjMhMubj/)}(hi_gid_needs_updateh]j5)}(hi_gid_needs_updateh]hi_gid_needs_update}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj<hhhjMhMubj;)}(hN(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjbsbc.i_gid_needs_updateasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjtubjA)}(hconst struct iattr *attrh](j )}(hjh]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)}(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_needs_updateasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hattrh]hattr}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjtubjA)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.i_gid_needs_updateasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjtubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj<hhhjMhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhjMhMubah}(h]j3ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhMhj5hhubjc)}(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&]uh1jbhj5hhhjMhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhhhNhNubj)}(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)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM#hj1ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjVh]hstruct mnt_idmap *idmap}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjPubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjMubj)}(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.hhM!hjubj)}(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&]uh1hhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjMubj)}(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.hhM"hjubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjMubeh}(h]h ]h"]h$]h&]uh1jhj1ubh)}(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.hhM$hj1ubh)}(h}Check whether the $inode's i_gid field needs to be updated taking idmapped mounts into account if the filesystem supports it.h]hCheck whether the $inode’s i_gid field needs to be updated taking idmapped mounts into account if the filesystem supports it.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM#hj1ubh)}(h **Return**h]j)}(hj8h]hReturn}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM&hj1ubh)}(hBtrue if **inode**'s i_gid field needs to be updated, false if not.h](htrue if }(hjNhhhNhNubj)}(h **inode**h]hinode}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh3’s i_gid field needs to be updated, false if not.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM'hj1ubeh}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM3ubj/)}(h i_gid_updateh]j5)}(h i_gid_updateh]h i_gid_update}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM3ubj;)}(hH(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.i_gid_updateasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(hiattrh]hiattr}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j ]jc.i_gid_updateasbuh1hhj:ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj5)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_gid_updateasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM3ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM3ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM3hjhhubjc)}(hhh]h)}(hupdate **inode**'s i_gid fieldh](hupdate }(hjJ hhhNhNubj)}(h **inode**h]hinode}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ ubh’s i_gid field}(hjJ hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM3hjG hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjt jjt 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.hhM7hjx ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj h]hstruct mnt_idmap *idmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM4hj 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 hM4hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM4hj ubj)}(h=``const struct iattr *attr`` the new attributes of **inode** h](j)}(h``const struct iattr *attr``h]j)}(hj h]hconst struct iattr *attr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM5hj 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 hM5hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM5hj 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.hhM6hj!ubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hj6!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2!hM6hj3!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj2!hM6hj ubeh}(h]h ]h"]h$]h&]uh1jhjx ubh)}(h**Description**h]j)}(hjX!h]h Description}(hjZ!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV!ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM8hjx ubh)}(hlSafely update **inode**'s i_gid field translating the vfsgid of any idmapped mount into the filesystem kgid.h](hSafely update }(hjn!hhhNhNubj)}(h **inode**h]hinode}(hjv!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn!ubhW’s i_gid field translating the vfsgid of any idmapped mount into the filesystem kgid.}(hjn!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM7hjx 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](jd)}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj!hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMEubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!hhhj!hMEubj/)}(hinode_fsuid_seth]j5)}(hinode_fsuid_seth]hinode_fsuid_set}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!hhhj!hMEubj;)}(h.(struct inode *inode, struct mnt_idmap *idmap)h](jA)}(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_fsuid_setasbuh1hhj!ubj)}(h h]h }(hj*"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj)}(hjh]h*}(hj8"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj5)}(hinodeh]hinode}(hjE"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj!ubjA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj^"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZ"ubj)}(h h]h }(hjk"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZ"ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj|"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjy"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~"modnameN classnameNjj)}j ]j&"c.inode_fsuid_setasbuh1hhjZ"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZ"ubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ"ubj5)}(hidmaph]hidmap}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZ"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj!ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj!hhhj!hMEubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj!hhhj!hMEubah}(h]j!ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!hMEhj!hhubjc)}(hhh]h)}(h1initialize inode's i_uid field with callers fsuidh]h3initialize inode’s i_uid field with callers fsuid}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMEhj"hhubah}(h]h ]h"]h$]h&]uh1jbhj!hhhj!hMEubeh}(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.hhMIhj"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.hhMFhj#ubj)}(hhh]h)}(hinode to initializeh]hinode to initialize}(hj9#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5#hMFhj6#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj5#hMFhj#ubj)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjY#h]hstruct mnt_idmap *idmap}(hj[#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMGhjS#ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjr#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjn#hMGhjo#ubah}(h]h ]h"]h$]h&]uh1jhjS#ubeh}(h]h ]h"]h$]h&]uh1jhjn#hMGhj#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.hhMIhj"ubh)}(hInitialize the i_uid field of **inode**. If the inode was found/created via an idmapped mount map the caller's fsuid according to **idmap**.h](hInitialize the i_uid field of }(hj#hhhNhNubj)}(h **inode**h]hinode}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh]. If the inode was found/created via an idmapped mount map the caller’s fsuid according to }(hj#hhhNhNubj)}(h **idmap**h]hidmap}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMHhj"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](jd)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj#hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMSubj)}(h h]h }(hj $hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhj $hMSubj/)}(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 $hMSubj;)}(h.(struct inode *inode, struct mnt_idmap *idmap)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj:$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6$ubj)}(h h]h }(hjG$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6$ubh)}(hhh]j5)}(hinodeh]hinode}(hjX$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjU$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZ$modnameN classnameNjj)}j ]j)}jj $sbc.inode_fsgid_setasbuh1hhj6$ubj)}(h h]h }(hjx$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6$ubj5)}(hinodeh]hinode}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj2$ubjA)}(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 ]jt$c.inode_fsgid_setasbuh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj5)}(hidmaph]hidmap}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj2$ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj#hhhj $hMSubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#hhhj $hMSubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj $hMShj#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.hhMShj*%hhubah}(h]h ]h"]h$]h&]uh1jbhj#hhhj $hMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjE%jjE%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)}(hjO%h]h Parameters}(hjQ%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM%ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMWhjI%ubj)}(hhh](j)}(h,``struct inode *inode`` inode to initialize h](j)}(h``struct inode *inode``h]j)}(hjn%h]hstruct inode *inode}(hjp%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMThjh%ubj)}(hhh]h)}(hinode to initializeh]hinode to initialize}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMThj%ubah}(h]h ]h"]h$]h&]uh1jhjh%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMThje%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.hhMUhj%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%hMUhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMUhje%ubeh}(h]h ]h"]h$]h&]uh1jhjI%ubh)}(h**Description**h]j)}(hj%h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMWhjI%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.hhMVhjI%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](jd)}(hjgh]hbool}(hjK&hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjG&hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMaubj)}(h h]h }(hjY&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjG&hhhjX&hMaubj/)}(hfsuidgid_has_mappingh]j5)}(hfsuidgid_has_mappingh]hfsuidgid_has_mapping}(hjk&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjg&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjG&hhhjX&hMaubj;)}(h1(struct super_block *sb, struct mnt_idmap *idmap)h](jA)}(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)}jjm&sbc.fsuidgid_has_mappingasbuh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj5)}(hsbh]hsb}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj&ubjA)}(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.fsuidgid_has_mappingasbuh1hhj&ubj)}(h h]h }(hj5'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj)}(hjh]h*}(hjC'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj5)}(hidmaph]hidmap}(hjP'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj&ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjG&hhhjX&hMaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjC&hhhjX&hMaubah}(h]j>&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjX&hMahj@&hhubjc)}(hhh]h)}(h,check whether caller's fsuid/fsgid is mappedh]h.check whether caller’s fsuid/fsgid is mapped}(hjz'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMahjw'hhubah}(h]h ]h"]h$]h&]uh1jbhj@&hhhjX&hMaubeh}(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)}(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.hhMehj'ubj)}(hhh](j)}(h?``struct super_block *sb`` the superblock we want a mapping in h](j)}(h``struct super_block *sb``h]j)}(hj'h]hstruct super_block *sb}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMbhj'ubj)}(hhh]h)}(h#the superblock we want a mapping inh]h#the superblock we want a mapping in}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMbhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMbhj'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.hhMchj'ubj)}(hhh]h)}(hidmap of the relevant mounth]hidmap of the relevant mount}(hj (hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj (hMchj (ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj (hMchj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubh)}(h**Description**h]j)}(hj/(h]h Description}(hj1(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.hhMehj'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 }(hjE(hhhNhNubj)}(h**sb**h]hsb}(hjM(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE(ubh\. If the caller is on an idmapped mount map the caller’s fsuid and fsgid according to the }(hjE(hhhNhNubj)}(h **idmap**h]hidmap}(hj_(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE(ubh first.}(hjE(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMdhj'ubh)}(h **Return**h]j)}(hjz(h]hReturn}(hj|(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx(ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhhj'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.hhMihj'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}(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(hMubh)}(hhh]j5)}(h timespec64h]h timespec64}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj)}j ]j)}jinode_set_ctimesbc.inode_set_ctimeasbuh1hhj(hhhj(hMubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj(hMubj/)}(hinode_set_ctimeh]j5)}(hj(h]hinode_set_ctime}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj )ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(hhhj(hMubj;)}(h.(struct inode *inode, time64_t sec, long nsec)h](jA)}(hstruct inode *inodeh](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.inode_set_ctimeasbuh1hhj()ubj)}(h h]h }(hjh)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj()ubj)}(hjh]h*}(hjv)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj()ubj5)}(hinodeh]hinode}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj()ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj$)ubjA)}(h time64_t sech](h)}(hhh]j5)}(htime64_th]htime64_t}(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)ubj5)}(hsech]hsec}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj$)ubjA)}(h long nsech](jd)}(hlongh]hlong}(hj)hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubj5)}(hnsech]hnsec}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj$)ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj(hhhj(hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj(hhhj(hMubah}(h]j(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj(hMhj(hhubjc)}(hhh]h)}(hset the ctime in the inodeh]hset the ctime in the inode}(hj**hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj'*hhubah}(h]h ]h"]h$]h&]uh1jbhj(hhhj(hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjB*jjB*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)}(hjL*h]h Parameters}(hjN*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ*ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjF*ubj)}(hhh](j)}(h8``struct inode *inode`` inode in which to set the ctime h](j)}(h``struct inode *inode``h]j)}(hjk*h]hstruct inode *inode}(hjm*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhje*ubj)}(hhh]h)}(hinode in which to set the ctimeh]hinode in which to set the ctime}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhje*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjb*ubj)}(h%``time64_t sec`` tv_sec value to set h](j)}(h``time64_t sec``h]j)}(hj*h]h time64_t sec}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj*ubj)}(hhh]h)}(htv_sec value to seth]htv_sec value to set}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjb*ubj)}(h#``long nsec`` tv_nsec value to set h](j)}(h ``long nsec``h]j)}(hj*h]h long nsec}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj*ubj)}(hhh]h)}(htv_nsec value to seth]htv_nsec value to set}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjb*ubeh}(h]h ]h"]h$]h&]uh1jhjF*ubh)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjF*ubh)}(h3Set the ctime in **inode** to { **sec**, **nsec** }h](hSet the ctime in }(hj.+hhhNhNubj)}(h **inode**h]hinode}(hj6+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.+ubh to { }(hj.+hhhNhNubj)}(h**sec**h]hsec}(hjH+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.+ubh, }(hj.+hhhNhNubj)}(h**nsec**h]hnsec}(hjZ+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.hhMhjF*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](jd)}(hinth]hint}(hj+hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj+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}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj+hhhj+hMubj;)}(h)(const struct super_block *sb, int level)h](jA)}(hconst struct super_block *sbh](j )}(hjh]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)}(hjh]h*}(hj7,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj5)}(hsbh]hsb}(hjD,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj+ubjA)}(h int levelh](jd)}(hinth]hint}(hj],hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjY,ubj)}(h h]h }(hjk,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjY,ubj5)}(hlevelh]hlevel}(hjy,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjY,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj+ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj+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.hhMhj,hhubah}(h]h ]h"]h$]h&]uh1jbhj+hhhj+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,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.hhMhj,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,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}(hj6-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2-hMhj3-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj2-hMhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,ubh)}(h**Description**h]j)}(hjX-h]h Description}(hjZ-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV-ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj,ubh bullet_list)}(hhh](h list_item)}(h> 0 - sb freeze level is heldh]h)}(hjw-h]h> 0 - sb freeze level is held}(hjy-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhju-ubah}(h]h ]h"]h$]h&]uh1js-hjp-ubjt-)}(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&]uh1js-hjp-ubjt-)}(h(< 0 - !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWNh]h)}(hj-h]h(< 0 - !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.hhMhj-ubah}(h]h ]h"]h$]h&]uh1js-hjp-ubeh}(h]h ]h"]h$]h&]bulletjuh1jn-hj-hMhj,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](jd)}(hjgh]hbool}(hj-hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj-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_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.hj-hhhj-hM"ubj;)}(h(const struct super_block *sb)h]jA)}(hconst struct super_block *sbh](j )}(hjh]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 }(hjH.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjY.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjV.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[.modnameN classnameNjj)}j ]j)}jj.sbc.sb_write_startedasbuh1hhj.ubj)}(h h]h }(hjy.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj)}(hjh]h*}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj5)}(hsbh]hsb}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj.ubah}(h]h ]h"]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)}(h check if SB_FREEZE_WRITE is heldh]h check if SB_FREEZE_WRITE is held}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM"hj.hhubah}(h]h ]h"]h$]h&]uh1jbhj-hhhj-hM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.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)}(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)}(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.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}(hjMay be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.h]h>May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.}(hjP/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](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](jd)}(hjgh]hbool}(hj/hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj{/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_write_not_startedh]j5)}(hsb_write_not_startedh]hsb_write_not_started}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj{/hhhj/hM-ubj;)}(h(const struct super_block *sb)h]jA)}(hconst struct super_block *sbh](j )}(hjh]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_not_startedasbuh1hhj/ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj)}(hjh]h*}(hj"0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj5)}(hsbh]hsb}(hj/0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj{/hhhj/hM-ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjw/hhhj/hM-ubah}(h]jr/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj/hM-hjt/hhubjc)}(hhh]h)}(h$check if SB_FREEZE_WRITE is not heldh]h$check if SB_FREEZE_WRITE is not held}(hjY0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM-hjV0hhubah}(h]h ]h"]h$]h&]uh1jbhjt/hhhj/hM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjq0jjq0jjjuh1hhhhhhNhNubj)}(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)}(hj{0h]h Parameters}(hj}0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy0ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM1hju0ubj)}(hhh]j)}(h7``const struct super_block *sb`` the super we write to h](j)}(h ``const struct super_block *sb``h]j)}(hj0h]hconst struct super_block *sb}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM.hj0ubj)}(hhh]h)}(hthe super we write toh]hthe super we write to}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hM.hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM.hj0ubah}(h]h ]h"]h$]h&]uh1jhju0ubh)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM0hju0ubh)}(h>May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.h]h>May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM/hju0ubeh}(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](jd)}(hjgh]hbool}(hj1hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj1hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM8ubj)}(h h]h }(hj(1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhj'1hM8ubj/)}(hfile_write_startedh]j5)}(hfile_write_startedh]hfile_write_started}(hj:1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj61ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhj'1hM8ubj;)}(h(const struct file *file)h]jA)}(hconst struct file *fileh](j )}(hjh]hconst}(hjV1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR1ubj)}(h h]h }(hjc1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR1ubj )}(hjzh]hstruct}(hjq1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR1ubj)}(h h]h }(hj~1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR1ubh)}(hhh]j5)}(hfileh]hfile}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj)}j ]j)}jj<1sbc.file_write_startedasbuh1hhjR1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR1ubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR1ubj5)}(hfileh]hfile}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjR1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjN1ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj1hhhj'1hM8ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj1hhhj'1hM8ubah}(h]j 1ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj'1hM8hj1hhubjc)}(hhh]h)}(h check if SB_FREEZE_WRITE is heldh]h check if SB_FREEZE_WRITE is held}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM8hj1hhubah}(h]h ]h"]h$]h&]uh1jbhj1hhhj'1hM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj 2jj 2jjjuh1hhhhhhNhNubj)}(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.hhM<hj2ubj)}(hhh]j)}(h1``const struct file *file`` the file we write to h](j)}(h``const struct file *file``h]j)}(hj52h]hconst struct file *file}(hj72hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj32ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM9hj/2ubj)}(hhh]h)}(hthe file we write toh]hthe file we write to}(hjN2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJ2hM9hjK2ubah}(h]h ]h"]h$]h&]uh1jhj/2ubeh}(h]h ]h"]h$]h&]uh1jhjJ2hM9hj,2ubah}(h]h ]h"]h$]h&]uh1jhj2ubh)}(h**Description**h]j)}(hjp2h]h Description}(hjr2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn2ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM;hj2ubh)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM:hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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](jd)}(hjgh]hbool}(hj2hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj2hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMGubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2hhhj2hMGubj/)}(hfile_write_not_startedh]j5)}(hfile_write_not_startedh]hfile_write_not_started}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj2hhhj2hMGubj;)}(h(const struct file *file)h]jA)}(hconst struct file *fileh](j )}(hjh]hconst}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj )}(hjzh]hstruct}(hj 3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(hfileh]hfile}(hj*3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,3modnameN classnameNjj)}j ]j)}jj2sbc.file_write_not_startedasbuh1hhj2ubj)}(h h]h }(hjJ3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj)}(hjh]h*}(hjX3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj5)}(hfileh]hfile}(hje3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj2ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj2hhhj2hMGubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2hhhj2hMGubah}(h]j2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hMGhj2hhubjc)}(hhh]h)}(h$check if SB_FREEZE_WRITE is not heldh]h$check if SB_FREEZE_WRITE is not held}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMGhj3hhubah}(h]h ]h"]h$]h&]uh1jbhj2hhhj2hMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhhhNhNubj)}(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)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMKhj3ubj)}(hhh]j)}(h1``const struct file *file`` the file we write to h](j)}(h``const struct file *file``h]j)}(hj3h]hconst struct file *file}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMHhj3ubj)}(hhh]h)}(hthe file we write toh]hthe file we write to}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMHhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMHhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hj 4h]h Description}(hj 4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 4ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMJhj3ubh)}(hMay be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. May be false positive with !S_ISREG, because file_start_write() has no effect on !S_ISREG.h]hMay be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. May be false positive with !S_ISREG, because file_start_write() has no effect on !S_ISREG.}(hj!4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMIhj3ubeh}(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](jd)}(hvoidh]hvoid}(hjP4hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjL4hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMVubj)}(h h]h }(hj_4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjL4hhhj^4hMVubj/)}(h sb_end_writeh]j5)}(h sb_end_writeh]h sb_end_write}(hjq4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjm4ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjL4hhhj^4hMVubj;)}(h(struct super_block *sb)h]jA)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j ]j)}jjs4sbc.sb_end_writeasbuh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj5)}(hsbh]hsb}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj4ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjL4hhhj^4hMVubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjH4hhhj^4hMVubah}(h]jC4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj^4hMVhjE4hhubjc)}(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.hhMVhj 5hhubah}(h]h ]h"]h$]h&]uh1jbhjE4hhhj^4hMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(5jj(5jjjuh1hhhhhhNhNubj)}(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)}(hj25h]h Parameters}(hj45hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj05ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMZhj,5ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we wrote to h](j)}(h``struct super_block *sb``h]j)}(hjQ5h]hstruct super_block *sb}(hjS5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMWhjK5ubj)}(hhh]h)}(hthe super we wrote toh]hthe super we wrote to}(hjj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjf5hMWhjg5ubah}(h]h ]h"]h$]h&]uh1jhjK5ubeh}(h]h ]h"]h$]h&]uh1jhjf5hMWhjH5ubah}(h]h ]h"]h$]h&]uh1jhj,5ubh)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMYhj,5ubh)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMXhj,5ubeh}(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](jd)}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj5hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMbubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5hhhj5hMbubj/)}(hsb_end_pagefaulth]j5)}(hsb_end_pagefaulth]hsb_end_pagefault}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj5hhhj5hMbubj;)}(h(struct super_block *sb)h]jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 6ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj,6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.6modnameN classnameNjj)}j ]j)}jj5sbc.sb_end_pagefaultasbuh1hhj 6ubj)}(h h]h }(hjL6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 6ubj)}(hjh]h*}(hjZ6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 6ubj5)}(hsbh]hsb}(hjg6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj 6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj6ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj5hhhj5hMbubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5hhhj5hMbubah}(h]j5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hMbhj5hhubjc)}(hhh]h)}(h3drop write access to a superblock from a page faulth]h3drop write access to a superblock from a page fault}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMbhj6hhubah}(h]h ]h"]h$]h&]uh1jbhj5hhhj5hMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhhhNhNubj)}(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)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMfhj6ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we wrote to h](j)}(h``struct super_block *sb``h]j)}(hj6h]hstruct super_block *sb}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMchj6ubj)}(hhh]h)}(hthe super we wrote toh]hthe super we wrote to}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMchj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMchj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubh)}(h**Description**h]j)}(hj 7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 7ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMehj6ubh)}(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.}(hj#7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMdhj6ubeh}(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](jd)}(hvoidh]hvoid}(hjR7hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjN7hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMnubj)}(h h]h }(hja7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjN7hhhj`7hMnubj/)}(hsb_end_intwriteh]j5)}(hsb_end_intwriteh]hsb_end_intwrite}(hjs7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjo7ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjN7hhhj`7hMnubj;)}(h(struct super_block *sb)h]jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j ]j)}jju7sbc.sb_end_intwriteasbuh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj5)}(hsbh]hsb}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj7ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjN7hhhj`7hMnubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjJ7hhhj`7hMnubah}(h]jE7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj`7hMnhjG7hhubjc)}(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.hhMnhj8hhubah}(h]h ]h"]h$]h&]uh1jbhjG7hhhj`7hMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*8jj*8jjjuh1hhhhhhNhNubj)}(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)}(hj48h]h Parameters}(hj68hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj28ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMrhj.8ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we wrote to h](j)}(h``struct super_block *sb``h]j)}(hjS8h]hstruct super_block *sb}(hjU8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMohjM8ubj)}(hhh]h)}(hthe super we wrote toh]hthe super we wrote to}(hjl8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh8hMohji8ubah}(h]h ]h"]h$]h&]uh1jhjM8ubeh}(h]h ]h"]h$]h&]uh1jhjh8hMohjJ8ubah}(h]h ]h"]h$]h&]uh1jhj.8ubh)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMqhj.8ubh)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMphj.8ubeh}(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](jd)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj8hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMzubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhj8hMzubj/)}(hsb_start_writeh]j5)}(hsb_start_writeh]hsb_start_write}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8hhhj8hMzubj;)}(h(struct super_block *sb)h]jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 9ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj.9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj09modnameN classnameNjj)}j ]j)}jj8sbc.sb_start_writeasbuh1hhj 9ubj)}(h h]h }(hjN9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 9ubj)}(hjh]h*}(hj\9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 9ubj5)}(hsbh]hsb}(hji9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj 9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj9ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj8hhhj8hMzubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhj8hMzubah}(h]j8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj8hMzhj8hhubjc)}(hhh]h)}(h get write access to a superblockh]h get write access to a superblock}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMzhj9hhubah}(h]h ]h"]h$]h&]uh1jbhj8hhhj8hMzubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhhhNhNubj)}(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)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM~hj9ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we write to h](j)}(h``struct super_block *sb``h]j)}(hj9h]hstruct super_block *sb}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM{hj9ubj)}(hhh]h)}(hthe super we write toh]hthe super we write to}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hM{hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM{hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj :ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM}hj9ubh)}(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.hhM|hj9ubh)}(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:}(hj4:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj9ubj)}(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}(hjJ:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjF: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&]uh1hhjX:hMhjY:ubah}(h]h ]h"]h$]h&]uh1jhjF:ubeh}(h]h ]h"]h$]h&]uh1jhjX:hMhjC:ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(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](jd)}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj: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/)}(hsb_start_pagefaulth]j5)}(hsb_start_pagefaulth]hsb_start_pagefault}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj:hhhj:hMubj;)}(h(struct super_block *sb)h]jA)}(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.sb_start_pagefaultasbuh1hhj:ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj)}(hjh]h*}(hj%;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj5)}(hsbh]hsb}(hj2;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj:ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj:hhhj:hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhj:hMubah}(h]j:ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:hMhj: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.hhMhjY;hhubah}(h]h ]h"]h$]h&]uh1jbhj:hhhj:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjt;jjt;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.hhMhjx;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.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&]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)}(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.hhMhjx;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.hhMhjx;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&]uh1jhjx;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](jd)}(hvoidh]hvoid}(hjf<hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjb<hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hju<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb<hhhjt<hMubj/)}(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.hjb<hhhjt<hMubj;)}(h(struct super_block *sb)h]jA)}(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.sb_start_intwriteasbuh1hhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj5)}(hsbh]hsb}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj<ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjb<hhhjt<hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^<hhhjt<hMubah}(h]jY<ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjt<hMhj[<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.hhMhj#=hhubah}(h]h ]h"]h$]h&]uh1jbhj[<hhhjt<hMubeh}(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)}(hjH=h]h Parameters}(hjJ=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF=ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjB=ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we write to h](j)}(h``struct super_block *sb``h]j)}(hjg=h]hstruct super_block *sb}(hji=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhja=ubj)}(hhh]h)}(hthe super we write toh]hthe super we write to}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|=hMhj}=ubah}(h]h ]h"]h$]h&]uh1jhja=ubeh}(h]h ]h"]h$]h&]uh1jhj|=hMhj^=ubah}(h]h ]h"]h$]h&]uh1jhjB=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.hhMhjB=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.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjB=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.hhMhjB=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.hhMubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=hhhj>hMubj/)}(h renamedatah]j5)}(hj=h]h renamedata}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj=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.contains all information required for renamingh]h.contains all information required for renaming}(hj8>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj5>hhubah}(h]h ]h"]h$]h&]uh1jbhj=hhhj>hMubeh}(h]h ](jstructeh"]h$]h&]jjjjP>jjP>jjjuh1hhhhhhNhNubj)}(hX**Definition**:: struct renamedata { struct mnt_idmap *old_mnt_idmap; struct dentry *old_parent; struct dentry *old_dentry; struct mnt_idmap *new_mnt_idmap; struct dentry *new_parent; struct dentry *new_dentry; struct inode **delegated_inode; unsigned int flags; }; **Members** ``old_mnt_idmap`` idmap of the old mount the inode was found from ``old_parent`` parent of source ``old_dentry`` source ``new_mnt_idmap`` idmap of the new mount the inode was found from ``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&]uh1jhjX>ubh:}(hjX>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjT>ubj)}(hXstruct renamedata { struct mnt_idmap *old_mnt_idmap; struct dentry *old_parent; struct dentry *old_dentry; struct mnt_idmap *new_mnt_idmap; struct dentry *new_parent; struct dentry *new_dentry; struct inode **delegated_inode; unsigned int flags; };h]hXstruct renamedata { struct mnt_idmap *old_mnt_idmap; struct dentry *old_parent; struct dentry *old_dentry; struct mnt_idmap *new_mnt_idmap; struct dentry *new_parent; struct dentry *new_dentry; struct inode **delegated_inode; unsigned int flags; };}hju>sbah}(h]h ]h"]h$]h&]jLjMuh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjT>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.hhMhjT>ubj)}(hhh](j)}(hB``old_mnt_idmap`` idmap of the old mount the inode was found from h](j)}(h``old_mnt_idmap``h]j)}(hj>h]h old_mnt_idmap}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj>ubj)}(hhh]h)}(h/idmap of the old mount the inode was found fromh]h/idmap of the old mount the inode was found from}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj>ubj)}(h ``old_parent`` parent of source h](j)}(h``old_parent``h]j)}(hj>h]h old_parent}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj>ubj)}(hhh]h)}(hparent of sourceh]hparent of source}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj>ubj)}(h``old_dentry`` source h](j)}(h``old_dentry``h]j)}(hj?h]h old_dentry}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj?ubj)}(hhh]h)}(hsourceh]hsource}(hj0?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,?hMhj-?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj,?hMhj>ubj)}(hB``new_mnt_idmap`` idmap of the new mount the inode was found from h](j)}(h``new_mnt_idmap``h]j)}(hjP?h]h new_mnt_idmap}(hjR?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjJ?ubj)}(hhh]h)}(h/idmap of the new mount the inode was found fromh]h/idmap of the new mount the inode was found from}(hji?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhje?hMhjf?ubah}(h]h ]h"]h$]h&]uh1jhjJ?ubeh}(h]h ]h"]h$]h&]uh1jhje?hMhj>ubj)}(h%``new_parent`` parent of destination h](j)}(h``new_parent``h]j)}(hj?h]h new_parent}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj?ubj)}(hhh]h)}(hparent of destinationh]hparent of destination}(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``new_dentry`` destination h](j)}(h``new_dentry``h]j)}(hj?h]h new_dentry}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj?ubj)}(hhh]h)}(h destinationh]h destination}(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@``delegated_inode`` returns an inode needing a delegation break h](j)}(h``delegated_inode``h]j)}(hj?h]hdelegated_inode}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj?ubj)}(hhh]h)}(h+returns an inode needing a delegation breakh]h+returns an inode needing a delegation break}(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``flags`` rename flagsh](j)}(h ``flags``h]j)}(hj4@h]hflags}(hj6@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2@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 rename flagsh]h rename flags}(hjM@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjJ@ubah}(h]h ]h"]h$]h&]uh1jhj.@ubeh}(h]h ]h"]h$]h&]uh1jhjI@hMhj>ubeh}(h]h ]h"]h$]h&]uh1jhjT>ubeh}(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.hhMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhj@hMubj/)}(h freeze_holderh]j5)}(hj@h]h freeze_holder}(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]j@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj@hMhj@hhubjc)}(hhh]h)}(hholder of the freezeh]hholder of the freeze}(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@hMubeh}(h]h ](jenumeh"]h$]h&]jjjj@jj@jjjuh1hhhhhhNhNubj)}(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)}(hj@h]h Constants}(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``FREEZE_HOLDER_KERNEL`` kernel wants to freeze or thaw filesystem h](j)}(h``FREEZE_HOLDER_KERNEL``h]j)}(hjAh]hFREEZE_HOLDER_KERNEL}(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 hj Aubj)}(hhh]h)}(h)kernel wants to freeze or thaw filesystemh]h)kernel wants to freeze or thaw filesystem}(hj*AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&AhM hj'Aubah}(h]h ]h"]h$]h&]uh1jhj Aubeh}(h]h ]h"]h$]h&]uh1jhj&AhM hjAubj)}(hI``FREEZE_HOLDER_USERSPACE`` userspace wants to freeze or thaw filesystem h](j)}(h``FREEZE_HOLDER_USERSPACE``h]j)}(hjJAh]hFREEZE_HOLDER_USERSPACE}(hjLAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjDAubj)}(hhh]h)}(h,userspace wants to freeze or thaw filesystemh]h,userspace wants to freeze or thaw filesystem}(hjcAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_AhM hj`Aubah}(h]h ]h"]h$]h&]uh1jhjDAubeh}(h]h ]h"]h$]h&]uh1jhj_AhM hjAubj)}(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 hj}Aubj)}(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&]uh1jhj}Aubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjAubj)}(h=``FREEZE_EXCL`` a freeze that can only be undone by the ownerh](j)}(h``FREEZE_EXCL``h]j)}(hjAh]h FREEZE_EXCL}(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-a freeze that can only be undone by the ownerh]h-a freeze that can only be undone by the owner}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjAubeh}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hjAh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(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 }(hjBhhhNhNubj)}(h**FREEZE_MAY_NEST**h]hFREEZE_MAY_NEST}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubhr, multiple freeze and thaw requests from the same holder aren’t allowed. It is however allowed to hold a single }(hjBhhhNhNubj)}(h**FREEZE_HOLDER_USERSPACE**h]hFREEZE_HOLDER_USERSPACE}(hj/BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh and a single }(hjBhhhNhNubj)}(h**FREEZE_HOLDER_KERNEL**h]hFREEZE_HOLDER_KERNEL}(hjABhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubhb freeze at the same time. This is relied upon by some filesystems during online repair or similar.}(hjBhhhNhNubeh}(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](jd)}(hjgh]hbool}(hjsBhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjoBhhhZ/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&]uh1jhjoBhhhjBhM 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.hjoBhhhjBhM ubj;)}(h(const struct inode *inode)h]jA)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj )}(hjzh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j ]j)}jjBsb c.is_mgtimeasbuh1hhjBubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj5)}(hinodeh]hinode}(hj#ChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjBubah}(h]h ]h"]h$]h&]jLjMuh1j:hjoBhhhjBhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkBhhhjBhM ubah}(h]jfBah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjBhM hjhBhhubjc)}(hhh]h)}(h)is this inode using multigrain timestampsh]h)is this inode using multigrain timestamps}(hjMChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjJChhubah}(h]h ]h"]h$]h&]uh1jbhjhBhhhjBhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjeCjjeCjjjuh1hhhhhhNhNubj)}(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)}(hjoCh]h Parameters}(hjqChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmCubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjiCubj)}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChM hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM hjCubah}(h]h ]h"]h$]h&]uh1jhjiCubh)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjiCubh)}(hEReturn true if the inode uses multigrain timestamps, false otherwise.h]hEReturn true if the inode uses multigrain timestamps, false otherwise.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjiCubeh}(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](jd)}(hjgh]hbool}(hjDhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj DhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj DhhhjDhM ubj/)}(his_idmapped_mnth]j5)}(his_idmapped_mnth]his_idmapped_mnt}(hj.DhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*Dubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj DhhhjDhM ubj;)}(h(const struct vfsmount *mnt)h]jA)}(hconst struct vfsmount *mnth](j )}(hjh]hconst}(hjJDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFDubj)}(h h]h }(hjWDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFDubj )}(hjzh]hstruct}(hjeDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFDubj)}(h h]h }(hjrDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFDubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j ]j)}jj0Dsbc.is_idmapped_mntasbuh1hhjFDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFDubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFDubj5)}(hmnth]hmnt}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjBDubah}(h]h ]h"]h$]h&]jLjMuh1j:hj DhhhjDhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDhhhjDhM ubah}(h]jDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjDhM hjDhhubjc)}(hhh]h)}(hcheck whether a mount is mappedh]hcheck whether a mount is mapped}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjDhhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhjDhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhhhNhNubj)}(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)}(hj Eh]h Parameters}(hj EhhhNhNubah}(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# hjEubj)}(hhh]j)}(h2``const struct vfsmount *mnt`` the mount to check h](j)}(h``const struct vfsmount *mnt``h]j)}(hj)Eh]hconst struct vfsmount *mnt}(hj+EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Eubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj#Eubj)}(hhh]h)}(hthe mount to checkh]hthe mount to check}(hjBEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>EhM hj?Eubah}(h]h ]h"]h$]h&]uh1jhj#Eubeh}(h]h ]h"]h$]h&]uh1jhj>EhM hj Eubah}(h]h ]h"]h$]h&]uh1jhjEubh)}(h**Description**h]j)}(hjdEh]h Description}(hjfEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbEubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM" hjEubh)}(hNIf **mnt** has an non **nop_mnt_idmap** attached to it then **mnt** is mapped.h](hIf }(hjzEhhhNhNubj)}(h**mnt**h]hmnt}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzEubh has an non }(hjzEhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzEubh attached to it then }(hjzEhhhNhNubj)}(h**mnt**h]hmnt}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzEubh is mapped.}(hjzEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM! hjEubh)}(h **Return**h]j)}(hjEh]hReturn}(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# hjEubh)}(h&true if mount is mapped, false if not.h]h&true if mount is mapped, false if not.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM$ hjEubeh}(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](jd)}(hvoidh]hvoid}(hjFhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjFhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFhhhjFhM ubj/)}(hfile_start_writeh]j5)}(hfile_start_writeh]hfile_start_write}(hj'FhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#Fubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjFhhhjFhM ubj;)}(h(struct file *file)h]jA)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjCFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?Fubj)}(h h]h }(hjPFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?Fubh)}(hhh]j5)}(hfileh]hfile}(hjaFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^Fubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcFmodnameN classnameNjj)}j ]j)}jj)Fsbc.file_start_writeasbuh1hhj?Fubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?Fubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?Fubj5)}(hfileh]hfile}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?Fubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj;Fubah}(h]h ]h"]h$]h&]jLjMuh1j:hjFhhhjFhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjEhhhjFhM ubah}(h]jEah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjFhM hjEhhubjc)}(hhh]h)}(h4get write access to a superblock for regular file ioh]h4get write access to a superblock for regular file io}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjFhhubah}(h]h ]h"]h$]h&]uh1jbhjEhhhjFhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhhhNhNubj)}(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)}(hjFh]h Parameters}(hjFhhhNhNubah}(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 hjFubj)}(hhh]j)}(h3``struct file *file`` the file we want to write to h](j)}(h``struct file *file``h]j)}(hjGh]hstruct file *file}(hj GhhhNhNubah}(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.hhM hjGubj)}(hhh]h)}(hthe file we want to write toh]hthe file we want to write to}(hj GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhM hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM hjFubah}(h]h ]h"]h$]h&]uh1jhjFubh)}(h**Description**h]j)}(hjBGh]h Description}(hjDGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@Gubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjFubh)}(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().}(hjXGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjFubeh}(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](jd)}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjGhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM. ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjGhM. ubj/)}(hfile_end_writeh]j5)}(hfile_end_writeh]hfile_end_write}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhjGhM. ubj;)}(h(struct file *file)h]jA)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubh)}(hhh]j5)}(hfileh]hfile}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j ]j)}jjGsbc.file_end_writeasbuh1hhjGubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj5)}(hfileh]hfile}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjGubah}(h]h ]h"]h$]h&]jLjMuh1j:hjGhhhjGhM. ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjGhhhjGhM. ubah}(h]jzGah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjGhM. hj|Ghhubjc)}(hhh]h)}(h3drop write access to a superblock of a regular fileh]h3drop write access to a superblock of a regular file}(hjGHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM. hjDHhhubah}(h]h ]h"]h$]h&]uh1jbhj|GhhhjGhM. ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_Hjj_Hjjjuh1hhhhhhNhNubj)}(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)}(hjiHh]h Parameters}(hjkHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgHubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM2 hjcHubj)}(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.hhM/ hjHubj)}(hhh]h)}(hthe file we wrote toh]hthe file we wrote to}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhM/ hjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhM/ hjHubah}(h]h ]h"]h$]h&]uh1jhjcHubh)}(h**Description**h]j)}(hjHh]h Description}(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.hhM1 hjcHubh)}(h4Should be matched with a call to file_start_write().h]h4Should be matched with a call to file_start_write().}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM0 hjcHubeh}(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](jd)}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjIhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM; ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIhhhjIhM; ubj/)}(hkiocb_start_writeh]j5)}(hkiocb_start_writeh]hkiocb_start_write}(hj)IhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%Iubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjIhhhjIhM; ubj;)}(h(struct kiocb *iocb)h]jA)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjEIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAIubj)}(h h]h }(hjRIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAIubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjcIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjeImodnameN classnameNjj)}j ]j)}jj+Isbc.kiocb_start_writeasbuh1hhjAIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAIubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAIubj5)}(hiocbh]hiocb}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj=Iubah}(h]h ]h"]h$]h&]jLjMuh1j:hjIhhhjIhM; ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjIhhhjIhM; ubah}(h]jHah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjIhM; hjHhhubjc)}(hhh]h)}(h2get write access to a superblock for async file ioh]h2get write access to a superblock for async file io}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM; hjIhhubah}(h]h ]h"]h$]h&]uh1jbhjHhhhjIhM; ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhhhNhNubj)}(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)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM? hjIubj)}(hhh]j)}(hG``struct kiocb *iocb`` the io context we want to submit the write with h](j)}(h``struct kiocb *iocb``h]j)}(hj Jh]hstruct kiocb *iocb}(hj JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM< hjJubj)}(hhh]h)}(h/the io context we want to submit the write withh]h/the io context we want to submit the write with}(hj"JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhM< hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM< hjJubah}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjDJh]h Description}(hjFJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBJubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM> hjIubh)}(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().}(hjZJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM= hjIubeh}(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](jd)}(hvoidh]hvoid}(hjJhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjJhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMN ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJhhhjJhMN ubj/)}(hkiocb_end_writeh]j5)}(hkiocb_end_writeh]hkiocb_end_write}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJhhhjJhMN ubj;)}(h(struct kiocb *iocb)h]jA)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j ]j)}jjJsbc.kiocb_end_writeasbuh1hhjJubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj5)}(hiocbh]hiocb}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjJubah}(h]h ]h"]h$]h&]jLjMuh1j:hjJhhhjJhMN ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjJhhhjJhMN ubah}(h]j|Jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJhMN hj~Jhhubjc)}(hhh]h)}(h5drop write access to a superblock after async file ioh]h5drop write access to a superblock after async file io}(hjIKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMN hjFKhhubah}(h]h ]h"]h$]h&]uh1jbhj~JhhhjJhMN ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjaKjjaKjjjuh1hhhhhhNhNubj)}(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)}(hjkKh]h Parameters}(hjmKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiKubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMR hjeKubj)}(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.hhMO hjKubj)}(hhh]h)}(h*the io context we sumbitted the write withh]h*the io context we sumbitted the write with}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMO hjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMO hjKubah}(h]h ]h"]h$]h&]uh1jhjeKubh)}(h**Description**h]j)}(hjKh]h Description}(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.hhMQ hjeKubh)}(h5Should be matched with a call to kiocb_start_write().h]h5Should be matched with a call to kiocb_start_write().}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMP hjeKubeh}(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](jd)}(hjgh]hbool}(hj LhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjLhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLhhhjLhM ubj/)}(h is_dot_dotdoth]j5)}(h is_dot_dotdoth]h is_dot_dotdot}(hj*LhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&Lubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjLhhhjLhM ubj;)}(h(const char *name, size_t len)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjFLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBLubj)}(h h]h }(hjSLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBLubjd)}(hcharh]hchar}(hjaLhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjBLubj)}(h h]h }(hjoLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBLubj)}(hjh]h*}(hj}LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBLubj5)}(hnameh]hname}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj>LubjA)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j ]j)}jj,Lsbc.is_dot_dotdotasbuh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj5)}(hlenh]hlen}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj>Lubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjLhhhjLhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjLhhhjLhM ubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjLhM hjKhhubjc)}(hhh]h)}(h,returns true only if **name** is "." or ".."h](hreturns true only if }(hjLhhhNhNubj)}(h**name**h]hname}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh is “.” or “..”}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjLhhubah}(h]h ]h"]h$]h&]uh1jbhjKhhhjLhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(Mjj(Mjjjuh1hhhhhhNhNubj)}(hi**Parameters** ``const char *name`` file name to check ``size_t len`` length of file name, in bytesh](h)}(h**Parameters**h]j)}(hj2Mh]h Parameters}(hj4MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Mubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj,Mubj)}(hhh](j)}(h(``const char *name`` file name to check h](j)}(h``const char *name``h]j)}(hjQMh]hconst char *name}(hjSMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjKMubj)}(hhh]h)}(hfile name to checkh]hfile name to check}(hjjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfMhM hjgMubah}(h]h ]h"]h$]h&]uh1jhjKMubeh}(h]h ]h"]h$]h&]uh1jhjfMhM hjHMubj)}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjHMubeh}(h]h ]h"]h$]h&]uh1jhj,Mubeh}(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](jd)}(hjgh]hbool}(hjMhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjMhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhjMhM ubj/)}(hname_contains_dotdoth]j5)}(hname_contains_dotdoth]hname_contains_dotdot}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhjMhM ubj;)}(h(const char *name)h]jA)}(hconst char *nameh](j )}(hjh]hconst}(hj NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(h h]h }(hj-NhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubjd)}(hcharh]hchar}(hj;NhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjNubj)}(h h]h }(hjINhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj)}(hjh]h*}(hjWNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj5)}(hnameh]hname}(hjdNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjNubah}(h]h ]h"]h$]h&]jLjMuh1j:hjMhhhjMhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjMhhhjMhM ubah}(h]jMah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhM hjMhhubjc)}(hhh]h)}(h2check if a file name contains ".." path componentsh]h6check if a file name contains “..” path components}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjNhhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjMhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhhhNhNubj)}(h**Parameters** ``const char *name`` *undescribed* **Description** Search for ".." surrounded by either '/' or start/end of string.h](h)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjNubj)}(hhh]j)}(h#``const char *name`` *undescribed* h](j)}(h``const char *name``h]j)}(hjNh]hconst char *name}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKhjNubj)}(hhh]h)}(h *undescribed*h]hemphasis)}(hjNh]h undescribed}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jNhjNubah}(h]h ]h"]h$]h&]uh1hhjNhKhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhKhjNubah}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKhjNubh)}(h@Search for ".." surrounded by either '/' or start/end of string.h]hHSearch for “..” surrounded by either ‘/’ or start/end of string.}(hj+OhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_dio_begin (C function)c.inode_dio_beginhNtauh1hhhhhhNhNubh)}(hhh](j)}(h*void inode_dio_begin (struct inode *inode)h]j)}(h)void inode_dio_begin(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjZOhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjVOhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjiOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVOhhhjhOhM ubj/)}(hinode_dio_beginh]j5)}(hinode_dio_beginh]hinode_dio_begin}(hj{OhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwOubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVOhhhjhOhM ubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubh)}(hhh]j5)}(hinodeh]hinode}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j ]j)}jj}Osbc.inode_dio_beginasbuh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj5)}(hinodeh]hinode}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjOubah}(h]h ]h"]h$]h&]jLjMuh1j:hjVOhhhjhOhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjROhhhjhOhM ubah}(h]jMOah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhOhM hjOOhhubjc)}(hhh]h)}(h%signal start of a direct I/O requestsh]h%signal start of a direct I/O requests}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjPhhubah}(h]h ]h"]h$]h&]uh1jbhjOOhhhjhOhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2Pjj2Pjjjuh1hhhhhhNhNubj)}(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)}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Pubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj6Pubj)}(hhh]j)}(h8``struct inode *inode`` inode the direct I/O happens on h](j)}(h``struct inode *inode``h]j)}(hj[Ph]hstruct inode *inode}(hj]PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjUPubj)}(hhh]h)}(hinode the direct I/O happens onh]hinode the direct I/O happens on}(hjtPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjpPhM hjqPubah}(h]h ]h"]h$]h&]uh1jhjUPubeh}(h]h ]h"]h$]h&]uh1jhjpPhM hjRPubah}(h]h ]h"]h$]h&]uh1jhj6Pubh)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj6Pubh)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj6Pubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_dio_end (C function)c.inode_dio_endhNtauh1hhhhhhNhNubh)}(hhh](j)}(h(void inode_dio_end (struct inode *inode)h]j)}(h'void inode_dio_end(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjPhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPhhhjPhM ubj/)}(h inode_dio_endh]j5)}(h inode_dio_endh]h inode_dio_end}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjPhhhjPhM ubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(h h]h }(hj%QhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubh)}(hhh]j5)}(hinodeh]hinode}(hj6QhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3Qubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8QmodnameN classnameNjj)}j ]j)}jjPsbc.inode_dio_endasbuh1hhjQubj)}(h h]h }(hjVQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubj)}(hjh]h*}(hjdQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj5)}(hinodeh]hinode}(hjqQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjQubah}(h]h ]h"]h$]h&]jLjMuh1j:hjPhhhjPhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjPhM ubah}(h]jPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhM 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&]uh1jbhjPhhhjPhM 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)}(hjQh]hstruct inode *inode}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjQubj)}(hhh]h)}(hinode the direct I/O happens onh]hinode the direct I/O happens on}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhM hjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM hjQubah}(h]h ]h"]h$]h&]uh1jhjQubh)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]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)}(hKbool generic_ci_validate_strict_name (struct inode *dir, struct qstr *name)h]j)}(hJbool generic_ci_validate_strict_name(struct inode *dir, struct qstr *name)h](jd)}(hjgh]hbool}(hj\RhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjXRhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMuubj)}(h h]h }(hjjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXRhhhjiRhMuubj/)}(hgeneric_ci_validate_strict_nameh]j5)}(hgeneric_ci_validate_strict_nameh]hgeneric_ci_validate_strict_name}(hj|RhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjXRhhhjiRhMuubj;)}(h&(struct inode *dir, struct qstr *name)h](jA)}(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)}jj~Rsb!c.generic_ci_validate_strict_nameasbuh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj5)}(hdirh]hdir}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjRubjA)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hj ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(hqstrh]hqstr}(hj(ShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%Subah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*SmodnameN classnameNjj)}j ]jR!c.generic_ci_validate_strict_nameasbuh1hhjSubj)}(h h]h }(hjFShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj)}(hjh]h*}(hjTShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj5)}(hnameh]hname}(hjaShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjRubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjXRhhhjiRhMuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjTRhhhjiRhMuubah}(h]jORah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjiRhMuhjQRhhubjc)}(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.hhMuhjShhubah}(h]h ]h"]h$]h&]uh1jbhjQRhhhjiRhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhhhNhNubj)}(hXr**Parameters** ``struct inode *dir`` inode of the directory where the new file will be created ``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.hhMyhjSubj)}(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)}(hjSh]hstruct inode *dir}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjSubj)}(hhh]h)}(h9inode of the directory where the new file will be createdh]h9inode of the directory where the new file will be created}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhjSubj)}(h+``struct qstr *name`` name of the new file h](j)}(h``struct qstr *name``h]j)}(hjTh]hstruct qstr *name}(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.hhMhjSubj)}(hhh]h)}(hname of the new fileh]hname of the new file}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjThMhjSubeh}(h]h ]h"]h$]h&]uh1jhjSubh)}(h**Description**h]j)}(hj@Th]h Description}(hjBThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Tubah}(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.}(hjVThhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMvhjSubh)}(h **Return**h]j)}(hjgTh]hReturn}(hjiThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeTubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM}hjSubjo-)}(hhh](jt-)}(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&]uh1js-hj}Tubjt-)}(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&]uh1js-hj}Tubeh}(h]h ]h"]h$]h&]j-juh1jn-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}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_drop (C function)c.d_drophNtauh1hhjThhhNhNubh)}(hhh](j)}(h#void d_drop (struct dentry *dentry)h]j)}(h"void d_drop(struct dentry *dentry)h](jd)}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjThhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMFubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjThMFubj/)}(hd_droph]j5)}(hd_droph]hd_drop}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjThMFubj;)}(h(struct dentry *dentry)h]jA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj.UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*Uubj)}(h h]h }(hj;UhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*Uubh)}(hhh]j5)}(hdentryh]hdentry}(hjLUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNUmodnameN classnameNjj)}j ]j)}jjUsbc.d_dropasbuh1hhj*Uubj)}(h h]h }(hjlUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*Uubj)}(hjh]h*}(hjzUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*Uubj5)}(hdentryh]hdentry}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*Uubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj&Uubah}(h]h ]h"]h$]h&]jLjMuh1j:hjThhhjThMFubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjThhhjThMFubah}(h]jTah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjThMFhjThhubjc)}(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&]uh1jbhjThhhjThMFubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhjThNhNubj)}(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)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMJhjUubj)}(hhh]j)}(h)``struct dentry *dentry`` dentry to drop h](j)}(h``struct dentry *dentry``h]j)}(hjUh]hstruct dentry *dentry}(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.chMGhjUubj)}(hhh]h)}(hdentry to droph]hdentry to drop}(hj VhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMGhjVubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjVhMGhjUubah}(h]h ]h"]h$]h&]uh1jhjUubh)}(h**Description**h]j)}(hj-Vh]h Description}(hj/VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Vubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMIhjUubh)}(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.}(hjCVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMHhjUubh)}(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).}(hjRVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMNhjUubh)}(h __d_drop requires dentry->d_lockh]h __d_drop requires dentry->d_lock}(hjaVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMQhjUubh)}(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).}(hjpVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMShjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_find_any_alias (C function)c.d_find_any_aliashNtauh1hhjThhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j ]j)}jd_find_any_aliassbc.d_find_any_aliasasbuh1hhjVhhhjVhMubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVhhhjVhMubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhjVhMubj/)}(hd_find_any_aliash]j5)}(hjVh]hd_find_any_alias}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVhhhjVhMubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj)}(h h]h }(hj&WhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubh)}(hhh]j5)}(hinodeh]hinode}(hj7WhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4Wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9WmodnameN classnameNjj)}j ]jVc.d_find_any_aliasasbuh1hhjWubj)}(h h]h }(hjUWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj)}(hjh]h*}(hjcWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj5)}(hinodeh]hinode}(hjpWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjWubah}(h]h ]h"]h$]h&]jLjMuh1j:hjVhhhjVhMubeh}(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&]jjjjWjjWjjjuh1hhhhjThNhNubj)}(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)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubj)}(hhh]j)}(h3``struct inode *inode`` inode to find an alias for h](j)}(h``struct inode *inode``h]j)}(hjWh]hstruct inode *inode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubj)}(hhh]h)}(hinode to find an alias forh]hinode to find an alias for}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubh)}(h**Description**h]j)}(hjXh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.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 }(hj,XhhhNhNubj)}(h``NULL``h]hNULL}(hj4XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Xubh.}(hj,XhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_find_alias (C function)c.d_find_aliashNtauh1hhjThhhNhNubh)}(hhh](j)}(h2struct dentry * d_find_alias (struct inode *inode)h]j)}(h0struct dentry *d_find_alias(struct inode *inode)h](j )}(hjzh]hstruct}(hjmXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiXhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hj{XhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiXhhhjzXhMubh)}(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_aliasasbuh1hhjiXhhhjzXhMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiXhhhjzXhMubj)}(hjh]h*}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiXhhhjzXhMubj/)}(h d_find_aliash]j5)}(hjXh]h d_find_alias}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjiXhhhjzXhMubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubh)}(hhh]j5)}(hinodeh]hinode}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j ]jXc.d_find_aliasasbuh1hhjXubj)}(h h]h }(hj#YhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj)}(hjh]h*}(hj1YhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj5)}(hinodeh]hinode}(hj>YhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjXubah}(h]h ]h"]h$]h&]jLjMuh1j:hjiXhhhjzXhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjeXhhhjzXhMubah}(h]j`Xah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjzXhMhjbXhhubjc)}(hhh]h)}(hgrab a hashed alias of inodeh]hgrab a hashed alias of inode}(hjhYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjeYhhubah}(h]h ]h"]h$]h&]uh1jbhjbXhhhjzXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjThNhNubj)}(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}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubh)}(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.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.}(hjYhhhNhNubah}(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.}(hj ZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hshrink_dcache_sb (C function)c.shrink_dcache_sbhNtauh1hhjThhhNhNubh)}(hhh](j)}(h.void shrink_dcache_sb (struct super_block *sb)h]j)}(h-void shrink_dcache_sb(struct super_block *sb)h](jd)}(hvoidh]hvoid}(hj8ZhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj4ZhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjGZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ZhhhjFZhMubj/)}(hshrink_dcache_sbh]j5)}(hshrink_dcache_sbh]hshrink_dcache_sb}(hjYZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUZubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4ZhhhjFZhMubj;)}(h(struct super_block *sb)h]jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjuZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqZubh)}(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)}jj[Zsbc.shrink_dcache_sbasbuh1hhjqZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqZubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqZubj5)}(hsbh]hsb}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjmZubah}(h]h ]h"]h$]h&]jLjMuh1j:hj4ZhhhjFZhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0ZhhhjFZhMubah}(h]j+Zah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjFZhMhj-Zhhubjc)}(hhh]h)}(hshrink dcache for a superblockh]hshrink dcache for a superblock}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jbhj-ZhhhjFZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjThNhNubj)}(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)}(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&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hj9[h]hstruct super_block *sb}(hj;[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj3[ubj)}(hhh]h)}(h superblockh]h superblock}(hjR[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN[hMhjO[ubah}(h]h ]h"]h$]h&]uh1jhj3[ubeh}(h]h ]h"]h$]h&]uh1jhjN[hMhj0[ubah}(h]h ]h"]h$]h&]uh1jhj[ubh)}(h**Description**h]j)}(hjt[h]h Description}(hjv[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr[ubah}(h]h ]h"]h$]h&]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&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpath_has_submounts (C function)c.path_has_submountshNtauh1hhjThhhNhNubh)}(hhh](j)}(h2int path_has_submounts (const struct path *parent)h]j)}(h1int path_has_submounts(const struct path *parent)h](jd)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj[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]jA)}(hconst struct path *parenth](j )}(hjh]hconst}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubj )}(hjzh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubh)}(hhh]j5)}(hpathh]hpath}(hj/\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1\modnameN classnameNjj)}j ]j)}jj[sbc.path_has_submountsasbuh1hhj[ubj)}(h h]h }(hjO\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubj)}(hjh]h*}(hj]\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj5)}(hparenth]hparent}(hjj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj[ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj[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\jjjuh1hhhhjThNhNubj)}(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.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubh)}(h**Description**h]j)}(hj]h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]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.}(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&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!shrink_dcache_parent (C function)c.shrink_dcache_parenthNtauh1hhjThhhNhNubh)}(hhh](j)}(h1void shrink_dcache_parent (struct dentry *parent)h]j)}(h0void shrink_dcache_parent(struct dentry *parent)h](jd)}(hvoidh]hvoid}(hjU]hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjQ]hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjd]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQ]hhhjc]hMubj/)}(hshrink_dcache_parenth]j5)}(hshrink_dcache_parenth]hshrink_dcache_parent}(hjv]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjr]ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjQ]hhhjc]hMubj;)}(h(struct dentry *parent)h]jA)}(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)}jjx]sbc.shrink_dcache_parentasbuh1hhj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj5)}(hparenth]hparent}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj]ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjQ]hhhjc]hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjM]hhhjc]hMubah}(h]jH]ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjc]hMhjJ]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&]uh1jbhjJ]hhhjc]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-^jj-^jjjuh1hhhhjThNhNubj)}(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)}(hj7^h]h Parameters}(hj9^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5^ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj1^ubj)}(hhh]j)}(h5``struct dentry *parent`` parent of entries to prune h](j)}(h``struct dentry *parent``h]j)}(hjV^h]hstruct dentry *parent}(hjX^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjP^ubj)}(hhh]h)}(hparent of entries to pruneh]hparent of entries to prune}(hjo^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjk^hMhjl^ubah}(h]h ]h"]h$]h&]uh1jhjP^ubeh}(h]h ]h"]h$]h&]uh1jhjk^hMhjM^ubah}(h]h ]h"]h$]h&]uh1jhj1^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 hj1^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.chMhj1^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_invalidate (C function)c.d_invalidatehNtauh1hhjThhhNhNubh)}(hhh](j)}(h)void d_invalidate (struct dentry *dentry)h]j)}(h(void d_invalidate(struct dentry *dentry)h](jd)}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj^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]jA)}(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}(hj1_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj._ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3_modnameN classnameNjj)}j ]j)}jj^sbc.d_invalidateasbuh1hhj_ubj)}(h h]h }(hjQ_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj)}(hjh]h*}(hj__hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj5)}(hdentryh]hdentry}(hjl_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj _ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj^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_jjjuh1hhhhjThNhNubj)}(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)}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMihj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMnhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_alloc (C function) c.d_allochNtauh1hhjThhhNhNubh)}(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}(hj1`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-`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>`hMubh)}(hhh]j5)}(hdentryh]hdentry}(hjP`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjM`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjR`modnameN classnameNjj)}j ]j)}jd_allocsb c.d_allocasbuh1hhj-`hhhj>`hMubj)}(h h]h }(hjq`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-`hhhj>`hMubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-`hhhj>`hMubj/)}(hd_alloch]j5)}(hjn`h]hd_alloc}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj-`hhhj>`hMubj;)}(h0(struct dentry *parent, const struct qstr *name)h](jA)}(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 ]jl` c.d_allocasbuh1hhj`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj5)}(hparenth]hparent}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj`ubjA)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hj(ahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj )}(hjzh]hstruct}(hj6ahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjCahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubh)}(hhh]j5)}(hqstrh]hqstr}(hjTahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVamodnameN classnameNjj)}j ]jl` c.d_allocasbuh1hhjaubj)}(h h]h }(hjrahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj5)}(hnameh]hname}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj`ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj-`hhhj>`hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj)`hhhj>`hMubah}(h]j$`ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>`hMhj&`hhubjc)}(hhh]h)}(hallocate a dcache entryh]hallocate a dcache entry}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjahhubah}(h]h ]h"]h$]h&]uh1jbhj&`hhhj>`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjThNhNubj)}(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)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjaubj)}(hhh](j)}(h7``struct dentry * parent`` parent of entry to allocate h](j)}(h``struct dentry * parent``h]j)}(hjah]hstruct dentry * parent}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjaubj)}(hhh]h)}(hparent of entry to allocateh]hparent of entry to allocate}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj bhMhjbubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj bhMhjaubj)}(h-``const struct qstr *name`` qstr of the name h](j)}(h``const struct qstr *name``h]j)}(hj1bh]hconst struct qstr *name}(hj3bhhhNhNubah}(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)}(hqstr of the nameh]hqstr of the name}(hjJbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFbhMhjGbubah}(h]h ]h"]h$]h&]uh1jhj+bubeh}(h]h ]h"]h$]h&]uh1jhjFbhMhjaubeh}(h]h ]h"]h$]h&]uh1jhjaubh)}(h**Description**h]j)}(hjlbh]h Description}(hjnbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjaubh)}(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.chMhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_instantiate (C function)c.d_instantiatehNtauh1hhjThhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjbhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjbhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhjbhMubj/)}(h d_instantiateh]j5)}(h d_instantiateh]h d_instantiate}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjbhhhjbhMubj;)}(h+(struct dentry *entry, struct inode *inode)h](jA)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hj chhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(hdentryh]hdentry}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj cmodnameN classnameNjj)}j ]j)}jjbsbc.d_instantiateasbuh1hhjbubj)}(h h]h }(hj>chhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj)}(hjh]h*}(hjLchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj5)}(hentryh]hentry}(hjYchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjbubjA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjrchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjncubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjncubh)}(hhh]j5)}(hinodeh]hinode}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j ]j:cc.d_instantiateasbuh1hhjncubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjncubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjncubj5)}(hinodeh]hinode}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjncubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjbubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjbhhhjbhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjbhhhjbhMubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjbhMhjbhhubjc)}(hhh]h)}(h&fill in inode information for a dentryh]h&fill in inode information for a dentry}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjchhubah}(h]h ]h"]h$]h&]uh1jbhjbhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj djj djjjuh1hhhhjThNhNubj)}(hX**Parameters** ``struct dentry *entry`` dentry to complete ``struct inode * inode`` inode to attach to this dentry **Description** Fill in inode information in the entry. This turns negative dentries into productive full members of society. NOTE! This assumes that the inode count has been incremented (or otherwise set) by the caller to indicate that it is now in use by the dcache.h](h)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjdubj)}(hhh](j)}(h,``struct dentry *entry`` dentry to complete h](j)}(h``struct dentry *entry``h]j)}(hj4dh]hstruct dentry *entry}(hj6dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2dubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj.dubj)}(hhh]h)}(hdentry to completeh]hdentry to complete}(hjMdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIdhMhjJdubah}(h]h ]h"]h$]h&]uh1jhj.dubeh}(h]h ]h"]h$]h&]uh1jhjIdhMhj+dubj)}(h8``struct inode * inode`` inode to attach to this dentry h](j)}(h``struct inode * inode``h]j)}(hjmdh]hstruct inode * inode}(hjodhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkdubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjgdubj)}(hhh]h)}(hinode to attach to this dentryh]hinode to attach to this dentry}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjgdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhj+dubeh}(h]h ]h"]h$]h&]uh1jhjdubh)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjdubh)}(h'Fill in inode information in the entry.h]h'Fill in inode information in the entry.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjdubh)}(hEThis turns negative dentries into productive full members of society.h]hEThis turns negative dentries into productive full members of society.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjdubh)}(hNOTE! This assumes that the inode count has been incremented (or otherwise set) by the caller to indicate that it is now in use by the dcache.h]hNOTE! This assumes that the inode count has been incremented (or otherwise set) by the caller to indicate that it is now in use by the dcache.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_obtain_alias (C function)c.d_obtain_aliashNtauh1hhjThhhNhNubh)}(hhh](j)}(h4struct dentry * d_obtain_alias (struct inode *inode)h]j)}(h2struct dentry *d_obtain_alias(struct inode *inode)h](j )}(hjzh]hstruct}(hj ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjehhhjehMubh)}(hhh]j5)}(hdentryh]hdentry}(hj*ehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'eubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,emodnameN classnameNjj)}j ]j)}jd_obtain_aliassbc.d_obtain_aliasasbuh1hhjehhhjehMubj)}(h h]h }(hjKehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjehhhjehMubj)}(hjh]h*}(hjYehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhjehMubj/)}(hd_obtain_aliash]j5)}(hjHeh]hd_obtain_alias}(hjjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfeubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjehhhjehMubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh)}(hhh]j5)}(hinodeh]hinode}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j ]jFec.d_obtain_aliasasbuh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj5)}(hinodeh]hinode}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj}eubah}(h]h ]h"]h$]h&]jLjMuh1j:hjehhhjehMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjehhhjehMubah}(h]jdah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjehMhjehhubjc)}(hhh]h)}(h8find or allocate a DISCONNECTED dentry for a given inodeh]h8find or allocate a DISCONNECTED dentry for a given inode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jbhjehhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjThNhNubj)}(hX/**Parameters** ``struct inode *inode`` inode to allocate the dentry for **Description** Obtain a dentry for an inode resulting from NFS filehandle conversion or similar open by handle operations. The returned dentry may be anonymous, or may have a full name (if the inode was already in the cache). When called on a directory inode, we must ensure that the inode only ever has one dentry. If a dentry is found, that is returned instead of allocating a new one. On successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. To make it easier to use in export operations a ``NULL`` or IS_ERR inode may be passed in and the error will be propagated to the return value, with a ``NULL`` **inode** replaced by ERR_PTR(-ESTALE).h](h)}(h**Parameters**h]j)}(hj(fh]h Parameters}(hj*fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&fubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj"fubj)}(hhh]j)}(h9``struct inode *inode`` inode to allocate the dentry for h](j)}(h``struct inode *inode``h]j)}(hjGfh]hstruct inode *inode}(hjIfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjAfubj)}(hhh]h)}(h inode to allocate the dentry forh]h inode to allocate the dentry for}(hj`fhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\fhMhj]fubah}(h]h ]h"]h$]h&]uh1jhjAfubeh}(h]h ]h"]h$]h&]uh1jhj\fhMhj>fubah}(h]h ]h"]h$]h&]uh1jhj"fubh)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj"fubh)}(hObtain a dentry for an inode resulting from NFS filehandle conversion or similar open by handle operations. The returned dentry may be anonymous, or may have a full name (if the inode was already in the cache).h]hObtain a dentry for an inode resulting from NFS filehandle conversion or similar open by handle operations. The returned dentry may be anonymous, or may have a full name (if the inode was already in the cache).}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj"fubh)}(hWhen called on a directory inode, we must ensure that the inode only ever has one dentry. If a dentry is found, that is returned instead of allocating a new one.h]hWhen called on a directory inode, we must ensure that the inode only ever has one dentry. If a dentry is found, that is returned instead of allocating a new one.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj"fubh)}(hXYOn successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. To make it easier to use in export operations a ``NULL`` or IS_ERR inode may be passed in and the error will be propagated to the return value, with a ``NULL`` **inode** replaced by ERR_PTR(-ESTALE).h](hOn successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. To make it easier to use in export operations a }(hjfhhhNhNubj)}(h``NULL``h]hNULL}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh_ or IS_ERR inode may be passed in and the error will be propagated to the return value, with a }(hjfhhhNhNubj)}(h``NULL``h]hNULL}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh }(hjfhhhNhNubj)}(h **inode**h]hinode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh replaced by ERR_PTR(-ESTALE).}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj"fubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_obtain_root (C function)c.d_obtain_roothNtauh1hhjThhhNhNubh)}(hhh](j)}(h3struct dentry * d_obtain_root (struct inode *inode)h]j)}(h1struct dentry *d_obtain_root(struct inode *inode)h](j )}(hjzh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM)ubj)}(h h]h }(hj)ghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjghhhj(ghM)ubh)}(hhh]j5)}(hdentryh]hdentry}(hj:ghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjubj)}(h h]h }(hj9ihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ihhhj8ihM>ubh)}(hhh]j5)}(hdentryh]hdentry}(hjJihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLimodnameN classnameNjj)}j ]j)}jd_add_cisb c.d_add_ciasbuh1hhj'ihhhj8ihM>ubj)}(h h]h }(hjkihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ihhhj8ihM>ubj)}(hjh]h*}(hjyihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ihhhj8ihM>ubj/)}(hd_add_cih]j5)}(hjhih]hd_add_ci}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'ihhhj8ihM>ubj;)}(h?(struct dentry *dentry, struct inode *inode, struct qstr *name)h](jA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(hdentryh]hdentry}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j ]jfi c.d_add_ciasbuh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj)}(hjh]h*}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj5)}(hdentryh]hdentry}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjiubjA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj)}(h h]h }(hj"jhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubh)}(hhh]j5)}(hinodeh]hinode}(hj3jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5jmodnameN classnameNjj)}j ]jfi c.d_add_ciasbuh1hhjjubj)}(h h]h }(hjQjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj)}(hjh]h*}(hj_jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj5)}(hinodeh]hinode}(hjljhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjiubjA)}(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 ]jfi c.d_add_ciasbuh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj5)}(hnameh]hname}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjiubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj'ihhhj8ihM>ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#ihhhj8ihM>ubah}(h]jiah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj8ihM>hj ihhubjc)}(hhh]h)}(h2lookup or allocate new dentry with case-exact nameh]h2lookup or allocate new dentry with case-exact name}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM>hjkhhubah}(h]h ]h"]h$]h&]uh1jbhj ihhhj8ihM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjThNhNubj)}(hX**Parameters** ``struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func ``struct inode *inode`` the inode case-insensitive lookup has found ``struct qstr *name`` the case-exact name to be associated with the returned dentry **Description** This is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems. For a case-insensitive lookup match and if the case-exact dentry already exists in the dcache, use it and return it. If no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.h](h)}(h**Parameters**h]j)}(hj(kh]h Parameters}(hj*khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&kubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMBhj"kubj)}(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)}(hjGkh]hstruct dentry *dentry}(hjIkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEkubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM?hjAkubj)}(hhh]h)}(h?the negative dentry that was passed to the parent's lookup funch]hAthe negative dentry that was passed to the parent’s lookup func}(hj`khhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\khM?hj]kubah}(h]h ]h"]h$]h&]uh1jhjAkubeh}(h]h ]h"]h$]h&]uh1jhj\khM?hj>kubj)}(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&]uh1jhj~kubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM@hjzkubj)}(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&]uh1jhjzkubeh}(h]h ]h"]h$]h&]uh1jhjkhM@hj>kubj)}(hT``struct qstr *name`` the case-exact name to be associated with the returned dentry h](j)}(h``struct qstr *name``h]j)}(hjkh]hstruct qstr *name}(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.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}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMAhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMAhj>kubeh}(h]h ]h"]h$]h&]uh1jhj"kubh)}(h**Description**h]j)}(hjkh]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMChj"kubh)}(hThis is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems.h]hThis is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems.}(hj lhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMBhj"kubh)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMFhj"kubh)}(hsIf no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.h]hsIf no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.}(hj(lhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMIhj"kubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_same_name (C function) c.d_same_namehNtauh1hhjThhhNhNubh)}(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](jd)}(hjgh]hbool}(hjWlhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjSlhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMtubj)}(h h]h }(hjelhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSlhhhjdlhMtubj/)}(h d_same_nameh]j5)}(h d_same_nameh]h d_same_name}(hjwlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjslubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjSlhhhjdlhMtubj;)}(hS(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h](jA)}(hconst struct dentry *dentryh](j )}(hjh]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 }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(hhh]j5)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j ]j)}jjylsb c.d_same_nameasbuh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj5)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjlubjA)}(hconst struct dentry *parenth](j )}(hjh]hconst}(hj mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hj-mhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj )}(hjzh]hstruct}(hj;mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hjHmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubh)}(hhh]j5)}(hdentryh]hdentry}(hjYmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[mmodnameN classnameNjj)}j ]jl c.d_same_nameasbuh1hhjmubj)}(h h]h }(hjwmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj5)}(hparenth]hparent}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjlubjA)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubh)}(hhh]j5)}(hqstrh]hqstr}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j ]jl c.d_same_nameasbuh1hhjmubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj)}(hjh]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj5)}(hnameh]hname}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjlubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjSlhhhjdlhMtubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjOlhhhjdlhMtubah}(h]jJlah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjdlhMthjLlhhubjc)}(hhh]h)}(h(compare dentry name with case-exact nameh]h(compare dentry name with case-exact name}(hjGnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMthjDnhhubah}(h]h ]h"]h$]h&]uh1jbhjLlhhhjdlhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_njj_njjjuh1hhhhjThNhNubj)}(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)}(hjinh]h Parameters}(hjknhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgnubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMxhjcnubj)}(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)}(hjnh]hconst struct dentry *parent}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMvhjnubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMvhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMvhjnubj)}(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)}(hjnh]hconst struct qstr *name}(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.chMwhjnubj)}(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}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMwhjoubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjohMwhjnubeh}(h]h ]h"]h$]h&]uh1jhjcnubh)}(h **Return**h]j)}(hj5oh]hReturn}(hj7ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3oubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMyhjcnubh)}(h true if names are same, or falseh]h true if names are same, or false}(hjKohhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMyhjcnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_lookup (C function) c.d_lookuphNtauh1hhjThhhNhNubh)}(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}(hjzohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvohhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.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)}jd_lookupsb c.d_lookupasbuh1hhjvohhhjohM ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvohhhjohM ubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvohhhjohM ubj/)}(hd_lookuph]j5)}(hjoh]hd_lookup}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjvohhhjohM ubj;)}(h6(const struct dentry *parent, const struct qstr *name)h](jA)}(hconst struct dentry *parenth](j )}(hjh]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubh)}(hhh]j5)}(hdentryh]hdentry}(hj-phhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*pubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/pmodnameN classnameNjj)}j ]jo c.d_lookupasbuh1hhjoubj)}(h h]h }(hjKphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj)}(hjh]h*}(hjYphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj5)}(hparenth]hparent}(hjfphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjoubjA)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{pubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{pubj )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{pubj)}(h h]h }(hjphhhNhNubah}(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.d_lookupasbuh1hhj{pubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{pubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{pubj5)}(hnameh]hname}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{pubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjoubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjvohhhjohM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjrohhhjohM ubah}(h]jmoah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjohM hjoohhubjc)}(hhh]h)}(hsearch for a dentryh]hsearch for a dentry}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjqhhubah}(h]h ]h"]h$]h&]uh1jbhjoohhhjohM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3qjj3qjjjuh1hhhhjThNhNubj)}(hX**Parameters** ``const struct dentry *parent`` parent dentry ``const struct qstr *name`` qstr of name we wish to find **Return** dentry, or NULL **Description** d_lookup searches the children of the parent dentry for the name in question. If the dentry is found its reference count is incremented and the dentry is returned. The caller must use dput to free the entry when it has finished using it. ``NULL`` is returned if the dentry does not exist.h](h)}(h**Parameters**h]j)}(hj=qh]h Parameters}(hj?qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;qubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj7qubj)}(hhh](j)}(h.``const struct dentry *parent`` parent dentry h](j)}(h``const struct dentry *parent``h]j)}(hj\qh]hconst struct dentry *parent}(hj^qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZqubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjVqubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hjuqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqqhM hjrqubah}(h]h ]h"]h$]h&]uh1jhjVqubeh}(h]h ]h"]h$]h&]uh1jhjqqhM hjSqubj)}(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 hjSqubeh}(h]h ]h"]h$]h&]uh1jhj7qubh)}(h **Return**h]j)}(hjqh]hReturn}(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 hj7qubh)}(hdentry, or NULLh]hdentry, or NULL}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj7qubh)}(h**Description**h]j)}(hjqh]h Description}(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 hj7qubh)}(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. }(hj rhhhNhNubj)}(h``NULL``h]hNULL}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj rubh* is returned if the dentry does not exist.}(hj rhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj7qubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_delete (C function) c.d_deletehNtauh1hhjThhhNhNubh)}(hhh](j)}(h&void d_delete (struct dentry * dentry)h]j)}(h$void d_delete(struct dentry *dentry)h](jd)}(hvoidh]hvoid}(hjNrhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjJrhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hj]rhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJrhhhj\rhM ubj/)}(hd_deleteh]j5)}(hd_deleteh]hd_delete}(hjorhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkrubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJrhhhj\rhM ubj;)}(h(struct dentry *dentry)h]jA)}(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)}jjqrsb c.d_deleteasbuh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj)}(hjh]h*}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj5)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjrubah}(h]h ]h"]h$]h&]jLjMuh1j:hjJrhhhj\rhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjFrhhhj\rhM ubah}(h]jArah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj\rhM hjCrhhubjc)}(hhh]h)}(hdelete a dentryh]hdelete a dentry}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj shhubah}(h]h ]h"]h$]h&]uh1jbhjCrhhhj\rhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&sjj&sjjjuh1hhhhjThNhNubj)}(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)}(hj0sh]h Parameters}(hj2shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.subah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj*subj)}(hhh]j)}(h0``struct dentry * dentry`` The dentry to delete h](j)}(h``struct dentry * dentry``h]j)}(hjOsh]hstruct dentry * dentry}(hjQshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMsubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjIsubj)}(hhh]h)}(hThe dentry to deleteh]hThe dentry to delete}(hjhshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdshM hjesubah}(h]h ]h"]h$]h&]uh1jhjIsubeh}(h]h ]h"]h$]h&]uh1jhjdshM hjFsubah}(h]h ]h"]h$]h&]uh1jhj*subh)}(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 hj*subh)}(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 hj*subeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_rehash (C function) c.d_rehashhNtauh1hhjThhhNhNubh)}(hhh](j)}(h%void d_rehash (struct dentry * entry)h]j)}(h#void d_rehash(struct dentry *entry)h](jd)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjshhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjshM ubj/)}(hd_rehashh]j5)}(hd_rehashh]hd_rehash}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjshhhjshM ubj;)}(h(struct dentry *entry)h]jA)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hj thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubh)}(hhh]j5)}(hdentryh]hdentry}(hj*thhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'tubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,tmodnameN classnameNjj)}j ]j)}jjssb c.d_rehashasbuh1hhjtubj)}(h h]h }(hjJthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj)}(hjh]h*}(hjXthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj5)}(hentryh]hentry}(hjethhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjtubah}(h]h ]h"]h$]h&]jLjMuh1j:hjshhhjshM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjshM ubah}(h]jsah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjshM hjshhubjc)}(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&]uh1jbhjshhhjshM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjThNhNubj)}(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)}(hjth]hstruct dentry * entry}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjtubj)}(hhh]h)}(hdentry to add to the hashh]hdentry to add to the hash}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM hjtubah}(h]h ]h"]h$]h&]uh1jhjtubh)}(h**Description**h]j)}(hj uh]h Description}(hj uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj uubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjtubh)}(h0Adds a dentry to the hash according to its name.h]h0Adds a dentry to the hash according to its name.}(hj!uhhhNhNubah}(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&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_add (C function)c.d_addhNtauh1hhjThhhNhNubh)}(hhh](j)}(h6void d_add (struct dentry *entry, struct inode *inode)h]j)}(h5void d_add(struct dentry *entry, struct inode *inode)h](jd)}(hvoidh]hvoid}(hjPuhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjLuhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hj_uhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLuhhhj^uhM ubj/)}(hd_addh]j5)}(hd_addh]hd_add}(hjquhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmuubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjLuhhhj^uhM ubj;)}(h+(struct dentry *entry, struct inode *inode)h](jA)}(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)}jjsusbc.d_addasbuh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj5)}(hentryh]hentry}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjuubjA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hj vhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hinodeh]hinode}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j ]juc.d_addasbuh1hhjuubj)}(h h]h }(hj;vhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj)}(hjh]h*}(hjIvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj5)}(hinodeh]hinode}(hjVvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjuubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjLuhhhj^uhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHuhhhj^uhM ubah}(h]jCuah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj^uhM hjEuhhubjc)}(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 hj}vhhubah}(h]h ]h"]h$]h&]uh1jbhjEuhhhj^uhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjThNhNubj)}(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)}(hjvh]hstruct dentry *entry}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjvubj)}(hhh]h)}(h dentry to addh]h dentry to add}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM hjvubj)}(h;``struct inode *inode`` The inode to attach to this dentry h](j)}(h``struct inode *inode``h]j)}(hjvh]hstruct inode *inode}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjvubj)}(hhh]h)}(h"The inode to attach to this dentryh]h"The inode to attach to this dentry}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM hjwubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjvubeh}(h]h ]h"]h$]h&]uh1jhjvubh)}(h**Description**h]j)}(hj5wh]h Description}(hj7whhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3wubah}(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 }(hjKwhhhNhNubj)}(h **inode**h]hinode}(hjSwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKwubh<. The entry was actually filled in earlier during d_alloc().}(hjKwhhhNhNubeh}(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&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_splice_alias (C function)c.d_splice_aliashNtauh1hhjThhhNhNubh)}(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 }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjwhM ubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhjwhM ubj/)}(hd_splice_aliash]j5)}(hjwh]hd_splice_alias}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjwhhhjwhM ubj;)}(h,(struct inode *inode, struct dentry *dentry)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hinodeh]hinode}(hj$xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&xmodnameN classnameNjj)}j ]jwc.d_splice_aliasasbuh1hhjxubj)}(h h]h }(hjBxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj)}(hjh]h*}(hjPxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj5)}(hinodeh]hinode}(hj]xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubjA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjvxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrxubh)}(hhh]j5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j ]jwc.d_splice_aliasasbuh1hhjrxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrxubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrxubj5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjwhhhjwhM 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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjxhhubah}(h]h ]h"]h$]h&]uh1jbhjwhhhjwhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjThNhNubj)}(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)}(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.chM hjyubj)}(hhh](j)}(hG``struct inode *inode`` the inode which may have a disconnected dentry h](j)}(h``struct inode *inode``h]j)}(hj8yh]hstruct inode *inode}(hj:yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6yubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj2yubj)}(hhh]h)}(h.the inode which may have a disconnected dentryh]h.the inode which may have a disconnected dentry}(hjQyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMyhM hjNyubah}(h]h ]h"]h$]h&]uh1jhj2yubeh}(h]h ]h"]h$]h&]uh1jhjMyhM hj/yubj)}(hQ``struct dentry *dentry`` a negative dentry which we want to point to the inode. h](j)}(h``struct dentry *dentry``h]j)}(hjqyh]hstruct dentry *dentry}(hjsyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoyubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjkyubj)}(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&]uh1jhjkyubeh}(h]h ]h"]h$]h&]uh1jhjyhM hj/yubeh}(h]h ]h"]h$]h&]uh1jhjyubh)}(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 hjyubh)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyubh)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyubh)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyubh)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyubh)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_subdir (C function) c.is_subdirhNtauh1hhjThhhNhNubh)}(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](jd)}(hjgh]hbool}(hj-zhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj)zhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hj;zhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)zhhhj:zhM ubj/)}(h is_subdirh]j5)}(h is_subdirh]h is_subdir}(hjMzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIzubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj)zhhhj:zhM ubj;)}(h6(struct dentry *new_dentry, struct dentry *old_dentry)h](jA)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hjizhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjezubj)}(h h]h }(hjvzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjezubh)}(hhh]j5)}(hdentryh]hdentry}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j ]j)}jjOzsb c.is_subdirasbuh1hhjezubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjezubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjezubj5)}(h new_dentryh]h new_dentry}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjezubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjazubjA)}(hstruct dentry *old_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 ]jz c.is_subdirasbuh1hhjzubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj)}(hjh]h*}(hj%{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj5)}(h old_dentryh]h old_dentry}(hj2{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjazubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj)zhhhj:zhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj%zhhhj:zhM ubah}(h]j zah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:zhM hj"zhhubjc)}(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 hjY{hhubah}(h]h ]h"]h$]h&]uh1jbhj"zhhhj:zhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjt{jjt{jjjuh1hhhhjThNhNubj)}(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 hjx{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}(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&]uh1jhjx{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 hjx{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()}(hj'|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjx{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdget_dlock (C function) c.dget_dlockhNtauh1hhjThhhNhNubh)}(hhh](j)}(h2struct dentry * dget_dlock (struct dentry *dentry)h]j)}(h0struct dentry *dget_dlock(struct dentry *dentry)h](j )}(hjzh]hstruct}(hjV|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR|hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM6ubj)}(h h]h }(hjd|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR|hhhjc|hM6ubh)}(hhh]j5)}(hdentryh]hdentry}(hju|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjr|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjw|modnameN classnameNjj)}j ]j)}j dget_dlocksb c.dget_dlockasbuh1hhjR|hhhjc|hM6ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR|hhhjc|hM6ubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR|hhhjc|hM6ubj/)}(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.hjR|hhhjc|hM6ubj;)}(h(struct dentry *dentry)h]jA)}(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}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j ]j| c.dget_dlockasbuh1hhj|ubj)}(h h]h }(hj }hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj5)}(hdentryh]hdentry}(hj'}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj|ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjR|hhhjc|hM6ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjN|hhhjc|hM6ubah}(h]jI|ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjc|hM6hjK|hhubjc)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hjQ}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM6hjN}hhubah}(h]h ]h"]h$]h&]uh1jbhjK|hhhjc|hM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjji}jji}jjjuh1hhhhjThNhNubj)}(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)}(hjs}h]h Parameters}(hju}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq}ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM:hjm}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.hhM7hj}ubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM7hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hM7hj}ubah}(h]h ]h"]h$]h&]uh1jhjm}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.hhM9hjm}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}(hj}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.hhM8hjm}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdget (C function)c.dgethNtauh1hhjThhhNhNubh)}(hhh](j)}(h,struct dentry * dget (struct dentry *dentry)h]j)}(h*struct dentry *dget(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.hhMGubj)}(h h]h }(hj2~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ~hhhj1~hMGubh)}(hhh]j5)}(hdentryh]hdentryT}(hjC~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjE~modnameN classnameNjj)}j ]j)}jdgetsbc.dgetasbuh1hhj ~hhhj1~hMGubj)}(h h]h }(hjd~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ~hhhj1~hMGubj)}(hjh]h*}(hjr~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ~hhhj1~hMGubj/)}(hdgeth]j5)}(hja~h]hdget}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj ~hhhj1~hMGubj;)}(h(struct dentry *dentry)h]jA)}(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}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNjj)}j ]j_~c.dgetasbuh1hhj~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj)}(hjh]h*}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj5)}(hdentryh]hdentry}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj~ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj ~hhhj1~hMGubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj~hhhj1~hMGubah}(h]j~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1~hMGhj~hhubjc)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(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&]uh1jbhj~hhhj1~hMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjThNhNubj)}(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)}(hjAh]h Parameters}(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.hhMKhj;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}(hjbhhhNhNubah}(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.hhMHhjZubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMHhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMHhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMJhj;ubh)}(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.hhMIhj;ubh)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMQhj;ubh)}(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 }(hjhhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is held. From the deadlock avoidance point of view it is equivalent to spin_lock()/increment refcount/spin_unlock(), so calling it under }(hjhhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhM is always a bug; so’s calling it under ->d_lock on any of its descendents.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMRhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_unhashed (C function) c.d_unhashedhNtauh1hhjThhhNhNubh)}(hhh](j)}(h,int d_unhashed (const struct dentry *dentry)h]j)}(h+int d_unhashed(const struct dentry *dentry)h](jd)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj9hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMbubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9hhhjKhMbubj/)}(h d_unhashedh]j5)}(h d_unhashedh]h d_unhashed}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj9hhhjKhMbubj;)}(h(const struct dentry *dentry)h]jA)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj )}(hjzh]hstruct}(hjhhhNhNubah}(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 ]j)}jj`sb c.d_unhashedasbuh1hhjvubj)}(h h]h }(hjӀhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjrubah}(h]h ]h"]h$]h&]jLjMuh1j:hj9hhhjKhMbubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5hhhjKhMbubah}(h]j0ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhMbhj2hhubjc)}(hhh]h)}(his dentry hashedh]his dentry hashed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMbhjhhubah}(h]h ]h"]h$]h&]uh1jbhj2hhhjKhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjThNhNubj)}(h**Parameters** ``const struct dentry *dentry`` entry to check **Description** Returns true if the dentry passed is not currently hashed.h](h)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMfhj4ubj)}(hhh]j)}(h/``const struct dentry *dentry`` entry to check h](j)}(h``const struct dentry *dentry``h]j)}(hjYh]hconst struct dentry *dentry}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMchjSubj)}(hhh]h)}(hentry to checkh]hentry to check}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMchjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMchjPubah}(h]h ]h"]h$]h&]uh1jhj4ubh)}(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.hhMehj4ubh)}(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.hhMdhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!d_really_is_negative (C function)c.d_really_is_negativehNtauh1hhjThhhNhNubh)}(hhh](j)}(h7bool d_really_is_negative (const struct dentry *dentry)h]j)}(h6bool d_really_is_negative(const struct dentry *dentry)h](jd)}(hjgh]hbool}(hjفhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjՁ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_negativeh]j5)}(hd_really_is_negativeh]hd_really_is_negative}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjՁhhhjhMubj;)}(h(const struct dentry *dentry)h]jA)}(hconst struct dentry *dentryh](j )}(hjh]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)}(hdentryh]hdentry}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j ]j)}jjsbc.d_really_is_negativeasbuh1hhjubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjՁ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 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&]uh1jbhj΁hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj˂jj˂jjjuh1hhhhjThNhNubj)}(hX**Parameters** ``const struct dentry *dentry`` The dentry in question **Description** Returns true if the dentry represents either an absent name or a name that doesn't map to an inode (ie. ->d_inode is NULL). The dentry could represent a true miss, a whiteout that isn't represented by a 0,0 chardev or a fallthrough marker in an opaque directory. Note! (1) This should be used *only* by a filesystem to examine its own dentries. It should not be used to look at some other filesystem's dentries. (2) It should also be used in combination with d_inode() to get the inode. (3) The dentry may have something attached to ->d_lower and the type field of the flags may be set to something other than miss or whiteout.h](h)}(h**Parameters**h]j)}(hjՂ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}(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&]uh1jhjςubh)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjςubh)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjςubh)}(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 }(hjThhhNhNubjN)}(h*only*h]honly}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jNhjTubhXM 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.}(hjThhhNhNubeh}(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&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!d_really_is_positive (C function)c.d_really_is_positivehNtauh1hhjThhhNhNubh)}(hhh](j)}(h7bool d_really_is_positive (const struct dentry *dentry)h]j)}(h6bool d_really_is_positive(const struct dentry *dentry)h](jd)}(hjgh]hbool}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(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.hjhhhjhMubj;)}(h(const struct dentry *dentry)h]jA)}(hconst struct dentry *dentryh](j )}(hjh]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)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j)}jjsbc.d_really_is_positiveasbuh1hhj̓ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj̓ubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj̓ubj5)}(hdentryh]hdentry}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̓ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjɃubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h@Determine if a dentry is really positive (ignoring fallthroughs)h]h@Determine if a dentry is really positive (ignoring fallthroughs)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjlhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjThNhNubj)}(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)}(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)}(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}(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&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjubh)}(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 }(hjhhhNhNubjN)}(h*only*h]honly}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jNhjubh 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.}(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&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_inode (C function) c.d_inodehNtauh1hhjThhhNhNubh)}(hhh](j)}(h4struct inode * d_inode (const struct dentry *dentry)h]j)}(h2struct inode *d_inode(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.hhM ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhj^hM ubh)}(hhh]j5)}(hinodeh]hinode}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j ]j)}jd_inodesb c.d_inodeasbuh1hhjMhhhj^hM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhj^hM ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhj^hM ubj/)}(hd_inodeh]j5)}(hjh]hd_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhj^hM ubj;)}(h(const struct dentry *dentry)h]jA)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hj˅hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDžubj)}(h h]h }(hj؅hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDžubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDžubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDžubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.d_inodeasbuh1hhjDžubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDžubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDžubj5)}(hdentryh]hdentry}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDžubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjÅubah}(h]h ]h"]h$]h&]jLjMuh1j:hjMhhhj^hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjIhhhj^hM ubah}(h]jDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj^hM hjFhhubjc)}(hhh]h)}(h#Get the actual inode of this dentryh]h#Get the actual inode of this dentry}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM hjdhhubah}(h]h ]h"]h$]h&]uh1jbhjFhhhj^hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjThNhNubj)}(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.hhM hjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM hjubh)}(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.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_inode_rcu (C function) c.d_inode_rcuhNtauh1hhjThhhNhNubh)}(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}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$hhhj5hMubh)}(hhh]j5)}(hinodeh]hinode}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j ]j)}j d_inode_rcusb c.d_inode_rcuasbuh1hhj$hhhj5hMubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$hhhj5hMubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$hhhj5hMubj/)}(h d_inode_rcuh]j5)}(hjeh]h d_inode_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj$hhhj5hMubj;)}(h(const struct dentry *dentry)h]jA)}(hconst struct dentry *dentryh](j )}(hjh]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)}(hdentryh]hdentry}(hjۇhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj؇ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj݇modnameN classnameNjj)}j ]jc c.d_inode_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hj$hhhj5hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj5hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hMhjhhubjc)}(hhh]h)}(h4Get the actual inode of this dentry with READ_ONCE()h]h4Get the actual inode of this dentry with READ_ONCE()}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj;hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjThNhNubj)}(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}(hjbhhhNhNubah}(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.hhMhjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjyubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjZubh)}(hThis is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h]hThis is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.}(hjЈhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_backing_inode (C function)c.d_backing_inodehNtauh1hhjThhhNhNubh)}(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}(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 }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hM!ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j)}jd_backing_inodesbc.d_backing_inodeasbuh1hhjhhhj hM!ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hM!ubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj hM!ubj/)}(hd_backing_inodeh]j5)}(hj<h]hd_backing_inode}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hM!ubj;)}(h(const struct dentry *upper)h]jA)}(hconst struct dentry *upperh](j )}(hjh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j:c.d_backing_inodeasbuh1hhjuubj)}(h h]h }(hjЉhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj)}(hjh]h*}(hjމhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj5)}(hupperh]hupper}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjqubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj hM!ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hM!ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hM!hjhhubjc)}(hhh]h)}(h+Get upper or lower inode we should be usingh]h+Get upper or lower inode we should be using}(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&]uh1jbhjhhhj hM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjThNhNubj)}(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)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM%hj1ubj)}(hhh]j)}(h/``const struct dentry *upper`` The upper layer h](j)}(h``const struct dentry *upper``h]j)}(hjVh]hconst struct dentry *upper}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM"hjPubj)}(hhh]h)}(hThe upper layerh]hThe upper layer}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM"hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM"hjMubah}(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&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM$hj1ubh)}(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#hj1ubh)}(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'hj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_real (C function)c.d_realhNtauh1hhjThhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM2ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM2ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jd_realsbc.d_realasbuh1hhjhhhjhM2ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM2ubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM2ubj/)}(hd_realh]j5)}(hj"h]hd_real}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM2ubj;)}(h.(struct dentry *dentry, enum d_real_type type)h](jA)}(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.d_realasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjWubjA)}(henum d_real_type typeh](j )}(hjh]henum}(hjϋhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjˋubj)}(h h]h }(hj܋hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjˋubh)}(hhh]j5)}(h d_real_typeh]h d_real_type}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.d_realasbuh1hhjˋubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjˋubj5)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjˋubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjWubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM2ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj݊hhhjhM2ubah}(h]j؊ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM2hjڊhhubjc)}(hhh]h)}(hReturn the real dentryh]hReturn the real dentry}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM2hj@hhubah}(h]h ]h"]h$]h&]uh1jbhjڊhhhjhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjThNhNubj)}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM6hj_ubj)}(hhh](j)}(h.``struct dentry *dentry`` the dentry to query 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.hhM3hj~ubj)}(hhh]h)}(hthe dentry to queryh]hthe dentry to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM3hj{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.hhM4hjubj)}(hhh]h)}(h*the type of real dentry (data or metadata)h]h*the type of real dentry (data or metadata)}(hj֌hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjҌhM4hjӌubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҌhM4hj{ubeh}(h]h ]h"]h$]h&]uh1jhj_ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM6hj_ubh)}(hmIf dentry is on a union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself.h]hmIf dentry is on a union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM5hj_ubh)}(h+See also: Documentation/filesystems/vfs.rsth]h+See also: Documentation/filesystems/vfs.rst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM8hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_real_inode (C function)c.d_real_inodehNtauh1hhjThhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMDubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjYhMDubh)}(hhh]j5)}(hinodeh]hinode}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j ]j)}j d_real_inodesbc.d_real_inodeasbuh1hhjHhhhjYhMDubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjYhMDubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhjYhMDubj/)}(h d_real_inodeh]j5)}(hjh]h d_real_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjYhMDubj;)}(h(const struct dentry *dentry)h]jA)}(hconst struct dentry *dentryh](j )}(hjh]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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.d_real_inodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjHhhhjYhMDubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDhhhjYhMDubah}(h]j?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjYhMDhjAhhubjc)}(hhh]h)}(h&Return the real inode hosting the datah]h&Return the real inode hosting the data}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMDhj_hhubah}(h]h ]h"]h$]h&]uh1jbhjAhhhjYhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjThNhNubj)}(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)}(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.hhMHhj~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.hhMEhjubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhj~ubh)}(h**Description**h]j)}(hjގh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj܎ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMGhj~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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMFhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubeh}(h]the-directory-cacheah ]h"]the directory cacheah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hInode Handlingh]hInode Handling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"inode_init_always_gfp (C function)c.inode_init_always_gfphNtauh1hhjhhhNhNubh)}(hhh](j)}(hRint inode_init_always_gfp (struct super_block *sb, struct inode *inode, gfp_t gfp)h]j)}(hQint inode_init_always_gfp(struct super_block *sb, struct inode *inode, gfp_t gfp)h](jd)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj8hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhjJhKubj/)}(hinode_init_always_gfph]j5)}(hinode_init_always_gfph]hinode_init_always_gfp}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8hhhjJhKubj;)}(h8(struct super_block *sb, struct inode *inode, gfp_t gfp)h](jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(h 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.inode_init_always_gfpasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj)}(hjh]h*}(hjŏhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj5)}(hsbh]hsb}(hjҏhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjqubjA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]jc.inode_init_always_gfpasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjqubjA)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj)}j ]jc.inode_init_always_gfpasbuh1hhjWubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj5)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjqubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj8hhhjJhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj4hhhjJhKubah}(h]j/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJhKhj1hhubjc)}(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&]uh1jbhj1hhhjJhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj̐jj̐jjjuh1hhhhjhNhNubj)}(hXh**Parameters** ``struct super_block *sb`` superblock inode belongs to ``struct inode *inode`` inode to initialise ``gfp_t gfp`` allocation flags **Description** These are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required **gfp** is used.h](h)}(h**Parameters**h]j)}(hj֐h]h Parameters}(hjؐhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԐubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjАubj)}(hhh](j)}(h7``struct super_block *sb`` superblock inode belongs to h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjubj)}(hhh]h)}(hsuperblock inode belongs toh]hsuperblock inode belongs to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(h,``struct inode *inode`` inode to initialise h](j)}(h``struct inode *inode``h]j)}(hj.h]hstruct inode *inode}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhj(ubj)}(hhh]h)}(hinode to initialiseh]hinode to initialise}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChKhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChKhjubj)}(h``gfp_t gfp`` allocation flags h](j)}(h ``gfp_t gfp``h]j)}(hjgh]h gfp_t gfp}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjaubj)}(hhh]h)}(hallocation flagsh]hallocation flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hKhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjubeh}(h]h ]h"]h$]h&]uh1jhjАubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjАubh)}(hThese are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required **gfp** is used.h](hThese are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required }(hjhhhNhNubj)}(h**gfp**h]hgfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is used.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjАubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdrop_nlink (C function) c.drop_nlinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(h%void drop_nlink (struct inode *inode)h]j)}(h$void drop_nlink(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h drop_nlinkh]j5)}(h drop_nlinkh]h drop_nlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(hinodeh]hinode}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j ]j)}jjsb c.drop_nlinkasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj.ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h#directly drop an inode's link counth]h%directly drop an inode’s link count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjђjjђjjjuh1hhhhjhNhNubj)}(hXV**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is truncated and actually unlinked on the filesystem.h](h)}(h**Parameters**h]j)}(hjےh]h Parameters}(hjݒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjْubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjՒubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjՒubh)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjՒubh)}(hXThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is truncated and actually unlinked on the filesystem.1h]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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjՒubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hclear_nlink (C function) c.clear_nlinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(h&void clear_nlink (struct inode *inode)h]j)}(h%void clear_nlink(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjzhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjvhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvhhhjhMubj/)}(h clear_nlinkh]j5)}(h clear_nlinkh]h clear_nlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjvhhhjhMubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjēhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjՓhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjғubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjדmodnameN classnameNjj)}j ]j)}jjsb c.clear_nlinkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjvhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjrhhhjhMubah}(h]jmah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjohhubjc)}(hhh]h)}(h#directly zero an inode's link counth]h%directly zero an inode’s link count}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jbhjohhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink() for why we care about i_nlink hitting zero.h](h)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjVubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjuubj)}(hhh]h)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjVubh)}(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.}(hj̔hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hset_nlink (C function) c.set_nlinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(h8void set_nlink (struct inode *inode, unsigned int nlink)h]j)}(h7void set_nlink(struct inode *inode, unsigned int nlink)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/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 set_nlinkh]j5)}(h set_nlinkh]h set_nlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj;)}(h)(struct inode *inode, unsigned int nlink)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh)}(hhh]j5)}(hinodeh]hinode}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j ]j)}jjsb c.set_nlinkasbuh1hhj4ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj0ubjA)}(hunsigned int nlinkh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hinth]hint}(hjƕhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjԕhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hnlinkh]hnlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj0ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(hhh]h)}(h"directly set an inode's link counth]h$directly set an inode’s link count}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct inode *inode`` inode ``unsigned int nlink`` new nlink (should be non-zero) **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink.h](h)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj0hhhNhNubah}(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)}(hjMh]hstruct inode *inode}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjGubj)}(hhh]h)}(hinodeh]hinode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjDubj)}(h6``unsigned int nlink`` new nlink (should be non-zero) h](j)}(h``unsigned int nlink``h]j)}(hjh]hunsigned int nlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hnew nlink (should be non-zero)h]hnew nlink (should be non-zero)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjDubeh}(h]h ]h"]h$]h&]uh1jhj(ubh)}(h**Description**h]j)}(hjh]h Description}(hjÖhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj(ubh)}(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.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinc_nlink (C function) c.inc_nlinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(h$void inc_nlink (struct inode *inode)h]j)}(h#void inc_nlink(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h inc_nlinkh]j5)}(h inc_nlinkh]h inc_nlink}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubh)}(hhh]j5)}(hinodeh]hinode}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j ]j)}jj)sb c.inc_nlinkasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj;ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h(directly increment an inode's link counth]h*directly increment an inode’s link count}(hjƗhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj×hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjޗjjޗjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. Currently, it is only here for parity with dec_nlink().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(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)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjBh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(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().}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_sb_list_add (C function)c.inode_sb_list_addhNtauh1hhjhhhNhNubh)}(hhh](j)}(h,void inode_sb_list_add (struct inode *inode)h]j)}(h+void inode_sb_list_add(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMmubj/)}(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.hjhhhjhMmubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjĘhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjјhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjߘubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.inode_sb_list_addasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMmubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMmubah}(h]jzah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMmhj|hhubjc)}(hhh]h)}(h*add inode to the superblock list of inodesh]h*add inode to the superblock list of inodes}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMmhjDhhubah}(h]h ]h"]h$]h&]uh1jbhj|hhhjhMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhjhNhNubj)}(h6**Parameters** ``struct inode *inode`` inode to addh](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:29: ./fs/inode.chMqhjcubj)}(hhh]j)}(h$``struct inode *inode`` inode to addh](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMshjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __insert_inode_hash (C function)c.__insert_inode_hashhNtauh1hhjhhhNhNubh)}(hhh](j)}(hEvoid __insert_inode_hash (struct inode *inode, unsigned long hashval)h]j)}(hDvoid __insert_inode_hash(struct inode *inode, unsigned long hashval)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjޙhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjޙhhhjhMubj/)}(h__insert_inode_hashh]j5)}(h__insert_inode_hashh]h__insert_inode_hash}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjޙhhhjhMubj;)}(h,(struct inode *inode, unsigned long hashval)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j ]j)}jjsbc.__insert_inode_hashasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned long hashvalh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjޙhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjڙhhhjhMubah}(h]jՙah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjיhhubjc)}(hhh]h)}(h hash an inodeh]h hash an inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjיhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h'``struct inode *inode`` unhashed inode h](j)}(h``struct inode *inode``h]j)}(hj4h]hstruct inode *inode}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj.ubj)}(hhh]h)}(hunhashed inodeh]hunhashed inode}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj+ubj)}(ha``unsigned long hashval`` unsigned long value used to locate this object in the inode_hashtable. h](j)}(h``unsigned long hashval``h]j)}(hjmh]hunsigned long hashval}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjgubj)}(hhh]h)}(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.}(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&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhj+ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh 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.}(hjśhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjқhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __remove_inode_hash (C function)c.__remove_inode_hashhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void __remove_inode_hash (struct inode *inode)h]j)}(h-void __remove_inode_hash(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h__remove_inode_hashh]j5)}(h__remove_inode_hashh]h__remove_inode_hash}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(hinodeh]hinode}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j ]j)}jjsbc.__remove_inode_hashasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj.ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hremove an inode from the hashh]hremove an inode from the hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjќjjќjjjuh1hhhhjhNhNubj)}(hu**Parameters** ``struct inode *inode`` inode to unhash **Description** Remove an inode from the superblock.h](h)}(h**Parameters**h]j)}(hjۜh]h Parameters}(hjݜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٜubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj՜ubj)}(hhh]j)}(h(``struct inode *inode`` inode to unhash h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hinode to unhashh]hinode to unhash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj՜ubh)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj՜ubj)}(h$Remove an inode from the superblock.h]h)}(hjMh]h$Remove an inode from the superblock.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjKubah}(h]h ]h"]h$]h&]uh1jhj\hMhj՜ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hevict_inodes (C function)c.evict_inodeshNtauh1hhjhhhNhNubh)}(hhh](j)}(h*void evict_inodes (struct super_block *sb)h]j)}(h)void evict_inodes(struct super_block *sb)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMZubj/)}(h evict_inodesh]j5)}(h evict_inodesh]h evict_inodes}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMZubj;)}(h(struct super_block *sb)h]jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj͝hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjޝhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj۝ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.evict_inodesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj{hhhjhMZubah}(h]jvah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMZhjxhhubjc)}(hhh]h)}(h+evict all evictable inodes for a superblockh]h+evict all evictable inodes for a superblock}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZhj@hhubah}(h]h ]h"]h$]h&]uh1jbhjxhhhjhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjhNhNubj)}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM^hj_ubj)}(hhh]j)}(h4``struct super_block *sb`` superblock to operate on h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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&]uh1jhj_ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM]hj_ubh)}(hMake sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having SB_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.h]hMake sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having SB_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.}(hj՞hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM\hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnew_inode (C function) c.new_inodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h1struct inode * new_inode (struct super_block *sb)h]j)}(h/struct inode *new_inode(struct super_block *sb)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMjubh)}(hhh]j5)}(hinodeh]hinode}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj)}j ]j)}j new_inodesb c.new_inodeasbuh1hhjhhhjhMjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMjubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMjubj/)}(h new_inodeh]j5)}(hjAh]h new_inode}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMjubj;)}(h(struct super_block *sb)h]jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubh)}(hhh]j5)}(h 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_inodeasbuh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj)}(hjh]h*}(hjȟhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj5)}(hsbh]hsb}(hj՟hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjvubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMjubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMjhjhhubjc)}(hhh]h)}(hobtain an inodeh]hobtain an inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMjhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock **Description** Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh](h)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMnhjubj)}(hhh]j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hj@h]hstruct super_block *sb}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMkhj:ubj)}(hhh]h)}(h superblockh]h superblock}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMkhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMkhj7ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMmhjubj)}(hX^Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh]h)}(hX^Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh]hX`Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode’s mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMlhjubah}(h]h ]h"]h$]h&]uh1jhjhMlhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunlock_new_inode (C function)c.unlock_new_inodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h+void unlock_new_inode (struct inode *inode)h]j)}(h*void unlock_new_inode(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjʠhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjƠhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj٠hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƠhhhjؠhMubj/)}(hunlock_new_inodeh]j5)}(hunlock_new_inodeh]hunlock_new_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjƠhhhjؠhMubj;)}(h(struct inode *inode)h]jA)}(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)}jjsbc.unlock_new_inodeasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjƠhhhjؠ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}(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&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct inode *inode`` new inode to unlock **Description** Called when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h,``struct inode *inode`` new inode to unlock h](j)}(h``struct inode *inode``h]j)}(hjˡh]hstruct inode *inode}(hj͡hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɡubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjšubj)}(hhh]h)}(hnew inode to unlockh]hnew inode to unlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjšubeh}(h]h ]h"]h$]h&]uh1jhjhMhj¡ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hCalled when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.h]hCalled when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$lock_two_nondirectories (C function)c.lock_two_nondirectorieshNtauh1hhjhhhNhNubh)}(hhh](j)}(hIvoid lock_two_nondirectories (struct inode *inode1, struct inode *inode2)h]j)}(hHvoid lock_two_nondirectories(struct inode *inode1, struct inode *inode2)h](jd)}(hvoidh]hvoid}(hjKhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjGhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjYhMubj/)}(hlock_two_nondirectoriesh]j5)}(hlock_two_nondirectoriesh]hlock_two_nondirectories}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhjYhMubj;)}(h,(struct inode *inode1, struct inode *inode2)h](jA)}(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)}jjnsbc.lock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hjƢhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjԢhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinode1h]hinode1}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct inode *inode2h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j¢c.lock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinode2h]hinode2}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjGhhhjYhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjChhhjYhMubah}(h]j>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjYhMhj@hhubjc)}(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.chMhjxhhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct inode *inode1`` first inode to lock ``struct inode *inode2`` second inode to lock **Description** Lock any non-NULL argument. Passed objects must not be directories. Zero, one or two objects may be locked by this function.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h-``struct inode *inode1`` first inode to lock h](j)}(h``struct inode *inode1``h]j)}(hjh]hstruct inode *inode1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hfirst inode to lockh]hfirst inode to lock}(hjգhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjѣhMhjңubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѣhMhjubj)}(h.``struct inode *inode2`` second inode to lock h](j)}(h``struct inode *inode2``h]j)}(hjh]hstruct inode *inode2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hsecond inode to lockh]hsecond inode to lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]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)}(hj0h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&unlock_two_nondirectories (C function)c.unlock_two_nondirectorieshNtauh1hhjhhhNhNubh)}(hhh](j)}(hKvoid unlock_two_nondirectories (struct inode *inode1, struct inode *inode2)h]j)}(hJvoid unlock_two_nondirectories(struct inode *inode1, struct inode *inode2)h](jd)}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjqhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqhhhjhMubj/)}(hunlock_two_nondirectoriesh]j5)}(hunlock_two_nondirectoriesh]hunlock_two_nondirectories}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjqhhhjhMubj;)}(h,(struct inode *inode1, struct inode *inode2)h](jA)}(hstruct inode *inode1h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjФhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjͤubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjҤmodnameN classnameNjj)}j ]j)}jjsbc.unlock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinode1h]hinode1}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct inode *inode2h](j )}(hjzh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j ]jc.unlock_two_nondirectoriesasbuh1hhj ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hinode2h]hinode2}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjqhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjmhhhjhMubah}(h]jhah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjjhhubjc)}(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&]uh1jbhjjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hs**Parameters** ``struct inode *inode1`` first inode to unlock ``struct inode *inode2`` second inode to unlockh](h)}(h**Parameters**h]j)}(hjǥh]h Parameters}(hjɥhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjťubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h/``struct inode *inode1`` first inode to unlock h](j)}(h``struct inode *inode1``h]j)}(hjh]hstruct inode *inode1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hfirst inode to unlockh]hfirst inode to unlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjݥubj)}(h/``struct inode *inode2`` second inode to unlockh](j)}(h``struct inode *inode2``h]j)}(hjh]hstruct inode *inode2}(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)}(hsecond inode to unlockh]hsecond inode to unlock}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjݥubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_insert5 (C function)c.inode_insert5hNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct inode * inode_insert5 (struct inode *inode, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)h]j)}(hstruct inode *inode_insert5(struct inode *inode, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuhhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}j inode_insert5sbc.inode_insert5asbuh1hhjuhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuhhhjhMubj)}(hjh]h*}(hjǦhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhjhMubj/)}(h inode_insert5h]j5)}(hjh]h inode_insert5}(hjئhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjԦubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjuhhhjhMubj;)}(h}(struct inode *inode, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.inode_insert5asbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned long hashvalh](jd)}(hunsignedh]hunsigned}(hjchhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj_ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubjd)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj_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&]noemphjLjMuh1j@hjubjA)}(h!int (*test)(struct inode*, void*)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj§hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(h(h]h(}(hjЧhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjާhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj)}(h)h]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]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)}(hinodeh]hinode}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j ]jc.inode_insert5asbuh1hhjubj)}(hjh]h*}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h,h]h,}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int (*set)(struct inode*, void*)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjȨhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjըhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hseth]hset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]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)}(hinodeh]hinode}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j ]jc.inode_insert5asbuh1hhjubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj_h]h,}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdatah]hdata}(hjʩhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjuhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjqhhhjhMubah}(h]jlah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjnhhubjc)}(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&]uh1jbhjnhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(hG``struct inode *inode`` pre-allocated inode to use for insert to cache h](j)}(h``struct inode *inode``h]j)}(hj5h]hstruct inode *inode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj/ubj)}(hhh]h)}(h.pre-allocated inode to use for insert to cacheh]h.pre-allocated inode to use for insert to cache}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj,ubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hjnh]hunsigned long hashval}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjh]h"int (*set)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjުubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjڪ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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjڪubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hj2hhhNhNubj)}(h**test**h]htest}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh and }(hj2hhhNhNubj)}(h**set**h]hset}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1hhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhj,ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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.chMhjubh)}(hSearch for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a variant of iget5_locked() that doesn't allocate an inode.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh in the inode cache, and if present return it with an increased reference count. This is a variant of iget5_locked() that doesn’t allocate an inode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hIf the inode is not present in the cache, insert the pre-allocated inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h]hIf the inode is not present in the cache, insert the pre-allocated inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hbNote that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](hNote that both }(hj̫hhhNhNubj)}(h**test**h]htest}(hjԫhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̫ubh and }(hj̫hhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̫ubhA are called with the inode_hash_lock held, so they can’t sleep.}(hj̫hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet5_locked (C function)c.iget5_lockedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct inode * iget5_locked (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)h]j)}(hstruct inode *iget5_locked(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM1ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj,hM1ubh)}(hhh]j5)}(hinodeh]hinode}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj)}j ]j)}j iget5_lockedsbc.iget5_lockedasbuh1hhjhhhj,hM1ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj,hM1ubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj,hM1ubj/)}(h iget5_lockedh]j5)}(hj\h]h iget5_locked}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj,hM1ubj;)}(h(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](jA)}(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 ]jZc.iget5_lockedasbuh1hhjubj)}(h h]h }(hjլhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned long hashvalh](jd)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hlongh]hlong}(hj%hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h!int (*test)(struct inode*, void*)h](jd)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjVubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj)}(hjҧh]h(}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjŭhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(hhh]j5)}(hinodeh]hinode}(hj֭hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjӭubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjحmodnameN classnameNjj)}j ]jZc.iget5_lockedasbuh1hhjVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubjd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjVubj)}(hjh]h*}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(hjh]h)}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int (*set)(struct inode*, void*)h](jd)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjKubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj)}(hjҧh]h(}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj5)}(hseth]hset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]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)}(hinodeh]hinode}(hjˮhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjȮubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjͮmodnameN classnameNjj)}j ]jZc.iget5_lockedasbuh1hhjKubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubjd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjKubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj)}(hjh]h)}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj@ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj5)}(hdatah]hdata}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj,hM1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj,hM1ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj,hM1hjhhubjc)}(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.chM1hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj,hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system ``unsigned long hashval`` hash value (usually inode number) to get ``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes ``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode ``void *data`` opaque data pointer to pass to **test** and **set** **Description** Search for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode. If the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode(). Note that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM5hjubj)}(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.chM2hjүubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjүubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjϯubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hjh]hunsigned long hashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM3hj ubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hM3hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM3hjϯubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjJh]h#int (*test)(struct inode *, void *)}(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.chM4hjDubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hM4hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM4hjϯubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjh]h"int (*set)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM5hj}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&]uh1hhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjϯubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM6hjubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjհhhhNhNubj)}(h**test**h]htest}(hjݰhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjհubh and }(hjհhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjհubeh}(h]h ]h"]h$]h&]uh1hhjѰhM6hjҰubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѰhM6hjϯubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM8hjubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode.h](h"Search for the inode specified by }(hj-hhhNhNubj)}(h **hashval**h]hhashval}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh and }(hj-hhhNhNubj)}(h**data**h]hdata}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM7hjubh)}(hIf the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h]hIf the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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 }(hjohhhNhNubj)}(h**test**h]htest}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh and }(hjohhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubhA are called with the inode_hash_lock held, so they can’t sleep.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM@hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet5_locked_rcu (C function)c.iget5_locked_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct inode * iget5_locked_rcu (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)h]j)}(hstruct inode *iget5_locked_rcu(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hj±hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMXubj)}(h h]h }(hjбhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjϱhMXubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjޱubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jiget5_locked_rcusbc.iget5_locked_rcuasbuh1hhjhhhjϱhMXubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjϱhMXubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjϱhMXubj/)}(higet5_locked_rcuh]j5)}(hjh]higet5_locked_rcu}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjϱhMXubj;)}(h(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](jA)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j ]jc.iget5_locked_rcuasbuh1hhj8ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj4ubjA)}(hunsigned long hashvalh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hlongh]hlong}(hjȲhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hj4ubjA)}(h!int (*test)(struct inode*, void*)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(htesth]htest}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj)}(hjh]h)}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j ]jc.iget5_locked_rcuasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(hjh]h*}(hjͳhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h)}(hjڳhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj4ubjA)}(h int (*set)(struct inode*, void*)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hseth]hset}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj)}(hjh]h)}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j ]jc.iget5_locked_rcuasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(hjh]h*}(hj´hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h)}(hjϴhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj4ubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj4ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjϱhMXubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjϱhMXubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjϱhMXhjhhubjc)}(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.chMXhj7hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjϱhMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjhNhNubj)}(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)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM\hjVubj)}(hhh](j)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMYhjuubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjrubj)}(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.chMZhjubj)}(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ɵhMZhjʵubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɵhMZhjrubj)}(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[hjrubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hj&h]h"int (*set)(struct inode *, void *)}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM\hj ubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(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\hjrubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hj_h]h void *data}(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)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjxhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh and }(hjxhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1hhjthM]hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM]hjrubeh}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM_hjVubh)}(hThis is equivalent to iget5_locked, except the **test** callback must tolerate the inode not being stable, including being mid-teardown.h](h/This is equivalent to iget5_locked, except the }(hjжhhhNhNubj)}(h**test**h]htest}(hjضhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjжubhQ callback must tolerate the inode not being stable, including being mid-teardown.}(hjжhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM^hjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet_locked (C function) c.iget_lockedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hFstruct inode * iget_locked (struct super_block *sb, unsigned long ino)h]j)}(hDstruct inode *iget_locked(struct super_block *sb, unsigned long ino)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j ]j)}j iget_lockedsb c.iget_lockedasbuh1hhj hhhjhMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhMubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhjhMubj/)}(h iget_lockedh]j5)}(hjNh]h iget_locked}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhMubj;)}(h+(struct super_block *sb, unsigned long ino)h](jA)}(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 ]jL c.iget_lockedasbuh1hhjubj)}(h h]h }(hjǷhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjշhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned long inoh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hinoh]hino}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjyubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``unsigned long ino`` inode number to get h](j)}(h``unsigned long ino``h]j)}(hj׸h]hunsigned long ino}(hjٸhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjոubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjѸubj)}(hhh]h)}(hinode number to geth]hinode number to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjѸubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]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 **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 }(hj(hhhNhNubj)}(h**ino**h]hino}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh 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.}(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 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().}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hiunique (C function) c.iuniquehNtauh1hhjhhhNhNubh)}(hhh](j)}(h:ino_t iunique (struct super_block *sb, ino_t max_reserved)h]j)}(h9ino_t iunique(struct super_block *sb, ino_t max_reserved)h](h)}(hhh]j5)}(hino_th]hino_t}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j ]j)}jiuniquesb c.iuniqueasbuh1hhjthhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjhMubj/)}(hiuniqueh]j5)}(hjh]hiunique}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjthhhjhMubj;)}(h,(struct super_block *sb, ino_t max_reserved)h](jA)}(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.iuniqueasbuh1hhjƹubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƹubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƹubj5)}(hsbh]hsb}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƹubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj¹ubjA)}(hino_t max_reservedh](h)}(hhh]j5)}(hino_th]hino_t}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j ]j c.iuniqueasbuh1hhj6ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj5)}(h max_reservedh]h max_reserved}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj¹ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjthhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhjhMubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjmhhubjc)}(hhh]h)}(hget a unique inode numberh]hget a unique inode number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjmhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock ``ino_t max_reserved`` highest reserved inode number **Description** Obtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique. BUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hjԺh]hstruct super_block *sb}(hjֺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҺubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjκubj)}(hhh]h)}(h superblockh]h superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjκubeh}(h]h ]h"]h$]h&]uh1jhjhMhj˺ubj)}(h5``ino_t max_reserved`` highest reserved inode number h](j)}(h``ino_t max_reserved``h]j)}(hj h]hino_t max_reserved}(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)}(hhighest reserved inode numberh]hhighest reserved inode number}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj˺ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjHh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj^ubh)}(hgBUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h]hgBUGS: With a large number of inodes live on the file system this function currently becomes quite slow.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj^ubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup5_nowait (C function)c.ilookup5_nowaithNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct inode * ilookup5_nowait (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), void *data)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}(hjŻhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj»ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjǻmodnameN classnameNjj)}j ]j)}jilookup5_nowaitsbc.ilookup5_nowaitasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj/)}(hilookup5_nowaith]j5)}(hjh]hilookup5_nowait}(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](jA)}(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}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj)}j ]jc.ilookup5_nowaitasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hsbh]hsb}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned long hashvalh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hjubjA)}(h!int (*test)(struct inode*, void*)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjݼubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݼubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݼubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݼubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjݼubj)}(hjh]h)}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݼubj)}(hjҧh]h(}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݼubj )}(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 reftargetj_modnameN classnameNjj)}j ]jc.ilookup5_nowaitasbuh1hhjݼubj)}(hjh]h*}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݼubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݼubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݼubjd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjݼubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݼubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݼubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hjֽhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjҽubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjҽubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjҽubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjҽubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(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}(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&]jjjjAjjAjjjuh1hhhhjhNhNubj)}(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)}(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:29: ./fs/inode.chMhjEubj)}(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.chMhjdubj)}(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&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubj)}(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&]uh1jhjhMhjaubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjܾh]h#int (*test)(struct inode *, void *)}(hj޾hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjھubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj־ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj־ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubj)}(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.chMhjubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hj.hhhNhNubj)}(h**test**h]htest}(hj6hhhNhNubah}(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*hMhjaubeh}(h]h ]h"]h$]h&]uh1jhjEubh)}(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.chMhjEubh)}(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 }(hjthhhNhNubj)}(h **hashval**h]hhashval}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh and }(hjthhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubhm in the inode cache. If the inode is in the cache, the inode is returned with an incremented reference count.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjEubh)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjEubh)}(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 hjEubh)}(hHNote2: **test** is called with the inode_hash_lock held, so can't sleep.h](hNote2: }(hjοhhhNhNubj)}(h**test**h]htest}(hjֿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjοubh; is called with the inode_hash_lock held, so can’t sleep.}(hjοhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM#hjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup5 (C function) c.ilookup5hNtauh1hhjhhhNhNubh)}(hhh](j)}(hxstruct inode * ilookup5 (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), void *data)h]j)}(htstruct inode *ilookup5(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM4ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhM4ubh)}(hhh]j5)}(hinodeh]hinode}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j ]j)}jilookup5sb c.ilookup5asbuh1hhj hhhjhM4ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhM4ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhjhM4ubj/)}(hilookup5h]j5)}(hjLh8]hilookup5}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhM4ubj;)}(h^(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](jA)}(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 ]jJ c.ilookup5asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned long hashvalh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h!int (*test)(struct inode*, void*)h](jd)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj)}(hjҧh]h(}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jJ c.ilookup5asbuh1hhjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubjd)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(hjh]h)}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj;ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj5)}(hdatah]hdata}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj hhhjhM4ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM4ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM4hjhhubjc)}(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.chM4hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM4ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system to search ``unsigned long hashval`` hash value (usually inode number) to search for ``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes ``void *data`` opaque data pointer to pass to **test** **Description** Search for the inode specified by **hashval** and **data** in the inode cache, and if the inode is in the cache, return the inode with an incremented reference count. Waits on I_NEW before returning the inode. returned with an incremented reference count. This is a generalized version of ilookup() for file systems where the inode number is not sufficient for unique identification of an inode. **Note** **test** is called with the inode_hash_lock held, so can't sleep.h](h)}(h**Parameters**h]j)}(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.chM8hjubj)}(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.chM5hjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubj)}(hJ``unsigned long hashval`` hash value (usually inode number) to search for h](j)}(h``unsigned long hashval``h]j)}(hj h]hunsigned long hashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM6hjubj)}(hhh]h)}(h/hash value (usually inode number) to search forh]h/hash value (usually inode number) to search for}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hM6hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hM6hjubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjEh]h#int (*test)(struct inode *, void *)}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(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 for comparisons between inodesh]h,callback used for comparisons between inodes}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhM7hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM7hjubj)}(h7``void *data`` opaque data pointer to pass to **test** h](j)}(h``void *data``h]j)}(hj~h]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM8hjxubj)}(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&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM:hjubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, and if the inode is in the cache, return the inode with an incremented reference count. Waits on I_NEW before returning the inode. returned with an incremented reference count.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh in the inode cache, and if the inode is in the cache, return the inode with an incremented reference count. Waits on I_NEW before returning the inode. returned with an incremented reference count.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM9hjubh)}(hThis is a generalized version of ilookup() for file systems where the inode number is not sufficient for unique identification of an inode.h]hThis is a generalized version of ilookup() for file systems where the inode number is not sufficient for unique identification of an inode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM>hjubh)}(h**Note**h]j)}(hj!h]hNote}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMAhjubh)}(hA**test** is called with the inode_hash_lock held, so can't sleep.h](j)}(h**test**h]htest}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh; is called with the inode_hash_lock held, so can’t sleep.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMBhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup (C function) c.ilookuphNtauh1hhjhhhNhNubh)}(hhh](j)}(hBstruct inode * ilookup (struct super_block *sb, unsigned long ino)h]j)}(h@struct inode *ilookup(struct super_block *sb, unsigned long ino)h](j )}(hjzh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjhMVubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jilookupsb c.ilookupasbuh1hhjphhhjhMVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjhMVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhjhMVubj/)}(hilookuph]j5)}(hjh]hilookup}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjphhhjhMVubj;)}(h+(struct super_block *sb, unsigned long ino)h](jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.ilookupasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hsbh]hsb}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned long inoh](jd)}(hunsignedh]hunsigned}(hj^hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjZubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubjd)}(hlongh]hlong}(hjzhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj5)}(hinoh]hino}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjphhhjhMVubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlhhhjhMVubah}(h]jgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMVhjihhubjc)}(hhh]h)}(h&search for an inode in the inode cacheh]h&search for an inode in the inode cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMVhjhhubah}(h]h ]h"]h$]h&]uh1jbhjihhhjhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZhjubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMWhjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(h1``unsigned long ino`` inode number to search for h](j)}(h``unsigned long ino``h]j)}(hj:h]hunsigned long ino}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMXhj4ubj)}(hhh]h)}(hinode number to search forh]hinode number to search for}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMXhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMXhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZhjubh)}(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.chMYhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfind_inode_nowait (C function)c.find_inode_nowaithNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct inode * find_inode_nowait (struct super_block *sb, unsigned long hashval, int (*match)(struct inode *, unsigned long, void *), void *data)h]j)}(hstruct inode *find_inode_nowait(struct super_block *sb, unsigned long hashval, int (*match)(struct inode*, unsigned long, void*), void *data)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMrubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jfind_inode_nowaitsbc.find_inode_nowaitasbuh1hhjhhhjhMrubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMrubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMrubj/)}(hfind_inode_nowaith]j5)}(hj h]hfind_inode_nowait}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMrubj;)}(hn(struct super_block *sb, unsigned long hashval, int (*match)(struct inode*, unsigned long, void*), void *data)h](jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(h super_blockh]h super_block}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j ]jc.find_inode_nowaitasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj>ubjA)}(hunsigned long hashvalh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hj>ubjA)}(h1int (*match)(struct inode*, unsigned long, void*)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hmatchh]hmatch}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj)}(hjh]h)}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjrhhhNhNubah}(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.find_inode_nowaitasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h)}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj>ubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hjAhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj=ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj5)}(hdatah]hdata}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj>ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMrubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMrubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMrhjhhubjc)}(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.chMrhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system to search ``unsigned long hashval`` hash value (usually inode number) to search for ``int (*match)(struct inode *, unsigned long, void *)`` callback used for comparisons between inodes ``void *data`` opaque data pointer to pass to **match** **Description** Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **match** will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The **match** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized, and incrementing the reference count before returning 1. It also must not sleep, since it is called with the inode_hash_lock spinlock held. This is a even more generalized version of ilookup5() when the function must never block --- find_inode() can block in __wait_on_freeing_inode() --- or when the caller can not increment the reference count because the resulting iput() might cause an inode eviction. The tradeoff is that the **match** funtion must be very carefully implemented.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMvhjubj)}(hhh](j)}(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.chMshjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMthjubj)}(hhh]h)}(h/hash value (usually inode number) to search forh]h/hash value (usually inode number) to search for}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMthj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMthjubj)}(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)}(hjGh]h3int (*match)(struct inode *, unsigned long, void *)}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMuhjAubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMuhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMuhjubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMvhjzubj)}(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&]uh1hhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMxhjubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, where the helper function **match** will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The **match** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized, and incrementing the reference count before returning 1. It also must not sleep, since it is called with the inode_hash_lock spinlock held.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ in the inode cache, where the helper function }(hjhhhNhNubj)}(h **match**h]hmatch}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubht will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The }(hjhhhNhNubj)}(h **match**h]hmatch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized, and incrementing the reference count before returning 1. It also must not sleep, since it is called with the inode_hash_lock spinlock held.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMwhjubh)}(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 }(hj6hhhNhNubj)}(h **match**h]hmatch}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh, funtion must be very carefully implemented.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfind_inode_rcu (C function)c.find_inode_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(h~struct inode * find_inode_rcu (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), void *data)h]j)}(hzstruct inode *find_inode_rcu(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjhMubh)}(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_rcuasbuh1hhjshhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhjhMubj/)}(hfind_inode_rcuh]j5)}(hjh]hfind_inode_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjshhhjhMubj;)}(h^(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](jA)}(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&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.find_inode_rcuasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hsbh]hsb}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned long hashvalh](jd)}(hunsignedh]hunsigned}(hjahhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj]ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubjd)}(hlongh]hlong}(hj}hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj]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&]noemphjLjMuh1j@hjubjA)}(h!int (*test)(struct inode*, void*)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]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 ]jc.find_inode_rcuasbuh1hhjubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj_h]h,}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjshhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjohhhjhMubah}(h]jjah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjlhhubjc)}(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&]uh1jbhjlhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXD**Parameters** ``struct super_block *sb`` Super block of file system to search ``unsigned long hashval`` Key to hash ``int (*test)(struct inode *, void *)`` Function to test match on an inode ``void *data`` Data for test function **Description** Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized. If successful, this will return the inode for which the **test** function returned 1 and NULL otherwise. The **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep. The caller must hold the RCU read lock.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h@``struct super_block *sb`` Super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hj;h]hstruct super_block *sb}(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.chMhj5ubj)}(hhh]h)}(h$Super block of file system to searchh]h$Super block of file system to search}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhj2ubj)}(h&``unsigned long hashval`` Key to hash h](j)}(h``unsigned long hashval``h]j)}(hjth]hunsigned long hashval}(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.chMhjnubj)}(hhh]h)}(h Key to hashh]h Key to hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hK``int (*test)(struct inode *, void *)`` Function to test match on an inode h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h"Function to test match on an inodeh]h"Function to test match on an inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h&``void *data`` Data for test function h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hData for test functionh]hData for test function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj!h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 }(hj7hhhNhNubj)}(h **hashval**h]hhashval}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh and }(hj7hhhNhNubj)}(h**data**h]hdata}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh/ in the inode cache, where the helper function }(hj7hhhNhNubj)}(h**test**h]htest}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubhB will return 0 if the inode does not match and 1 if it does. The }(hj7hhhNhNubj)}(h**test**h]htest}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.}(hj7hhhNhNubeh}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"find_inode_by_ino_rcu (C function)c.find_inode_by_ino_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hPstruct inode * find_inode_by_ino_rcu (struct super_block *sb, unsigned long ino)h]j)}(hNstruct inode *find_inode_by_ino_rcu(struct super_block *sb, unsigned long ino)h](j )}(hjzh]hstruct}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j)}jfind_inode_by_ino_rcusbc.find_inode_by_ino_rcuasbuh1hhjhhhj hMubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj hMubj/)}(hfind_inode_by_ino_rcuh]j5)}(hj<h]hfind_inode_by_ino_rcu}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj;)}(h+(struct super_block *sb, unsigned long ino)h](jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j:c.find_inode_by_ino_rcuasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjqubjA)}(hunsigned long inoh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hinoh]hino}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjqubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(hhh]h)}(h Find an inode in the inode cacheh]h Find an inode in the inode cache}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjhNhNubj)}(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)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjgubj)}(hhh](j)}(h@``struct super_block *sb`` Super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$Super block of file system to searchh]h$Super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``unsigned long ino`` The inode number to match h](j)}(h``unsigned long ino``h]j)}(hjh]hunsigned long ino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hThe inode number to matchh]hThe inode number to match}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjgubh)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ in the inode cache, where the helper function }(hjhhhNhNubj)}(h**test**h]htest}(hjBhhhNhNubah}(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}(hjThhhNhNubah}(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.chMhjgubh)}(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 }(hjmhhhNhNubj)}(h**test**h]htest}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh( function returned 1 and NULL otherwise.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjgubh)}(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.chMhjgubh)}(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.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hiput (C function)c.iputhNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid iput (struct inode *inode)h]j)}(hvoid iput(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMmubj/)}(hiputh]j5)}(hiputh]hiput}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMmubj;)}(h(struct inode *inode)h]jA)}(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}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j ]j)}jjsbc.iputasbuh1hhjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMmubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMmubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMmhjhhubjc)}(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.chMmhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct inode *inode`` inode to put **Description** Puts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed. Consequently, iput() can sleep.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMqhjubj)}(hhh]j)}(h%``struct inode *inode`` inode to put h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMnhjubj)}(hhh]h)}(h inode to puth]h inode to put}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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.chMphjubj)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMohj0ubh)}(hConsequently, iput() can sleep.h]hConsequently, iput() can sleep.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMrhj0ubeh}(h]h ]h"]h$]h&]uh1jhjBhMohjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbmap (C function)c.bmaphNtauh1hhjhhhNhNubh)}(hhh](j)}(h/int bmap (struct inode *inode, sector_t *block)h]j)}(h.int bmap(struct inode *inode, sector_t *block)h](jd)}(hinth]hint}(hjxhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjthhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjhMubj/)}(hbmaph]j5)}(hbmaph]hbmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjthhhjhMubj;)}(h&(struct inode *inode, sector_t *block)h](jA)}(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.bmapasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hsector_t *blockh](h)}(hhh]j5)}(hsector_th]hsector_t}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j ]jc.bmapasbuh1hhj#ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj5)}(hblockh]hblock}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjthhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhjhMubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjmhhubjc)}(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&]uh1jbhjmhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXj**Parameters** ``struct inode *inode`` inode owning the block number being requested ``sector_t *block`` pointer containing the block to find **Description** Replaces the value in ``*block`` with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in ``*block``, with disk block relative to the disk start that holds that block of the file. Returns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and ``*block`` is also set to 0.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(hF``struct inode *inode`` inode owning the block number being requested h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h-inode owning the block number being requestedh]h-inode owning the block number being requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``sector_t *block`` pointer containing the block to find h](j)}(h``sector_t *block``h]j)}(hjh]hsector_t *block}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$pointer containing the block to findh]h$pointer containing the block to find}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjBh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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 }(hj\hhhNhNubj)}(h ``*block``h]h*block}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in }(hj\hhhNhNubj)}(h ``*block``h]h*block}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubhO, with disk block relative to the disk start that holds that block of the file.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjXubh)}(hwReturns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and ``*block`` is also set to 0.h](h[Returns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and }(hjhhhNhNubj)}(h ``*block``h]h*block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is also set to 0.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjXubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$inode_update_timestamps (C function)c.inode_update_timestampshNtauh1hhjhhhNhNubh)}(hhh](j)}(hhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj)}j ]j)}jjsbc.generic_update_timeasbuh1hhjubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int flagsh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h"update the timestamps on the inodeh]h"update the timestamps on the inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct inode *inode`` inode to be updated ``int flags`` S_* flags that needed to be updated **Description** The update_time function is called when an inode's timestamps need to be updated for a read or write operation. In the case where any of S_MTIME, S_CTIME, or S_VERSION need to be updated we attempt to update all three of them. S_ATIME updates can be handled done independently of the rest. Returns a S_* mask indicating which fields were updated.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h,``struct inode *inode`` inode to be updated h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hinode to be updatedh]hinode to be updated}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h2``int flags`` S_* flags that needed to be updated h](j)}(h ``int flags``h]j)}(hjRh]h int flags}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjLubj)}(hhh]h)}(h#S_* flags that needed to be updatedh]h#S_* flags that needed to be updated}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hX!The update_time function is called when an inode's timestamps need to be updated for a read or write operation. In the case where any of S_MTIME, S_CTIME, or S_VERSION need to be updated we attempt to update all three of them. S_ATIME updates can be handled done independently of the rest.h]hX#The update_time function is called when an inode’s timestamps need to be updated for a read or write operation. In the case where any of S_MTIME, S_CTIME, or S_VERSION need to be updated we attempt to update all three of them. S_ATIME updates can be handled done independently of the rest.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h8Returns a S_* mask indicating which fields were updated.h]h8Returns a S_* mask indicating which fields were updated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_remove_privs (C function)c.file_remove_privshNtauh1hhjhhhNhNubh)}(hhh](j)}(h)int file_remove_privs (struct file *file)h]j)}(h(int file_remove_privs(struct file *file)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hfile_remove_privsh]j5)}(hfile_remove_privsh]hfile_remove_privs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h(struct file *file)h]jA)}(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&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj)}j ]j)}jjsbc.file_remove_privsasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfileh]hfile}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h3remove special file privileges (suid, capabilities)h]h3remove special file privileges (suid, capabilities)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct file *file`` file to remove privileges from **Description** When file is modified by a write or truncation ensure that special file privileges are removed. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h5``struct file *file`` file to remove privileges from h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hfile to remove privileges fromh]hfile to remove privileges from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h_When file is modified by a write or truncation ensure that special file privileges are removed.h]h_When file is modified by a write or truncation ensure that special file privileges are removed.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h **Return**h]j)}(hjDh]hReturn}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hcurrent_time (C function)c.current_timehNtauh1hhjhhhNhNubh)}(hhh](j)}(h4struct timespec64 current_time (struct inode *inode)h]j)}(h3struct timespec64 current_time(struct inode *inode)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}j current_timesbc.current_timeasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h current_timeh]j5)}(hjh]h current_time}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h(struct inode *inode)h]jA)}(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.current_timeasbuh1hhjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j|ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj~hhubjc)}(hhh]h)}(h&Return FS time (possibly fine-grained)h]h&Return FS time (possibly fine-grained)}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjthhubah}(h]h ]h"]h$]h&]uh1jbhj~hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct inode *inode`` inode. **Description** Return the current time truncated to the time granularity supported by the fs, as suitable for a ctime/mtime change. If the ctime is flagged as having been QUERIED, get a fine-grained timestamp, but don't update the floor. For a multigrain inode, this is effectively an estimate of the timestamp that a file would receive. An actual update must go through inode_set_ctime_current().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h``struct inode *inode`` inode. h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hinode.h]hinode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]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)}(hReturn the current time truncated to the time granularity supported by the fs, as suitable for a ctime/mtime change. If the ctime is flagged as having been QUERIED, get a fine-grained timestamp, but don't update the floor.h]hReturn the current time truncated to the time granularity supported by the fs, as suitable for a ctime/mtime change. If the ctime is flagged as having been QUERIED, get a fine-grained timestamp, but don’t update the floor.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_update_time (C function)c.file_update_timehNtauh1hhjhhhNhNubh)}(hhh](j)}(h(int file_update_time (struct file *file)h]j)}(h'int file_update_time(struct file *file)h](jd)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjChhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjChhhjUhM ubj/)}(hfile_update_timeh]j5)}(hfile_update_timeh]hfile_update_time}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjChhhjUhM ubj;)}(h(struct file *file)h]jA)}(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)}jjjsbc.file_update_timeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj|ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjChhhjUhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj?hhhjUhM ubah}(h]j:ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjUhM hj<hhubjc)}(hhh]h)}(hupdate mtime and ctime timeh]hupdate mtime and ctime time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhj<hhhjUhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXD**Parameters** ``struct file *file`` file accessed **Description** Update the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj#ubj)}(hhh]j)}(h$``struct file *file`` file accessed h](j)}(h``struct file *file``h]j)}(hjHh]hstruct file *file}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjBubj)}(hhh]h)}(h file accessedh]h file accessed}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj#ubh)}(hXUpdate the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode.h]hXUpdate the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj#ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj#ubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_modified (C function)c.file_modifiedhNtauh1hhjhhhNhNubh)}(hhh](j)}(h%int file_modified (struct file *file)h]j)}(h$int file_modified(struct file *file)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMK ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMK ubj/)}(h file_modifiedh]j5)}(h file_modifiedh]h file_modified}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMK ubj;)}(h(struct file *file)h]jA)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubh)}(hhh]j5)}(hfileh]hfile}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j ]j)}jjsbc.file_modifiedasbuh1hhj(ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj$ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMK ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMK ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMK 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.chMK hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX'**Parameters** ``struct file *file`` file that was modified **Description** When file has been modified ensure that special file privileges are removed and time settings are updated. **Context** Caller must hold the file's inode lock. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMO hjubj)}(hhh]j)}(h-``struct file *file`` file that was modified h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chML hjubj)}(hhh]h)}(hfile that was modifiedh]hfile that was modified}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhML hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhML hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj+h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMN 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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMM hjubh)}(h **Context**h]j)}(hjRh]hContext}(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.chMP hjubh)}(h'Caller must hold the file's inode lock.h]h)Caller must hold the file’s inode lock.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMQ hjubh)}(h **Return**h]j)}(hjyh]hReturn}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMS 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.chMS hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkiocb_modified (C function)c.kiocb_modifiedhNtauh1hhjhhhNhNubh)}(hhh](j)}(h'int kiocb_modified (struct kiocb *iocb)h]j)}(h&int kiocb_modified(struct kiocb *iocb)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM\ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM\ ubj/)}(hkiocb_modifiedh]j5)}(hkiocb_modifiedh]hkiocb_modified}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM\ ubj;)}(h(struct kiocb *iocb)h]jA)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.kiocb_modifiedasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hiocbh]hiocb}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM\ 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}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM\ hj{hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM\ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX(**Parameters** ``struct kiocb *iocb`` iocb that was modified **Description** When file has been modified ensure that special file privileges are removed and time settings are updated. **Context** Caller must hold the file's inode lock. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM` hjubj)}(hhh]j)}(h.``struct kiocb *iocb`` iocb that was modified h](j)}(h``struct kiocb *iocb``h]j)}(hjh]hstruct kiocb *iocb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM] hjubj)}(hhh]h)}(hiocb that was modifiedh]hiocb that was modified}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM] hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM] hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM_ hjubh)}(hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.h]hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM^ hjubh)}(h **Context**h]j)}(hj!h]hContext}(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.chMa hjubh)}(h'Caller must hold the file's inode lock.h]h)Caller must hold the file’s inode lock.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMb hjubh)}(h **Return**h]j)}(hjHh]hReturn}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMd hjubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMd hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_init_owner (C function)c.inode_init_ownerhNtauh1hhjhhhNhNubh)}(hhh](j)}(hkvoid inode_init_owner (struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h]j)}(hjvoid inode_init_owner(struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/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](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.inode_init_ownerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_init_ownerasbuh1hhj8ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst struct inode *dirh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.inode_init_ownerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj)}j ]jc.inode_init_ownerasbuh1hhj3ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj5)}(hmodeh]hmode}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(hi_rwsem.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM6 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.chM3 hjubj)}(hhh]h)}(hinode to wait forh]hinode to wait for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM3 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3 hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM5 hjubh)}(hsWaits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.h]hsWaits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM4 hjubh)}(hlMust be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.h]hlMust be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM7 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](htimestamp_truncate (C function)c.timestamp_truncatehNtauh1hhjhhhNhNubh)}(hhh](j)}(hOstruct timespec64 timestamp_truncate (struct timespec64 t, struct inode *inode)h]j)}(hNstruct timespec64 timestamp_truncate(struct timespec64 t, struct inode *inode)h](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMq ubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjXhMq ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j ]j)}jtimestamp_truncatesbc.timestamp_truncateasbuh1hhjGhhhjXhMq ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjXhMq ubj/)}(htimestamp_truncateh]j5)}(hjh]htimestamp_truncate}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhjXhMq ubj;)}(h*(struct timespec64 t, struct inode *inode)h](jA)}(hstruct timespec64 th](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.timestamp_truncateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hth]ht}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j ]jc.timestamp_truncateasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjGhhhjXhMq ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjChhhjXhMq ubah}(h]j>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjXhMq hj@hhubjc)}(hhh]h)}(h"Truncate timespec to a granularityh]h"Truncate timespec to a granularity}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMq hjhhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhjXhMq ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX!**Parameters** ``struct timespec64 t`` Timespec ``struct inode *inode`` inode being updated **Description** Truncate a timespec to the granularity supported by the fs containing the inode. Always rounds down. gran must not be 0 nor greater than a second (NSEC_PER_SEC, or 10^9 ns).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMu hjubj)}(hhh](j)}(h!``struct timespec64 t`` Timespec h](j)}(h``struct timespec64 t``h]j)}(hjh]hstruct timespec64 t}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMr hjubj)}(hhh]h)}(hTimespech]hTimespec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMr hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMr hjubj)}(h,``struct inode *inode`` inode being updated h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMs hjubj)}(hhh]h)}(hinode being updatedh]hinode being updated}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hMs hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMs hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMu 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).}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMt hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$inode_set_ctime_current (C function)c.inode_set_ctime_currenthNtauh1hhjhhhNhNubh)}(hhh](j)}(h?struct timespec64 inode_set_ctime_current (struct inode *inode)h]j)}(h>struct timespec64 inode_set_ctime_current(struct inode *inode)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jinode_set_ctime_currentsbc.inode_set_ctime_currentasbuh1hhjhhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hinode_set_ctime_currenth]j5)}(hjh]hinode_set_ctime_current}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj;)}(h(struct inode *inode)h]jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj)}j ]jc.inode_set_ctime_currentasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(hset the ctime to current_timeh]hset the ctime to current_time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct inode *inode`` inode **Description** Set the inode's ctime to the current value for the inode. Returns the current value that was assigned. If this is not a multigrain inode, then we set it to the later of the coarse time and floor value. If it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp. After that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hSet the inode's ctime to the current value for the inode. Returns the current value that was assigned. If this is not a multigrain inode, then we set it to the later of the coarse time and floor value.h]hSet the inode’s ctime to the current value for the inode. Returns the current value that was assigned. If this is not a multigrain inode, then we set it to the later of the coarse time and floor value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hIf it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp.h]hIf it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp.}(hj%hhhNhNubah}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"inode_set_ctime_deleg (C function)c.inode_set_ctime_deleghNtauh1hhjhhhNhNubh)}(hhh](j)}(hWstruct timespec64 inode_set_ctime_deleg (struct inode *inode, struct timespec64 update)h]j)}(hVstruct timespec64 inode_set_ctime_deleg(struct inode *inode, struct timespec64 update)h](j )}(hjzh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_hhhjphM ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jinode_set_ctime_delegsbc.inode_set_ctime_delegasbuh1hhj_hhhjphM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_hhhjphM ubj/)}(hinode_set_ctime_delegh]j5)}(hjh]hinode_set_ctime_deleg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj_hhhjphM ubj;)}(h/(struct inode *inode, struct timespec64 update)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.inode_set_ctime_delegasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct timespec64 updateh](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 timespec64h]h timespec64}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj)}j ]jc.inode_set_ctime_delegasbuh1hhj<ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubj5)}(hupdateh]hupdate}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj_hhhjphM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj[hhhjphM ubah}(h]jVah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjphM hjXhhubjc)}(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&]uh1jbhjXhhhjphM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXK**Parameters** ``struct inode *inode`` inode to update ``struct timespec64 update`` timespec64 to set the ctime **Description** Attempt to atomically update the ctime on behalf of a delegation holder. The nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that. This can race with concurrent updates to the inode, in which case the update is skipped. Note that this works even when multigrain timestamps are not enabled, so it is used in either case.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh](j)}(h(``struct inode *inode`` inode to update h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(hinode to updateh]hinode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h9``struct timespec64 update`` timespec64 to set the ctime h](j)}(h``struct timespec64 update``h]j)}(hj.h]hstruct timespec64 update}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj(ubj)}(hhh]h)}(htimespec64 to set the ctimeh]htimespec64 to set the ctime}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChM hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM hjubeh}(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)}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h in_group_or_capable (C function)c.in_group_or_capablehNtauh1hhjhhhNhNubh)}(hhh](j)}(h^bool in_group_or_capable (struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h]j)}(h]bool in_group_or_capable(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h](jd)}(hjgh]hbool}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM+ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM+ ubj/)}(hin_group_or_capableh]j5)}(hin_group_or_capableh]hin_group_or_capable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM+ ubj;)}(hE(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h](jA)}(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}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j ]j)}jjsbc.in_group_or_capableasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jQc.in_group_or_capableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hvfsgid_t vfsgidh](h)}(hhh]j5)}(hvfsgid_th]hvfsgid_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jQc.in_group_or_capableasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hvfsgidh]hvfsgid}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM+ ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM+ ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM+ hjhhubjc)}(hhh]h)}(h-check whether caller is CAP_FSETID privilegedh]h-check whether caller is CAP_FSETID privileged}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM+ hjjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM+ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``const struct inode *inode`` inode to check ``vfsgid_t vfsgid`` the new/current vfsgid of **inode** **Description** Check whether **vfsgid** is in the caller's group list or if the caller is privileged with CAP_FSETID over **inode**. This can be used to determine whether the setgid bit can be kept or must be dropped. **Return** true if the caller is sufficiently privileged, false if not.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM/ hjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM, hjubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh was found from}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM, hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM, hjubj)}(h-``const struct inode *inode`` inode to check h](j)}(h``const struct inode *inode``h]j)}(hjh]hconst struct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM- hjubj)}(hhh]h)}(hinode to checkh]hinode to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM- hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM- hjubj)}(h8``vfsgid_t vfsgid`` the new/current vfsgid of **inode** h](j)}(h``vfsgid_t vfsgid``h]j)}(hj2h]hvfsgid_t vfsgid}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM. hj,ubj)}(hhh]h)}(h#the new/current vfsgid of **inode**h](hthe new/current vfsgid of }(hjKhhhNhNubj)}(h **inode**h]hinode}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1hhjGhM. hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM. hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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.chM0 hjubh)}(hCheck whether **vfsgid** is in the caller's group list or if the caller is privileged with CAP_FSETID over **inode**. This can be used to determine whether the setgid bit can be kept or must be dropped.h](hCheck whether }(hjhhhNhNubj)}(h **vfsgid**h]hvfsgid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhU is in the caller’s group list or if the caller is privileged with CAP_FSETID over }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhV. This can be used to determine whether the setgid bit can be kept or must be dropped.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM/ hjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM3 hjubh)}(hubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj/hMB ubj;)}(h@(struct mnt_idmap *idmap, const struct inode *dir, umode_t mode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j ]j*c.mode_strip_sgidasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjUubjA)}(hconst struct inode *dirh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j*c.mode_strip_sgidasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdirh]hdir}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjUubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j ]j*c.mode_strip_sgidasbuh1hhjTubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjUubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj/hMB ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj/hMB ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj/hMB hjhhubjc)}(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.chMB hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj/hMB ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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.chMF 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)}(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.chMC hjubj)}(hhh]h)}(h-idmap of the mount the inode was created fromh]h-idmap of the mount the inode was created from}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMC hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMC hjubj)}(h3``const struct inode *dir`` parent directory inode h](j)}(h``const struct inode *dir``h]j)}(hj+h]hconst struct 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:29: ./fs/inode.chMD hj%ubj)}(hhh]h)}(hparent directory inodeh]hparent directory inode}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMD hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMD hjubj)}(h;``umode_t mode`` mode of the file to be created in **dir** h](j)}(h``umode_t mode``h]j)}(hjdh]h umode_t mode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chME hj^ubj)}(hhh]h)}(h)mode of the file to be created in **dir**h](h"mode of the file to be created in }(hj}hhhNhNubj)}(h**dir**h]hdir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1hhjyhME hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhME 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.chMG hjubh)}(hXOIf the **mode** of the new file has both the S_ISGID and S_IXGRP bit raised and **dir** has the S_ISGID bit raised ensure that the caller is either in the group of the parent directory or they have CAP_FSETID in their user namespace and are privileged over the parent directory. In all other cases, strip the S_ISGID bit from **mode**.h](hIf the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA of the new file has both the S_ISGID and S_IXGRP bit raised and }(hjhhhNhNubj)}(h**dir**h]hdir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has the S_ISGID bit raised ensure that the caller is either in the group of the parent directory or they have CAP_FSETID in their user namespace and are privileged over the parent directory. In all other cases, strip the S_ISGID bit from }(hjhhhNhNubj)}(h**mode**h]hmode}(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.chMF hjubh)}(h **Return**h]j)}(hj h]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chML hjubh)}(h the new mode to use for the fileh]h the new mode to use for the file}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmake_bad_inode (C function)c.make_bad_inodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h)void make_bad_inode (struct inode *inode)h]j)}(h(void make_bad_inode(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjOhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjKhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhj]hKubj/)}(hmake_bad_inodeh]j5)}(hmake_bad_inodeh]hmake_bad_inode}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhj]hKubj;)}(h(struct inode *inode)h]jA)}(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)}jjrsbc.make_bad_inodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjKhhhj]hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjGhhhj]hKubah}(h]jBah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj]hKhjDhhubjc)}(hhh]h)}(h%mark an inode bad due to an I/O errorh]h%mark an inode bad due to an I/O error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj hhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhj]hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjhNhNubj)}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(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.chKhj+ubj)}(hhh]j)}(h*``struct inode *inode`` Inode to mark bad h](j)}(h``struct inode *inode``h]j)}(hjPh]hstruct inode *inode}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjJubj)}(hhh]h)}(hInode to mark badh]hInode to mark bad}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehKhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehKhjGubah}(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:32: ./fs/bad_inode.chKhj+ubj)}(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&]uh1jhjhKhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_bad_inode (C function)c.is_bad_inodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h'bool is_bad_inode (struct inode *inode)h]j)}(h&bool is_bad_inode(struct inode *inode)h](jd)}(hjgh]hbool}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhV/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 is_bad_inodeh]j5)}(h is_bad_inodeh]h is_bad_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj;)}(h(struct inode *inode)h]jA)}(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}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j ]j)}jjsbc.is_bad_inodeasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(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&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(h inode to testh]h inode to test}(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.chKhjubj)}(h=Returns true if the inode in question has been marked as bad.h]h)}(hj-h]h=Returns true if the inode in question has been marked as bad.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj+ubah}(h]h ]h"]h$]h&]uh1jhj<hKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet_failed (C function) c.iget_failedhNtauh1hhjhhhNhNubh)}(hhh](j)}(h&void iget_failed (struct inode *inode)h]j)}(h%void iget_failed(struct inode *inode)h](jd)}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj_hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_hhhjqhKubj/)}(h iget_failedh]j5)}(h iget_failedh]h iget_failed}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj_hhhjqhKubj;)}(h(struct inode *inode)h]jA)}(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.iget_failedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hj_hhhjqhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj[hhhjqhKubah}(h]jVah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjqhKhjXhhubjc)}(hhh]h)}(h7Mark an under-construction inode as dead and release ith]h7Mark an under-construction inode as dead and release it}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj hhubah}(h]h ]h"]h$]h&]uh1jbhjXhhhjqhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjhNhNubj)}(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)}(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:32: ./fs/bad_inode.chKhj?ubj)}(hhh]j)}(h-``struct inode *inode`` The inode to discard h](j)}(h``struct inode *inode``h]j)}(hjdh]hstruct inode *inode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj^ubj)}(hhh]h)}(hThe inode to discardh]hThe inode to discard}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhKhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhKhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj?ubh)}(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.chKhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj/)}(hdeactivate_locked_superh]j5)}(hdeactivate_locked_superh]hdeactivate_locked_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj;)}(h(struct super_block *s)h]jA)}(hstruct super_block *sh](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 ]j)}jj sbc.deactivate_locked_superasbuh1hhj6ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj5)}(hsh]hs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj2ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(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&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *s`` superblock to deactivate **Description** Drops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired. Caller holds exclusive lock on superblock; that lock is released.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.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)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjOubh)}(hACaller holds exclusive lock on superblock; that lock is released.h]hACaller holds exclusive lock on superblock; that lock is released.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjOubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubeh}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/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]jA)}(hstruct super_block *sh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.deactivate_superasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hjh]hs}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h&drop an active reference to superblockh]h&drop an active reference to superblock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjShhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjhNhNubj)}(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)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjrubj)}(hhh]j)}(h3``struct super_block *s`` superblock to deactivate h](j)}(h``struct super_block *s``h]j)}(hjh]hstruct super_block *s}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hsuperblock to deactivateh]hsuperblock to deactivate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjrubj)}(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 }(hjhhhNhNubjN)}(h*not*h]hnot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jNhjubhl locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1jhj hMhjrubeh}(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](jd)}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj/hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM>ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/hhhjAhM>ubj/)}(h retire_superh]j5)}(h retire_superh]h retire_super}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj/hhhjAhM>ubj;)}(h(struct super_block *sb)h]jA)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjVsbc.retire_superasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubah}(h]h ]h"]h$]h&]jLjMuh1j:hj/hhhjAhM>ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj+hhhjAhM>ubah}(h]j&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjAhM>hj(hhubjc)}(hhh]h)}(h%prevents superblock from being reusedh]h%prevents superblock from being reused}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM>hjhhubah}(h]h ]h"]h$]h&]uh1jbhj(hhhjAhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock to retire **Description** The function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn't reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect. The marker will affect the re-use only for block-device-based superblocks. Other superblocks will still get marked if this function is used, but that will not affect their reusability.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMBhjubj)}(hhh]j)}(h0``struct super_block *sb`` superblock to retire h](j)}(h``struct super_block *sb``h]j)}(hj4h]hstruct super_block *sb}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM?hj.ubj)}(hhh]h)}(hsuperblock to retireh]hsuperblock to retire}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhM?hjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhM?hj+ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMAhjubj)}(hXThe function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn't reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect. The marker will affect the re-use only for block-device-based superblocks. Other superblocks will still get marked if this function is used, but that will not affect their reusability.h](h)}(hXThe function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn't reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect.h]hXThe function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn’t reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect.}(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.chMHhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubeh}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM[ubj/)}(hgeneric_shutdown_superh]j5)}(hgeneric_shutdown_superh]hgeneric_shutdown_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM[ubj;)}(h(struct super_block *sb)h]jA)}(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.generic_shutdown_superasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hsbh]hsb}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM[ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM[ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM[hjhhubjc)}(hhh]h)}(hcommon helper for ->kill_sb()h]hcommon helper for ->kill_sb()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM[hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXv**Parameters** ``struct super_block *sb`` superblock to kill **Description** generic_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling. Upon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(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.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM]hjubh)}(hUpon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.h]hUpon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMchjubeh}(h]h ]h"]h$]h&]uh1jhj1hM]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}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjchhhjthMubh)}(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_fcasbuh1hhjchhhjthMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjchhhjthMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhjthMubj/)}(hsget_fch]j5)}(hjh]hsget_fc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjchhhjthMubj;)}(h(struct fs_context *fc, int (*test)(struct super_block*, struct fs_context*), int (*set)(struct super_block*, struct fs_context*))h](jA)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.sget_fcasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfch]hfc}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h4int (*test)(struct super_block*, struct fs_context*)h](jd)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj)}(hjҧh]h(}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.sget_fcasbuh1hhjMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j ]j c.sget_fcasbuh1hhjMubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(hjh]h)}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h3int (*set)(struct super_block*, struct fs_context*)h](jd)}(hinth]hint}(hjthhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj5)}(hseth]hset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(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_fcasbuh1hhjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j ]j c.sget_fcasbuh1hhjpubj)}(hjh]h*}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjchhhjthMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj_hhhjthMubah}(h]jZah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthMhj\hhubjc)}(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&]uh1jbhj\hhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct fs_context *fc`` Filesystem context. ``int (*test)(struct super_block *, struct fs_context *)`` Comparison callback ``int (*set)(struct super_block *, struct fs_context *)`` Setup callback **Description** Create a new superblock or find an existing one. The **test** callback is used to find a matching existing superblock. Whether or not the requested parameters in **fc** are taken into account is specific to the **test** callback that is used. They may even be completely ignored. If an extant superblock is matched, it will be returned unless: (1) the namespace the filesystem context **fc** and the extant superblock's namespace differ (2) the filesystem context **fc** has requested that reusing an extant superblock is not allowed In both cases EBUSY will be returned. If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the **set** callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset. **Return** On success, an extant or newly created superblock is returned. On failure an error pointer is returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh](j)}(h.``struct fs_context *fc`` Filesystem context. h](j)}(h``struct fs_context *fc``h]j)}(hjh]hstruct fs_context *fc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hO``int (*test)(struct super_block *, struct fs_context *)`` Comparison callback h](j)}(h:``int (*test)(struct super_block *, struct fs_context *)``h]j)}(hj"h]h6int (*test)(struct super_block *, struct fs_context *)}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hComparison callbackh]hComparison callback}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(hI``int (*set)(struct super_block *, struct fs_context *)`` Setup callback h](j)}(h9``int (*set)(struct super_block *, struct fs_context *)``h]j)}(hj[h]h5int (*set)(struct super_block *, struct fs_context *)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjUubj)}(hhh]h)}(hSetup callbackh]hSetup callback}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h0Create a new superblock or find an existing one.h]h0Create a new superblock or find an existing one.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hThe **test** callback is used to find a matching existing superblock. Whether or not the requested parameters in **fc** are taken into account is specific to the **test** callback that is used. They may even be completely ignored.h](hThe }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhe callback is used to find a matching existing superblock. Whether or not the requested parameters in }(hjhhhNhNubj)}(h**fc**h]hfc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh+ are taken into account is specific to the }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh< callback that is used. They may even be completely ignored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h?If an extant superblock is matched, it will be returned unless:h]h?If an extant superblock is matched, it will be returned unless:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubhenumerated_list)}(hhh](jt-)}(hYthe namespace the filesystem context **fc** and the extant superblock's namespace differ h]h)}(hXthe namespace the filesystem context **fc** and the extant superblock's namespace differh](h%the namespace the filesystem context }(hjhhhNhNubj)}(h**fc**h]hfc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ and the extant superblock’s namespace differ}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1js-hjubjt-)}(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 }(hjChhhNhNubj)}(h**fc**h]hfc}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh? has requested that reusing an extant superblock is not allowed}(hjChhhNhNubeh}(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&]uh1js-hjubeh}(h]h ]h"]h$]h&]enumtypearabicprefixjҧsuffixjuh1jhjubh)}(h%In both cases EBUSY will be returned.h]h%In both cases EBUSY will be returned.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hX8If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the **set** callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.h](hIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the }(hjhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hgOn success, an extant or newly created superblock is returned. On failure an error pointer is returned.h]hgOn success, an extant or newly created superblock is returned. On failure an error pointer is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsget (C function)c.sgethNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct super_block * sget (struct file_system_type *type, int (*test)(struct super_block *,void *), int (*set)(struct super_block *,void *), int flags, void *data)h]j)}(hstruct super_block *sget(struct file_system_type *type, int (*test)(struct super_block*, void*), int (*set)(struct super_block*, void*), int flags, void *data)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM)ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM)ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j)}jsgetsbc.sgetasbuh1hhjhhhjhM)ubj)}(h h]h }(hj+ hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM)ubj)}(hjh]h*}(hj9 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM)ubj/)}(hsgeth]j5)}(hj( h]hsget}(hjJ hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjF ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM)ubj;)}(h(struct file_system_type *type, int (*test)(struct super_block*, void*), int (*set)(struct super_block*, void*), int flags, void *data)h](jA)}(hstruct file_system_type *typeh](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)}(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 ]j& c.sgetasbuh1hhja ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhja ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja ubj5)}(htypeh]htype}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hja ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj] ubjA)}(h'int (*test)(struct super_block*, void*)h](jd)}(hinth]hint}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjҧh]h(}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(htesth]htest}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubj)}(hjh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjҧh]h(}(hj& hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj )}(hjzh]hstruct}(hj3 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}(hjQ hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjN ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS modnameN classnameNjj)}j ]j& c.sgetasbuh1hhj ubj)}(hjh]h*}(hjo hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hj_h]h,}(hj| hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjd)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj] ubjA)}(h&int (*set)(struct super_block*, void*)h](jd)}(hinth]hint}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjҧh]h(}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hseth]hset}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubj)}(hjh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjҧh]h(}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj )}(hjzh]hstruct}(hj( hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj5 hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjF hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjC ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjH modnameN classnameNjj)}j ]j& c.sgetasbuh1hhj ubj)}(hjh]h*}(hjd hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hj_h]h,}(hjq hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj~ hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjd)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj] ubjA)}(h int flagsh](jd)}(hinth]hint}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj 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&]noemphjLjMuh1j@hj] ubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hdatah]hdata}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj] ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM)ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM)ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM)hjhhubjc)}(hhh]h)}(hfind or create a superblockh]hfind or create a superblock}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM)hjD hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM)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)}(hji h]h Parameters}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM-hjc 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)}(hj h]h'int (*set)(struct super_block *,void *)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM,hj ubj)}(hhh]h)}(hsetup callbackh]hsetup callback}(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`` mount flags h](j)}(h ``int flags``h]j)}(hj3 h]h int flags}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 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 mount flagsh]h mount flags}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjH hM-hjI ubah}(h]h ]h"]h$]h&]uh1jhj- ubeh}(h]h ]h"]h$]h&]uh1jhjH hM-hj ubj)}(h'``void *data`` argument to each of themh](j)}(h``void *data``h]j)}(hjl h]h void *data}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM/hjf 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&]uh1jhjf ubeh}(h]h ]h"]h$]h&]uh1jhj hM/hj ubeh}(h]h ]h"]h$]h&]uh1jhjc 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](jd)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj 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/)}(hiterate_supers_typeh]j5)}(hiterate_supers_typeh]hiterate_supers_type}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubj;)}(hQ(struct file_system_type *type, void (*f)(struct super_block*, void*), void *arg)h](jA)}(hstruct file_system_type *typeh](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)}(hfile_system_typeh]hfile_system_type}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj)}j ]j)}jj sbc.iterate_supers_typeasbuh1hhj ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(htypeh]htype}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(h%void (*f)(struct super_block*, void*)h](jd)}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj5)}(hfh]hf}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubh)}(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.iterate_supers_typeasbuh1hhjqubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubjd)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjqubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(hjh]h)}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(h void *argh](jd)}(hvoidh]hvoid}(hjjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjfubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj5)}(hargh]harg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj 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+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&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX$**Parameters** ``struct file_system_type *type`` fs type ``void (*f)(struct super_block *, void *)`` function to call ``void *arg`` argument to pass to it **Description** Scans the superblock list and calls given function, passing it locked superblock and given argument.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh](j)}(h*``struct file_system_type *type`` fs type h](j)}(h!``struct file_system_type *type``h]j)}(hjh]hstruct file_system_type *type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hfs typeh]hfs type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``void (*f)(struct super_block *, void *)`` function to call h](j)}(h+``void (*f)(struct super_block *, void *)``h]j)}(hj7h]h'void (*f)(struct super_block *, void *)}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj1ubj)}(hhh]h)}(hfunction to callh]hfunction to call}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubj)}(h%``void *arg`` argument to pass to it h](j)}(h ``void *arg``h]j)}(hjph]h void *arg}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjjubj)}(hhh]h)}(hargument to pass to ith]hargument to pass to it}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(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.chMhjubj)}(hdScans the superblock list and calls given function, passing it locked superblock and given argument.h]h)}(hdScans the superblock list and calls given function, passing it locked superblock and given argument.h]hdScans the superblock list and calls given function, passing it locked superblock and given argument.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h get_anon_bdevh]j5)}(h get_anon_bdevh]h get_anon_bdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h (dev_t *p)h]jA)}(hdev_t *ph](h)}(hhh]j5)}(hdev_th]hdev_t}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj)}j ]j)}jjsbc.get_anon_bdevasbuh1hhj3ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj5)}(hjh]hp}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h=Allocate a block device for filesystems which don't have one.h]h?Allocate a block device for filesystems which don’t have one.}(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)}(hXc**Parameters** ``dev_t *p`` Pointer to a dev_t. **Description** Filesystems which don't use real block devices can call this function to allocate a virtual block device. **Context** Any context. Frequently called while holding sb_lock. **Return** 0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]j)}(h!``dev_t *p`` Pointer to a dev_t. h](j)}(h ``dev_t *p``h]j)}(hjh]hdev_t *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hPointer to a dev_t.h]hPointer to a dev_t.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]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)}(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.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h **Context**h]j)}(hjAh]hContext}(hjChhhNhNubah}(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)}(h6Any context. Frequently called while holding sb_lock.h]h6Any context. Frequently called while holding sb_lock.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h **Return**h]j)}(hjhh]hReturn}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(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](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.chMhubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMhubh)}(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_devasbuh1hhjhhhjhMhubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMhubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMhubj/)}(hsget_devh]j5)}(hjh]hsget_dev}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMhubj;)}(h"(struct fs_context *fc, dev_t dev)h](jA)}(hstruct fs_context *fch](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 fs_contexth]h fs_context}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j ]j c.sget_devasbuh1hhj#ubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj5)}(hfch]hfc}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h dev_t devh](h)}(hhh]j5)}(hdev_th]hdev_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.sget_devasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMhubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMhubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhhjhhubjc)}(hhh]h)}(h,Find or create a superblock by device numberh]h,Find or create a superblock by device number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct fs_context *fc`` Filesystem context. ``dev_t dev`` device number **Description** Find or create a superblock using the provided device number that will be stored in fc->sget_key. If an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard. If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset. **Return** an existing or newly created superblock on success, an error pointer on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMlhj ubj)}(hhh](j)}(h.``struct fs_context *fc`` Filesystem context. h](j)}(h``struct fs_context *fc``h]j)}(hj1h]hstruct fs_context *fc}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMihj+ubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMihjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMihj(ubj)}(h``dev_t dev`` device number h](j)}(h ``dev_t dev``h]j)}(hjjh]h dev_t dev}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMjhjdubj)}(hhh]h)}(h device numberh]h device number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMjhj(ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMlhj ubh)}(haFind or create a superblock using the provided device number that will be stored in fc->sget_key.h]haFind or create a superblock using the provided device number that will be stored in fc->sget_key.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMkhj ubh)}(hIf an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard.h]hIf an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMnhj ubh)}(hXIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.h]hXIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMqhj 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.chMwhj ubh)}(hPan existing or newly created superblock on success, an error pointer on failure.h]hPan existing or newly created superblock on success, an error pointer on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMxhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h get_tree_bdev_flags (C function)c.get_tree_bdev_flagshNtauh1hhjhhhNhNubh)}(hhh](j)}(hint get_tree_bdev_flags (struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc), unsigned int flags)h]j)}(hint get_tree_bdev_flags(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc), unsigned int flags)h](jd)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj+hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMwubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+hhhj=hMwubj/)}(hget_tree_bdev_flagsh]j5)}(hget_tree_bdev_flagsh]hget_tree_bdev_flags}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj+hhhj=hMwubj;)}(hm(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc), unsigned int flags)h](jA)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubh)}(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)}jjRsbc.get_tree_bdev_flagsasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjdubjA)}(h@int (*fill_super)(struct super_block *sb, struct fs_context *fc)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(h fill_superh]h fill_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj)}(hjh]h)}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjҧh]h(}(hj/hhhNhNubah}(h]h ]jah"]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 super_blockh]h super_block}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j ]jc.get_tree_bdev_flagsasbuh1hhjubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.get_tree_bdev_flagsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj)}(hjh]h)}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjdubjA)}(hunsigned int flagsh](jd)}(hunsignedh]hunsigned}(hj9hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj5ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubjd)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj5ubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj5)}(hflagsh]hflags}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjdubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj+hhhj=hMwubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj'hhhj=hMwubah}(h]j"ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj=hMwhj$hhubjc)}(hhh]h)}(h/Get a superblock based on a single block deviceh]h/Get a superblock based on a single block device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMwhjhhubah}(h]h ]h"]h$]h&]uh1jbhj$hhhj=hMwubeh}(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.chM{hjubj)}(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.chMxhjubj)}(hhh]h)}(h-The filesystem context holding the parametersh]h-The filesystem context holding the parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(hk``int (*fill_super)(struct super_block *sb, struct fs_context *fc)`` Helper to initialise a new superblock h](j)}(hD``int (*fill_super)(struct super_block *sb, struct fs_context *fc)``h]j)}(hjh]h@int (*fill_super)(struct super_block *sb, struct fs_context *fc)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMyhjubj)}(hhh]h)}(h%Helper to initialise a new superblockh]h%Helper to initialise a new superblock}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMyhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMyhjubj)}(h,``unsigned int flags`` GET_TREE_BDEV_* flagsh](j)}(h``unsigned int flags``h]j)}(hjNh]hunsigned int flags}(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.chM{hjHubj)}(hhh]h)}(hGET_TREE_BDEV_* flagsh]hGET_TREE_BDEV_* flags}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMzhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM{hjubeh}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/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](jA)}(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_bdevasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfch]hfc}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h:int (*fill_super)(struct super_block*, struct fs_context*)h](jd)}(hinth]hint}(hjWhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjSubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj)}(hjҧh]h(}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj5)}(h fill_superh]h fill_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(hjҧh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.get_tree_bdevasbuh1hhjSubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j ]jc.get_tree_bdevasbuh1hhjSubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(hjh]h)}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hf``int (*fill_super)(struct super_block *, struct fs_context *)`` Helper to initialise a new superblockh](j)}(h@``int (*fill_super)(struct super_block *, struct fs_context *)``h]j)}(hjh]hroot**.h](h)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM hj;ubj)}(hhh]j)}(h@``struct fs_context *fc`` The superblock configuration context. h](j)}(h``struct fs_context *fc``h]j)}(hj`h]hstruct fs_context *fc}(hjbhhhNhNubah}(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)}(h%The superblock configuration context.h]h%The superblock configuration context.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj;ubh)}(hThe filesystem is invoked to get or create a superblock which can then later be used for mounting. The filesystem places a pointer to the root to be used for mounting in **fc->root**.h](hThe filesystem is invoked to get or create a superblock which can then later be used for mounting. The filesystem places a pointer to the root to be used for mounting in }(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.chMhj;ubeh}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/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 freeze_superh]j5)}(h freeze_superh]h freeze_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(hJ(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j ]j)}jjsbc.freeze_superasbuh1hhj+ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj)}(hjh]h*}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj'ubjA)}(henum freeze_holder whoh](j )}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h freeze_holderh]h freeze_holder}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jic.freeze_superasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwhoh]hwho}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj'ubjA)}(hconst void *freeze_ownerh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(h freeze_ownerh]h freeze_owner}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj'ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h8lock the filesystem and force it into a consistent stateh]h8lock the filesystem and force it into a consistent state}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjohhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(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.chM hjubj)}(hhh](j)}(h-``struct super_block *sb`` the super to lock h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hthe super to lockh]hthe super to lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``enum freeze_holder who`` context that wants to freeze h](j)}(h``enum freeze_holder who``h]j)}(hjh]henum freeze_holder who}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hcontext that wants to freezeh]hcontext that wants to freeze}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``const void *freeze_owner`` owner of the freeze h](j)}(h``const void *freeze_owner``h]j)}(hj%h]hconst void *freeze_owner}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(howner of the freezeh]howner of the freeze}(hj>hhhNhNubah}(h]h ]h"]h$]h&]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)}(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:38: ./fs/super.chM!hjubh)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM hjubh)}(h**who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to freeze the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to freeze the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed.h](j)}(h**who**h]hwho}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should be: * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_USERSPACE``h]hFREEZE_HOLDER_USERSPACE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( if userspace wants to freeze the fs; * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_KERNEL``h]hFREEZE_HOLDER_KERNEL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) if the kernel wants to freeze the fs. * }(hjhhhNhNubj)}(h``FREEZE_MAY_NEST``h]hFREEZE_MAY_NEST}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 whether nesting freeze and thaw requests is allowed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM$hjubh)}(hXfThe **who** argument distinguishes between the kernel and userspace trying to freeze the filesystem. Although there cannot be multiple kernel freezes or multiple userspace freezes in effect at any given time, the kernel and userspace can both hold a filesystem frozen. The filesystem remains frozen until there are no kernel or userspace freezes in effect.h](hThe }(hjhhhNhNubj)}(h**who**h]hwho}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX[ argument distinguishes between the kernel and userspace trying to freeze the filesystem. Although there cannot be multiple kernel freezes or multiple userspace freezes in effect at any given time, the kernel and userspace can both hold a filesystem frozen. The filesystem remains frozen until there are no kernel or userspace freezes in effect.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM)hjubh)}(hXnA filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned.h]hXnA filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM/hjubh)}(hEDuring this function, sb->s_writers.frozen goes through these values:h]hEDuring this function, sb->s_writers.frozen goes through these values:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM6hjubh)}(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.chM8hjubh)}(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.}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM:hjubh)}(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).}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM>hjubh)}(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.}(hjD hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMEhjubh)}(h2sb->s_writers.frozen is protected by sb->s_umount.h]h2sb->s_writers.frozen is protected by sb->s_umount.}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMMhjubh)}(h **Return**h]j)}(hjd h]hReturn}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMOhjubh)}(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.}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMPhjubeh}(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](jd)}(hinth]hint}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj 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](jA)}(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 sb c.thaw_superasbuh1hhj ubj)}(h h]h }(hj$!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj2!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hsbh]hsb}(hj?!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(henum freeze_holder whoh](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 freeze_holderh]h freeze_holder}(hjv!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjs!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx!modnameN classnameNjj)}j ]j ! c.thaw_superasbuh1hhjT!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT!ubj5)}(hwhoh]hwho}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjT!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(hconst void *freeze_ownerh](j )}(hjh]hconst}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubjd)}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj)}(hjh]h*}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj5)}(h freeze_ownerh]h freeze_owner}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhj hhubjc)}(hhh]jo-)}(hhh]jt-)}(hunlock filesystemh]h)}(hj."h]hunlock filesystem}(hj0"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj,"ubah}(h]h ]h"]h$]h&]uh1js-hj)"hhhj="hNubah}(h]h ]h"]h$]h&]j--uh1jn-hj="hMhj&"hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjT"jjT"jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` the super to thaw ``enum freeze_holder who`` context that wants to freeze ``const void *freeze_owner`` owner of the freeze **Description** Unlocks the filesystem and marks it writeable again after freeze_super() if there are no remaining freezes on the filesystem. **who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to thaw the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to thaw the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed A filesystem may hold multiple devices and thus a filesystems may have been frozen through the block layer via multiple block devices. The filesystem remains frozen until all block devices are unfrozen.h](h)}(h**Parameters**h]j)}(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.chMhjX"ubj)}(hhh](j)}(h-``struct super_block *sb`` the super to thaw 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:38: ./fs/super.chMhjw"ubj)}(hhh]h)}(hthe super to thawh]hthe super to thaw}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjw"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjt"ubj)}(h8``enum freeze_holder who`` context that wants to freeze h](j)}(h``enum freeze_holder who``h]j)}(hj"h]henum freeze_holder who}(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)}(hcontext that wants to freezeh]hcontext that wants to freeze}(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)}(h1``const void *freeze_owner`` owner of the freeze h](j)}(h``const void *freeze_owner``h]j)}(hj"h]hconst void *freeze_owner}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj"ubj)}(hhh]h)}(howner of the freezeh]howner of the freeze}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjX"ubh)}(h}Unlocks the filesystem and marks it writeable again after freeze_super() if there are no remaining freezes on the filesystem.h]h}Unlocks the filesystem and marks it writeable again after freeze_super() if there are no remaining freezes on the filesystem.}(hj@#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjX"ubh)}(h**who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to thaw the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to thaw the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowedh](j)}(h**who**h]hwho}(hjS#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO#ubh should be: * }(hjO#hhhNhNubj)}(h``FREEZE_HOLDER_USERSPACE``h]hFREEZE_HOLDER_USERSPACE}(hje#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO#ubh& if userspace wants to thaw the fs; * }(hjO#hhhNhNubj)}(h``FREEZE_HOLDER_KERNEL``h]hFREEZE_HOLDER_KERNEL}(hjw#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO#ubh' if the kernel wants to thaw the fs. * }(hjO#hhhNhNubj)}(h``FREEZE_MAY_NEST``h]hFREEZE_MAY_NEST}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO#ubh4 whether nesting freeze and thaw requests is allowed}(hjO#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjX"ubh)}(hA filesystem may hold multiple devices and thus a filesystems may have been frozen through the block layer via multiple block devices. The filesystem remains frozen until all block devices are unfrozen.h]hA filesystem may hold multiple devices and thus a filesystems may have been frozen through the block layer via multiple block devices. The filesystem remains frozen until all block devices are unfrozen.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjX"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]registration-and-superblocksah ]h"]registration and superblocksah$]h&]uh1hhhhhhhhK$ubh)}(hhh](h)}(h File Locksh]h File Locks}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hhhhhK*ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%locks_owner_has_blockers (C function)c.locks_owner_has_blockershNtauh1hhj#hhhNhNubh)}(hhh](j)}(hQbool locks_owner_has_blockers (struct file_lock_context *flctx, fl_owner_t owner)h]j)}(hPbool locks_owner_has_blockers(struct file_lock_context *flctx, fl_owner_t owner)h](jd)}(hjgh]hbool}(hj#hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj#hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMCubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhj#hMCubj/)}(hlocks_owner_has_blockersh]j5)}(hlocks_owner_has_blockersh]hlocks_owner_has_blockers}(hj $hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#hhhj#hMCubj;)}(h3(struct file_lock_context *flctx, fl_owner_t owner)h](jA)}(hstruct file_lock_context *flctxh](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)}(hfile_lock_contexth]hfile_lock_context}(hjD$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjA$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjF$modnameN classnameNjj)}j ]j)}jj $sbc.locks_owner_has_blockersasbuh1hhj"$ubj)}(h h]h }(hjd$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"$ubj)}(hjh]h*}(hjr$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"$ubj5)}(hflctxh]hflctx}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj$ubjA)}(hfl_owner_t ownerh](h)}(hhh]j5)}(h fl_owner_th]h fl_owner_t}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j ]j`$c.locks_owner_has_blockersasbuh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj5)}(hownerh]howner}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj$ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj#hhhj#hMCubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#hhhj#hMCubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj#hMChj#hhubjc)}(hhh]h)}(h Check for blocking lock requestsh]h Check for blocking lock requests}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMChj$hhubah}(h]h ]h"]h$]h&]uh1jbhj#hhhj#hMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjj %jj %jjjuh1hhhhj#hNhNubj)}(h**Parameters** ``struct file_lock_context *flctx`` file lock context ``fl_owner_t owner`` lock owner **Description** Return values: ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](h)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMGhj %ubj)}(hhh](j)}(h6``struct file_lock_context *flctx`` file lock context h](j)}(h#``struct file_lock_context *flctx``h]j)}(hj2%h]hstruct file_lock_context *flctx}(hj4%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMDhj,%ubj)}(hhh]h)}(hfile lock contexth]hfile lock context}(hjK%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjG%hMDhjH%ubah}(h]h ]h"]h$]h&]uh1jhj,%ubeh}(h]h ]h"]h$]h&]uh1jhjG%hMDhj)%ubj)}(h ``fl_owner_t owner`` lock owner h](j)}(h``fl_owner_t owner``h]j)}(hjk%h]hfl_owner_t owner}(hjm%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMEhje%ubj)}(hhh]h)}(h lock ownerh]h lock owner}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMEhj%ubah}(h]h ]h"]h$]h&]uh1jhje%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMEhj)%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.chMGhj %ubj)}(hhh]j)}(h`Return values: ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](j)}(hReturn values:h]hReturn values:}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMGhj%ubj)}(hhh]h)}(hQ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](j)}(h``true``h]htrue}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh: }(hj%hhhNhNubj)}(h **owner**h]howner}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh has at least one blocker }(hj%hhhNhNubj)}(h ``false``h]hfalse}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh: }hj%sbj)}(h **owner**h]howner}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh has no blockers}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj%hMGhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMGhj%ubah}(h]h ]h"]h$]h&]uh1jhj %ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlocks_delete_block (C function)c.locks_delete_blockhNtauh1hhj#hhhNhNubh)}(hhh](j)}(h1int locks_delete_block (struct file_lock *waiter)h]j)}(h0int locks_delete_block(struct file_lock *waiter)h](jd)}(hinth]hint}(hjY&hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjU&hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hjh&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjU&hhhjg&hMubj/)}(hlocks_delete_blockh]j5)}(hlocks_delete_blockh]hlocks_delete_block}(hjz&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjv&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjU&hhhjg&hMubj;)}(h(struct file_lock *waiter)h]jA)}(hstruct file_lock *waiterh](j )}(hjzh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj)}j ]j)}jj|&sbc.locks_delete_blockasbuh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj5)}(hwaiterh]hwaiter}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj&ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjU&hhhjg&hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjQ&hhhjg&hMubah}(h]jL&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjg&hMhjN&hhubjc)}(hhh]h)}(hstop waiting for a file lockh]hstop waiting for a file lock}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj'hhubah}(h]h ]h"]h$]h&]uh1jbhjN&hhhjg&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1'jj1'jjjuh1hhhhj#hNhNubj)}(h**Parameters** ``struct file_lock *waiter`` the lock which was waiting **Description** lockd/nfsd need to disconnect the lock while working on it.h](h)}(h**Parameters**h]j)}(hj;'h]h Parameters}(hj='hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9'ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj5'ubj)}(hhh]j)}(h8``struct file_lock *waiter`` the lock which was waiting h](j)}(h``struct file_lock *waiter``h]j)}(hjZ'h]hstruct file_lock *waiter}(hj\'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjT'ubj)}(hhh]h)}(hthe lock which was waitingh]hthe lock which was waiting}(hjs'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjo'hMhjp'ubah}(h]h ]h"]h$]h&]uh1jhjT'ubeh}(h]h ]h"]h$]h&]uh1jhjo'hMhjQ'ubah}(h]h ]h"]h$]h&]uh1jhj5'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.chMhj5'ubj)}(h;lockd/nfsd need to disconnect the lock while working on it.h]h)}(hj'h]h;lockd/nfsd need to disconnect the lock while working on it.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'hMhj5'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hposix_lock_file (C function)c.posix_lock_filehNtauh1hhj#hhhNhNubh)}(hhh](j)}(hYint posix_lock_file (struct file *filp, struct file_lock *fl, struct file_lock *conflock)h]j)}(hXint posix_lock_file(struct file *filp, struct file_lock *fl, struct file_lock *conflock)h](jd)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj'hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'hhhj'hMjubj/)}(hposix_lock_fileh]j5)}(hposix_lock_fileh]hposix_lock_file}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'hhhj'hMjubj;)}(hE(struct file *filp, struct file_lock *fl, struct file_lock *conflock)h](jA)}(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.posix_lock_fileasbuh1hhj(ubj)}(h h]h }(hj^(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj)}(hjh]h*}(hjl(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj5)}(hfilph]hfilp}(hjy(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj(ubjA)}(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 ]jZ(c.posix_lock_fileasbuh1hhj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj5)}(hflh]hfl}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj(ubjA)}(hstruct file_lock *conflockh](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 ]jZ(c.posix_lock_fileasbuh1hhj(ubj)}(h h]h }(hj>)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj)}(hjh]h*}(hjL)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj5)}(hconflockh]hconflock}(hjY)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj(ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj'hhhj'hMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj'hhhj'hMjubah}(h]j'ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj'hMjhj'hhubjc)}(hhh]h)}(h"Apply a POSIX-style lock to a fileh]h"Apply a POSIX-style lock to a file}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMjhj)hhubah}(h]h ]h"]h$]h&]uh1jbhj'hhhj'hMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhj#hNhNubj)}(hX **Parameters** ``struct file *filp`` The file to apply the lock to ``struct file_lock *fl`` The lock to be applied ``struct file_lock *conflock`` Place to return a copy of the conflicting lock, if found. **Description** Add a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting address Note that if called with an FL_EXISTS argument, the caller may determine whether or not a lock was successfully freed by testing the return value for -ENOENT.h](h)}(h**Parameters**h]j)}(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.chMnhj)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.chMkhj)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)hMkhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMkhj)ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj)h]hstruct file_lock *fl}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMlhj)ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMlhj*ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj*hMlhj)ubj)}(hY``struct file_lock *conflock`` Place to return a copy of the conflicting lock, if found. h](j)}(h``struct file_lock *conflock``h]j)}(hj6*h]hstruct file_lock *conflock}(hj8*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMmhj0*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.}(hjO*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjK*hMmhjL*ubah}(h]h ]h"]h$]h&]uh1jhj0*ubeh}(h]h ]h"]h$]h&]uh1jhjK*hMmhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)ubh)}(h**Description**h]j)}(hjq*h]h Description}(hjs*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo*ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMohj)ubh)}(hAdd a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting addressh]hAdd a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting address}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMnhj)ubh)}(hNote that if called with an FL_EXISTS argument, the caller may determine whether or not a lock was successfully freed by testing the return value for -ENOENT.h]hNote that if called with an FL_EXISTS argument, the caller may determine whether or not a lock was successfully freed by testing the return value for -ENOENT.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMrhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__break_lease (C function)c.__break_leasehNtauh1hhj#hhhNhNubh)}(hhh](j)}(hMint __break_lease (struct inode *inode, unsigned int mode, unsigned int type)h]j)}(hLint __break_lease(struct inode *inode, unsigned int mode, unsigned int type)h](jd)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj*hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*hhhj*hMubj/)}(h __break_leaseh]j5)}(h __break_leaseh]h __break_lease}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj*hhhj*hMubj;)}(h;(struct inode *inode, unsigned int mode, unsigned int type)h](jA)}(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.__break_leaseasbuh1hhj*ubj)}(h h]h }(hj@+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubj)}(hjh]h*}(hjN+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj5)}(hinodeh]hinode}(hj[+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj*ubjA)}(hunsigned int modeh](jd)}(hunsignedh]hunsigned}(hjt+hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjp+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjp+ubjd)}(hinth]hint}(hj+hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjp+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjp+ubj5)}(hmodeh]hmode}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjp+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj*ubjA)}(hunsigned int typeh](jd)}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubjd)}(hinth]hint}(hj+hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj5)}(htypeh]htype}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj*ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj*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%revoke all outstanding leases on fileh]h%revoke all outstanding leases on file}(hj',hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj$,hhubah}(h]h ]h"]h$]h&]uh1jbhj*hhhj*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?,jj?,jjjuh1hhhhj#hNhNubj)}(hX/**Parameters** ``struct inode *inode`` the inode of the file to return ``unsigned int mode`` O_RDONLY: break only write leases; O_WRONLY or O_RDWR: break all leases ``unsigned int type`` FL_LEASE: break leases and delegations; FL_DELEG: break only delegations **Description** break_lease (inlined for speed) has checked there already is at least some kind of lock (maybe a lease) on this file. Leases are broken on a call to open() or truncate(). This function can sleep unless you specified ``O_NONBLOCK`` to your open().h](h)}(h**Parameters**h]j)}(hjI,h]h Parameters}(hjK,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG,ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjC,ubj)}(hhh](j)}(h8``struct inode *inode`` the inode of the file to return h](j)}(h``struct inode *inode``h]j)}(hjh,h]hstruct inode *inode}(hjj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjb,ubj)}(hhh]h)}(hthe inode of the file to returnh]hthe inode of the file to return}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj},hMhj~,ubah}(h]h ]h"]h$]h&]uh1jhjb,ubeh}(h]h ]h"]h$]h&]uh1jhj},hMhj_,ubj)}(h^``unsigned int mode`` O_RDONLY: break only write leases; O_WRONLY or O_RDWR: break all leases h](j)}(h``unsigned int mode``h]j)}(hj,h]hunsigned int 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:44: ./fs/locks.chMhj,ubj)}(hhh]h)}(hGO_RDONLY: break only write leases; O_WRONLY or O_RDWR: break all leasesh]hGO_RDONLY: break only write leases; O_WRONLY or O_RDWR: break all leases}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj_,ubj)}(h_``unsigned int type`` FL_LEASE: break leases and delegations; FL_DELEG: break only delegations h](j)}(h``unsigned int type``h]j)}(hj,h]hunsigned int type}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj,ubj)}(hhh]h)}(hHFL_LEASE: break leases and delegations; FL_DELEG: break only delegationsh]hHFL_LEASE: break leases and delegations; FL_DELEG: break only delegations}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj_,ubeh}(h]h ]h"]h$]h&]uh1jhjC,ubh)}(h**Description**h]j)}(hj-h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjC,ubj)}(hbreak_lease (inlined for speed) has checked there already is at least some kind of lock (maybe a lease) on this file. Leases are broken on a call to open() or truncate(). This function can sleep unless you specified ``O_NONBLOCK`` to your open().h]h)}(hbreak_lease (inlined for speed) has checked there already is at least some kind of lock (maybe a lease) on this file. Leases are broken on a call to open() or truncate(). This function can sleep unless you specified ``O_NONBLOCK`` to your open().h](hbreak_lease (inlined for speed) has checked there already is at least some kind of lock (maybe a lease) on this file. Leases are broken on a call to open() or truncate(). This function can sleep unless you specified }(hj1-hhhNhNubj)}(h``O_NONBLOCK``h]h O_NONBLOCK}(hj9-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1-ubh to your open().}(hj1-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj--ubah}(h]h ]h"]h$]h&]uh1jhjQ-hMhjC,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlease_get_mtime (C function)c.lease_get_mtimehNtauh1hhj#hhhNhNubh)}(hhh](j)}(hCvoid lease_get_mtime (struct inode *inode, struct timespec64 *time)h]j)}(hBvoid lease_get_mtime(struct inode *inode, struct timespec64 *time)h](jd)}(hvoidh]hvoid}(hjx-hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjt-hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMpubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt-hhhj-hMpubj/)}(hlease_get_mtimeh]j5)}(hlease_get_mtimeh]hlease_get_mtime}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjt-hhhj-hMpubj;)}(h.(struct inode *inode, struct timespec64 *time)h](jA)}(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.lease_get_mtimeasbuh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj)}(hjh]h*}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj5)}(hinodeh]hinode}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj-ubjA)}(hstruct timespec64 *timeh](j )}(hjzh]hstruct}(hj'.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#.ubj)}(h h]h }(hj4.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#.ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjE.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjB.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjG.modnameN classnameNjj)}j ]j-c.lease_get_mtimeasbuh1hhj#.ubj)}(h h]h }(hjc.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#.ubj)}(hjh]h*}(hjq.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#.ubj5)}(htimeh]htime}(hj~.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj-ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjt-hhhj-hMpubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjp-hhhj-hMpubah}(h]jk-ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj-hMphjm-hhubjc)}(hhh]h)}(h5update modified time of an inode with exclusive leaseh]h5update modified time of an inode with exclusive lease}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMphj.hhubah}(h]h ]h"]h$]h&]uh1jbhjm-hhhj-hMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhj#hNhNubj)}(hXS**Parameters** ``struct inode *inode`` the inode ``struct timespec64 *time`` pointer to a timespec which contains the last modified time **Description** This is to force NFS clients to flush their caches for files with exclusive leases. The justification is that if someone has an exclusive lease, then they could be modifying it.h](h)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMthj.ubj)}(hhh](j)}(h"``struct inode *inode`` the inode h](j)}(h``struct inode *inode``h]j)}(hj.h]hstruct inode *inode}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMqhj.ubj)}(hhh]h)}(h the inodeh]h the inode}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMqhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMqhj.ubj)}(hX``struct timespec64 *time`` pointer to a timespec which contains the last modified time h](j)}(h``struct timespec64 *time``h]j)}(hj"/h]hstruct timespec64 *time}(hj$/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj /ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMrhj/ubj)}(hhh]h)}(h;pointer to a timespec which contains the last modified timeh]h;pointer to a timespec which contains the last modified time}(hj;/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7/hMrhj8/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj7/hMrhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h**Description**h]j)}(hj]/h]h Description}(hj_/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[/ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMthj.ubh)}(hThis is to force NFS clients to flush their caches for files with exclusive leases. The justification is that if someone has an exclusive lease, then they could be modifying it.h]hThis is to force NFS clients to flush their caches for files with exclusive leases. The justification is that if someone has an exclusive lease, then they could be modifying it.}(hjs/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMshj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_setlease (C function)c.generic_setleasehNtauh1hhj#hhhNhNubh)}(hhh](j)}(hWint generic_setlease (struct file *filp, int arg, struct file_lease **flp, void **priv)h]j)}(hVint generic_setlease(struct file *filp, int arg, struct file_lease **flp, void **priv)h](jd)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj/hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/hhhj/hMubj/)}(hgeneric_setleaseh]j5)}(hgeneric_setleaseh]hgeneric_setlease}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj/hhhj/hMubj;)}(hB(struct file *filp, int arg, struct file_lease **flp, void **priv)h](jA)}(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.generic_setleaseasbuh1hhj/ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj)}(hjh]h*}(hj+0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj5)}(hfilph]hfilp}(hj80hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubjA)}(hint argh](jd)}(hinth]hint}(hjQ0hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjM0ubj)}(h h]h }(hj_0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjM0ubj5)}(hargh]harg}(hjm0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjM0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubjA)}(hstruct file_lease **flph](j )}(hjzh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubh)}(hhh]j5)}(h file_leaseh]h file_lease}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j ]j0c.generic_setleaseasbuh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj5)}(hflph]hflp}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubjA)}(h void **privh](jd)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj0ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(hjh]h*}(hj,1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj5)}(hprivh]hpriv}(hj91hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj/hhhj/hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj/hhhj/hMubah}(h]j/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj/hMhj/hhubjc)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hjc1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj`1hhubah}(h]h ]h"]h$]h&]uh1jbhj/hhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{1jj{1jjjuh1hhhhj#hNhNubj)}(hXs**Parameters** ``struct file *filp`` file pointer ``int arg`` type of lease to obtain ``struct file_lease **flp`` input - file_lock to use, output - file_lock inserted ``void **priv`` private data for lm_setup (may be NULL if lm_setup doesn't require it) **Description** The (input) flp->fl_lmops->lm_break function is required by break_lease().h](h)}(h**Parameters**h]j)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj1h]hint arg}(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)}(htype of lease to obtainh]htype of lease to obtain}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubj)}(hR``struct file_lease **flp`` input - file_lock to use, output - file_lock inserted h](j)}(h``struct file_lease **flp``h]j)}(hj2h]hstruct file_lease **flp}(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)}(h5input - file_lock to use, output - file_lock insertedh]h5input - file_lock to use, output - file_lock inserted}(hj/2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+2hMhj,2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj+2hMhj1ubj)}(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)}(hjO2h]h void **priv}(hjQ2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjI2ubj)}(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)}(hjh2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhje2ubah}(h]h ]h"]h$]h&]uh1jhjI2ubeh}(h]h ]h"]h$]h&]uh1jhjd2hMhj1ubeh}(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](jd)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj2hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2hhhj2hMubj/)}(h vfs_setleaseh]j5)}(h vfs_setleaseh]h vfs_setlease}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj2hhhj2hMubj;)}(hD(struct file *filp, int arg, struct file_lease **lease, void **priv)h](jA)}(hstruct file *filph](j )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hj$3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hfileh]hfile}(hj53hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj23ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj73modnameN classnameNjj)}j ]j)}jj2sbc.vfs_setleaseasbuh1hhj3ubj)}(h h]h }(hjU3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj)}(hjh]h*}(hjc3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj5)}(hfilph]hfilp}(hjp3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj3ubjA)}(hint argh](jd)}(hinth]hint}(hj3hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj3ubj)}(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&]noemphjLjMuh1j@hj3ubjA)}(hstruct file_lease **leaseh](j )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(h file_leaseh]h file_lease}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j ]jQ3c.vfs_setleaseasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj5)}(hleaseh]hlease}(hj"4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj3ubjA)}(h void **privh](jd)}(hvoidh]hvoid}(hj;4hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj74ubj)}(h h]h }(hjI4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj74ubj)}(hjh]h*}(hjW4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj74ubj)}(hjh]h*}(hjd4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj74ubj5)}(hprivh]hpriv}(hjq4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj74ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj3ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj2hhhj2hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2hhhj2hMubah}(h]j2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hMhj2hhubjc)}(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&]uh1jbhj2hhhj2hMubeh}(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)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj4ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hj4h]hstruct file *filp}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj4ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj5h]hint arg}(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)}(htype of lease to obtainh]htype of lease to obtain}(hj.5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*5hMhj+5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj*5hMhj4ubj)}(hC``struct file_lease **lease`` file_lock to use when adding a lease h](j)}(h``struct file_lease **lease``h]j)}(hjN5h]hstruct file_lease **lease}(hjP5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjH5ubj)}(hhh]h)}(h$file_lock to use when adding a leaseh]h$file_lock to use when adding a lease}(hjg5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjc5hMhjd5ubah}(h]h ]h"]h$]h&]uh1jhjH5ubeh}(h]h ]h"]h$]h&]uh1jhjc5hMhj4ubj)}(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&]uh1jhj5hMhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj4ubh)}(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 }(hj5hhhNhNubj)}(h ``(*lease)->fl_lmops->lm_break``h]h(*lease)->fl_lmops->lm_break}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubhm operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace).}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj4ubh)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj4ubeh}(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](jd)}(hinth]hint}(hj)6hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj%6hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM1ubj)}(h h]h }(hj86hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%6hhhj76hM1ubj/)}(hlocks_lock_inode_waith]j5)}(hlocks_lock_inode_waith]hlocks_lock_inode_wait}(hjJ6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjF6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj%6hhhj76hM1ubj;)}(h+(struct inode *inode, struct file_lock *fl)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjf6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb6ubj)}(h h]h }(hjs6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb6ubh)}(hhh]j5)}(hinodeh]hinode}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j ]j)}jjL6sbc.locks_lock_inode_waitasbuh1hhjb6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb6ubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb6ubj5)}(hinodeh]hinode}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjb6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj^6ubjA)}(hstruct file_lock *flh](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 file_lockh]h file_lock}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j ]j6c.locks_lock_inode_waitasbuh1hhj6ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj)}(hjh]h*}(hj"7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj5)}(hflh]hfl}(hj/7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj^6ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj%6hhhj76hM1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj!6hhhj76hM1ubah}(h]j6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj76hM1hj6hhubjc)}(hhh]h)}(hApply a lock to an inodeh]hApply a lock to an inode}(hjY7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM1hjV7hhubah}(h]h ]h"]h$]h&]uh1jbhj6hhhj76hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjq7jjq7jjjuh1hhhhj#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)}(hj{7h]h Parameters}(hj}7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy7ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM5hju7ubj)}(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)}(hj7h]hstruct file_lock *fl}(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.chM3hj7ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hM3hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM3hj7ubeh}(h]h ]h"]h$]h&]uh1jhju7ubh)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 8ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM5hju7ubh)}(h6Apply a POSIX or FLOCK style lock request to an inode.h]h6Apply a POSIX or FLOCK style lock request to an inode.}(hj$8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM4hju7ubeh}(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](jd)}(hinth]hint}(hjS8hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjO8hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hjb8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjO8hhhja8hMubj/)}(h vfs_test_lockh]j5)}(h vfs_test_lockh]h vfs_test_lock}(hjt8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjp8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjO8hhhja8hMubj;)}(h)(struct file *filp, struct file_lock *fl)h](jA)}(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)}jjv8sbc.vfs_test_lockasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj5)}(hfilph]hfilp}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj8ubjA)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj 9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"9modnameN classnameNjj)}j ]j8c.vfs_test_lockasbuh1hhj8ubj)}(h h]h }(hj>9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj)}(hjh]h*}(hjL9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj5)}(hflh]hfl}(hjY9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj8ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjO8hhhja8hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjK8hhhja8hMubah}(h]jF8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhja8hMhjH8hhubjc)}(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&]uh1jbhjH8hhhja8hMubeh}(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)}(hj9h]hstruct file *filp}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj9ubj)}(hhh]h)}(hThe file to test lock forh]hThe file to test lock for}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj9ubj)}(hD``struct file_lock *fl`` The lock to test; also used to hold result h](j)}(h``struct file_lock *fl``h]j)}(hj9h]hstruct file_lock *fl}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj9ubj)}(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&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hj8:h]h Description}(hj::hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6: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.}(hjN: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](jd)}(hinth]hint}(hj}:hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjy: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&]uh1jhjy: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.hjy:hhhj:hM ubj;)}(hS(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h](jA)}(hstruct file *filph](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(hfileh]hfile}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj)}j ]j)}jj:sbc.vfs_lock_fileasbuh1hhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj5)}(hfilph]hfilp}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj:ubjA)}(hunsigned int cmdh](jd)}(hunsignedh]hunsigned}(hj,;hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj(;ubj)}(h h]h }(hj:;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(;ubjd)}(hinth]hint}(hjH;hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj(;ubj)}(h h]h }(hjV;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(;ubj5)}(hcmdh]hcmd}(hjd;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj:ubjA)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hj};hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjy;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjy;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_fileasbuh1hhjy;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjy;ubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy;ubj5)}(hflh]hfl}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjy;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj:ubjA)}(hstruct file_lock *confh](j )}(hjzh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubh)}(hhh]j5)}(h file_lockh]h file_lock}(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)}(hjh]h*}(hj7<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj5)}(hconfh]hconf}(hjD<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj:ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjy:hhhj:hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhju:hhhj:hM ubah}(h]jp:ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:hM hjr:hhubjc)}(hhh]h)}(hfile byte range lockh]hfile byte range lock}(hjn<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjk<hhubah}(h]h ]h"]h$]h&]uh1jbhjr: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 EXPORT_OP_ASYNC_LOCK in export_operations 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)}(hj<h]hunsigned int cmd}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj<ubj)}(hhh]h)}(h2type of locking operation (F_SETLK, F_GETLK, etc.)h]h2type of locking operation (F_SETLK, F_GETLK, etc.)}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hM hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM hj<ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj!=h]hstruct file_lock *fl}(hj#=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj=ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(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<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)}(hjZ=h]hstruct file_lock *conf}(hj\=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjT=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.}(hjs=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjo=hM hjp=ubah}(h]h ]h"]h$]h&]uh1jhjT=ubeh}(h]h ]h"]h$]h&]uh1jhjo=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)}(hX<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 EXPORT_OP_ASYNC_LOCK in export_operations flags need to be set.h]hX<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 EXPORT_OP_ASYNC_LOCK in export_operations 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.}(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](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 ]jpah"]h$]h&]uh1jchj>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_cancel_lockh]j5)}(hvfs_cancel_lockh]hvfs_cancel_lock}(hj:>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhj'>hM ubj;)}(h)(struct file *filp, struct file_lock *fl)h](jA)}(hstruct file *filph](j )}(hjzh]hstruct}(hjV>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR>ubj)}(h h]h }(hjc>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR>ubh)}(hhh]j5)}(hfileh]hfile}(hjt>hhhNhNubah}( h]h ]j@ah"]h$]h&]uh1j4hjq>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjv>modnameN classnameNjj)}j ]j)}jj<>sbc.vfs_cancel_lockasbuh1hhjR>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR>ubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR>ubj5)}(hfilph]hfilp}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjR>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjN>ubjA)}(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_cancel_lockasbuh1hhj>ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj5)}(hflh]hfl}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjN>ubeh}(h]h ]h"]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)}(hfile byte range unblock lockh]hfile byte range unblock lock}(hjI?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjF?hhubah}(h]h ]h"]h$]h&]uh1jbhj>hhhj'>hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjja?jja?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)}(hjk?h]h Parameters}(hjm?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hje?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&]uh1jhje?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 hje?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 hje?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](jd)}(hjgh]hbool}(hjC@hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj?@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_inode_has_locksh]j5)}(hvfs_inode_has_locksh]hvfs_inode_has_locks}(hjc@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj?@hhhjP@hM ubj;)}(h(struct inode *inode)h]jA)}(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)}jje@sbc.vfs_inode_has_locksasbuh1hhj{@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{@ubj)}(hjh]h*}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{@ubj5)}(hinodeh]hinode}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjw@ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj?@hhhjP@hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj;@hhhjP@hM ubah}(h]j6@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjP@hM hj8@hhubjc)}(hhh]h)}(h%are any file locks held on **inode**?h](hare any file locks held on }(hjAhhhNhNubj)}(h **inode**h]hinode}(hj AhhhNhNubah}(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 hj@hhubah}(h]h ]h"]h$]h&]uh1jbhj8@hhhjP@hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,Ajj,Ajjjuh1hhhhj#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)}(hj6Ah]h Parameters}(hj8AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Aubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj0Aubj)}(hhh]j)}(h1``struct inode *inode`` inode to check for locks h](j)}(h``struct inode *inode``h]j)}(hjUAh]hstruct inode *inode}(hjWAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjOAubj)}(hhh]h)}(hinode to check for locksh]hinode to check for locks}(hjnAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjAhM hjkAubah}(h]h ]h"]h$]h&]uh1jhjOAubeh}(h]h ]h"]h$]h&]uh1jhjjAhM hjLAubah}(h]h ]h"]h$]h&]uh1jhj0Aubh)}(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 hj0Aubh)}(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 hj0Aubeh}(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](jd)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjAhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAhhhjAhMubj/)}(hposix_lock_inode_waith]j5)}(hposix_lock_inode_waith]hposix_lock_inode_wait}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjAhhhjAhMubj;)}(h+(struct inode *inode, struct file_lock *fl)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj$BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Bubj)}(h h]h }(hj1BhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Bubh)}(hhh]j5)}(hinodeh]hinode}(hjBBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?Bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDBmodnameN classnameNjj)}j ]j)}jj Bsbc.posix_lock_inode_waitasbuh1hhj Bubj)}(h h]h }(hjbBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Bubj)}(hjh]h*}(hjpBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Bubj5)}(hinodeh]hinode}(hj}BhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Bubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjBubjA)}(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 ]j^Bc.posix_lock_inode_waitasbuh1hhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj5)}(hflh]hfl}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjBubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjAhhhjAhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjAhhhjAhMubah}(h]jAah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjAhMhjAhhubjc)}(hhh]h)}(h"Apply a POSIX-style lock to a fileh]h"Apply a POSIX-style lock to a file}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjChhubah}(h]h ]h"]h$]h&]uh1jbhjAhhhjAhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/Cjj/Cjjjuh1hhhhj#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)}(hj9Ch]h Parameters}(hj;ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Cubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj3Cubj)}(hhh](j)}(hN``struct inode *inode`` inode of file to which lock request should be applied h](j)}(h``struct inode *inode``h]j)}(hjXCh]hstruct inode *inode}(hjZChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjRCubj)}(hhh]h)}(h5inode of file to which lock request should be appliedh]h5inode of file to which lock request should be applied}(hjqChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmChMhjnCubah}(h]h ]h"]h$]h&]uh1jhjRCubeh}(h]h ]h"]h$]h&]uh1jhjmChMhjOCubj)}(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&]uh1jhjChMhjOCubeh}(h]h ]h"]h$]h&]uh1jhj3Cubh)}(h**Description**h]j)}(hjCh]h Description}(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.chMhj3Cubh)}(h-Apply a POSIX style lock request to an inode.h]h-Apply a POSIX style lock request to an inode.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj3Cubeh}(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](jd)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj DhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hj DhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj DhhhjDhMubj/)}(hfcntl_getleaseh]j5)}(hfcntl_getleaseh]hfcntl_getlease}(hj2DhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.Dubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj DhhhjDhMubj;)}(h(struct file *filp)h]jA)}(hstruct file *filph](j )}(hjzh]hstruct}(hjNDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJDubj)}(h h]h }(hj[DhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJDubh)}(hhh]j5)}(hfileh]hfile}(hjlDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnDmodnameN classnameNjj)}j ]j)}jj4Dsbc.fcntl_getleaseasbuh1hhjJDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJDubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJDubj5)}(hfilph]hfilp}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjFDubah}(h]h ]h"]h$]h&]jLjMuh1j:hj DhhhjDhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj DhhhjDhMubah}(h]jDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjDhMhjDhhubjc)}(hhh]h)}(h&Enquire what lease is currently activeh]h&Enquire what lease is currently active}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj#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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjDubj)}(hhh]j)}(h``struct file *filp`` the file h](j)}(h``struct file *filp``h]j)}(hjEh]hstruct file *filp}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj Eubj)}(hhh]h)}(hthe fileh]hthe file}(hj+EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'EhMhj(Eubah}(h]h ]h"]h$]h&]uh1jhj Eubeh}(h]h ]h"]h$]h&]uh1jhj'EhMhj Eubah}(h]h ]h"]h$]h&]uh1jhjDubh)}(h**Description**h]j)}(hjMEh]h Description}(hjOEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKEubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjDubj)}(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):}(hjgEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjcEubh)}(h/``F_RDLCK`` to indicate a shared lease is held.h](j)}(h ``F_RDLCK``h]hF_RDLCK}(hjzEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvEubh$ to indicate a shared lease is held.}(hjvEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjcEubh)}(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.chMhjcEubh)}(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.chMhjcEubh)}(h(if a lease break is pending):h]h(if a lease break is pending):}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjcEubj)}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh+ to indicate an exclusive lease needs to be}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubj)}(hhh]h)}(h'changed to a shared lease (or removed).h]h'changed to a shared lease (or removed).}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjEubah}(h]h ]h"]h$]h&]uh1jhjcEubh)}(h6``F_UNLCK`` to indicate the lease needs to be removed.h](j)}(h ``F_UNLCK``h]hF_UNLCK}(hj'FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Fubh+ to indicate the lease needs to be removed.}(hj#FhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjcEubh)}(hTXXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.h]hTXXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.}(hj@FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjcEubeh}(h]h ]h"]h$]h&]uh1jhjuEhMhjDubeh}(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](jd)}(hinth]hint}(hjuFhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjqFhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqFhhhjFhMubj/)}(hcheck_conflicting_openh]j5)}(hcheck_conflicting_openh]hcheck_conflicting_open}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjqFhhhjFhMubj;)}(h-(struct file *filp, const int arg, int flags)h](jA)}(hstruct file *filph](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.check_conflicting_openasbuh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj5)}(hfilph]hfilp}(hj GhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjFubjA)}(h const int argh](j )}(hjh]hconst}(hj$GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Gubj)}(h h]h }(hj1GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Gubjd)}(hinth]hint}(hj?GhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj Gubj)}(h h]h }(hjMGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Gubj5)}(hargh]harg}(hj[GhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Gubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjFubjA)}(h int flagsh](jd)}(hinth]hint}(hjtGhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjpGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpGubj5)}(hflagsh]hflags}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjFubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjqFhhhjFhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjmFhhhjFhMubah}(h]jhFah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjFhMhjjFhhubjc)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjGhhubah}(h]h ]h"]h$]h&]uh1jbhjjFhhhjFhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhj#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)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjGubj)}(hhh](j)}(h$``struct file *filp`` file to check h](j)}(h``struct file *filp``h]j)}(hjGh]hstruct file *filp}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjGubj)}(hhh]h)}(h file to checkh]h file to check}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjGubj)}(h=``const int arg`` type of lease that we're trying to acquire h](j)}(h``const int arg``h]j)}(hj4Hh]h const int arg}(hj6HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Hubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj.Hubj)}(hhh]h)}(h*type of lease that we're trying to acquireh]h,type of lease that we’re trying to acquire}(hjMHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIHhMhjJHubah}(h]h ]h"]h$]h&]uh1jhj.Hubeh}(h]h ]h"]h$]h&]uh1jhjIHhMhjGubj)}(h!``int flags`` current lock flags h](j)}(h ``int flags``h]j)}(hjmHh]h int flags}(hjoHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjgHubj)}(hhh]h)}(hcurrent lock flagsh]hcurrent lock flags}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjgHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjGubeh}(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:47: ./fs/locks.chMhjGubh)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjGubeh}(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](jd)}(hinth]hint}(hjHhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjHhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjHhMubj/)}(hfcntl_setleaseh]j5)}(hfcntl_setleaseh]hfcntl_setlease}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Iubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjHhMubj;)}(h-(unsigned int fd, struct file *filp, int arg)h](jA)}(hunsigned int fdh](jd)}(hunsignedh]hunsigned}(hj*IhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj&Iubj)}(h h]h }(hj8IhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&Iubjd)}(hinth]hint}(hjFIhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj&Iubj)}(h h]h }(hjTIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&Iubj5)}(hfdh]hfd}(hjbIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&Iubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj"IubjA)}(hstruct file *filph](j )}(hjzh]hstruct}(hj{IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwIubh)}(hhh]j5)}(hfileh]hfile}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j ]j)}jjIsbc.fcntl_setleaseasbuh1hhjwIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwIubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwIubj5)}(hfilph]hfilp}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj"IubjA)}(hint argh](jd)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj5)}(hargh]harg}(hj JhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj"Iubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjHhhhjHhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHhhhjHhMubah}(h]jHah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjHhMhjHhhubjc)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hj3JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj0Jhhubah}(h]h ]h"]h$]h&]uh1jbhjHhhhjHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKJjjKJjjjuh1hhhhj#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)}(hjUJh]h Parameters}(hjWJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSJubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjOJubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hjtJh]hunsigned int fd}(hjvJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjnJubj)}(hhh]h)}(hopen file descriptorh]hopen file descriptor}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjnJubeh}(h]h ]h"]h$]h&]uh1jhjJhM hjkJubj)}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM hjkJubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hjJh]hint arg}(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)}(htype of lease to obtainh]htype of lease to obtain}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM hjkJubeh}(h]h ]h"]h$]h&]uh1jhjOJubh)}(h**Description**h]j)}(hj!Kh]h Description}(hj#KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjOJubj)}(hCall this fcntl to establish a lease on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h]h)}(hCall this fcntl to establish a lease on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h](hRCall this fcntl to establish a lease on the file. Note that you also need to call }(hj;KhhhNhNubj)}(h ``F_SETSIG``h]hF_SETSIG}(hjCKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;Kubh. to receive a signal when the lease is broken.}(hj;KhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hj7Kubah}(h]h ]h"]h$]h&]uh1jhj[KhM hjOJubeh}(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](jd)}(hinth]hint}(hjKhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj~KhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~KhhhjKhMubj/)}(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.hj~KhhhjKhMubj;)}(h+(struct inode *inode, struct file_lock *fl)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(hinodeh]hinode}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj)}j ]j)}jjKsbc.flock_lock_inode_waitasbuh1hhjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj)}(hjh]h*}(hj LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj5)}(hinodeh]hinode}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjKubjA)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hj1LhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-Lubj)}(h h]h }(hj>LhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-Lubh)}(hhh]j5)}(h file_lockh]h file_lock}(hjOLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQLmodnameN classnameNjj)}j ]jKc.flock_lock_inode_waitasbuh1hhj-Lubj)}(h h]h }(hjmLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-Lubj)}(hjh]h*}(hj{LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-Lubj5)}(hflh]hfl}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-Lubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjKubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj~KhhhjKhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjzKhhhjKhMubah}(h]juKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhMhjwKhhubjc)}(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&]uh1jbhjwKhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhj#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)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjLubj)}(hhh](j)}(h6``struct inode *inode`` inode of the file to apply to h](j)}(h``struct inode *inode``h]j)}(hjLh]hstruct inode *inode}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjLubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hj MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhj Mubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjLubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj,Mh]hstruct file_lock *fl}(hj.MhhhNhNubah}(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.chMhj&Mubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hjEMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAMhMhjBMubah}(h]h ]h"]h$]h&]uh1jhj&Mubeh}(h]h ]h"]h$]h&]uh1jhjAMhMhjLubeh}(h]h ]h"]h$]h&]uh1jhjLubh)}(h**Description**h]j)}(hjgMh]h Description}(hjiMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeMubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjLubh)}(h-Apply a FLOCK style lock request to an inode.h]h-Apply a FLOCK style lock request to an inode.}(hj}MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjLubeh}(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](jd)}(hlongh]hlong}(hjMhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjMhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMIubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhjMhMIubj/)}(h sys_flockh]j5)}(h sys_flockh]h sys_flock}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhjMhMIubj;)}(h#(unsigned int fd, unsigned int cmd)h](jA)}(hunsigned int fdh](jd)}(hunsignedh]hunsigned}(hjMhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubjd)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj5)}(hfdh]hfd}(hj!NhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjMubjA)}(hunsigned int cmdh](jd)}(hunsignedh]hunsigned}(hj:NhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj6Nubj)}(h h]h }(hjHNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6Nubjd)}(hinth]hint}(hjVNhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj6Nubj)}(h h]h }(hjdNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6Nubj5)}(hcmdh]hcmd}(hjrNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6Nubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjMubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjMhhhjMhMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjMhhhjMhMIubah}(h]jMah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhMIhjMhhubjc)}(hhh]jo-)}(hhh]jt-)}(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&]uh1js-hjNhhhjNhNubah}(h]h ]h"]h$]h&]j-jJ"uh1jn-hjNhMIhjNhhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjMhMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhj#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)}(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:47: ./fs/locks.chMMhjNubj)}(hhh](j)}(h1``unsigned int fd`` the file descriptor to lock. h](j)}(h``unsigned int fd``h]j)}(hjNh]hunsigned int fd}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMJhjNubj)}(hhh]h)}(hthe file descriptor to lock.h]hthe file descriptor to lock.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMJhjOubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjOhMJhjNubj)}(h0``unsigned int cmd`` the type of lock to apply. h](j)}(h``unsigned int cmd``h]j)}(hj(Oh]hunsigned int cmd}(hj*OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Oubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMKhj"Oubj)}(hhh]h)}(hthe type of lock to apply.h]hthe type of lock to apply.}(hjAOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=OhMKhj>Oubah}(h]h ]h"]h$]h&]uh1jhj"Oubeh}(h]h ]h"]h$]h&]uh1jhj=OhMKhjNubeh}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hjcOh]h Description}(hjeOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaOubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMMhjNubj)}(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 }(hj}OhhhNhNubj)}(h ``FL_FLOCK``h]hFL_FLOCK}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Oubh, style lock to an open file descriptor. The }(hj}OhhhNhNubj)}(h**cmd**h]hcmd}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Oubh can be one of:}(hj}OhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMLhjyOubjo-)}(hhh](jt-)}(h``LOCK_SH`` -- a shared lock.h]h)}(hjOh](j)}(h ``LOCK_SH``h]hLOCK_SH}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh -- a shared lock.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMOhjOubah}(h]h ]h"]h$]h&]uh1js-hjOubjt-)}(h!``LOCK_EX`` -- an exclusive lock.h]h)}(hjOh](j)}(h ``LOCK_EX``h]hLOCK_EX}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh -- an exclusive lock.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMPhjOubah}(h]h ]h"]h$]h&]uh1js-hjOubjt-)}(h'``LOCK_UN`` -- remove an existing lock.h]h)}(hjPh](j)}(h ``LOCK_UN``h]hLOCK_UN}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh -- remove an existing lock.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMQhjOubah}(h]h ]h"]h$]h&]uh1js-hjOubjt-)}(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}(hj-PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Pubh) -- a ‘mandatory’ flock. (DEPRECATED)}(hj)PhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMRhj%Pubah}(h]h ]h"]h$]h&]uh1js-hjOubeh}(h]h ]h"]h$]h&]j-jJ"uh1jn-hjOhMOhjyOubh)}(h7``LOCK_MAND`` support has been removed from the kernel.h](j)}(h ``LOCK_MAND``h]h LOCK_MAND}(hjVPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRPubh* support has been removed from the kernel.}(hjRPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMThjyOubeh}(h]h ]h"]h$]h&]uh1jhjOhMLhjNubeh}(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 }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPhhhjPhMubj/)}(hlocks_translate_pidh]j5)}(hjPh]hlocks_translate_pid}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjPhhhjPhMubj;)}(h5(struct file_lock_core *fl, struct pid_namespace *ns)h](jA)}(hstruct file_lock_core *flh](j )}(hjzh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubh)}(hhh]j5)}(hfile_lock_coreh]hfile_lock_core}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj)}j ]jPc.locks_translate_pidasbuh1hhjPubj)}(h h]h }(hj#QhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj)}(hjh]h*}(hj1QhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj5)}(hflh]hfl}(hj>QhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjPubjA)}(hstruct pid_namespace *nsh](j )}(hjzh]hstruct}(hjWQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSQubj)}(h h]h }(hjdQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSQubh)}(hhh]j5)}(h pid_namespaceh]h pid_namespace}(hjuQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwQmodnameN classnameNjj)}j ]jPc.locks_translate_pidasbuh1hhjSQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSQubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSQubj5)}(hnsh]hns}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjPubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjPhhhjPhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjPhMubah}(h]jPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMhjPhhubjc)}(hhh]h)}(h6translate a file_lock's fl_pid number into a namespaceh]h8translate a file_lock’s fl_pid number into a namespace}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jbhjPhhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhj#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)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjQubj)}(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)}(hjRh]hstruct file_lock_core *fl}(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)}(h/The file_lock who's fl_pid should be translatedh]h1The file_lock who’s fl_pid should be translated}(hj2RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.RhMhj/Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj.RhMhjRubj)}(hS``struct pid_namespace *ns`` The namespace into which the pid should be translated h](j)}(h``struct pid_namespace *ns``h]j)}(hjRRh]hstruct pid_namespace *ns}(hjTRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjLRubj)}(hhh]h)}(h5The namespace into which the pid should be translatedh]h5The namespace into which the pid should be translated}(hjkRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjgRhMhjhRubah}(h]h ]h"]h$]h&]uh1jhjLRubeh}(h]h ]h"]h$]h&]uh1jhjgRhMhjRubeh}(h]h ]h"]h$]h&]uh1jhjQubh)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjQubh)}(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.chMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubeh}(h] file-locksah ]h"] file locksah$]h&]uh1hhhhhhhhK*ubh)}(hhh](h)}(hOther Functionsh]hOther Functions}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhhhhhK3ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmpage_readahead (C function)c.mpage_readaheadhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjRhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRhhhjRhMAubj/)}(hmpage_readaheadh]j5)}(hmpage_readaheadh]hmpage_readahead}(hj ShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjRhhhjRhMAubj;)}(h6(struct readahead_control *rac, get_block_t get_block)h](jA)}(hstruct readahead_control *rach](j )}(hjzh]hstruct}(hj(ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$Subj)}(h h]h }(hj5ShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$Subh)}(hhh]j5)}(hreadahead_controlh]hreadahead_control}(hjFShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHSmodnameN classnameNjj)}j ]j)}jjSsbc.mpage_readaheadasbuh1hhj$Subj)}(h h]h }(hjfShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$Subj)}(hjh]h*}(hjtShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$Subj5)}(hrach]hrac}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$Subeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj SubjA)}(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 ]jbSc.mpage_readaheadasbuh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj5)}(h get_blockh]h get_block}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj Subeh}(h]h ]h"]h$]h&]jLjMuh1j:hjRhhhjRhMAubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjRhhhjRhMAubah}(h]jRah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRhMAhjRhhubjc)}(hhh]h)}(hstart reads against pagesh]hstart reads against pages}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMAhjShhubah}(h]h ]h"]h$]h&]uh1jbhjRhhhjRhMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjj Tjj Tjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct readahead_control *rac`` Describes which pages to read. ``get_block_t get_block`` The filesystem's block mapper function. **Description** This function walks the pages and the blocks within each page, building and emitting large BIOs. If anything unusual happens, such as: - encountering a page which has buffers - encountering a page which has a non-hole after a hole - encountering a page with non-contiguous blocks then this code just gives up and calls the buffer_head-based read function. It does handle a page which has holes at the end - that is a common case: the end-of-file on blocksize < PAGE_SIZE setups. BH_Boundary explanation: There is a problem. The mpage read code assembles several pages, gets all their disk mappings, and then submits them all. That's fine, but obtaining the disk mappings may require I/O. Reads of indirect blocks, for example. So an mpage read of the first 16 blocks of an ext2 file will cause I/O to be submitted in the following order: 12 0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 because the indirect block has to be read to get the mappings of blocks 13,14,15,16. Obviously, this impacts performance. So what we do it to allow the filesystem's get_block() function to set BH_Boundary when it maps block 11. BH_Boundary says: mapping of the block after this one will require I/O against a block which is probably close to this one. So you should push what I/O you have currently accumulated. This all causes the disk requests to be issued in the correct order.h](h)}(h**Parameters**h]j)}(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:53: ./fs/mpage.chMEhjTubj)}(hhh](j)}(hA``struct readahead_control *rac`` Describes which pages to read. h](j)}(h!``struct readahead_control *rac``h]j)}(hj4Th]hstruct readahead_control *rac}(hj6ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Tubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMBhj.Tubj)}(hhh]h)}(hDescribes which pages to read.h]hDescribes which pages to read.}(hjMThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIThMBhjJTubah}(h]h ]h"]h$]h&]uh1jhj.Tubeh}(h]h ]h"]h$]h&]uh1jhjIThMBhj+Tubj)}(hB``get_block_t get_block`` The filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hjmTh]hget_block_t get_block}(hjoThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkTubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMChjgTubj)}(hhh]h)}(h'The filesystem's block mapper function.h]h)The filesystem’s block mapper function.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMChjTubah}(h]h ]h"]h$]h&]uh1jhjgTubeh}(h]h ]h"]h$]h&]uh1jhjThMChj+Tubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMEhjTubh)}(h`This function walks the pages and the blocks within each page, building and emitting large BIOs.h]h`This function walks the pages and the blocks within each page, building and emitting large BIOs.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMDhjTubh)}(h%If anything unusual happens, such as:h]h%If anything unusual happens, such as:}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMGhjTubjo-)}(hhh](jt-)}(h%encountering a page which has buffersh]h)}(hjTh]h%encountering a page which has buffers}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMIhjTubah}(h]h ]h"]h$]h&]uh1js-hjTubjt-)}(h5encountering a page which has a non-hole after a holeh]h)}(hjTh]h5encountering a page which has a non-hole after a hole}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMJhjTubah}(h]h ]h"]h$]h&]uh1js-hjTubjt-)}(h/encountering a page with non-contiguous blocks h]h)}(h.encountering a page with non-contiguous blocksh]h.encountering a page with non-contiguous blocks}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMKhjUubah}(h]h ]h"]h$]h&]uh1js-hjTubeh}(h]h ]h"]h$]h&]j-jJ"uh1jn-hjThMIhjTubh)}(hthen this code just gives up and calls the buffer_head-based read function. It does handle a page which has holes at the end - that is a common case: the end-of-file on blocksize < PAGE_SIZE setups.h]hthen this code just gives up and calls the buffer_head-based read function. It does handle a page which has holes at the end - that is a common case: the end-of-file on blocksize < PAGE_SIZE setups.}(hj.UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMMhjTubh)}(hBH_Boundary explanation:h]hBH_Boundary explanation:}(hj=UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMQhjTubh)}(hThere is a problem. The mpage read code assembles several pages, gets all their disk mappings, and then submits them all. That's fine, but obtaining the disk mappings may require I/O. Reads of indirect blocks, for example.h]hThere is a problem. The mpage read code assembles several pages, gets all their disk mappings, and then submits them all. That’s fine, but obtaining the disk mappings may require I/O. Reads of indirect blocks, for example.}(hjLUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMShjTubh)}(hnSo an mpage read of the first 16 blocks of an ext2 file will cause I/O to be submitted in the following order:h]hnSo an mpage read of the first 16 blocks of an ext2 file will cause I/O to be submitted in the following order:}(hj[UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMWhjTubj)}(h)12 0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 h]h)}(h(12 0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16h]h(12 0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16}(hjnUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMZhjjUubah}(h]h ]h"]h$]h&]uh1jhj|UhMZhjTubh)}(hzbecause the indirect block has to be read to get the mappings of blocks 13,14,15,16. Obviously, this impacts performance.h]hzbecause the indirect block has to be read to get the mappings of blocks 13,14,15,16. Obviously, this impacts performance.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM\hjTubh)}(hX#So what we do it to allow the filesystem's get_block() function to set BH_Boundary when it maps block 11. BH_Boundary says: mapping of the block after this one will require I/O against a block which is probably close to this one. So you should push what I/O you have currently accumulated.h]hX%So what we do it to allow the filesystem’s get_block() function to set BH_Boundary when it maps block 11. BH_Boundary says: mapping of the block after this one will require I/O against a block which is probably close to this one. So you should push what I/O you have currently accumulated.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM_hjTubh)}(hDThis all causes the disk requests to be issued in the correct order.h]hDThis all causes the disk requests to be issued in the correct order.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMdhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmpage_writepages (C function)c.mpage_writepageshNtauh1hhjRhhhNhNubh)}(hhh](j)}(hjint mpage_writepages (struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block)h]j)}(hiint mpage_writepages(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block)h](jd)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjUhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUhhhjUhMubj/)}(hmpage_writepagesh]j5)}(hmpage_writepagesh]hmpage_writepages}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjUhhhjUhMubj;)}(hU(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block)h](jA)}(hstruct address_space *mappingh](j )}(hjzh]hstruct}(hj VhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Vubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Vubh)}(hhh]j5)}(h address_spaceh]h address_space}(hj+VhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(Vubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-VmodnameN classnameNjj)}j ]j)}jjUsbc.mpage_writepagesasbuh1hhj Vubj)}(h h]h }(hjKVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Vubj)}(hjh]h*}(hjYVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Vubj5)}(hmappingh]hmapping}(hjfVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Vubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjVubjA)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{Vubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{Vubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j ]jGVc.mpage_writepagesasbuh1hhj{Vubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{Vubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{Vubj5)}(hwbch]hwbc}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{Vubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjVubjA)}(hget_block_t get_blockh](h)}(hhh]j5)}(h get_block_th]h get_block_t}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j ]jGVc.mpage_writepagesasbuh1hhjVubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj5)}(h get_blockh]h get_block}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjVubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjUhhhjUhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjUhhhjUhMubah}(h]jUah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjUhMhjUhhubjc)}(hhh]h)}(hQwalk the list of dirty pages of the given address space & writepage() all of themh]hQwalk the list of dirty pages of the given address space & writepage() all of them}(hjHWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjEWhhubah}(h]h ]h"]h$]h&]uh1jbhjUhhhjUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`Wjj`Wjjjuh1hhhhjRhNhNubj)}(hXg**Parameters** ``struct address_space *mapping`` address space structure to write ``struct writeback_control *wbc`` subtract the number of written pages from ***wbc->nr_to_write** ``get_block_t get_block`` the filesystem's block mapper function. **Description** This is a library function, which implements the writepages() address_space_operation.h](h)}(h**Parameters**h]j)}(hjjWh]h Parameters}(hjlWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhWubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjdWubj)}(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)}(hjWh]hstruct writeback_control *wbc}(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?subtract the number of written pages from ***wbc->nr_to_write**h](h*subtract the number of written pages from }(hjWhhhNhNubj)}(h***wbc->nr_to_write**h]h*wbc->nr_to_write}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1hhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjWubj)}(hB``get_block_t get_block`` the filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hj Xh]hget_block_t get_block}(hj XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjXubj)}(hhh]h)}(h'the filesystem's block mapper function.h]h)the filesystem’s block mapper function.}(hj"XhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjWubeh}(h]h ]h"]h$]h&]uh1jhjdWubh)}(h**Description**h]j)}(hjDXh]h Description}(hjFXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBXubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjdWubh)}(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.}(hjZXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjdWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_permission (C function)c.generic_permissionhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjXhhhR/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](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j ]j)}jjXsbc.generic_permissionasbuh1hhjXubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj5)}(hidmaph]hidmap}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjXubjA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj8YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Yubj)}(h h]h }(hjEYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4Yubh)}(hhh]j5)}(hinodeh]hinode}(hjVYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXYmodnameN classnameNjj)}j ]jYc.generic_permissionasbuh1hhj4Yubj)}(h h]h }(hjtYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4Yubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Yubj5)}(hinodeh]hinode}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4Yubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjXubjA)}(hint maskh](jd)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj5)}(hmaskh]hmask}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjXubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjXhhhjXhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjXhhhjXhMubah}(h]j|Xah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjXhMhj~Xhhubjc)}(hhh]h)}(h2check for access rights on a Posix-like filesystemh]h2check for access rights on a Posix-like filesystem}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jbhj~XhhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjRhNhNubj)}(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)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj Zubj)}(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/Zh]hstruct mnt_idmap *idmap}(hj1ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Zubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj)Zubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjHZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDZhMhjEZubah}(h]h ]h"]h$]h&]uh1jhj)Zubeh}(h]h ]h"]h$]h&]uh1jhjDZhMhj&Zubj)}(h9``struct inode *inode`` inode to check access rights for h](j)}(h``struct inode *inode``h]j)}(hjhZh]hstruct inode *inode}(hjjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjbZubj)}(hhh]h)}(h inode to check access rights forh]h inode to check access rights for}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}ZhMhj~Zubah}(h]h ]h"]h$]h&]uh1jhjbZubeh}(h]h ]h"]h$]h&]uh1jhj}ZhMhj&Zubj)}(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 (}(hjZhhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh, }(hjZhhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh, }hjZsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh, }(hjZhhhNhNubj)}(h``MAY_NOT_BLOCK``h]h MAY_NOT_BLOCK}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh ...)}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj&Zubeh}(h]h ]h"]h$]h&]uh1jhj Zubh)}(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.chMhj Zubh)}(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.chMhj Zubh)}(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.}(hjJ[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj Zubh)}(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 }(hjY[hhhNhNubj)}(h **idmap**h]hidmap}(hja[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY[ubhB. This function will then take care to map the inode according to }(hjY[hhhNhNubj)}(h **idmap**h]hidmap}(hjs[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY[ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjY[hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY[ubh.}(hjY[hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj Zubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_permission (C function)c.inode_permissionhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj[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](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j ]j)}jj[sbc.inode_permissionasbuh1hhj[ubj)}(h h]h }(hj9\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubj)}(hjh]h*}(hjG\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj5)}(hidmaph]hidmap}(hjT\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj[ubjA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjm\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji\ubj)}(h h]h }(hjz\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji\ubh)}(hhh]j5)}(hinodeh]hinode}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j ]j5\c.inode_permissionasbuh1hhji\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji\ubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji\ubj5)}(hinodeh]hinode}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj[ubjA)}(hint maskh](jd)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj5)}(hmaskh]hmask}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj[ubeh}(h]h ]h"]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)}(h(Check for access rights to a given inodeh]h(Check for access rights to a given inode}(hj#]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM-hj ]hhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhj[hM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;]jj;]jjjuh1hhhhjRhNhNubj)}(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)}(hjE]h]h Parameters}(hjG]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC]ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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)}(hjd]h]hstruct mnt_idmap *idmap}(hjf]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb]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&]uh1hhjy]hM.hjz]ubah}(h]h ]h"]h$]h&]uh1jhj^]ubeh}(h]h ]h"]h$]h&]uh1jhjy]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 (}(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]hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj]hM0hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM0hj[]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: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`hhubjc)}(hhh]h)}(hput a reference to a pathh]hput a reference to a path}(hj$ahhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMkhj!ahhubah}(h]h ]h"]h$]h&]uh1jbhj>`hhhjW`hMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjji_rwsem.h](h)}(h**Parameters**h]j)}(hjJnh]h Parameters}(hjLnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMy hjDnubj)}(hhh](j)}(h@``struct qstr *name`` qstr storing pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjinh]hstruct qstr *name}(hjknhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMv hjcnubj)}(hhh]h)}(h)qstr storing pathname component to lookuph]h)qstr storing pathname component to lookup}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~nhMv hjnubah}(h]h ]h"]h$]h&]uh1jhjcnubeh}(h]h ]h"]h$]h&]uh1jhj~nhMv hj`nubj)}(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.chMw hjnubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMw hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMw hj`nubeh}(h]h ]h"]h$]h&]uh1jhjDnubh)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMy hjDnubh)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMx hjDnubh)}(h#The caller must hold base->i_rwsem.h]h#The caller must hold base->i_rwsem.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM{ hjDnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlookup_one (C function) c.lookup_onehNtauh1hhjRhhhNhNubh)}(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}(hj1ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ohhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hj?ohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ohhhj>ohM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjPohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRomodnameN classnameNjj)}j ]j)}j lookup_onesb c.lookup_oneasbuh1hhj-ohhhj>ohM ubj)}(h h]h }(hjqohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ohhhj>ohM ubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ohhhj>ohM ubj/)}(h lookup_oneh]j5)}(hjnoh]h lookup_one}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj-ohhhj>ohM ubj;)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j ]jlo c.lookup_oneasbuh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj5)}(hidmaph]hidmap}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjoubjA)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hj(phhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(hqstrh]hqstr}(hj9phhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6pubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;pmodnameN classnameNjj)}j ]jlo c.lookup_oneasbuh1hhjpubj)}(h h]h }(hjWphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj)}(hjh]h*}(hjephhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj5)}(hnameh]hname}(hjrphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjoubjA)}(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 ]jlo c.lookup_oneasbuh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj5)}(hbaseh]hbase}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjoubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj-ohhhj>ohM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj)ohhhj>ohM ubah}(h]j$oah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>ohM hj&ohhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj qhhubah}(h]h ]h"]h$]h&]uh1jbhj&ohhhj>ohM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$qjj$qjjjuh1hhhhjRhNhNubj)}(hXX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from ``struct qstr *name`` qstr holding pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** This can be used for in-kernel filesystem clients such as file servers. The caller must hold base->i_rwsem.h](h)}(h**Parameters**h]j)}(hj.qh]h Parameters}(hj0qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,qubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj(qubj)}(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)}(hjMqh]hstruct mnt_idmap *idmap}(hjOqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjGqubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjfqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbqhM hjcqubah}(h]h ]h"]h$]h&]uh1jhjGqubeh}(h]h ]h"]h$]h&]uh1jhjbqhM hjDqubj)}(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 hjDqubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjqh]hstruct dentry *base}(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)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjDqubeh}(h]h ]h"]h$]h&]uh1jhj(qubh)}(h**Description**h]j)}(hjqh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj(qubh)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj(qubh)}(h#The caller must hold base->i_rwsem.h]h#The caller must hold base->i_rwsem.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj(qubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h lookup_one_unlocked (C function)c.lookup_one_unlockedhNtauh1hhjRhhhNhNubh)}(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}(hjNrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJrhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hj\rhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJrhhhj[rhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjmrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjormodnameN classnameNjj)}j ]j)}jlookup_one_unlockedsbc.lookup_one_unlockedasbuh1hhjJrhhhj[rhM ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJrhhhj[rhM ubj)}(hjh]h*}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJrhhhj[rhM ubj/)}(hlookup_one_unlockedh]j5)}(hjrh]hlookup_one_unlocked}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJrhhhj[rhM ubj;)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j ]jrc.lookup_one_unlockedasbuh1hhjrubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj5)}(hidmaph]hidmap}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjrubjA)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hj8shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4subj)}(h h]h }(hjEshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4subh)}(hhh]j5)}(hqstrh]hqstr}(hjVshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXsmodnameN classnameNjj)}j ]jrc.lookup_one_unlockedasbuh1hhj4subj)}(h h]h }(hjtshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4subj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4subj5)}(hnameh]hname}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4subeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjrubjA)}(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}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j ]jrc.lookup_one_unlockedasbuh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj5)}(hbaseh]hbase}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjrubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjJrhhhj[rhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjFrhhhj[rhM ubah}(h]jArah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj[rhM hjCrhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hj)thhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj&thhubah}(h]h ]h"]h$]h&]uh1jbhjCrhhhj[rhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAtjjAtjjjuh1hhhhjRhNhNubj)}(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)}(hjKth]h Parameters}(hjMthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjItubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjEtubj)}(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)}(hjjth]hstruct mnt_idmap *idmap}(hjlthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjdtubj)}(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&]uh1jhjdtubeh}(h]h ]h"]h$]h&]uh1jhjthM hjatubj)}(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}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM hjatubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjth]hstruct dentry *base}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM hjatubeh}(h]h ]h"]h$]h&]uh1jhjEtubh)}(h**Description**h]j)}(hjuh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjEtubh)}(hGThis can be used for in-kernel filesystem clients such as file servers.h]hGThis can be used for in-kernel filesystem clients such as file servers.}(hj-uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjEtubh)}(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.}(hjd_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)}(hjhwh]h Parameters}(hjjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjbwubj)}(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 hj~wubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjwh]hstruct qstr *name}(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)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhM hj~wubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjwh]hstruct dentry *base}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhM hjxubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhM hj~wubeh}(h]h ]h"]h$]h&]uh1jhjbwubh)}(h**Description**h]j)}(hj4xh]h Description}(hj6xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2xubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjbwubh)}(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.}(hjJxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjbwubh)}(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.}(hjYxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjbwubh)}(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.}(hjhxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjbwubh)}(h1The helper should be called without i_rwsem held.h]h1The helper should be called without i_rwsem held.}(hjwxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjbwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#lookup_noperm_unlocked (C function)c.lookup_noperm_unlockedhNtauh1hhjRhhhNhNubh)}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjxhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j ]j)}jlookup_noperm_unlockedsbc.lookup_noperm_unlockedasbuh1hhjxhhhjxhM ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjxhM ubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhhjxhM ubj/)}(hlookup_noperm_unlockedh]j5)}(hjxh]hlookup_noperm_unlocked}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxhhhjxhM ubj;)}(h((struct qstr *name, struct dentry *base)h](jA)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hj yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj)}(h h]h }(hj-yhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubh)}(hhh]j5)}(hqstrh]hqstr}(hj>yhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@ymodnameN classnameNjj)}j ]jxc.lookup_noperm_unlockedasbuh1hhjyubj)}(h h]h }(hj\yhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj)}(hjh]h*}(hjjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj5)}(hnameh]hname}(hjwyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjyubjA)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubh)}(hhh]j5)}(hdentryh]hdentry}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j ]jxc.lookup_noperm_unlockedasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj)}(hjh]h*}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj5)}(hbaseh]hbase}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjyubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjxhhhjxhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjxhhhjxhM ubah}(h]jxah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjxhM hjxhhubjc)}(hhh]h)}(h5filesystem helper to lookup single pathname componenth]h5filesystem helper to lookup single pathname component}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjzhhubah}(h]h ]h"]h$]h&]uh1jbhjxhhhjxhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)zjj)zjjjuh1hhhhjRhNhNubj)}(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)}(hj3zh]h Parameters}(hj5zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1zubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj-zubj)}(hhh](j)}(h3``struct qstr *name`` pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjRzh]hstruct qstr *name}(hjTzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjLzubj)}(hhh]h)}(hpathname component to lookuph]hpathname component to lookup}(hjkzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjgzhM hjhzubah}(h]h ]h"]h$]h&]uh1jhjLzubeh}(h]h ]h"]h$]h&]uh1jhjgzhM hjIzubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjzh]hstruct dentry *base}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjzubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM hjIzubeh}(h]h ]h"]h$]h&]uh1jhj-zubh)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj-zubh)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj-zubh)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj-zubh)}(hQUnlike try_lookup_noperm() it *does* revalidate the dentry if it already existed.h](hUnlike try_lookup_noperm() it }(hjzhhhNhNubjN)}(h*does*h]hdoes}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jNhjzubh- revalidate the dentry if it already existed.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj-zubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_create (C function) c.vfs_createhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hj;{hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj7{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&]uh1jhj7{hhhjI{hM. ubj/)}(h vfs_createh]j5)}(h vfs_createh]h vfs_create}(hj\{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjX{ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj7{hhhjI{hM. ubj;)}(ha(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool want_excl)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjx{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjt{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt{ubh)}(hhh]j5)}(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_createasbuh1hhjt{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt{ubj)}(hjh]h*}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt{ubj5)}(hidmaph]hidmap}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjt{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjp{ubjA)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubh)}(hhh]j5)}(hinodeh]hinode}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj |modnameN classnameNjj)}j ]j{ c.vfs_createasbuh1hhj{ubj)}(h h]h }(hj&|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj)}(hjh]h*}(hj4|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj5)}(hdirh]hdir}(hjA|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjp{ubjA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjZ|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV|ubj)}(h h]h }(hjg|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjV|ubh)}(hhh]j5)}(hdentryh]hdentry}(hjx|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hju|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjz|modnameN classnameNjj)}j ]j{ c.vfs_createasbuh1hhjV|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjV|ubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV|ubj5)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjV|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjp{ubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j ]j{ c.vfs_createasbuh1hhj|ubj)}(h h]h }(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&]noemphjLjMuh1j@hjp{ubjA)}(hbool want_exclh](jd)}(hjgh]hbool}(hj}hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj5)}(h want_exclh]h want_excl}(hj-}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjp{ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj7{hhhjI{hM. ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj3{hhhjI{hM. ubah}(h]j.{ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjI{hM. hj0{hhubjc)}(hhh]h)}(hcreate new fileh]hcreate new file}(hjW}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM. hjT}hhubah}(h]h ]h"]h$]h&]uh1jbhj0{hhhjI{hM. ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjo}jjo}jjjuh1hhhhjRhNhNubj)}(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)}(hjy}h]h Parameters}(hj{}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw}ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM2 hjs}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)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hj}h]hstruct inode *dir}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM0 hj}ubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM0 hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hM0 hj}ubj)}(h3``struct dentry *dentry`` dentry of the child 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.chM1 hj~ubj)}(hhh]h)}(hdentry of the child fileh]hdentry of the child file}(hj#~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hM1 hj ~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hM1 hj}ubj)}(h(``umode_t mode`` mode of the child file h](j)}(h``umode_t mode``h]j)}(hjC~h]h umode_t mode}(hjE~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM2 hj=~ubj)}(hhh]h)}(hmode of the child fileh]hmode of the child file}(hj\~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjX~hM2 hjY~ubah}(h]h ]h"]h$]h&]uh1jhj=~ubeh}(h]h ]h"]h$]h&]uh1jhjX~hM2 hj}ubj)}(h7``bool want_excl`` whether the file must not yet exist h](j)}(h``bool want_excl``h]j)}(hj|~h]hbool want_excl}(hj~~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM3 hjv~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~hM3 hj~ubah}(h]h ]h"]h$]h&]uh1jhjv~ubeh}(h]h ]h"]h$]h&]uh1jhj~hM3 hj}ubeh}(h]h ]h"]h$]h&]uh1jhjs}ubh)}(h**Description**h]j)}(hj~h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM5 hjs}ubh)}(hCreate a new file.h]hCreate a new file.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM4 hjs}ubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj~hhhNhNubj)}(h **idmap**h]hidmap}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubhB. This function will then take care to map the inode according to }(hj~hhhNhNubj)}(h **idmap**h]hidmap}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj~hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(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.chM6 hjs}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h kernel_tmpfile_open (C function)c.kernel_tmpfile_openhNtauh1hhjRhhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMwubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=hhhjNhMwubh)}(hhh]j5)}(hfileh]hfile}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j ]j)}jkernel_tmpfile_opensbc.kernel_tmpfile_openasbuh1hhj=hhhjNhMwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=hhhjNhMwubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhjNhMwubj/)}(hkernel_tmpfile_openh]j5)}(hj~h]hkernel_tmpfile_open}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj=hhhjNhMwubj;)}(hn(struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred)h](jA)}(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.kernel_tmpfile_openasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst struct path *parentpathh](j )}(hjh]hconst}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubh)}(hhh]j5)}(hpathh]hpath}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j ]j|c.kernel_tmpfile_openasbuh1hhj'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj5)}(h parentpathh]h parentpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j|c.kernel_tmpfile_openasbuh1hhjubj)}(h h]h }(hj׀hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int open_flagh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj hhhNhNubah}(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&]noemphjLjMuh1j@hjubjA)}(hconst struct cred *credh](j )}(hjh]hconst}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj )}(hjzh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubh)}(hhh]j5)}(hcredh]hcred}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j ]j|c.kernel_tmpfile_openasbuh1hhj/ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj5)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj=hhhjNhMwubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj9hhhjNhMwubah}(h]j4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjNhMwhj6hhubjc)}(hhh]h)}(h&open a tmpfile for kernel internal useh]h&open a tmpfile for kernel internal use}(hjρhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMwhj́hhubah}(h]h ]h"]h$]h&]uh1jbhj6hhhjNhMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chM{hjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMxhj 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%hMxhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMxhjubj)}(h=``const struct path *parentpath`` path of the base directory h](j)}(h!``const struct path *parentpath``h]j)}(hjIh]hconst struct path *parentpath}(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.chMyhjCubj)}(hhh]h)}(hpath of the base directoryh]hpath of the base directory}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMyhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMyhjubj)}(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.chMzhj|ubj)}(hhh]h)}(hmode of the new tmpfileh]hmode of the new tmpfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubj)}(h``int open_flag`` flags h](j)}(h``int open_flag``h]j)}(hjh]h int open_flag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM{hjubj)}(hhh]h)}(hflagsh]hflags}(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)}(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.chM|hjubj)}(hhh]h)}(hcredentials for openh]hcredentials for open}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM|hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM|hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM~hjubh)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM}hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_mknod (C function) c.vfs_mknodhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjthhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjphhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjhMcubj/)}(h vfs_mknodh]j5)}(h vfs_mknodh]h vfs_mknod}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjphhhjhMcubj;)}(h\(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)h](jA)}(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)}jjsb c.vfs_mknodasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j ]j c.vfs_mknodasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdirh]hdir}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_mknodasbuh1hhjubj)}(h h]h }(hjτhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj݄hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.vfs_mknodasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h dev_t devh](h)}(hhh]j5)}(hdev_th]hdev_t}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j ]j c.vfs_mknodasbuh1hhjGubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj5)}(hdevh]hdev}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjphhhjhMcubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlhhhjhMcubah}(h]jgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMchjihhubjc)}(hhh]h)}(hcreate device node or fileh]hcreate device node or file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMchjhhubah}(h]h ]h"]h$]h&]uh1jbhjihhhjhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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&]uh1jhjąubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMghjubj)}(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.chMdhj߅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&]uh1hhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhj߅ubeh}(h]h ]h"]h$]h&]uh1jhjhMdhj܅ubj)}(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.chMehjubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMehj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMehj܅ubj)}(h:``struct dentry *dentry`` dentry of the child device node h](j)}(h``struct dentry *dentry``h]j)}(hjWh]hstruct dentry *dentry}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMfhjQubj)}(hhh]h)}(hdentry of the child device nodeh]hdentry of the child device node}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMfhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMfhj܅ubj)}(h/``umode_t mode`` mode of the child device node h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMghjubj)}(hhh]h)}(hmode of the child device nodeh]hmode of the child device node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghj܅ubj)}(h0``dev_t dev`` device number of device to create h](j)}(h ``dev_t dev``h]j)}(hjɆh]h dev_t dev}(hjˆhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdžubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhhjÆubj)}(hhh]h)}(h!device number of device to createh]h!device number of device to create}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjކhMhhj߆ubah}(h]h ]h"]h$]h&]uh1jhjÆubeh}(h]h ]h"]h$]h&]uh1jhjކhMhhj܅ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMjhjubh)}(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.chMihjubh)}(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}(hj1hhhNhNubah}(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}(hjChhhNhNubah}(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}(hjUhhhNhNubah}(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.chMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_mkdir (C function) c.vfs_mkdirhNtauh1hhjRhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}j vfs_mkdirsb c.vfs_mkdirasbuh1hhjhhhjhMubj)}(h h]h }(hj·hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj)}(hjh]h*}(hj܇hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj/)}(h vfs_mkdirh]j5)}(hjˇh]h vfs_mkdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(hQ(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode)h](jA)}(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ɇ c.vfs_mkdirasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jɇ c.vfs_mkdirasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj)}(hjh]h*}(hjˆhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj5)}(hdirh]hdir}(hjψhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_mkdirasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j ]jɇ c.vfs_mkdirasbuh1hhjTubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h5create directory returning correct dentry if possibleh]h5create directory returning correct dentry if possible}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjɉjjɉjjjuh1hhhhjRhNhNubj)}(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)}(hjӉh]h Parameters}(hjՉhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjщubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj͉ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(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)}(hj+h]hstruct inode *dir}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj%ubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubj)}(h8``struct dentry *dentry`` dentry of the child directory h](j)}(h``struct dentry *dentry``h]j)}(hjdh]hstruct dentry *dentry}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj^ubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubj)}(h-``umode_t mode`` mode of the child directory h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hmode of the child directoryh]hmode of the child directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj͉ubh)}(h**Description**h]j)}(hj؊h]h Description}(hjڊhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֊ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj͉ubh)}(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.chMhj͉ubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj͉ubh)}(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 }(hjBhhhNhNubj)}(h ***dentry**h]h*dentry}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh 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.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj͉ubh)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj͉ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_rmdir (C function) c.vfs_rmdirhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMIubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMIubj/)}(h vfs_rmdirh]j5)}(h vfs_rmdirh]h vfs_rmdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMIubj;)}(hC(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjϋhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjˋubj)}(h h]h }(hj܋hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjˋubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsb c.vfs_rmdirasbuh1hhjˋubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjˋubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjˋubj5)}(hidmaph]hidmap}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjˋubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjNjubjA)}(hstruct inode *dirh](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  c.vfs_rmdirasbuh1hhj=ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjNjubjA)}(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&]uh1j4hǰubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjьmodnameN classnameNjj)}j ]j  c.vfs_rmdirasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjNjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMIubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMIhjhhubjc)}(hhh]h)}(hremove directoryh]hremove directory}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMIhj/hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjRhNhNubj)}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMMhjNubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjsh]hstruct mnt_idmap *idmap}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMJhjmubj)}(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&]uh1hhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjjubj)}(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.chMKhjubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjōhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjjubj)}(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.chMLhjߍubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjߍubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjjubeh}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hj h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMNhjNubh)}(hRemove a directory.h]hRemove a directory.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMMhjNubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjEhhhNhNubj)}(h **idmap**h]hidmap}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubhB. This function will then take care to map the inode according to }(hjEhhhNhNubj)}(h **idmap**h]hidmap}(hj_hhhNhNubah}(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}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMOhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_unlink (C function) c.vfs_unlinkhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/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_unlinkh]j5)}(h vfs_unlinkh]h vfs_unlink}(hjˎhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjǎubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(hc(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct inode **delegated_inode)h](jA)}(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͎sb c.vfs_unlinkasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjߎubjA)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubh)}(hhh]j5)}(hinodeh]hinode}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j ]j! c.vfs_unlinkasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjߎubjA)}(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.vfs_unlinkasbuh1hhjŏubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjŏubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjŏubj5)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjŏubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjߎubjA)}(hstruct inode **delegated_inodeh](j )}(hjzh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(hinodeh]hinode}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j ]j! c.vfs_unlinkasbuh1hhj5ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjߎubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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.chMhjĐhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjߐjjߐjjjuh1hhhhjRhNhNubj)}(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&]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}(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)}(h'``struct inode *dir`` parent directory h](j)}(h``struct inode *dir``h]j)}(hjAh]hstruct inode *dir}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj;ubj)}(hhh]h)}(hparent directoryh]hparent directory}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubj)}(h!``struct dentry *dentry`` victim h](j)}(h``struct dentry *dentry``h]j)}(hjzh]hstruct dentry *dentry}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjtubj)}(hhh]h)}(hvictimh]hvictim}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hT``struct inode **delegated_inode`` returns victim inode, if the inode is delegated. 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.chMhjubj)}(hhh]h)}(h0returns victim inode, if the inode is delegated.h]h0returns victim inode, if the inode is delegated.}(hj̑hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjȑhMhjɑubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȑhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h.The caller must hold dir->i_rwsem exclusively.h]h.The caller must hold dir->i_rwsem exclusively.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hX)If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation on that inode and retry. Because breaking a delegation may take a long time, the caller should drop dir->i_rwsem before doing so.h]hX)If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation on that inode and retry. Because breaking a delegation may take a long time, the caller should drop dir->i_rwsem before doing so.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj1hhhNhNubj)}(h **idmap**h]hidmap}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubhB. This function will then take care to map the inode according to }(hj1hhhNhNubj)}(h **idmap**h]hidmap}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj1hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_symlink (C function) c.vfs_symlinkhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM\ubj/)}(h vfs_symlinkh]j5)}(h vfs_symlinkh]h vfs_symlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM\ubj;)}(hX(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjӒhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϒubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjϒubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsb c.vfs_symlinkasbuh1hhjϒubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjϒubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjϒubj5)}(hidmaph]hidmap}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjϒubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj˒ubjA)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubh)}(hhh]j5)}(hinodeh]hinode}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j ]j  c.vfs_symlinkasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj˒ubjA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj“hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjӓhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjГubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjՓmodnameN classnameNjj)}j ]j  c.vfs_symlinkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj˒ubjA)}(hconst char *oldnameh](j )}(hjh]hconst}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubjd)}(hcharh]hchar}(hj@hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj!ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj5)}(holdnameh]holdname}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj˒ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM\ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM\ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM\hjhhubjc)}(hhh]h)}(hcreate symlinkh]hcreate symlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM`hjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjΔubeh}(h]h ]h"]h$]h&]uh1jhjhM]hj˔ubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hj h]hstruct inode *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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^hj˔ubj)}(h;``struct dentry *dentry`` dentry of the child symlink file h](j)}(h``struct dentry *dentry``h]j)}(hjFh]hstruct dentry *dentry}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM_hj@ubj)}(hhh]h)}(h dentry of the child symlink fileh]h dentry of the child symlink file}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hM_hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hM_hj˔ubj)}(h4``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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM`hjyubj)}(hhh]h)}(hname of the file to link toh]hname of the file to link to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM`hj˔ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMbhjubh)}(hCreate a symlink.h]hCreate a symlink.}(hjЕhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMahjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjߕhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߕubhB. This function will then take care to map the inode according to }(hjߕhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߕubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjߕhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߕubh.}(hjߕhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_link (C function) c.vfs_linkhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj@hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhjRhMubj/)}(hvfs_linkh]j5)}(hvfs_linkh]hvfs_link}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@hhhjRhMubj;)}(h(struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode)h](jA)}(hstruct dentry *old_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)}jjgsb c.vfs_linkasbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj)}(hjh]h*}(hj͖hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj5)}(h old_dentryh]h old_dentry}(hjږhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjyubjA)}(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_linkasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjyubjA)}(hstruct inode *dirh](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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.vfs_linkasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjyubjA)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hjӗhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϗubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjϗubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.vfs_linkasbuh1hhjϗubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjϗubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjϗubj5)}(h new_dentryh]h new_dentry}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjϗubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjyubjA)}(hstruct inode **delegated_inodeh](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.vfs_linkasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjyubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj@hhhjRhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj<hhhjRhMubah}(h]j7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRhMhj9hhubjc)}(hhh]h)}(hcreate a new linkh]hcreate a new link}(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&]uh1jbhj9hhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chMhj ubj)}(hhh]h)}(hobject to be linkedh]hobject to be linked}(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 mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjKh]hstruct mnt_idmap *idmap}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjEubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj ubj)}(h!``struct inode *dir`` new parent h](j)}(h``struct inode *dir``h]j)}(hjh]hstruct inode *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj~ubj)}(hhh]h)}(h new parenth]h new parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h;``struct dentry *new_dentry`` where to create the new link h](j)}(h``struct dentry *new_dentry``h]j)}(hjh]hstruct dentry *new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hwhere to create the new linkh]hwhere to create the new link}(hj֙hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjҙhMhjәubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҙhMhj ubj)}(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.chMhjubj)}(hhh]h)}(h(returns inode needing a delegation breakh]h(returns inode needing a delegation break}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj1h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h.The caller must hold dir->i_rwsem exclusively.h]h.The caller must hold dir->i_rwsem exclusively.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hjehhhNhNubah}(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 }(hjthhhNhNubj)}(h **idmap**h]hidmap}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubhB. This function will then take care to map the inode according to }(hjthhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjthhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_rename (C function) c.vfs_renamehNtauh1hhjRhhhNhNubh)}(hhh](j)}(h&int vfs_rename (struct renamedata *rd)h]j)}(h%int vfs_rename(struct renamedata *rd)h](jd)}(hinth]hint}(hjٚhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj՚hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj՚hhhjhMbubj/)}(h vfs_renameh]j5)}(h vfs_renameh]h vfs_rename}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj՚hhhjhMbubj;)}(h(struct renamedata *rd)h]jA)}(hstruct renamedata *rdh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h renamedatah]h renamedata}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j ]j)}jjsb c.vfs_renameasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hrdh]hrd}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hj՚hhhjhMbubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjњhhhjhMbubah}(h]j̚ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMbhjΚhhubjc)}(hhh]h)}(hrename a filesystem objecth]hrename a filesystem object}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMbhjhhubah}(h]h ]h"]h$]h&]uh1jbhjΚhhhjhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hXr **Parameters** ``struct renamedata *rd`` pointer to :c:type:`struct renamedata ` info **Description** The caller must hold multiple mutexes--see lock_rename()). If vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. The worst of all namespace operations - renaming directory. "Perverted" doesn't even start to describe it. Somebody in UCB had a heck of a trip... Problems: a) we can get into loop creation. b) race potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story. c) we may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them. d) conversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMfhjubj)}(hhh]j)}(hS``struct renamedata *rd`` pointer to :c:type:`struct renamedata ` info h](j)}(h``struct renamedata *rd``h]j)}(hjڛh]hstruct renamedata *rd}(hjܛhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj؛ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMchjԛubj)}(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 renamedatauh1hhjhMchjubh info}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjԛubeh}(h]h ]h"]h$]h&]uh1jhjhMchjћubah}(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.chMehjubh)}(h:The caller must hold multiple mutexes--see lock_rename()).h]h:The caller must hold multiple mutexes--see lock_rename()).}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMdhjubh)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMfhjubh)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMmhjubh)}(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.chMqhjubj)}(hXa) we can get into loop creation. b) race potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story. c) we may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them. d) conversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]j)}(hhh](jt-)}(hwe can get into loop creation.h]h)}(hjh]hwe can get into loop creation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMuhjubah}(h]h ]h"]h$]h&]uh1js-hjubjt-)}(hrace potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story.h]h)}(hrace potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story.h]hrace potential - two innocent renames can create a loop together. That’s where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that’s another story.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMvhjubah}(h]h ]h"]h$]h&]uh1js-hjubjt-)}(hXjwe may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them.h]h)}(hXjwe may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them.h]hXzwe may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it’s a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don’t know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does “lock parent, lookup, lock child” and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If “hybrid” objects will ever appear, we’d better make sure that there’s no link(2) for them.}(hj̜hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMzhjȜubah}(h]h ]h"]h$]h&]uh1js-hjubjt-)}(hXconversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]h)}(hXconversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]hXconversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubah}(h]h ]h"]h$]h&]uh1js-hjubeh}(h]h ]h"]h$]h&]jp loweralphajrhjsjuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjhMuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_readlink (C function)c.vfs_readlinkhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj#hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhj5hMubj/)}(h vfs_readlinkh]j5)}(h vfs_readlinkh]h vfs_readlink}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#hhhj5hMubj;)}(h8(struct dentry *dentry, char __user *buffer, int buflen)h](jA)}(hstruct dentry *dentryh](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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjJsbc.vfs_readlinkasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj\ubjA)}(hchar __user *bufferh](jd)}(hcharh]hchar}(hj֝hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjҝubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjҝubh__user}(hjҝhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjҝubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjҝubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjҝubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj\ubjA)}(h int buflenh](jd)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj&ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj5)}(hbuflenh]hbuflen}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj\ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj#hhhj5hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj5hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hMhjhhubjc)}(hhh]h)}(h'copy symlink body into userspace bufferh]h'copy symlink body into userspace buffer}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX **Parameters** ``struct dentry *dentry`` dentry on which to get symbolic link ``char __user *buffer`` user memory pointer ``int buflen`` size of buffer **Description** Does not touch atime. That's up to the caller if necessary Does not call security hook.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjʞhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjƞhMhjǞubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƞhMhjubj)}(h,``char __user *buffer`` user memory pointer h](j)}(h``char __user *buffer``h]j)}(hjh]hchar __user *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(huser memory pointerh]huser memory pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int buflen`` size of buffer h](j)}(h``int buflen``h]j)}(hj#h]h int buflen}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hsize of bufferh]hsize of buffer}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h;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}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_get_link (C function)c.vfs_get_linkhNtauh1hhjRhhhNhNubh)}(hhh](j)}(hLconst char * vfs_get_link (struct dentry *dentry, struct delayed_call *done)h]j)}(hJconst char *vfs_get_link(struct dentry *dentry, struct delayed_call *done)h](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubjd)}(hcharh]hchar}(hjΟhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhjhM ubj)}(h h]h }(hjܟhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM 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.hjhhhjhM ubj;)}(h2(struct dentry *dentry, struct delayed_call *done)h](jA)}(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}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j ]j)}jjsbc.vfs_get_linkasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct delayed_call *doneh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h delayed_callh]h delayed_call}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jQc.vfs_get_linkasbuh1hhjubj)}(h h]h }(hjŠhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjӠhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdoneh]hdone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(hget symlink bodyh]hget symlink body}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjRhNhNubj)}(hXi**Parameters** ``struct dentry *dentry`` dentry on which to get symbolic link ``struct delayed_call *done`` caller needs to free returned data with this **Description** Calls security hook and i_op->get_link() on the supplied inode. It does not touch atime. That's up to the caller if necessary. Does not work on "special" symlinks like /proc/$$/fd/Nh](h)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj&ubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hjKh]hstruct dentry *dentry}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjEubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hM hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM hjBubj)}(hK``struct delayed_call *done`` caller needs to free returned data with this h](j)}(h``struct delayed_call *done``h]j)}(hjh]hstruct delayed_call *done}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj~ubj)}(hhh]h)}(h,caller needs to free returned data with thish]h,caller needs to free returned data with this}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjBubeh}(h]h ]h"]h$]h&]uh1jhj&ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj&ubh)}(h?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.}(hjաhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj&ubh)}(h?It does not touch atime. That's up to the caller if necessary.h]hAIt does not touch atime. That’s up to the caller if necessary.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj&ubh)}(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.chMhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpage_get_link (C function)c.page_get_linkhNtauh1hhjRhhhNhNubh)}(hhh](j)}(hfconst char * page_get_link (struct dentry *dentry, struct inode *inode, struct delayed_call *callback)h]j)}(hdconst char *page_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *callback)h](j )}(hjh]hconst}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMCubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj/hMCubjd)}(hcharh]hchar}(hj>hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhj/hMCubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj/hMCubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj/hMCubj/)}(h page_get_linkh]j5)}(h page_get_linkh]h page_get_link}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj/hMCubj;)}(hK(struct dentry *dentry, struct inode *inode, struct delayed_call *callback)h](jA)}(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)}jjmsbc.page_get_linkasbuh1hhjubj)}(h h]h }(hjŢhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjӢhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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.page_get_linkasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct delayed_call *callbackh](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 delayed_callh]h delayed_call}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.page_get_linkasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj5)}(hcallbackh]hcallback}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj/hMCubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj/hMCubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj/hMChjhhubjc)}(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.chMChjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj/hMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct dentry *dentry`` The directory entry which is the symlink. ``struct inode *inode`` The inode for the symlink. ``struct delayed_call *callback`` Used to drop the reference to the symlink. **Description** Filesystems which store their symlinks in the page cache should use this to implement the get_link() member of their inode_operations. **Return** A pointer to the NUL-terminated symlink.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(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.chMGhjubj)}(hhh](j)}(hD``struct dentry *dentry`` The directory entry which is the symlink. h](j)}(h``struct dentry *dentry``h]j)}(hj+h]hstruct dentry *dentry}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMDhj%ubj)}(hhh]h)}(h)The directory entry which is the symlink.h]h)The directory entry which is the symlink.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMDhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMDhj"ubj)}(h3``struct inode *inode`` The inode for the symlink. h](j)}(h``struct inode *inode``h]j)}(hjdh]hstruct inode *inode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMEhj^ubj)}(hhh]h)}(hThe inode for the symlink.h]hThe inode for the symlink.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMEhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMEhj"ubj)}(hM``struct delayed_call *callback`` Used to drop the reference to the symlink. h](j)}(h!``struct delayed_call *callback``h]j)}(hjh]hstruct delayed_call *callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMFhjubj)}(hhh]h)}(h*Used to drop the reference to the symlink.h]h*Used to drop the reference to the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhj"ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjؤh]h Description}(hjڤhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֤ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMHhjubh)}(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.chMGhjubh)}(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.chMJhjubh)}(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.chMKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpage_put_link (C function)c.page_put_linkhNtauh1hhjRhhhNhNubh)}(hhh](j)}(hvoid page_put_link (void *arg)h]j)}(hvoid page_put_link(void *arg)h](jd)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj@hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMYubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhjRhMYubj/)}(h page_put_linkh]j5)}(h page_put_linkh]h page_put_link}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@hhhjRhMYubj;)}(h (void *arg)h]jA)}(h void *argh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj5)}(hargh]harg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjyubah}(h]h ]h"]h$]h&]jLjMuh1j:hj@hhhjRhMYubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj<hhhjRhMYubah}(h]j7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRhMYhj9hhubjc)}(hhh]h)}(h"Drop the reference to the symlink.h]h"Drop the reference to the symlink.}(hjԥhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMYhjѥhhubah}(h]h ]h"]h$]h&]uh1jbhj9hhhjRhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chM]hjubj)}(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.chMZhjubj)}(hhh]h)}(h%The folio which contains the symlink.h]h%The folio which contains the symlink.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMZhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMZhj ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\hjubh)}(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().}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[hjubh)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM`hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_reset (C function) c.bio_resethNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM"ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM"ubj/)}(h bio_reseth]j5)}(h bio_reseth]h bio_reset}(hjŦhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM"ubj;)}(h;(struct bio *bio, struct block_device *bdev, blk_opf_t opf)h](jA)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjݦubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݦubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjǦsb c.bio_resetasbuh1hhjݦubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݦubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݦubj5)}(hbioh]hbio}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjݦubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj٦ubjA)}(hstruct block_device *bdevh](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 block_deviceh]h block_device}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j ]j c.bio_resetasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj5)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj٦ubjA)}(h blk_opf_t opfh](h)}(hhh]j5)}(h blk_opf_th]h blk_opf_t}(hjƧhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjçubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȧmodnameN classnameNjj)}j ]j c.bio_resetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hopfh]hopf}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj٦ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM"ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM"ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM"hjhhubjc)}(hhh]h)}(hreinitialize a bioh]hreinitialize a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM"hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjRhNhNubj)}(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&hj8ubj)}(hhh](j)}(h!``struct bio *bio`` bio to reset 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#hjWubj)}(hhh]h)}(h bio to reseth]h bio to reset}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM#hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM#hjTubj)}(h>``struct block_device *bdev`` block device to use the bio for h](j)}(h``struct block_device *bdev``h]j)}(hjh]hstruct block_device *bdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM$hjubj)}(hhh]h)}(hblock device to use the bio forh]hblock device to use the bio for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjTubj)}(h.``blk_opf_t opf`` operation and flags for bio h](j)}(h``blk_opf_t opf``h]j)}(hjϨh]h blk_opf_t opf}(hjѨhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͨubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM%hjɨubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjɨubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM'hj8ubj)}(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(), }(hj$hhhNhNubj)}(h**bio**h]hbio}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh 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.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM'hj ubah}(h]h ]h"]h$]h&]uh1jhjDhM'hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_chain (C function) c.bio_chainhNtauh1hhjRhhhNhNubh)}(hhh](j)}(h4void bio_chain (struct bio *bio, struct bio *parent)h]j)}(h3void bio_chain(struct bio *bio, struct bio *parent)h](jd)}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjghhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMIubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjghhhjyhMIubj/)}(h bio_chainh]j5)}(h bio_chainh]h bio_chain}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjghhhjyhMIubj;)}(h%(struct bio *bio, struct bio *parent)h](jA)}(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&]uh1j4hjéubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȩmodnameN classnameNjj)}j ]j)}jjsb c.bio_chainasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct bio *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)}(hbioh]hbio}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj)}j ]j c.bio_chainasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hparenth]hparent}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjghhhjyhMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjchhhjyhMIubah}(h]j^ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjyhMIhj`hhubjc)}(hhh]h)}(hchain bio completionsh]hchain bio completions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMIhjhhubah}(h]h ]h"]h$]h&]uh1jbhj`hhhjyhMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct bio *bio`` the target bio ``struct bio *parent`` the parent bio of **bio** **Description** The caller won't have a bi_end_io called when **bio** completes - instead, **parent**'s bi_end_io won't be called until both **parent** and **bio** have completed; the chained bio will also be freed when it completes. The caller must not set bi_private or bi_end_io in **bio**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMMhjubj)}(hhh](j)}(h#``struct bio *bio`` the target bio h](j)}(h``struct bio *bio``h]j)}(hjܪh]hstruct bio *bio}(hjުhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڪubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMJhj֪ubj)}(hhh]h)}(hthe target bioh]hthe target bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhj֪ubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjӪubj)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1hhj*hMKhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMKhjӪubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMMhjubh)}(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 }(hjthhhNhNubj)}(h**bio**h]hbio}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh completes - instead, }(hjthhhNhNubj)}(h **parent**h]hparent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh,’s bi_end_io won’t be called until both }(hjthhhNhNubj)}(h **parent**h]hparent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh and }(hjthhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubhF have completed; the chained bio will also be freed when it completes.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMLhjubh)}(h;The caller must not set bi_private or bi_end_io in **bio**.h](h3The caller must not set bi_private or bi_end_io in }(hj˫hhhNhNubj)}(h**bio**h]hbio}(hjӫhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˫ubh.}(hj˫hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_alloc_bioset (C function)c.bio_alloc_biosethNtauh1hhjRhhhNhNubh)}(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}(hj hhhNhNubah}(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}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j ]j)}jbio_alloc_biosetsbc.bio_alloc_biosetasbuh1hhjhhhjhMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj/)}(hbio_alloc_bioseth]j5)}(hjIh]hbio_alloc_bioset}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(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](jA)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jGc.bio_alloc_biosetasbuh1hhjubj)}(h h]h }(hj¬hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjЬhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbdevh]hbdev}(hjݬhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj~ubjA)}(hunsigned short nr_vecsh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hj~ubjA)}(h blk_opf_t opfh](h)}(hhh]j5)}(h blk_opf_th]h blk_opf_t}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j ]jGc.bio_alloc_biosetasbuh1hhjCubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj5)}(hopfh]hopf}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj~ubjA)}(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 ]jGc.bio_alloc_biosetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj~ubjA)}(hstruct bio_set *bsh](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)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jGc.bio_alloc_biosetasbuh1hhjӭubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjӭubj)}(hjh]h*}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjӭubj5)}(hbsh]hbs}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjӭubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj~ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(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}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjRhNhNubj)}(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)}(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)}(hU``struct block_device *bdev`` block device to allocate the bio for (can be ``NULL``) h](j)}(h``struct block_device *bdev``h]j)}(hjh]hstruct block_device *bdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h6block device to allocate the bio for (can be ``NULL``)h](h-block device to allocate the bio for (can be }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``unsigned short nr_vecs`` number of bvecs to pre-allocate h](j)}(h``unsigned short nr_vecs``h]j)}(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.chMhjޮubj)}(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&]uh1jhjޮubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``blk_opf_t opf`` operation and flags for bio h](j)}(h``blk_opf_t opf``h]j)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h>``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator h](j)}(h``gfp_t gfp_mask``h]j)}(hjVh]hgfp_t gfp_mask}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjPubj)}(hhh]h)}(h*the GFP_* mask given to the slab allocatorh]h*the GFP_* mask given to the slab allocator}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubj)}(h5``struct bio_set *bs`` the bio_set to allocate from. h](j)}(h``struct bio_set *bs``h]j)}(hjh]hstruct bio_set *bs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(hthe bio_set to allocate from.h]hthe bio_set to allocate from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjtubh)}(h**Description**h]j)}(hjʯh]h Description}(hj̯hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȯubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjtubh)}(h+Allocate a bio from the mempools in **bs**.h](h$Allocate a bio from the mempools in }(hjhhhNhNubj)}(h**bs**h]hbs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjtubh)}(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}(hj hhhNhNubah}(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.chMhjtubh)}(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.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjtubh)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjtubh)}(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.chMhjtubh)}(h **Return**h]j)}(hjQh]hReturn}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjtubh)}(h/Pointer to new bio on success, NULL on failure.h]h/Pointer to new bio on success, NULL on failure.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_kmalloc (C function) c.bio_kmallochNtauh1hhjRhhhNhNubh)}(hhh](j)}(hAstruct bio * bio_kmalloc (unsigned short nr_vecs, gfp_t gfp_mask)h]j)}(h?struct bio *bio_kmalloc(unsigned short nr_vecs, gfp_t gfp_mask)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMTubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}j bio_kmallocsb c.bio_kmallocasbuh1hhjhhhjhMTubj)}(h h]h }(hjְhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMTubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMTubj/)}(h bio_kmalloch]j5)}(hjӰh]h bio_kmalloc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMTubj;)}(h((unsigned short nr_vecs, gfp_t gfp_mask)h](jA)}(hunsigned short nr_vecsh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjd)}(hshorth]hshort}(hj,hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hnr_vecsh]hnr_vecs}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hgfp_t gfp_maskh](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j ]jѰ c.bio_kmallocasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj5)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMTubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMThjhhubjc)}(hhh]h)}(h kmalloc a bioh]h kmalloc a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMThjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjұjjұjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``unsigned short nr_vecs`` number of bio_vecs to allocate ``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator **Description** Use kmalloc to allocate a bio (including bvecs). The bio must be initialized using bio_init() before use. To free a bio returned from this function use kfree() after calling bio_uninit(). A bio returned from this function can be reused by calling bio_uninit() before calling bio_init() again. Note that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path. **Return** Pointer to new bio on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hjܱh]h Parameters}(hjޱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڱubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXhjֱubj)}(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.chMUhjubj)}(hhh]h)}(hnumber of bio_vecs to allocateh]hnumber of bio_vecs to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubj)}(h>``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator h](j)}(h``gfp_t gfp_mask``h]j)}(hj4h]hgfp_t gfp_mask}(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.chMVhj.ubj)}(hhh]h)}(h*the GFP_* mask given to the slab allocatorh]h*the GFP_* mask given to the slab allocator}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMVhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMVhjubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXhjֱubh)}(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.chMWhjֱubh)}(hNote that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path.h]hNote that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM\hjֱ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.chM`hjֱ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.chMahjֱubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_put (C function) c.bio_puthNtauh1hhjRhhhNhNubh)}(hhh](j)}(hvoid bio_put (struct bio *bio)h]j)}(hvoid bio_put(struct bio *bio)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM%ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM%ubj/)}(hbio_puth]j5)}(hbio_puth]hbio_put}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM%ubj;)}(h(struct bio *bio)h]jA)}(hstruct bio *bioh](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)}(hbioh]hbio}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j ]j)}jj sb c.bio_putasbuh1hhj#ubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM%ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM%ubah}(h]jݲah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM%hj߲hhubjc)}(hhh]h)}(hrelease a reference to a bioh]hrelease a reference to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM%hjhhubah}(h]h ]h"]h$]h&]uh1jbhj߲hhhjhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj³jj³jjjuh1hhhhjRhNhNubj)}(h**Parameters** ``struct bio *bio`` bio to release reference to **Description** Put a reference to a :c:type:`struct bio `, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.h](h)}(h**Parameters**h]j)}(hj̳h]h Parameters}(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)}(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&hjubj)}(hhh]h)}(hbio to release reference toh]hbio to release reference to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubah}(h]h ]h"]h$]h&]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: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)}(hjJh]h struct bio}(hjLhhhNhNubah}(h]h ](j jc-typeeh"]h$]h&]uh1jhjHubah}(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&]uh1hhjghM(hj<ubah}(h]h ]h"]h$]h&]uh1jhjghM(hjƳubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_alloc_clone (C function)c.bio_alloc_clonehNtauh1hhjRhhhNhNubh)}(hhh](j)}(hlstruct bio * bio_alloc_clone (struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h]j)}(hjstruct bio *bio_alloc_clone(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMRubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMRubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jbio_alloc_clonesbc.bio_alloc_cloneasbuh1hhjhhhjhMRubj)}(h h]h }(hjشhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMRubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMRubj/)}(hbio_alloc_cloneh]j5)}(hjմh]hbio_alloc_clone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMRubj;)}(hO(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h](jA)}(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}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j ]jӴc.bio_alloc_cloneasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbdevh]hbdev}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jӴc.bio_alloc_cloneasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj)}(hjh]h*}(hj̵hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj5)}(hbio_srch]hbio_src}(hjٵhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(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_alloc_cloneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfph]hgfp}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(hstruct bio_set *bsh](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)}(hbio_seth]hbio_set}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j ]jӴc.bio_alloc_cloneasbuh1hhj6ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj5)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMRubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMRubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMRhjhhubjc)}(hhh]h)}(h1clone a bio that shares the original bio's biovech]h3clone a bio that shares the original bio’s biovec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMRhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjӶjjӶjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct block_device *bdev`` block_device to clone onto ``struct bio *bio_src`` bio to clone from ``gfp_t gfp`` allocation priority ``struct bio_set *bs`` bio_set to allocate from **Description** Allocate a new bio that is a clone of **bio_src**. The caller owns the returned bio, but not the actual data it points to. The caller must ensure that the return bio is not freed before **bio_src**.h](h)}(h**Parameters**h]j)}(hjݶh]h Parameters}(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.chMVhj׶ubj)}(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.chMShjubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h*``struct bio *bio_src`` bio to clone from h](j)}(h``struct bio *bio_src``h]j)}(hj5h]hstruct bio *bio_src}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMThj/ubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMThjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMThjubj)}(h"``gfp_t gfp`` allocation priority h](j)}(h ``gfp_t gfp``h]j)}(hjnh]h gfp_t gfp}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMUhjhubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubj)}(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.chMVhjubj)}(hhh]h)}(hbio_set to allocate fromh]hbio_set to allocate from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjubeh}(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.chMXhj׶ubh)}(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.chMWhj׶ubh)}(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}(hj!hhhNhNubah}(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.chMZhj׶ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_init_clone (C function)c.bio_init_clonehNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjVhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMqubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVhhhjhhMqubj/)}(hbio_init_cloneh]j5)}(hbio_init_cloneh]hbio_init_clone}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVhhhjhhMqubj;)}(hL(struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp)h](jA)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jj}sbc.bio_init_cloneasbuh1hhjubj)}(h h]h }(hjոhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj)}j ]jѸc.bio_init_cloneasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbioh]hbio}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct bio *bio_srch](j )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jѸc.bio_init_cloneasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj)}(hjh]h*}(hjùhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj5)}(hbio_srch]hbio_src}(hjйhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_init_cloneasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjVhhhjhhMqubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjRhhhjhhMqubah}(h]jMah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhhMqhjOhhubjc)}(hhh]h)}(h1clone a bio that shares the original bio's biovech]h3clone a bio that shares the original bio’s biovec}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMqhj?hhubah}(h]h ]h"]h$]h&]uh1jbhjOhhhjhhMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjRhNhNubj)}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMuhj^ubj)}(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.chMrhj}ubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjzubj)}(h&``struct bio *bio`` bio to clone into h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMshjubj)}(hhh]h)}(hbio to clone intoh]hbio to clone into}(hjպhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjѺhMshjҺubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѺhMshjzubj)}(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.chMthjubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMthj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMthjzubj)}(h"``gfp_t gfp`` allocation priority h](j)}(h ``gfp_t gfp``h]j)}(hj.h]h gfp_t gfp}(hj0hhhNhNubah}(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)}(hallocation priorityh]hallocation priority}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMuhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMuhjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubh)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMwhj^ubh)}(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.chMvhj^ubh)}(hDThe caller must ensure that **bio_src** is not freed before **bio**.h](hThe caller must ensure that }(hjhhhNhNubj)}(h **bio_src**h]hbio_src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is not freed before }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMyhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__bio_add_page (C function)c.__bio_add_pagehNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/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](jA)}(hstruct bio *bioh](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)}(hbioh]hbio}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j ]j)}jjsbc.__bio_add_pageasbuh1hhj,ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj(ubjA)}(hstruct page *pageh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj¼modnameN classnameNjj)}j ]jjc.__bio_add_pageasbuh1hhjubj)}(h h]h }(hj޼hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj(ubjA)}(hunsigned int lenh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj(ubjA)}(hunsigned int offh](jd)}(hunsignedh]hunsigned}(hjchhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj_ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj5)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj(ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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.chMhj½hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjݽjjݽjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct bio *bio`` destination bio ``struct page *page`` start page to add ``unsigned int len`` length of the data to add, may cross pages ``unsigned int off`` offset of the data relative to **page**, may cross pages **Description** Add the data at **page** + **off** to **bio** as a new bvec. The caller must ensure that **bio** has space for another bvec.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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)}(hj?h]hstruct page *page}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj9ubj)}(hhh]h)}(hstart page to addh]hstart page to add}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubj)}(h@``unsigned int len`` length of the data to add, may cross pages h](j)}(h``unsigned int len``h]j)}(hjxh]hunsigned int len}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjrubj)}(hhh]h)}(h*length of the data to add, may cross pagesh]h*length of the data to add, may cross pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hN``unsigned int off`` offset of the data relative to **page**, may cross pages h](j)}(h``unsigned int off``h]j)}(hjh]hunsigned int off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h8offset of the data relative to **page**, may cross pagesh](hoffset of the data relative to }(hjʾhhhNhNubj)}(h**page**h]hpage}(hjҾhhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƾhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(h}Add the data at **page** + **off** to **bio** as a new bvec. The caller must ensure that **bio** has space for another bvec.h](hAdd the data at }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh + }(hjhhhNhNubj)}(h**off**h]hoff}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**bio**h]hbio}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh- as a new bvec. The caller must ensure that }(hjhhhNhNubj)}(h**bio**h]hbio}(hjRhhhNhNubah}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h bio_add_virt_nofail (C function)c.bio_add_virt_nofailhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hbio_add_virt_nofailh]j5)}(hbio_add_virt_nofailh]hbio_add_virt_nofail}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h,(struct bio *bio, void *vaddr, unsigned len)h](jA)}(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_virt_nofailasbuh1hhjĿubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjĿubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjĿubj5)}(hbioh]hbio}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjĿubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *vaddrh](jd)}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj6ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj5)}(hvaddrh]hvaddr}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h unsigned lenh](jd)}(hunsignedh]hunsigned}(hj|hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h.add data in the direct kernel mapping to a bioh]h.add data in the direct kernel mapping to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hXK**Parameters** ``struct bio *bio`` destination bio ``void *vaddr`` data to add ``unsigned len`` length of the data to add, may cross pages **Description** Add the data at **vaddr** to **bio**. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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``void *vaddr`` data to add h](j)}(h``void *vaddr``h]j)}(hj<h]h void *vaddr}(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.chMhj6ubj)}(hhh]h)}(h data to addh]h data to add}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubj)}(h<``unsigned len`` length of the data to add, may cross pages h](j)}(h``unsigned len``h]j)}(hjuh]h unsigned len}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjoubj)}(hhh]h)}(h*length of the data to add, may cross pagesh]h*length of the data to add, may cross pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(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)}(hAdd the data at **vaddr** to **bio**. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.h](hAdd the data at }(hjhhhNhNubj)}(h **vaddr**h]hvaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_page (C function)c.bio_add_pagehNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj'hMubj/)}(h bio_add_pageh]j5)}(h bio_add_pageh]h bio_add_page}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj'hMubj;)}(hK(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h](jA)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubh)}(hhh]j5)}(hbioh]hbio}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j ]j)}jj<sbc.bio_add_pageasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjNubjA)}(hstruct page *pageh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.bio_add_pageasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjNubjA)}(hunsigned int lenh](jd)}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj4ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubjd)}(hinth]hint}(hjThhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj4ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj5)}(hlenh]hlen}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjNubjA)}(hunsigned int offseth](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hjNubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj'hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj'hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj'hMhjhhubjc)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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 *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hj,h]hstruct bio *bio}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 page *page`` start page to add h](j)}(h``struct page *page``h]j)}(hjeh]hstruct page *page}(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)}(hstart page to addh]hstart page to add}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj#ubj)}(h7``unsigned int len`` vec entry length, may cross pages h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h!vec entry length, may cross pagesh]h!vec entry length, may cross pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj#ubj)}(hO``unsigned int offset`` vec entry offset relative to **page**, may cross pages h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h6vec entry offset relative to **page**, may cross pagesh](hvec entry offset relative to }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, may cross pages}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj#ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj:ubah}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_folio (C function)c.bio_add_foliohNtauh1hhjRhhhNhNubh)}(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](jd)}(hjgh]hbool}(hjshhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjohhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhjhM ubj/)}(h bio_add_folioh]j5)}(h bio_add_folioh]h bio_add_folio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjohhhjhM ubj;)}(h>(struct bio *bio, struct folio *folio, size_t len, size_t off)h](jA)}(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_folioasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct folio *folioh](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)}(hfolioh]hfolio}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j ]jc.bio_add_folioasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfolioh]hfolio}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.bio_add_folioasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h size_t offh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.bio_add_folioasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjohhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkhhhjhM ubah}(h]jfah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhhubjc)}(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.}(hj2hhhNhNubah}(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&]uh1jbhjhhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjRhNhNubj)}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM$hjNubj)}(hhh](j)}(h#``struct bio *bio`` BIO to add to. h](j)}(h``struct bio *bio``h]j)}(hjsh]hstruct bio *bio}(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)}(hBIO to add to.h]hBIO to add to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjjubj)}(h&``struct folio *folio`` Folio to add. h](j)}(h``struct folio *folio``h]j)}(hjh]hstruct folio *folio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM"hjubj)}(hhh]h)}(h Folio to add.h]h Folio to add.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjjubj)}(h5``size_t len`` How many bytes from the folio to add. h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM#hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjjubj)}(h0``size_t off`` First byte in this folio to add. h](j)}(h``size_t off``h]j)}(hjh]h size_t off}(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)}(h First byte in this folio to add.h]h First byte in this folio to add.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hM$hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM$hjjubeh}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hjYh]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM&hjNubh)}(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 }(hjohhhNhNubj)}(h**off**h]hoff}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh 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.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM%hjNubh)}(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.chM*hjNubh)}(h$Whether the addition was successful.h]h$Whether the addition was successful.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM+hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"bio_add_vmalloc_chunk (C function)c.bio_add_vmalloc_chunkhNtauh1hhjRhhhNhNubh)}(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](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM9ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM9ubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhjhM9ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM9ubj/)}(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.hjhhhjhM9ubj;)}(h,(struct bio *bio, void *vaddr, unsigned len)h](jA)}(hstruct bio *bioh](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)}(hbioh]hbio}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j ]j)}jjsbc.bio_add_vmalloc_chunkasbuh1hhj,ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj(ubjA)}(h void *vaddrh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hvaddrh]hvaddr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj(ubjA)}(h unsigned lenh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hj(ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM9ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM9ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM9hjhhubjc)}(hhh]h)}(hadd a vmalloc chunk to a bioh]hadd a vmalloc chunk to a bio}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM9hj'hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjRhNhNubj)}(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)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM=hjFubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjkh]hstruct bio *bio}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM:hjeubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjbubj)}(h'``void *vaddr`` vmalloc address to add h](j)}(h``void *vaddr``h]j)}(hjh]h void *vaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM;hjubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjbubj)}(h:``unsigned len`` total length in bytes of the data to add h](j)}(h``unsigned len``h]j)}(hjh]h unsigned len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM<hjubj)}(hhh]h)}(h(total length in bytes of the data to addh]h(total length in bytes of the data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjbubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM>hjFubh)}(hAdd data starting at **vaddr** to **bio** and return how many bytes were added. This may be less than the amount originally asked. Returns 0 if no data could be added to **bio**.h](hAdd data starting at }(hj.hhhNhNubj)}(h **vaddr**h]hvaddr}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh to }(hj.hhhNhNubj)}(h**bio**h]hbio}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh and return how many bytes were added. This may be less than the amount originally asked. Returns 0 if no data could be added to }(hj.hhhNhNubj)}(h**bio**h]hbio}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM=hjFubh)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMAhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_vmalloc (C function)c.bio_add_vmallochNtauh1hhjRhhhNhNubh)}(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](jd)}(hjgh]hbool}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMTubj/)}(hbio_add_vmalloch]j5)}(hbio_add_vmalloch]hbio_add_vmalloc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMTubj;)}(h0(struct bio *bio, void *vaddr, unsigned int len)h](jA)}(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_vmallocasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbioh]hbio}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *vaddrh](jd)}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjLubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj5)}(hvaddrh]hvaddr}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned int lenh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMTubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMThjhhubjc)}(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.chMThjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjRhNhNubj)}(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.chMXhjubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hj5h]hstruct bio *bio}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMUhj/ubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMUhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMUhj,ubj)}(h'``void *vaddr`` vmalloc address to add h](j)}(h``void *vaddr``h]j)}(hjnh]h void *vaddr}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMVhjhubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMVhj,ubj)}(h>``unsigned int len`` total length in bytes of the data to add h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMWhjubj)}(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&]uh1hhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhj,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.chMYhjubh)}(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}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on success or }(hjhhhNhNubj)}(h ``false``h]hfalse}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if }(hjhhhNhNubj)}(h**bio**h]hbio}(hjHhhhNhNubah}(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.chMXhjubh)}(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.}(hjahhhNhNubah}(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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#bio_iov_iter_get_pages (C function)c.bio_iov_iter_get_pageshNtauh1hhjRhhhNhNubh)}(hhh](j)}(hCint bio_iov_iter_get_pages (struct bio *bio, struct iov_iter *iter)h]j)}(hBint bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hbio_iov_iter_get_pagesh]j5)}(hbio_iov_iter_get_pagesh]hbio_iov_iter_get_pages}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h((struct bio *bio, struct iov_iter *iter)h](jA)}(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_iov_iter_get_pagesasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbioh]hbio}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct iov_iter *iterh](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)}(hiov_iterh]hiov_iter}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j ]jc.bio_iov_iter_get_pagesasbuh1hhj;ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj5)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h!add user or kernel pages to a bioh]h!add user or kernel pages to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX&**Parameters** ``struct bio *bio`` bio to add pages to ``struct iov_iter *iter`` iov iterator describing the region to be added **Description** This takes either an iterator pointing to user memory, or one pointing to kernel pages (BVEC iterator). If we're adding user pages, we pin them and map them into the kernel. On IO completion, the caller should put those pages. For bvec based iterators bio_iov_iter_get_pages() uses the provided bvecs rather than copying them. Hence anyone issuing kiocb based IO needs to ensure the bvecs and pages stay referenced until the submitted I/O is completed by a call to ->ki_complete() or returns with an error other than -EIOCBQUEUED. The caller needs to check if the bio is flagged BIO_NO_PAGE_REF on IO completion. If it isn't, then pages should be released. The function tries, but does not guarantee, to pin as many pages as fit into the bio, or are requested in **iter**, whatever is smaller. If MM encounters an error pinning the requested pages, it stops. Error is returned only if 0 pages could be pinned.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 add pages 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.chMhjubj)}(hhh]h)}(hbio to add pages toh]hbio to add pages to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hI``struct iov_iter *iter`` iov iterator describing the region to be added h](j)}(h``struct iov_iter *iter``h]j)}(hj:h]hstruct iov_iter *iter}(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.chMhj4ubj)}(hhh]h)}(h.iov iterator describing the region to be addedh]h.iov iterator describing the region to be added}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(hXThis takes either an iterator pointing to user memory, or one pointing to kernel pages (BVEC iterator). If we're adding user pages, we pin them and map them into the kernel. On IO completion, the caller should put those pages. For bvec based iterators bio_iov_iter_get_pages() uses the provided bvecs rather than copying them. Hence anyone issuing kiocb based IO needs to ensure the bvecs and pages stay referenced until the submitted I/O is completed by a call to ->ki_complete() or returns with an error other than -EIOCBQUEUED. The caller needs to check if the bio is flagged BIO_NO_PAGE_REF on IO completion. If it isn't, then pages should be released.h]hXThis takes either an iterator pointing to user memory, or one pointing to kernel pages (BVEC iterator). If we’re adding user pages, we pin them and map them into the kernel. On IO completion, the caller should put those pages. For bvec based iterators bio_iov_iter_get_pages() uses the provided bvecs rather than copying them. Hence anyone issuing kiocb based IO needs to ensure the bvecs and pages stay referenced until the submitted I/O is completed by a call to ->ki_complete() or returns with an error other than -EIOCBQUEUED. The caller needs to check if the bio is flagged BIO_NO_PAGE_REF on IO completion. If it isn’t, then pages should be released.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(hThe function tries, but does not guarantee, to pin as many pages as fit into the bio, or are requested in **iter**, whatever is smaller. If MM encounters an error pinning the requested pages, it stops. Error is returned only if 0 pages could be pinned.h](hjThe function tries, but does not guarantee, to pin as many pages as fit into the bio, or are requested in }(hjhhhNhNubj)}(h**iter**h]hiter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, whatever is smaller. If MM encounters an error pinning the requested pages, it stops. Error is returned only if 0 pages could be pinned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM"hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsubmit_bio_wait (C function)c.submit_bio_waithNtauh1hhjRhhhNhNubh)}(hhh](j)}(h%int submit_bio_wait (struct bio *bio)h]j)}(h$int submit_bio_wait(struct bio *bio)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMEubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMEubj/)}(hsubmit_bio_waith]j5)}(hsubmit_bio_waith]hsubmit_bio_wait}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMEubj;)}(h(struct bio *bio)h]jA)}(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}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j ]j)}jjsbc.submit_bio_waitasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbioh]hbio}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMEubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMEubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMEhjhhubjc)}(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.chMEhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hXv**Parameters** ``struct bio *bio`` The :c:type:`struct bio ` which describes the I/O **Description** Simple wrapper around submit_bio(). Returns 0 on success, or the error from bio_endio() on failure. WARNING: Unlike to how submit_bio() is usually used, this function does not result in bio reference to be consumed. The caller must drop the reference on his own.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMIhjubj)}(hhh]j)}(hK``struct bio *bio`` The :c:type:`struct bio ` which describes the I/O h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMFhjubj)}(hhh]h)}(h6The :c:type:`struct bio ` which describes the I/Oh](hThe }(hjhhhNhNubh)}(h:c:type:`struct bio `h]j)}(hjh]h struct bio}(hjhhhNhNubah}(h]h ](j jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjjbiouh1hhjhMFhjubh which describes the I/O}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubah}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMHhjubh)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMGhjubh)}(hWARNING: Unlike to how submit_bio() is usually used, this function does not result in bio reference to be consumed. The caller must drop the reference on his own.h]hWARNING: Unlike to how submit_bio() is usually used, this function does not result in bio reference to be consumed. The caller must drop the reference on his own.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMJhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbdev_rw_virt (C function)c.bdev_rw_virthNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/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 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.hjhhhjhM_ubj;)}(hT(struct block_device *bdev, sector_t sector, void *data, size_t len, enum req_op op)h](jA)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.bdev_rw_virtasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbdevh]hbdev}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hsector_t sectorh](h)}(hhh]j5)}(hsector_th]hsector_t}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j ]jc.bdev_rw_virtasbuh1hhj9ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj5)}(hsectorh]hsector}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.bdev_rw_virtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(henum req_op oph](j )}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hreq_oph]hreq_op}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j ]jc.bdev_rw_virtasbuh1hhj ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hoph]hop}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM_ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM_ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM_hjhhubjc)}(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.chM_hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM_ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chMchjubj)}(hhh](j)}(h5``struct block_device *bdev`` block device to access h](j)}(h``struct block_device *bdev``h]j)}(hjh]hstruct block_device *bdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM`hjubj)}(hhh]h)}(hblock device to accessh]hblock device to access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hjubj)}(h%``sector_t sector`` sector to access h](j)}(h``sector_t sector``h]j)}(hjh]hsector_t sector}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMahjubj)}(hhh]h)}(hsector to accessh]hsector to access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubj)}(h"``void *data`` data to read/write h](j)}(h``void *data``h]j)}(hj6h]h void *data}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMbhj0ubj)}(hhh]h)}(hdata to read/writeh]hdata to read/write}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMbhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMbhjubj)}(h,``size_t len`` length in byte to read/write h](j)}(h``size_t len``h]j)}(hjoh]h size_t len}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMchjiubj)}(hhh]h)}(hlength in byte to read/writeh]hlength in byte to read/write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(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.chMdhjubj)}(hhh]h)}(h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)h]h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubeh}(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.chMfhjubh)}(hPerforms synchronous I/O to **bdev** for **data**/**len**. **data** must be in the kernel direct mapping and not a vmalloc address.h](hPerforms synchronous I/O to }(hjhhhNhNubj)}(h**bdev**h]hbdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/}(hjhhhNhNubj)}(h**len**h]hlen}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h**data**h]hdata}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh@ must be in the kernel direct mapping and not a vmalloc address.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMehjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_copy_data (C function)c.bio_copy_datahNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjlhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlhhhj~hMubj/)}(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.hjlhhhj~hMubj;)}(h"(struct bio *dst, struct bio *src)h](jA)}(hstruct bio *dsth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.bio_copy_dataasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct bio *srch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j ]jc.bio_copy_dataasbuh1hhjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hsrch]hsrc}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjlhhhj~hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhhj~hMubah}(h]jcah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~hMhjehhubjc)}(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&]uh1jbhjehhhj~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct bio *dst`` destination bio ``struct bio *src`` source bio **Description** Stops when it reaches the end of either **src** or **dst** - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh](j)}(h$``struct bio *dst`` destination bio h](j)}(h``struct bio *dst``h]j)}(hjh]hstruct bio *dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct bio *src`` source bio h](j)}(h``struct bio *src``h]j)}(hjh]hstruct bio *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h source bioh]h source bio}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubeh}(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&]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 }(hjkhhhNhNubj)}(h**src**h]hsrc}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh or }(hjkhhhNhNubj)}(h**dst**h]hdst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh_ - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_endio (C function) c.bio_endiohNtauh1hhjRhhhNhNubh)}(hhh](j)}(h void bio_endio (struct bio *bio)h]j)}(hvoid bio_endio(struct bio *bio)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/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_endioh]j5)}(h bio_endioh]h bio_endio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM<ubj;)}(h(struct bio *bio)h]jA)}(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_endioasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbioh]hbio}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM<ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM<ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM<hjhhubjc)}(hhh]h)}(hend I/O on a bioh]hend I/O on a bio}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM<hj{hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chM@hjubj)}(hhh]j)}(h``struct bio *bio`` bio h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM=hjubj)}(hhh]h)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM?hjubj)}(hXlbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function. bio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h](h)}(hbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function.h]hbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM?hjubh)}(hbio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h]hbio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMChjubeh}(h]h ]h"]h$]h&]uh1jhj"hM?hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_split (C function) c.bio_splithNtauh1hhjRhhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMxubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjehMxubh)}(hhh]j5)}(hbioh]hbio}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j ]j)}j bio_splitsb c.bio_splitasbuh1hhjThhhjehMxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjehMxubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhjehMxubj/)}(h bio_splith]j5)}(hjh]h bio_split}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjehMxubj;)}(h=(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs)h](jA)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.bio_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbioh]hbio}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int sectorsh](jd)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj>ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj5)}(hsectorsh]hsectors}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j ]j c.bio_splitasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj5)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.bio_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjThhhjehMxubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjehMxubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjehMxhjMhhubjc)}(hhh]h)}(h split a bioh]h split a bio}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMxhj=hhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjehMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjRhNhNubj)}(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)}(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)}(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.chMyhj{ubj)}(hhh]h)}(h bio to splith]h bio to split}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjxubj)}(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.chMzhjubj)}(hhh]h)}(h4number of sectors to split from the front of **bio**h](h-number of sectors to split from the front of }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjxubj)}(h``gfp_t gfp`` gfp mask h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM{hjubj)}(hhh]h)}(hgfp maskh]hgfp mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjxubj)}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM|hj4ubj)}(hhh]h)}(hbio set to allocate fromh]hbio set to allocate from}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhM|hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM|hjxubeh}(h]h ]h"]h$]h&]uh1jhj\ubh)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM~hj\ubh)}(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.chM}hj\ubh)}(hUnless this is a discard request the newly allocated bio will point to **bio**'s bi_io_vec. It is the caller's responsibility to ensure that neither **bio** nor **bs** are freed before the split bio.h](hGUnless this is a discard request the newly allocated bio will point to }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhK’s bi_io_vec. It is the caller’s responsibility to ensure that neither }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh nor }(hjhhhNhNubj)}(h**bs**h]hbs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are freed before the split bio.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_trim (C function) c.bio_trimhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj1hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjChMubj/)}(hbio_trimh]j5)}(hbio_trimh]hbio_trim}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhjChMubj;)}(h1(struct bio *bio, sector_t offset, sector_t size)h](jA)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjXsb c.bio_trimasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjjubjA)}(hsector_t offseth](h)}(hhh]j5)}(hsector_th]hsector_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.bio_trimasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjjubjA)}(h sector_t sizeh](h)}(hhh]j5)}(hsector_th]hsector_t}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj)}j ]j c.bio_trimasbuh1hhj(ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj5)}(hsizeh]hsize}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj1hhhjChMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhjChMubah}(h]j(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChMhj*hhubjc)}(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&]uh1jbhj*hhhjChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX9**Parameters** ``struct bio *bio`` bio to trim ``sector_t offset`` number of sectors to trim from the front of **bio** ``sector_t size`` size we want to trim **bio** to, in sectors **Description** This function is typically used for bios that are cloned and submitted to the underlying device in parts.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh](j)}(h ``struct bio *bio`` bio to trim h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h bio to trimh]h bio to trim}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``sector_t offset`` number of sectors to trim from the front of **bio** h](j)}(h``sector_t offset``h]j)}(hjh]hsector_t offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h3number of sectors to trim from the front of **bio**h](h,number of sectors to trim from the front of }(hjhhhNhNubj)}(h**bio**h]hbio}(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>``sector_t size`` size we want to trim **bio** to, in sectors h](j)}(h``sector_t size``h]j)}(hjFh]h sector_t size}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj@ubj)}(hhh]h)}(h+size we want to trim **bio** to, in sectorsh](hsize we want to trim }(hj_hhhNhNubj)}(h**bio**h]hbio}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh to, in sectors}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbioset_init (C function) c.bioset_inithNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h bioset_inith]j5)}(h bioset_inith]h bioset_init}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(hO(struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags)h](jA)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbio_seth]hbio_set}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j ]j)}jjsb c.bioset_initasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbsh]hbs}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(hunsigned int pool_sizeh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h pool_sizeh]h pool_size}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(hunsigned int front_padh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h front_padh]h front_pad}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(h int flagsh](jd)}(hinth]hint}(hj)hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj%ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj5)}(hflagsh]hflags}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hInitialize a bio_seth]hInitialize a bio_set}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjlhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct bio_set *bs`` pool to initialize ``unsigned int pool_size`` Number of bio and bio_vecs to cache in the mempool ``unsigned int front_pad`` Number of bytes to allocate in front of the returned bio ``int flags`` Flags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER`` **Description** Set up a bio_set to be used with **bio_alloc_bioset**. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If ``BIOSET_NEED_BVECS`` is set in **flags**, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If ``BIOSET_NEED_RESCUER`` is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh](j)}(h*``struct bio_set *bs`` pool to initialize h](j)}(h``struct bio_set *bs``h]j)}(hjh]hstruct bio_set *bs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(hpool to initializeh]hpool to initialize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hN``unsigned int pool_size`` Number of bio and bio_vecs to cache in the mempool h](j)}(h``unsigned int pool_size``h]j)}(hjh]hunsigned int pool_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h2Number of bio and bio_vecs to cache in the mempoolh]h2Number of bio and bio_vecs to cache in the mempool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hT``unsigned int front_pad`` Number of bytes to allocate in front of the returned bio h](j)}(h``unsigned int front_pad``h]j)}(hj"h]hunsigned int front_pad}(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)}(h8Number of bytes to allocate in front of the returned bioh]h8Number of bytes to allocate in front of the returned bio}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(hd``int flags`` Flags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER`` h](j)}(h ``int flags``h]j)}(hj[h]h int flags}(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.chMhjUubj)}(hhh]h)}(hUFlags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER``h](h$Flags to modify behavior, currently }(hjthhhNhNubj)}(h``BIOSET_NEED_BVECS``h]hBIOSET_NEED_BVECS}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh and }(hjthhhNhNubj)}(h``BIOSET_NEED_RESCUER``h]hBIOSET_NEED_RESCUER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX?. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If }(hjhhhNhNubj)}(h``BIOSET_NEED_BVECS``h]hBIOSET_NEED_BVECS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is set in }(hjhhhNhNubj)}(h **flags**h]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhr, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If }(hjhhhNhNubj)}(h``BIOSET_NEED_RESCUER``h]hBIOSET_NEED_RESCUER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhq is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubah}(h]h ]h"]h$]h&]uh1jhj'hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_open (C function) c.seq_openhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjJhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK*ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJhhhj\hK*ubj/)}(hseq_openh]j5)}(hseq_openh]hseq_open}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJhhhj\hK*ubj;)}(h4(struct file *file, const struct seq_operations *op)h](jA)}(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)}jjqsb c.seq_openasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst struct seq_operations *oph](j )}(hjh]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)}(hseq_operationsh]hseq_operations}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j ]j c.seq_openasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hoph]hop}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjJhhhj\hK*ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjFhhhj\hK*ubah}(h]jAah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj\hK*hjChhubjc)}(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&]uh1jbhjChhhj\hK*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hXs**Parameters** ``struct file *file`` file we initialize ``const struct seq_operations *op`` method table describing the sequence **Description** seq_open() sets **file**, associating it with a sequence described by **op**. **op->start\(\)** sets the iterator up and returns the first element of sequence. **op->stop\(\)** shuts it down. **op->next\(\)** returns the next element of sequence. **op->show\(\)** prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return ``NULL``. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means "discard this element and move on". **Note** seq_open() will allocate a struct seq_file and store its pointer in **file->private_data**. This pointer should not be modified.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK.hjubj)}(hhh](j)}(h)``struct file *file`` file we initialize h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK+hjubj)}(hhh]h)}(hfile we initializeh]hfile we initialize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK+hjubj)}(hI``const struct seq_operations *op`` method table describing the sequence h](j)}(h#``const struct seq_operations *op``h]j)}(hjh]hconst struct seq_operations *op}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK,hj ubj)}(hhh]h)}(h$method table describing the sequenceh]h$method table describing the sequence}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hK,hj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hK,hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjNh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(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 }(hjhhhhNhNubj)}(h**file**h]hfile}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh., associating it with a sequence described by }(hjhhhhNhNubj)}(h**op**h]hop}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh. }(hjhhhhNhNubj)}(h**op->start\(\)**h]h op->start()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubhA sets the iterator up and returns the first element of sequence. }(hjhhhhNhNubj)}(h**op->stop\(\)**h]h op->stop()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh shuts it down. }(hjhhhhNhNubj)}(h**op->next\(\)**h]h op->next()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh( returns the next element of sequence. }(hjhhhhNhNubj)}(h**op->show\(\)**h]h op->show()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return }(hjhhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means “discard this element and move on”.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK-hjdubah}(h]h ]h"]h$]h&]uh1jhjhK-hjubh)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK6hjubj)}(hhh]j)}(hseq_open() will allocate a struct seq_file and store its pointer in **file->private_data**. This pointer should not be modified.h](j)}(h8seq_open() will allocate a struct seq_file and store itsh]h8seq_open() will allocate a struct seq_file and store its}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK6hjubj)}(hhh]h)}(hGpointer in **file->private_data**. This pointer should not be modified.h](h pointer in }(hj,hhhNhNubj)}(h**file->private_data**h]hfile->private_data}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh&. This pointer should not be modified.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK7hj)ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj(hK6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_read (C function) c.seq_readhNtauh1hhjRhhhNhNubh)}(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_readasbuh1hhj{hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{hhhjhKubj/)}(hseq_readh]j5)}(hjh]hseq_read}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj{hhhjhKubj;)}(h@(struct file *file, char __user *buf, size_t size, loff_t *ppos)h](jA)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.seq_readasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfileh]hfile}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hchar __user *bufh](jd)}(hcharh]hchar}(hjAhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj=ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubh__user}(hj=hhhNhNubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj5)}(hbufh]hbuf}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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&]noemphjLjMuh1j@hjubjA)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj{hhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjwhhhjhKubah}(h]jrah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjthhubjc)}(hhh]h)}(h%->read() method for sequential files.h]h%->read() method for sequential files.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhj@hhubah}(h]h ]h"]h$]h&]uh1jbhjthhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjRhNhNubj)}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhj_ubj)}(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.chKhj~ubj)}(hhh]h)}(hthe file to read fromh]hthe file to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{ubj)}(h+``char __user *buf`` the buffer to read to h](j)}(h``char __user *buf``h]j)}(hjh]hchar __user *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjubj)}(hhh]h)}(hthe buffer to read toh]hthe buffer to read to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{ubj)}(h4``size_t size`` the maximum number of bytes to read h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhj{ubj)}(h2``loff_t *ppos`` the current position in the file h](j)}(h``loff_t *ppos``h]j)}(hj/h]h loff_t *ppos}(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.chKhj)ubj)}(hhh]h)}(h the current position in the fileh]h the current position in the file}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhKhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhKhj{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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhj_ubj)}(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&]uh1jhjhKhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_lseek (C function) c.seq_lseekhNtauh1hhjRhhhNhNubh)}(hhh](j)}(h?loff_t seq_lseek (struct file *file, loff_t offset, int whence)h]j)}(h>loff_t seq_lseek(struct file *file, loff_t offset, int whence)h](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}j seq_lseeksb c.seq_lseekasbuh1hhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM-ubj/)}(h seq_lseekh]j5)}(hjh]h seq_lseek}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM-ubj;)}(h.(struct file *file, loff_t offset, int whence)h](jA)}(hstruct file *fileh](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)}(hfileh]hfile}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j ]j c.seq_lseekasbuh1hhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfileh]hfile}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h loff_t offseth](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 ]j c.seq_lseekasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj5)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int whenceh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwhenceh]hwhence}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM-ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM-ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM-hjhhubjc)}(hhh]h)}(h'->llseek() method for sequential files.h]h'->llseek() method for sequential files.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM-hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjRhNhNubj)}(h**Parameters** ``struct file *file`` the file in question ``loff_t offset`` new position ``int whence`` 0 for absolute, 1 for relative position **Description** Ready-made ->f_op->llseek()h](h)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM1hj$ubj)}(hhh](j)}(h+``struct file *file`` the file in question h](j)}(h``struct file *file``h]j)}(hjIh]hstruct file *file}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM.hjCubj)}(hhh]h)}(hthe file in questionh]hthe file in question}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hM.hj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hM.hj@ubj)}(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/hj|ubj)}(hhh]h)}(h new positionh]h new position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM/hj@ubj)}(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&]uh1jhjhM0hj@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.chM2hj$ubj)}(hReady-made ->f_op->llseek()h]h)}(hjh]hReady-made ->f_op->llseek()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM1hj ubah}(h]h ]h"]h$]h&]uh1jhjhM1hj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_release (C function) c.seq_releasehNtauh1hhjRhhhNhNubh)}(hhh](j)}(h8int seq_release (struct inode *inode, struct file *file)h]j)}(h7int seq_release(struct inode *inode, struct file *file)h](jd)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj@hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMYubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhjRhMYubj/)}(h seq_releaseh]j5)}(h seq_releaseh]h seq_release}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@hhhjRhMYubj;)}(h((struct inode *inode, struct file *file)h](jA)}(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.seq_releaseasbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjyubjA)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.seq_releaseasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfileh]hfile}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjyubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj@hhhjRhMYubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj<hhhjRhMYubah}(h]j7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRhMYhj9hhubjc)}(hhh]h)}(h4free the structures associated with sequential file.h]h4free the structures associated with sequential file.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMYhjqhhubah}(h]h ]h"]h$]h&]uh1jbhj9hhhjRhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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)}(hfile in questionh]hfile in question}(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&]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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM\hj?ubah}(h]h ]h"]h$]h&]uh1jhjQhM\hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_escape_mem (C function)c.seq_escape_memhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjxhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjthhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjhMjubj/)}(hseq_escape_memh]j5)}(hseq_escape_memh]hseq_escape_mem}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjthhhjhMjubj;)}(hV(struct seq_file *m, const char *src, size_t len, unsigned int flags, const char *esc)h](jA)}(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_escape_memasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hmh]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst char *srch](j )}(hjh]hconst}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubjd)}(hcharh]hchar}(hjBhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj#ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj5)}(hsrch]hsrc}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.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&]noemphjLjMuh1j@hjubjA)}(hunsigned int flagsh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst char *esch](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hj8hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hesch]hesc}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjthhhjhMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhjhMjubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMjhjmhhubjc)}(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&]uh1jbhjmhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct seq_file *m`` target buffer ``const char *src`` source buffer ``size_t len`` size of source buffer ``unsigned int flags`` flags to pass to string_escape_mem() ``const char *esc`` set of characters that need escaping **Description** Puts data into buffer, replacing each occurrence of character from given class (defined by **flags** and **esc**) with printable escaped sequence. Use seq_has_overflowed() to check for errors.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMnhjubj)}(hhh](j)}(h%``struct seq_file *m`` target buffer h](j)}(h``struct seq_file *m``h]j)}(hjh]hstruct seq_file *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMkhjubj)}(hhh]h)}(h target bufferh]h target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(h"``const char *src`` source buffer h](j)}(h``const char *src``h]j)}(hjh]hconst char *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMlhjubj)}(hhh]h)}(h source bufferh]h source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h%``size_t len`` size of source buffer h](j)}(h``size_t len``h]j)}(hj>h]h size_t len}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMmhj8ubj)}(hhh]h)}(hsize of source bufferh]hsize of source buffer}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMmhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMmhjubj)}(h<``unsigned int flags`` flags to pass to string_escape_mem() h](j)}(h``unsigned int flags``h]j)}(hjwh]hunsigned int flags}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMnhjqubj)}(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&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(h9``const char *esc`` set of characters that need escaping h](j)}(h``const char *esc``h]j)}(hjh]hconst char *esc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMohjubj)}(hhh]h)}(h$set of characters that need escapingh]h$set of characters that need escaping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMqhjubh)}(hPuts data into buffer, replacing each occurrence of character from given class (defined by **flags** and **esc**) with printable escaped sequence.h](h[Puts data into buffer, replacing each occurrence of character from given class (defined by }(hjhhhNhNubj)}(h **flags**h]hflags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**esc**h]hesc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh") with printable escaped sequence.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMphjubh)}(h-Use seq_has_overflowed() to check for errors.h]h-Use seq_has_overflowed() to check for errors.}(hj4hhhNhNubah}(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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmangle_path (C function) c.mangle_pathhNtauh1hhjRhhhNhNubh)}(hhh](j)}(h(struct seq_file *m, const struct path *path, const char *esc)h](jA)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jj`sb c.seq_pathasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj5)}(hjh]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjrubjA)}(hconst struct path *pathh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj)}j ]j c.seq_pathasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpathh]hpath}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjrubjA)}(hconst char *esch](j )}(hjh]hconst}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj5)}(hesch]hesc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjrubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj9hhhjKhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5hhhjKhMubah}(h]j0ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhMhj2hhubjc)}(hhh]h)}(h&seq_file interface to print a pathnameh]h&seq_file interface to print a pathname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj2hhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX***Parameters** ``struct seq_file *m`` the seq_file handle ``const struct path *path`` the struct path to print ``const char *esc`` set of characters to escape in the output **Description** return the absolute path of 'path', as represented by the dentry / mnt pair in the path parameter.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh](j)}(h+``struct seq_file *m`` the seq_file handle h](j)}(h``struct seq_file *m``h]j)}(hj%h]hstruct seq_file *m}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(h5``const struct path *path`` the struct path to print h](j)}(h``const struct path *path``h]j)}(hj^h]hconst struct path *path}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjXubj)}(hhh]h)}(hthe struct path to printh]hthe struct path to print}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(h>``const char *esc`` set of characters to escape in the output h](j)}(h``const char *esc``h]j)}(hjh]hconst char *esc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(h)set of characters to escape in the outputh]h)set of characters to escape in the output}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubh)}(hbreturn the absolute path of 'path', as represented by the dentry / mnt pair in the path parameter.h]hfreturn the absolute path of ‘path’, as represented by the dentry / mnt pair in the path parameter.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_file_path (C function)c.seq_file_pathhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhU/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&]uh1jhjhhhj%hMubj/)}(h seq_file_pathh]j5)}(h seq_file_pathh]h seq_file_path}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj%hMubj;)}(h8(struct seq_file *m, struct file *file, const char *esc)h](jA)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j ]j)}jj:sbc.seq_file_pathasbuh1hhjPubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj5)}(hjh]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjLubjA)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.seq_file_pathasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjLubjA)}(hconst char *esch](j )}(hjh]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubjd)}(hcharh]hchar}(hjPhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj1ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj5)}(hesch]hesc}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjLubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj%hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj%hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj%hMhj hhubjc)}(hhh]h)}(h0seq_file interface to print a pathname of a fileh]h0seq_file interface to print a pathname of a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj%hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(h**Parameters** ``struct seq_file *m`` the seq_file handle ``struct file *file`` the struct file to print ``const char *esc`` set of characters to escape in the output **Description** return the absolute path to the file.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh](j)}(h+``struct seq_file *m`` the seq_file handle h](j)}(h``struct seq_file *m``h]j)}(hjh]hstruct seq_file *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``struct file *file`` the struct file to print h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe struct file to printh]hthe struct file to print}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h>``const char *esc`` set of characters to escape in the output h](j)}(h``const char *esc``h]j)}(hjVh]hconst char *esc}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjPubj)}(hhh]h)}(h)set of characters to escape in the outputh]h)set of characters to escape in the output}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubh)}(h%return the absolute path to the file.h]h%return the absolute path to the file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_write (C function) c.seq_writehNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM0ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM0ubj/)}(h seq_writeh]j5)}(h seq_writeh]h seq_write}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM0ubj;)}(h4(struct seq_file *seq, const void *data, size_t len)h](jA)}(hstruct seq_file *seqh](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}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j ]j)}jjsb c.seq_writeasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hseqh]hseq}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(hconst void *datah](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(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 ]jM c.seq_writeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM0ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM0ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM0hjhhubjc)}(hhh]h)}(hwrite arbitrary data to bufferh]hwrite arbitrary data to buffer}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM0hj8hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhjRhNhNubj)}(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)}(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.chM4hjWubj)}(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)}(hj|h]hstruct seq_file *seq}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM1hjvubj)}(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&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjsubj)}(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&]uh1jhjhM2hjsubj)}(h``size_t len`` number of bytes h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM3hjubj)}(hhh]h)}(hnumber of bytesh]hnumber of bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjsubeh}(h]h ]h"]h$]h&]uh1jhjWubh)}(h**Description**h]j)}(hj)h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM5hjWubh)}(h(Return 0 on success, non-zero otherwise.h]h(Return 0 on success, non-zero otherwise.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM4hjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_pad (C function) c.seq_padhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMDubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjhhhj|hMDubj/)}(hseq_padh]j5)}(hseq_padh]hseq_pad}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjjhhhj|hMDubj;)}(h(struct seq_file *m, char c)h](jA)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsb c.seq_padasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hjh]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hchar ch](jd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hjh]hc}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjjhhhj|hMDubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjfhhhj|hMDubah}(h]jaah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj|hMDhjchhubjc)}(hhh]h)}(hwrite padding spaces to bufferh]hwrite padding spaces to buffer}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMDhj^hhubah}(h]h ]h"]h$]h&]uh1jbhjchhhj|hMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjRhNhNubj)}(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.chMHhj}ubj)}(hhh](j)}(hW``struct seq_file *m`` seq_file identifying the buffer to which data should be written h](j)}(h``struct seq_file *m``h]j)}(hjh]hstruct seq_file *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMEhjubj)}(hhh]h)}(h?seq_file identifying the buffer to which data should be writtenh]h?seq_file identifying the buffer to which data should be written}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubj)}(h7``char c`` the byte to append after padding if non-zeroh](j)}(h ``char c``h]j)}(hjh]hchar c}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMGhjubj)}(hhh]h)}(h,the byte to append after padding if non-zeroh]h,the byte to append after padding if non-zero}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubeh}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_start (C function)c.seq_hlist_starthNtauh1hhjRhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjBhMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j ]j)}jseq_hlist_startsbc.seq_hlist_startasbuh1hhj1hhhjBhMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjBhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhjBhMubj/)}(hseq_hlist_starth]j5)}(hjrh]hseq_hlist_start}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhjBhMubj;)}(h%(struct hlist_head *head, loff_t pos)h](jA)}(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 ]jpc.seq_hlist_startasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j ]jpc.seq_hlist_startasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hposh]hpos}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj1hhhjBhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhjBhMubah}(h]j(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjBhMhj*hhubjc)}(hhh]h)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjuhhubah}(h]h ]h"]h$]h&]uh1jbhj*hhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(h**Parameters** ``struct hlist_head *head`` the head of the hlist ``loff_t pos`` the start position of the sequence **Description** Called at seq_file->op->start().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjh]hstruct hlist_head *head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjh]h loff_t pos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj-h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hjChhhNhNubah}(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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!seq_hlist_start_head (C function)c.seq_hlist_start_headhNtauh1hhjRhhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnhhhjhMubh)}(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_headasbuh1hhjnhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhjhMubj/)}(hseq_hlist_start_headh]j5)}(hjh]hseq_hlist_start_head}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjnhhhjhMubj;)}(h%(struct hlist_head *head, loff_t pos)h](jA)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]jc.seq_hlist_start_headasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hheadh]hhead}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 reftargetjamodnameN classnameNjj)}j ]jc.seq_hlist_start_headasbuh1hhjXubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj5)}(hposh]hpos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjnhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjjhhhjhMubah}(h]jeah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjghhubjc)}(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&]uh1jbhjghhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hj/h]h loff_t pos}(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)}(h"the start position of the sequenceh]h"the start position of the sequence}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_next (C function)c.seq_hlist_nexthNtauh1hhjRhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj/)}(hseq_hlist_nexth]j5)}(hjh]hseq_hlist_next}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](jA)}(hvoid *vh](jd)}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj%ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj5)}(hvh]hv}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj!ubjA)}(hstruct hlist_head *headh](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 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_nextasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj!ubjA)}(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.seq_hlist_nextasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj!ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(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}(hjAhhhNhNubah}(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&]jjjjYjjYjjjuh1hhhhjRhNhNubj)}(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)}(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:62: ./fs/seq_file.chMhj]ubj)}(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.chMhj|ubj)}(hhh]h)}(hthe current iteratorh]hthe current iterator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubj)}(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&]uh1jhjhMhjyubj)}(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.chMhjubj)}(hhh]h)}(hthe current positionh]hthe current position}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubh)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj]ubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hjEhhhNhNubah}(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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h seq_hlist_start_rcu (C function)c.seq_hlist_start_rcuhNtauh1hhjRhhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjhMubh)}(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_rcuasbuh1hhjphhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhjhMubj/)}(hseq_hlist_start_rcuh]j5)}(hjh]hseq_hlist_start_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjphhhjhMubj;)}(h%(struct hlist_head *head, loff_t pos)h](jA)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.seq_hlist_start_rcuasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hheadh]hhead}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j ]jc.seq_hlist_start_rcuasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj5)}(hposh]hpos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjphhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlhhhjhMubah}(h]jgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjihhubjc)}(hhh]h)}(h.start an iteration of a hlist protected by RCUh]h.start an iteration of a hlist protected by RCU}(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&]uh1jbhjihhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hj1 h]h loff_t pos}(hj3 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}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjF hMhjG ubah}(h]h ]h"]h$]h&]uh1jhj+ ubeh}(h]h ]h"]h$]h&]uh1jhjF hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjl h]h Description}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%seq_hlist_start_head_rcu (C function)c.seq_hlist_start_head_rcuhNtauh1hhjRhhhNhNubh)}(hhh](j)}(hRstruct hlist_node * seq_hlist_start_head_rcu (struct hlist_head *head, loff_t pos)h]j)}(hPstruct hlist_node *seq_hlist_start_head_rcu(struct hlist_head *head, loff_t pos)h](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j)}jseq_hlist_start_head_rcusbc.seq_hlist_start_head_rcuasbuh1hhj hhhj hMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj hMubj/)}(hseq_hlist_start_head_rcuh]j5)}(hj h]hseq_hlist_start_head_rcu}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubj;)}(h%(struct hlist_head *head, loff_t pos)h](jA)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hj: hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6 ubj)}(h h]h }(hjG hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6 ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjX hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjU ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZ modnameN classnameNjj)}j ]j c.seq_hlist_start_head_rcuasbuh1hhj6 ubj)}(h h]h }(hjv hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6 ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6 ubj5)}(hheadh]hhead}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6 ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj2 ubjA)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j c.seq_hlist_start_head_rcuasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hposh]hpos}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj2 ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhj hhubjc)}(hhh]h)}(h.start an iteration of a hlist protected by RCUh]h.start an iteration of a hlist protected by RCU}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct hlist_head *head`` the head of the hlist ``loff_t pos`` the start position of the sequence **Description** Called at seq_file->op->start(). Call this function if you want to print a header at the top of the output. This list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h](h)}(h**Parameters**h]j)}(hj% h]h Parameters}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj# ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj ubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjD h]hstruct hlist_head *head}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB 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&]uh1hhjY hMhjZ ubah}(h]h ]h"]h$]h&]uh1jhj> ubeh}(h]h ]h"]h$]h&]uh1jhjY 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.chMhjw 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&]uh1jhjw 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)}(hkCalled at seq_file->op->start(). Call this function if you want to print a header at the top of the output.h]hkCalled at seq_file->op->start(). Call this function if you want to print a header at the top of the output.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj ubh)}(hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h]hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_next_rcu (C function)c.seq_hlist_next_rcuhNtauh1hhjRhhhNhNubh)}(hhh](j)}(hWstruct hlist_node * seq_hlist_next_rcu (void *v, struct hlist_head *head, loff_t *ppos)h]j)}(hUstruct hlist_node *seq_hlist_next_rcu(void *v, struct hlist_head *head, loff_t *ppos)h](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM%ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hM%ubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hj+ hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj( ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj- modnameN classnameNjj)}j ]j)}jseq_hlist_next_rcusbc.seq_hlist_next_rcuasbuh1hhj hhhj hM%ubj)}(h h]h }(hjL hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hM%ubj)}(hjh]h*}(hjZ hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj hM%ubj/)}(hseq_hlist_next_rcuh]j5)}(hjI h]hseq_hlist_next_rcu}(hjk hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjg ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hM%ubj;)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](jA)}(hvoid *vh](jd)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hjTh]hv}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj~ ubjA)}(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 ]jG c.seq_hlist_next_rcuasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hheadh]hhead}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj~ ubjA)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj: hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7 ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj< modnameN classnameNjj)}j ]jG c.seq_hlist_next_rcuasbuh1hhj3 ubj)}(h h]h }(hjX hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3 ubj)}(hjh]h*}(hjf hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3 ubj5)}(hpposh]hppos}(hjs hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3 ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj~ ubeh}(h]h ]h"]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)}(h7move to the next position of the hlist protected by RCUh]h7move to the next position of the hlist protected by RCU}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM%hj hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjRhNhNubj)}(hXy**Parameters** ``void *v`` the current iterator ``struct hlist_head *head`` the head of the hlist ``loff_t *ppos`` the current position **Description** Called at seq_file->op->next(). This list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM)hj ubj)}(hhh](j)}(h!``void *v`` the current iterator h](j)}(h ``void *v``h]j)}(hj h]hvoid *v}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM&hj ubj)}(hhh]h)}(hthe current iteratorh]hthe current iterator}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM&hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM&hj ubj)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(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.chM'hjubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hM'hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM'hj ubj)}(h&``loff_t *ppos`` the current position h](j)}(h``loff_t *ppos``h]j)}(hjPh]h loff_t *ppos}(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.chM(hjJubj)}(hhh]h)}(hthe current positionh]hthe current position}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehM(hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM*hj ubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM)hj ubh)}(hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h]hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM+hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#seq_hlist_start_percpu (C function)c.seq_hlist_start_percpuhNtauh1hhjRhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM?ubh)}(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_percpusbc.seq_hlist_start_percpuasbuh1hhjhhhjhM?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM?ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM?ubj/)}(hseq_hlist_start_percpuh]j5)}(hjh]hseq_hlist_start_percpu}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM?ubj;)}(h8(struct hlist_head __percpu *head, int *cpu, loff_t pos)h](jA)}(h struct hlist_head __percpu *headh](j )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j ]jc.seq_hlist_start_percpuasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubh__percpu}(hjUhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjQubjA)}(hint *cpuh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hcpuh]hcpu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjQubjA)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj)}j ]jc.seq_hlist_start_percpuasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hposh]hpos}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjQubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM?ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM?ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM?hjhhubjc)}(hhh]h)}(h*start an iteration of a percpu hlist arrayh]h*start an iteration of a percpu hlist array}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM?hjshhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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.chMAhjubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h*``loff_t pos`` start position of sequence h](j)}(h``loff_t pos``h]j)}(hj)h]h loff_t pos}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMBhj#ubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMBhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMBhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]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().}(hjzhhhNhNubah}(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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"seq_hlist_next_percpu (C function)c.seq_hlist_next_percpuhNtauh1hhjRhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMVubj/)}(hseq_hlist_next_percpuh]j5)}(hjh]hseq_hlist_next_percpu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMVubj;)}(hB(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)h](jA)}(hvoid *vh](jd)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hjTh]hv}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h struct hlist_head __percpu *headh](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 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_next_percpuasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubh__percpu}(hj`hhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hint *cpuh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hcpuh]hcpu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_next_percpuasbuh1hhj$ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj5)}(hposh]hpos}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMVubeh}(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&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(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}(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.chMXhjubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h%``int *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hjAh]hint *cpu}(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.chMYhj;ubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMYhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMYhjubj)}(h+``loff_t *pos`` start position of 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.chMZhjtubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h register_filesystem (C function)c.register_filesystemhNtauh1hhjRhhhNhNubh)}(hhh](j)}(h6int register_filesystem (struct file_system_type * fs)h]j)}(h4int register_filesystem(struct file_system_type *fs)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhX/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)}(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.chK@hjubj)}(hhh]j)}(h;``struct file_system_type * fs`` the file system structure 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.chK=hjubj)}(hhh]h)}(hthe file system structureh]hthe file system structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK=hjubah}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK?hjubj)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK>hjLubh)}(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 }(hj_hhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hjih]hstruct file_system_type}(hjkhhhNhNubah}(h]h ](j jc-typeeh"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjjfile_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKBhj_ubhw that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKBhjLubeh}(h]h ]h"]h$]h&]uh1jhj^hK>hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"unregister_filesystem (C function)c.unregister_filesystemhNtauh1hhjRhhhNhNubh)}(hhh](j)}(h8int unregister_filesystem (struct file_system_type * fs)h]j)}(h6int unregister_filesystem(struct file_system_type *fs)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhX/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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKaubj;)}(h(struct file_system_type *fs)h]jA)}(hstruct file_system_type *fsh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfile_system_typeh]hfile_system_type}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.unregister_filesystemasbuh1hhjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfsh]hfs}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhKaubeh}(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}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKahjthhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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.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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKchj ubh)}(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 }(hjhhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hj&h]hstruct file_system_type}(hj(hhhNhNubah}(h]h ](j jc-typeeh"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjjfile_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKghjubh" structure may be freed or reused.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjChKghj ubeh}(h]h ]h"]h$]h&]uh1jhjhKchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(wbc_attach_fdatawrite_inode (C function)c.wbc_attach_fdatawrite_inodehNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjphhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjhMubj/)}(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.hjphhhjhMubj;)}(h4(struct writeback_control *wbc, struct inode *inode)h](jA)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hwbch]hwbc}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j ]jc.wbc_attach_fdatawrite_inodeasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjphhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlhhhjhMubah}(h]jgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjihhubjc)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjihhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chMhjubj)}(hhh](j)}(h@``struct writeback_control *wbc`` writeback_control of interest 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)}(hwriteback_control of interesth]hwriteback_control of interest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``struct inode *inode`` target inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hj hhhNhNubah}(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 target inodeh]h target inode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubeh}(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&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjubh)}(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 }(hjohhhNhNubj)}(h **inode**h]hinode}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh7 is associated with a bdi_writeback and attaches it to }(hjohhhNhNubj)}(h**wbc**h]hwbc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hwbc_detach_inode (C function)c.wbc_detach_inodehNtauh1hhjRhhhNhNubh)}(hhh](j)}(h5void wbc_detach_inode (struct writeback_control *wbc)h]j)}(h4void wbc_detach_inode(struct writeback_control *wbc)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhY/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_detach_inodeh]j5)}(hwbc_detach_inodeh]hwbc_detach_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h(struct writeback_control *wbc)h]jA)}(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_detach_inodeasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hwbch]hwbc}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chMhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjubj)}(hhh]h)}(h0writeback_control of the just finished writebackh]h0writeback_control of the just finished writeback}(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&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjubh)}(hXLAs concurrent write sharing of an inode is expected to be very rare and memcg only tracks page ownership on first-use basis severely confining the usefulness of such sharing, cgroup writeback tracks ownership per-inode. While the support for concurrent write sharing of an inode is deemed unnecessary, an inode being written to by different cgroups at different points in time is a lot more common, and, more importantly, charging only by first-use can too readily lead to grossly incorrect behaviors (single foreign page can lead to gigabytes of writeback to be incorrectly attributed).h]hXLAs concurrent write sharing of an inode is expected to be very rare and memcg only tracks page ownership on first-use basis severely confining the usefulness of such sharing, cgroup writeback tracks ownership per-inode. While the support for concurrent write sharing of an inode is deemed unnecessary, an inode being written to by different cgroups at different points in time is a lot more common, and, more importantly, charging only by first-use can too readily lead to grossly incorrect behaviors (single foreign page can lead to gigabytes of writeback to be incorrectly attributed).}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjubh)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjubh)}(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, }(hjAhhhNhNubj)}(h**wbc**h]hwbc}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubhX 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.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM&hjubh)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM/hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%wbc_account_cgroup_owner (C function)c.wbc_account_cgroup_ownerhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhY/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](jA)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(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_account_cgroup_ownerasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hwbch]hwbc}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct folio *folioh](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)}(hfolioh]hfolio}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj)}j ]jc.wbc_account_cgroup_ownerasbuh1hhj<ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 ]jc.wbc_account_cgroup_ownerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hbytesh]hbytes}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct writeback_control *wbc`` writeback_control of the writeback in progress ``struct folio *folio`` folio being written out ``size_t bytes`` number of bytes being written out **Description** **bytes** from **folio** are about to written out during the writeback controlled by **wbc**. Keep the book for foreign inode detection. See wbc_detach_inode().h](h)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhj%ubj)}(hhh](j)}(hQ``struct writeback_control *wbc`` writeback_control of the writeback in progress h](j)}(h!``struct writeback_control *wbc``h]j)}(hjJh]hstruct writeback_control *wbc}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjDubj)}(hhh]h)}(h.writeback_control of the writeback in progressh]h.writeback_control of the writeback in progress}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(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.chMhj}ubj)}(hhh]h)}(hfolio being written outh]hfolio being written out}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(h3``size_t bytes`` number of bytes being written out h](j)}(h``size_t bytes``h]j)}(hjh]h size_t bytes}(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!number of bytes being written outh]h!number of bytes being written out}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubeh}(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.chMhj%ubh)}(h**bytes** from **folio** are about to written out during the writeback controlled by **wbc**. Keep the book for foreign inode detection. See wbc_detach_inode().h](j)}(h **bytes**h]hbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh from }(hj hhhNhNubj)}(h **folio**h]hfolio}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh= are about to written out during the writeback controlled by }(hj hhhNhNubj)}(h**wbc**h]hwbc}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhF. Keep the book for foreign inode detection. See wbc_detach_inode().}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mark_inode_dirty (C function)c.__mark_inode_dirtyhNtauh1hhjRhhhNhNubh)}(hhh](j)}(h8void __mark_inode_dirty (struct inode *inode, int flags)h]j)}(h7void __mark_inode_dirty(struct inode *inode, int flags)h](jd)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjjhhhY/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&]uh1jhjjhhhj|hM ubj/)}(h__mark_inode_dirtyh]j5)}(h__mark_inode_dirtyh]h__mark_inode_dirty}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjjhhhj|hM ubj;)}(h (struct inode *inode, int flags)h](jA)}(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.__mark_inode_dirtyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int flagsh](jd)}(hinth]hint}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj ubj)}(h h]h }(hj+ hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hflagsh]hflags}(hj9 hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjjhhhj|hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjfhhhj|hM ubah}(h]jaah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj|hM hjchhubjc)}(hhh]h)}(h(internal function to mark an inode dirtyh]h(internal function to mark an inode dirty}(hjc 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&]uh1jbhjchhhj|hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{ jj{ jjjuh1hhhhjRhNhNubj)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hj ubeh}(h]h ]h"]h$]h&]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)}(hMark an inode as dirty. We notify the filesystem, then update the inode's dirty flags. Then, if needed we add the inode to the appropriate dirty list.h]hMark an inode as dirty. We notify the filesystem, then update the inode’s dirty flags. Then, if needed we add the inode to the appropriate dirty list.}(hj/!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM 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.}(hjM!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.}(hjk!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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#writeback_inodes_sb_nr (C function)c.writeback_inodes_sb_nrhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj!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](jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j ]j)}jj!sbc.writeback_inodes_sb_nrasbuh1hhj!ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj)}(hjh]h*}(hj#"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj5)}(hsbh]hsb}(hj0"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj!ubjA)}(hunsigned long nrh](jd)}(hunsignedh]hunsigned}(hjI"hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjE"ubj)}(h h]h }(hjW"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjE"ubjd)}(hlongh]hlong}(hje"hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjE"ubj)}(h h]h }(hjs"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjE"ubj5)}(hnrh]hnr}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjE"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj!ubjA)}(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&]noemphjLjMuh1j@hj!ubeh}(h]h ]h"]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)}(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&#jjjuh1hhhhjRhNhNubj)}(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)}(hj0#h]h Parameters}(hj2#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)}(hjO#h]hstruct super_block *sb}(hjQ#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM#ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjI#ubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjh#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjd#hM hje#ubah}(h]h ]h"]h$]h&]uh1jhjI#ubeh}(h]h ]h"]h$]h&]uh1jhjd#hM hjF#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 hjF#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 hjF#ubeh}(h]h ]h"]h$]h&]uh1jhj*#ubh)}(h**Description**h]j)}(hj#h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj*#ubh)}(hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.h]hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.}(hj$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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h writeback_inodes_sb (C function)c.writeback_inodes_sbhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjA$hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj=$hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hjP$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=$hhhjO$hM ubj/)}(hwriteback_inodes_sbh]j5)}(hwriteback_inodes_sbh]hwriteback_inodes_sb}(hjb$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^$ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj=$hhhjO$hM ubj;)}(h/(struct super_block *sb, enum wb_reason reason)h](jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj~$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjz$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjz$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)}jjd$sbc.writeback_inodes_sbasbuh1hhjz$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjz$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz$ubj5)}(hsbh]hsb}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjz$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjv$ubjA)}(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_sbasbuh1hhj$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&]noemphjLjMuh1j@hjv$ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj=$hhhjO$hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj9$hhhjO$hM ubah}(h]j4$ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjO$hM hj6$hhubjc)}(hhh]h)}(h-writeback dirty inodes from given super_blockh]h-writeback dirty inodes from given super_block}(hjd%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hja%hhubah}(h]h ]h"]h$]h&]uh1jbhj6$hhhjO$hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|%jj|%jjjuh1hhhhjRhNhNubj)}(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}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hM hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM hj%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubh)}(h**Description**h]j)}(hj&h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj%ubh)}(hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.h]hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.}(hj/&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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'try_to_writeback_inodes_sb (C function)c.try_to_writeback_inodes_sbhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj^&hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjZ&hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hjm&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZ&hhhjl&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.hjZ&hhhjl&hM ubj;)}(h/(struct super_block *sb, enum wb_reason reason)h](jA)}(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)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj5)}(hsbh]hsb}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj&ubjA)}(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.try_to_writeback_inodes_sbasbuh1hhj 'ubj)}(h h]h }(hjI'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 'ubj5)}(hreasonh]hreason}(hjW'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj 'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj&ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjZ&hhhjl&hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjV&hhhjl&hM ubah}(h]jQ&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjl&hM hjS&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&]uh1jbhjS&hhhjl&hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjRhNhNubj)}(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)}(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}(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)}(hj6(h]h Description}(hj8(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4(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.}(hjL(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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsync_inodes_sb (C function)c.sync_inodes_sbhNtauh1hhjRhhhNhNubh)}(hhh](j)}(h,void sync_inodes_sb (struct super_block *sb)h]j)}(h+void sync_inodes_sb(struct super_block *sb)h](jd)}(hvoidh]hvoid}(hj{(hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjw(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&]uh1jhjw(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.hjw(hhhj(hM ubj;)}(h(struct super_block *sb)h]jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj)}j ]j)}jj(sbc.sync_inodes_sbasbuh1hhj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj)}(hjh]h*}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj5)}(hsbh]hsb}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj(ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjw(hhhj(hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjs(hhhj(hM ubah}(h]jn(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj(hM hjp(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 hj8)hhubah}(h]h ]h"]h$]h&]uh1jbhjp(hhhj(hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjS)jjS)jjjuh1hhhhjRhNhNubj)}(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 hjW)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&]uh1jhjz)ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjv)ubj)}(hhh]h)}(hthe superblockh]hthe superblock}(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 hjs)ubah}(h]h ]h"]h$]h&]uh1jhjW)ubh)}(h**Description**h]j)}(hj)h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjW)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 hjW)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hwrite_inode_now (C function)c.write_inode_nowhNtauh1hhjRhhhNhNubh)}(hhh](j)}(h3int write_inode_now (struct inode *inode, int sync)h]j)}(h2int write_inode_now(struct inode *inode, int sync)h](jd)}(hinth]hint}(hj)hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj)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/)}(hwrite_inode_nowh]j5)}(hwrite_inode_nowh]hwrite_inode_now}(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 sync)h](jA)}(hstruct inode *inodeh](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)}(hinodeh]hinode}(hjW*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjT*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY*modnameN classnameNjj)}j ]j)}jj*sbc.write_inode_nowasbuh1hhj5*ubj)}(h h]h }(hjw*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5*ubj)}(hjh]h*}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5*ubj5)}(hinodeh]hinode}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj1*ubjA)}(hint synch](jd)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj*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&]noemphjLjMuh1j@hj1*ubeh}(h]h ]h"]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)}(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 hj*hhubah}(h]h ]h"]h$]h&]uh1jbhj)hhhj *hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj +jj +jjjuh1hhhhjRhNhNubj)}(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.chM hj +ubj)}(hhh](j)}(h/``struct inode *inode`` inode to write to disk h](j)}(h``struct inode *inode``h]j)}(hj2+h]hstruct inode *inode}(hj4+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0+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)}(hinode to write to diskh]hinode to write to disk}(hjK+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjG+hM hjH+ubah}(h]h ]h"]h$]h&]uh1jhj,+ubeh}(h]h ]h"]h$]h&]uh1jhjG+hM hj)+ubj)}(h<``int sync`` whether the write should be synchronous or not h](j)}(h ``int sync``h]j)}(hjk+h]hint sync}(hjm+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji+ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hje+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+hM hj+ubah}(h]h ]h"]h$]h&]uh1jhje+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)}(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.chM hj +ubh)}(hLThe caller must either have a ref on the inode or must have set I_WILL_FREE.h]hLThe caller must either have a ref on the inode or must have set I_WILL_FREE.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj +ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sync_inode_metadata (C function)c.sync_inode_metadatahNtauh1hhjRhhhNhNubh)}(hhh](j)}(h7int sync_inode_metadata (struct inode *inode, int wait)h]j)}(h6int sync_inode_metadata(struct inode *inode, int wait)h](jd)}(hinth]hint}(hj+hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj+hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM4 ubj)}(h h]h }(hj ,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+hhhj,hM4 ubj/)}(hsync_inode_metadatah]j5)}(hsync_inode_metadatah]hsync_inode_metadata}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj+hhhj,hM4 ubj;)}(h(struct inode *inode, int wait)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj7,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3,ubj)}(h h]h }(hjD,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3,ubh)}(hhh]j5)}(hinodeh]hinode}(hjU,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjR,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjW,modnameN classnameNjj)}j ]j)}jj,sbc.sync_inode_metadataasbuh1hhj3,ubj)}(h h]h }(hju,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3,ubj)}(hjh]h*}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3,ubj5)}(hinodeh]hinode}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/,ubjA)}(hint waith](jd)}(hinth]hint}(hj,hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj,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&]noemphjLjMuh1j@hj/,ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj+hhhj,hM4 ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj+hhhj,hM4 ubah}(h]j+ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj,hM4 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.chM4 hj,hhubah}(h]h ]h"]h$]h&]uh1jbhj+hhhj,hM4 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjRhNhNubj)}(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&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM8 hj -ubj)}(hhh](j)}(h*``struct inode *inode`` the inode to sync h](j)}(h``struct inode *inode``h]j)}(hj0-h]hstruct inode *inode}(hj2-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.chM5 hj*-ubj)}(hhh]h)}(hthe inode to synch]hthe inode to sync}(hjI-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjE-hM5 hjF-ubah}(h]h ]h"]h$]h&]uh1jhj*-ubeh}(h]h ]h"]h$]h&]uh1jhjE-hM5 hj'-ubj)}(h'``int wait`` wait for I/O to complete. h](j)}(h ``int wait``h]j)}(hji-h]hint wait}(hjk-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg-ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM6 hjc-ubj)}(hhh]h)}(hwait for I/O to complete.h]hwait for I/O to complete.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~-hM6 hj-ubah}(h]h ]h"]h$]h&]uh1jhjc-ubeh}(h]h ]h"]h$]h&]uh1jhj~-hM6 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.chM8 hj -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.chM7 hj -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.chM9 hj -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.chM: hj -ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hanon_inode_getfile (C function)c.anon_inode_getfilehNtauh1hhjRhhhNhNubh)}(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 hj .hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj .hhhj.hKubh)}(hhh]j5)}(hfileh]hfile}(hj/.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1.modnameN classnameNjj)}j ]j)}janon_inode_getfilesbc.anon_inode_getfileasbuh1hhj .hhhj.hKubj)}(h h]h }(hjP.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj .hhhj.hKubj)}(hjh]h*}(hj^.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj .hhhj.hKubj/)}(hanon_inode_getfileh]j5)}(hjM.h]hanon_inode_getfile}(hjo.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjk.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj .hhhj.hKubj;)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubjd)}(hcharh]hchar}(hj.hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj)}(hjh]h*}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj5)}(hnameh]hname}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj.ubjA)}(h"const struct file_operations *fopsh](j )}(hjh]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 ]jK.c.anon_inode_getfileasbuh1hhj.ubj)}(h h]h }(hj>/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj)}(hjh]h*}(hjL/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj5)}(hfopsh]hfops}(hjY/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj.ubjA)}(h void *privh](jd)}(hvoidh]hvoid}(hjr/hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjn/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjn/ubj)}(hjh]h*}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn/ubj5)}(hprivh]hpriv}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjn/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj.ubjA)}(h int flagsh](jd)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj/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&]noemphjLjMuh1j@hj.ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj .hhhj.hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj.hhhj.hKubah}(h]j.ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj.hKhj.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}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj/hhubah}(h]h ]h"]h$]h&]uh1jbhj.hhhj.hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjRhNhNubj)}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj0ubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hj;0h]hconst char *name}(hj=0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj90ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj50ubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hjT0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP0hKhjQ0ubah}(h]h ]h"]h$]h&]uh1jhj50ubeh}(h]h ]h"]h$]h&]uh1jhjP0hKhj20ubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjt0h]h"const struct file_operations *fops}(hjv0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr0ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjn0ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hKhj0ubah}(h]h ]h"]h$]h&]uh1jhjn0ubeh}(h]h ]h"]h$]h&]uh1jhj0hKhj20ubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hj0h]h void *priv}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj0ubj)}(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)}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hKhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hKhj20ubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hj0h]h int flags}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj0ubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hKhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hKhj20ubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h**Description**h]j)}(hj!1h]h Description}(hj#1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj0ubh)}(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.}(hj71hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%anon_inode_getfile_fmode (C function)c.anon_inode_getfile_fmodehNtauh1hhjRhhhNhNubh)}(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}(hjf1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb1hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKubj)}(h h]h }(hjt1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb1hhhjs1hKubh)}(hhh]j5)}(hfileh]hfile}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj)}j ]j)}janon_inode_getfile_fmodesbc.anon_inode_getfile_fmodeasbuh1hhjb1hhhjs1hKubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb1hhhjs1hKubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb1hhhjs1hKubj/)}(hanon_inode_getfile_fmodeh]j5)}(hj1h]hanon_inode_getfile_fmode}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjb1hhhjs1hKubj;)}(h](const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubjd)}(hcharh]hchar}(hj1hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj1ubj)}(h h]h }(hj 2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj5)}(hnameh]hname}(hj$2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj1ubjA)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hj=2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj92ubj)}(h h]h }(hjJ2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj92ubj )}(hjzh]hstruct}(hjX2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj92ubj)}(h h]h }(hje2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj92ubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjv2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjs2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx2modnameN classnameNjj)}j ]j1c.anon_inode_getfile_fmodeasbuh1hhj92ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj92ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj92ubj5)}(hfopsh]hfops}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj92ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj1ubjA)}(h void *privh](jd)}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj5)}(hprivh]hpriv}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj1ubjA)}(h int flagsh](jd)}(hinth]hint}(hj 3hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj5)}(hflagsh]hflags}(hj&3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj1ubjA)}(hfmode_t f_modeh](h)}(hhh]j5)}(hfmode_th]hfmode_t}(hjB3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD3modnameN classnameNjj)}j ]j1c.anon_inode_getfile_fmodeasbuh1hhj;3ubj)}(h h]h }(hj`3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;3ubj5)}(hf_modeh]hf_mode}(hjn3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj1ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjb1hhhjs1hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^1hhhjs1hKubah}(h]jY1ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjs1hKhj[1hhubjc)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj3hhubah}(h]h ]h"]h$]h&]uh1jbhj[1hhhjs1hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjRhNhNubj)}(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)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj3ubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hj3h]hconst char *name}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj3ubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hKhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hKhj3ubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hj4h]h"const struct file_operations *fops}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj 4ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hj+4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'4hKhj(4ubah}(h]h ]h"]h$]h&]uh1jhj 4ubeh}(h]h ]h"]h$]h&]uh1jhj'4hKhj3ubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hjK4h]h void *priv}(hjM4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI4ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjE4ubj)}(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)}(hjd4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`4hKhja4ubah}(h]h ]h"]h$]h&]uh1jhjE4ubeh}(h]h ]h"]h$]h&]uh1jhj`4hKhj3ubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hj4h]h int flags}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj~4ubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hKhj4ubah}(h]h ]h"]h$]h&]uh1jhj~4ubeh}(h]h ]h"]h$]h&]uh1jhj4hKhj3ubj)}(h!``fmode_t f_mode`` [in] fmode h](j)}(h``fmode_t f_mode``h]j)}(hj4h]hfmode_t f_mode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj4ubj)}(hhh]h)}(h [in] fmodeh]h [in] fmode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hKhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hKhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj3ubh)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&anon_inode_create_getfile (C function)c.anon_inode_create_getfilehNtauh1hhjRhhhNhNubh)}(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}(hj=5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj95hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKubj)}(h h]h }(hjK5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj95hhhjJ5hKubh)}(hhh]j5)}(hfileh]hfile}(hj\5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjY5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^5modnameN classnameNjj)}j ]j)}janon_inode_create_getfilesbc.anon_inode_create_getfileasbuh1hhj95hhhjJ5hKubj)}(h h]h }(hj}5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj95hhhjJ5hKubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj95hhhjJ5hKubj/)}(hanon_inode_create_getfileh]j5)}(hjz5h]hanon_inode_create_getfile}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj95hhhjJ5hKubj;)}(hp(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubjd)}(hcharh]hchar}(hj5hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj5)}(hnameh]hname}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj5ubjA)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj!6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj )}(hjzh]hstruct}(hj/6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj<6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjM6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJ6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjO6modnameN classnameNjj)}j ]jx5c.anon_inode_create_getfileasbuh1hhj6ubj)}(h h]h }(hjk6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj)}(hjh]h*}(hjy6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj5)}(hfopsh]hfops}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj5ubjA)}(h void *privh](jd)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj5)}(hprivh]hpriv}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj5ubjA)}(h int flagsh](jd)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj5)}(hflagsh]hflags}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj5ubjA)}(h!const struct inode *context_inodeh](j )}(hjh]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hj#7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj )}(hjzh]hstruct}(hj17hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hj>7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(hinodeh]hinode}(hjO7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjL7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQ7modnameN classnameNjj)}j ]jx5c.anon_inode_create_getfileasbuh1hhj7ubj)}(h h]h }(hjm7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj)}(hjh]h*}(hj{7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj5)}(h context_inodeh]h context_inode}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj5ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj95hhhjJ5hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj55hhhjJ5hKubah}(h]j05ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJ5hKhj25hhubjc)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj7hhubah}(h]h ]h"]h$]h&]uh1jbhj25hhhjJ5hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjRhNhNubj)}(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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj7ubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hj7h]hconst char *name}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj7ubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj 8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hKhj 8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhj7ubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hj,8h]h"const struct file_operations *fops}(hj.8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj&8ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjE8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjA8hKhjB8ubah}(h]h ]h"]h$]h&]uh1jhj&8ubeh}(h]h ]h"]h$]h&]uh1jhjA8hKhj7ubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hje8h]h void *priv}(hjg8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj_8ubj)}(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~8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjz8hKhj{8ubah}(h]h ]h"]h$]h&]uh1jhj_8ubeh}(h]h ]h"]h$]h&]uh1jhjz8hKhj7ubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hj8h]h int flags}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj8ubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hKhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhj7ubj)}(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)}(hj8h]h!const struct inode *context_inode}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj8ubj)}(hhh]h)}(h>[in] the logical relationship with the new inode (optional)h]h>[in] the logical relationship with the new inode (optional)}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hKhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj7ubh)}(hNCreate a new anonymous inode and file pair. This can be done for two reasons:h]hNCreate a new anonymous inode and file pair. This can be done for two reasons:}(hj(9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj7ubjo-)}(hhh](jt-)}(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>9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj:9ubah}(h]h ]h"]h$]h&]uh1js-hj79ubjt-)}(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()}(hjW9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chMhjS9ubah}(h]h ]h"]h$]h&]uh1js-hj79ubeh}(h]h ]h"]h$]h&]j-jJ"uh1jn-hjL9hKhj7ubh)}(hcThe LSM may use **context_inode** in inode_init_security_anon(), but a reference to it is not held.h](hThe LSM may use }(hjr9hhhNhNubj)}(h**context_inode**h]h context_inode}(hjz9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr9ubhB in inode_init_security_anon(), but a reference to it is not held.}(hjr9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chMhj7ubh)}(h4Returns the newly created file* or an error pointer.h]h4Returns the newly created file* or an error pointer.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hanon_inode_getfd (C function)c.anon_inode_getfdhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj9hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM3ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9hhhj9hM3ubj/)}(hanon_inode_getfdh]j5)}(hanon_inode_getfdh]hanon_inode_getfd}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj9hhhj9hM3ubj;)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(h h]h }(hj :hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubjd)}(hcharh]hchar}(hj:hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj9ubj)}(h h]h }(hj(:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj)}(hjh]h*}(hj6:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj5)}(hnameh]hname}(hjC:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj9ubjA)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hj\:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX:ubj)}(h h]h }(hji:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjX:ubj )}(hjzh]hstruct}(hjw:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjX: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)}jj9sbc.anon_inode_getfdasbuh1hhjX:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjX:ubj)}(hjh]h*}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX:ubj5)}(hfopsh]hfops}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjX:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj9ubjA)}(h void *privh](jd)}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj5)}(hprivh]hpriv}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj9ubjA)}(h int flagsh](jd)}(hinth]hint}(hj+;hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj';ubj)}(h h]h }(hj9;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj';ubj5)}(hflagsh]hflags}(hjG;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj';ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj9ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj9hhhj9hM3ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj9hhhj9hM3ubah}(h]j9ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9hM3hj9hhubjc)}(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}(hjq;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM3hjn;hhubah}(h]h ]h"]h$]h&]uh1jbhj9hhhj9hM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjRhNhNubj)}(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)}(hj;h]h"const struct file_operations *fops}(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.chM8hj;ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hM8hj<ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj<hM8hj;ubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hj$<h]h void *priv}(hj&<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"<ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM9hj<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&]uh1hhj9<hM9hj:<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj9<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:hjW<ubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjv<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjr<hM:hjs<ubah}(h]h ]h"]h$]h&]uh1jhjW<ubeh}(h]h ]h"]h$]h&]uh1jhjr<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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%setattr_should_drop_sgid (C function)c.setattr_should_drop_sgidhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj<hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<hhhj<hKubj/)}(hsetattr_should_drop_sgidh]j5)}(hsetattr_should_drop_sgidh]hsetattr_should_drop_sgid}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj<hhhj<hKubj;)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](jA)}(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}(hj8=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:=modnameN classnameNjj)}j ]j)}jj=sbc.setattr_should_drop_sgidasbuh1hhj=ubj)}(h h]h }(hjX=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubj)}(hjh]h*}(hjf=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj5)}(hidmaph]hidmap}(hjs=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj=ubjA)}(hconst struct inode *inodeh](j )}(hjh]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 ]jT=c.setattr_should_drop_sgidasbuh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj5)}(hinodeh]hinode}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj=ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj<hhhj<hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj<hhhj<hKubah}(h]j<ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj<hKhj<hhubjc)}(hhh]h)}(h4determine whether the setgid bit needs to be removedh]h4determine whether the setgid bit needs to be removed}(hj(>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj%>hhubah}(h]h ]h"]h$]h&]uh1jbhj<hhhj<hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@>jj@>jjjuh1hhhhjRhNhNubj)}(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)}(hjJ>h]h Parameters}(hjL>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH>ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjD>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)}(hji>h]hstruct mnt_idmap *idmap}(hjk>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg>ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjc>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&]uh1jhjc>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&]uh1jhjD>ubh)}(h**Description**h]j)}(hj>h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjD>ubh)}(hXThis function determines whether the setgid bit needs to be removed. We retain backwards compatibility and require setgid bit to be removed unconditionally if S_IXGRP is set. Otherwise we have the exact same requirements as setattr_prepare() and setattr_copy().h]hXThis function determines whether the setgid bit needs to be removed. We retain backwards compatibility and require setgid bit to be removed unconditionally if S_IXGRP is set. Otherwise we have the exact same requirements as setattr_prepare() and setattr_copy().}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjD>ubh)}(h **Return**h]j)}(hj?h]hReturn}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjD>ubh)}(h>ATTR_KILL_SGID if setgid bit needs to be removed, 0 otherwise.h]h>ATTR_KILL_SGID if setgid bit needs to be removed, 0 otherwise.}(hj,?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjD>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(setattr_should_drop_suidgid (C function)c.setattr_should_drop_suidgidhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hj[?hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjW?hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK1ubj)}(h h]h }(hjj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW?hhhji?hK1ubj/)}(hsetattr_should_drop_suidgidh]j5)}(hsetattr_should_drop_suidgidh]hsetattr_should_drop_suidgid}(hj|?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjx?ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjW?hhhji?hK1ubj;)}(h.(struct mnt_idmap *idmap, struct inode *inode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j ]j)}jj~?sbc.setattr_should_drop_suidgidasbuh1hhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj5)}(hidmaph]hidmap}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj?ubjA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj @hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubh)}(hhh]j5)}(hinodeh]hinode}(hj(@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*@modnameN classnameNjj)}j ]j?c.setattr_should_drop_suidgidasbuh1hhj@ubj)}(h h]h }(hjF@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj)}(hjh]h*}(hjT@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj5)}(hinodeh]hinode}(hja@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj?ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjW?hhhji?hK1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjS?hhhji?hK1ubah}(h]jN?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhji?hK1hjP?hhubjc)}(hhh]h)}(h8determine whether the set{g,u}id bit needs to be droppedh]h8determine whether the set{g,u}id bit needs to be dropped}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK1hj@hhubah}(h]h ]h"]h$]h&]uh1jbhjP?hhhji?hK1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhjRhNhNubj)}(hX(**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``struct inode *inode`` inode to check **Description** This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned. **Return** A mask of ATTR_KILL_S{G,U}ID indicating which - if any - setid bits to remove, 0 otherwise.h](h)}(h**Parameters**h]j)}(hj@h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK5hj@ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj@h]hstruct mnt_idmap *idmap}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK3hj@ubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hj@hhhNhNubj)}(h **inode**h]hinode}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh was found from}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj@hK3hj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hK3hj@ubj)}(h'``struct inode *inode`` inode to check h](j)}(h``struct inode *inode``h]j)}(hjAh]hstruct inode *inode}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK4hjAubj)}(hhh]h)}(hinode to checkh]hinode to check}(hj0AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,AhK4hj-Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj,AhK4hj@ubeh}(h]h ]h"]h$]h&]uh1jhj@ubh)}(h**Description**h]j)}(hjRAh]h Description}(hjTAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPAubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK6hj@ubh)}(hX)This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned.h]hX)This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned.}(hjhAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK5hj@ubh)}(h **Return**h]j)}(hjyAh]hReturn}(hj{AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwAubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK;hj@ubh)}(h[A mask of ATTR_KILL_S{G,U}ID indicating which - if any - setid bits to remove, 0 otherwise.h]h[A mask of ATTR_KILL_S{G,U}ID indicating which - if any - setid bits to remove, 0 otherwise.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKsetattr implementations, possibly after taking additional locks.h](h)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Cubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjzCubj)}(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)}(hjCh]hstruct mnt_idmap *idmap}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjCubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChKhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChKhjCubj)}(h*``struct dentry *dentry`` dentry to check h](j)}(h``struct dentry *dentry``h]j)}(hjCh]hstruct dentry *dentry}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjCubj)}(hhh]h)}(hdentry to checkh]hdentry to check}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChKhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChKhjCubj)}(h,``struct iattr *attr`` attributes to change h](j)}(h``struct iattr *attr``h]j)}(hjDh]hstruct iattr *attr}(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.chKhj Dubj)}(hhh]h)}(hattributes to changeh]hattributes to change}(hj*DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&DhKhj'Dubah}(h]h ]h"]h$]h&]uh1jhj Dubeh}(h]h ]h"]h$]h&]uh1jhj&DhKhjCubeh}(h]h ]h"]h$]h&]uh1jhjzCubh)}(h**Description**h]j)}(hjLDh]h Description}(hjNDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJDubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjzCubh)}(hXeCheck if we are allowed to change the attributes contained in **attr** in the given dentry. This includes the normal unix access permission checks, as well as checks for rlimits and others. The function also clears SGID bit from mode if user is not allowed to set it. Also file capabilities and IMA extended attributes are cleared if ATTR_KILL_PRIV is set.h](h>Check if we are allowed to change the attributes contained in }(hjbDhhhNhNubj)}(h**attr**h]hattr}(hjjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbDubhX 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.}(hjbDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjzCubh)}(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 }(hjDhhhNhNubj)}(h **idmap**h]hidmap}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubhB. This function will then take care to map the inode according to }(hjDhhhNhNubj)}(h **idmap**h]hidmap}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjDhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjzCubh)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjzCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_newsize_ok (C function)c.inode_newsize_okhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjDhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDhhhjEhKubj/)}(hinode_newsize_okh]j5)}(hinode_newsize_okh]hinode_newsize_ok}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjDhhhjEhKubj;)}(h*(const struct inode *inode, loff_t offset)h](jA)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hj4EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0Eubj)}(h h]h }(hjAEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0Eubj )}(hjzh]hstruct}(hjOEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0Eubj)}(h h]h }(hj\EhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0Eubh)}(hhh]j5)}(hinodeh]hinode}(hjmEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjoEmodnameN classnameNjj)}j ]j)}jjEsbc.inode_newsize_okasbuh1hhj0Eubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0Eubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0Eubj5)}(hinodeh]hinode}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0Eubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj,EubjA)}(h loff_t offseth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j ]jEc.inode_newsize_okasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj5)}(hoffseth]hoffset}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj,Eubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjDhhhjEhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDhhhjEhKubah}(h]jDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjEhKhjDhhubjc)}(hhh]h)}(h+may this inode be truncated to a given sizeh]h+may this inode be truncated to a given size}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjFhhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhjEhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2Fjj2Fjjjuh1hhhhjRhNhNubj)}(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)}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Fubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj6Fubj)}(hhh](j)}(h8``const struct inode *inode`` the inode to be truncated h](j)}(h``const struct inode *inode``h]j)}(hj[Fh]hconst struct inode *inode}(hj]FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYFubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjUFubj)}(hhh]h)}(hthe inode to be truncatedh]hthe inode to be truncated}(hjtFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjpFhKhjqFubah}(h]h ]h"]h$]h&]uh1jhjUFubeh}(h]h ]h"]h$]h&]uh1jhjpFhKhjRFubj)}(h6``loff_t offset`` the new size to assign to the inode h](j)}(h``loff_t offset``h]j)}(hjFh]h loff_t offset}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjFubj)}(hhh]h)}(h#the new size to assign to the inodeh]h#the new size to assign to the inode}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhKhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhKhjRFubeh}(h]h ]h"]h$]h&]uh1jhj6Fubh)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj6Fubh)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj6Fubh)}(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. }(hjFhhhNhNubj)}(h **inode**h]hinode}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj6Fubh)}(h **Return**h]j)}(hjGh]hReturn}(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.chKhj6Fubh)}(h"0 on success, -ve errno on failureh]h"0 on success, -ve errno on failure}(hj-GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj6Fubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsetattr_copy (C function)c.setattr_copyhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj\GhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjXGhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM<ubj)}(h h]h }(hjkGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXGhhhjjGhM<ubj/)}(h setattr_copyh]j5)}(h setattr_copyh]h setattr_copy}(hj}GhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyGubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjXGhhhjjGhM<ubj;)}(hH(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j ]j)}jjGsbc.setattr_copyasbuh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj5)}(hidmaph]hidmap}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjGubjA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubh)}(hhh]j5)}(hinodeh]hinode}(hj)HhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&Hubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+HmodnameN classnameNjj)}j ]jGc.setattr_copyasbuh1hhjHubj)}(h h]h }(hjGHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj)}(hjh]h*}(hjUHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj5)}(hinodeh]hinode}(hjbHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjGubjA)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hj{HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwHubj )}(hjzh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwHubh)}(hhh]j5)}(hiattrh]hiattr}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j ]jGc.setattr_copyasbuh1hhjwHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwHubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwHubj5)}(hattrh]hattr}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjGubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjXGhhhjjGhM<ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjTGhhhjjGhM<ubah}(h]jOGah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjjGhM<hjQGhhubjc)}(hhh]h)}(h3copy simple metadata updates into the generic inodeh]h3copy simple metadata updates into the generic inode}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM<hjIhhubah}(h]h ]h"]h$]h&]uh1jbhjQGhhhjjGhM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/Ijj/Ijjjuh1hhhhjRhNhNubj)}(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)}(hj9Ih]h Parameters}(hj;IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Iubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM@hj3Iubj)}(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)}(hjXIh]hstruct mnt_idmap *idmap}(hjZIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM=hjRIubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjqIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmIhM=hjnIubah}(h]h ]h"]h$]h&]uh1jhjRIubeh}(h]h ]h"]h$]h&]uh1jhjmIhM=hjOIubj)}(h0``struct inode *inode`` the inode to be updated h](j)}(h``struct inode *inode``h]j)}(hjIh]hstruct inode *inode}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM>hjIubj)}(hhh]h)}(hthe inode to be updatedh]hthe inode to be updated}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhM>hjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhM>hjOIubj)}(h0``const struct iattr *attr`` the new attributes h](j)}(h``const struct iattr *attr``h]j)}(hjIh]hconst struct iattr *attr}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM?hjIubj)}(hhh]h)}(hthe new attributesh]hthe new attributes}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhM?hjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhM?hjOIubeh}(h]h ]h"]h$]h&]uh1jhj3Iubh)}(h**Description**h]j)}(hjJh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMAhj3Iubh)}(h:setattr_copy must be called with i_rwsem held exclusively.h]h:setattr_copy must be called with i_rwsem held exclusively.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM@hj3Iubh)}(hX]setattr_copy updates the inode's metadata with that specified in attr on idmapped mounts. Necessary permission checks to determine whether or not the S_ISGID property needs to be removed are performed with the correct idmapped mount permission helpers. Noticeably missing is inode size update, which is more complex as it requires pagecache updates.h]hX_setattr_copy updates the inode’s metadata with that specified in attr on idmapped mounts. Necessary permission checks to determine whether or not the S_ISGID property needs to be removed are performed with the correct idmapped mount permission helpers. Noticeably missing is inode size update, which is more complex as it requires pagecache updates.}(hj*JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMBhj3Iubh)}(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 }(hj9JhhhNhNubj)}(h **idmap**h]hidmap}(hjAJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9JubhB. This function will then take care to map the inode according to }(hj9JhhhNhNubj)}(h **idmap**h]hidmap}(hjSJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Jubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj9JhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjeJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Jubh.}(hj9JhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMIhj3Iubh)}(hThe inode is not marked as dirty after this operation. The rationale is that for "simple" filesystems, the struct inode is the inode storage. The caller is free to mark the inode dirty afterwards if needed.h]hThe inode is not marked as dirty after this operation. The rationale is that for “simple” filesystems, the struct inode is the inode storage. The caller is free to mark the inode dirty afterwards if needed.}(hj~JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMOhj3Iubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnotify_change (C function)c.notify_changehNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjJhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJhhhjJhMubj/)}(h notify_changeh]j5)}(h notify_changeh]h notify_change}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJhhhjJhMubj;)}(hd(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct inode **delegated_inode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj KmodnameN classnameNjj)}j ]j)}jjJsbc.notify_changeasbuh1hhjJubj)}(h h]h }(hj(KhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj)}(hjh]h*}(hj6KhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj5)}(hidmaph]hidmap}(hjCKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjJubjA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj\KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXKubj)}(h h]h }(hjiKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXKubh)}(hhh]j5)}(hdentryh]hdentry}(hjzKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|KmodnameN classnameNjj)}j ]j$Kc.notify_changeasbuh1hhjXKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXKubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXKubj5)}(hdentryh]hdentry}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjJubjA)}(hstruct iattr *attrh](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(hiattrh]hiattr}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj)}j ]j$Kc.notify_changeasbuh1hhjKubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj5)}(hattrh]hattr}(hj#LhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjJubjA)}(hstruct inode **delegated_inodeh](j )}(hjzh]hstruct}(hjMubj)}(hhh]h)}(hobject affectedh]hobject affected}(hj]MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYMhMhjZMubah}(h]h ]h"]h$]h&]uh1jhj>Mubeh}(h]h ]h"]h$]h&]uh1jhjYMhMhjMubj)}(h&``struct iattr *attr`` new attributes h](j)}(h``struct iattr *attr``h]j)}(hj}Mh]hstruct iattr *attr}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Mubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjwMubj)}(hhh]h)}(hnew attributesh]hnew attributes}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjwMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubj)}(hL``struct inode **delegated_inode`` returns inode, if the inode is delegated h](j)}(h"``struct inode **delegated_inode``h]j)}(hjMh]hstruct inode **delegated_inode}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjMubj)}(hhh]h)}(h(returns inode, if the inode is delegatedh]h(returns inode, if the inode is delegated}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubeh}(h]h ]h"]h$]h&]uh1jhjLubh)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjLubh)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjLubh)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjLubh)}(hXAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. Also, passing NULL is fine for callers holding the file open for write, as there can be no conflicting delegation in that case.h]hXAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. Also, passing NULL is fine for callers holding the file open for write, as there can be no conflicting delegation in that case.}(hj%NhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjLubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj4NhhhNhNubj)}(h **idmap**h]hidmap}(hjchar * d_path (const struct path *path, char *buf, int buflen)h]j)}(hQhhubjc)}(hhh]h)}(h%find first pinned page in **mapping**h](hfind first pinned page in }(hjRhhhNhNubj)}(h **mapping**h]hmapping}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jbhj>QhhhjVQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjRhNhNubj)}(hXN**Parameters** ``struct address_space *mapping`` address space to scan for a page with ref count > 1 ``loff_t start`` Starting offset. Page containing 'start' is included. ``loff_t end`` End offset. Page containing 'end' is included. If 'end' is LLONG_MAX, pages from 'start' till the end of file are included. **Description** DAX requires ZONE_DEVICE mapped pages. These pages are never 'onlined' to the page allocator so they are considered idle when page->count == 1. A filesystem uses this interface to determine if any page in the mapping is busy, i.e. for DMA, or other get_user_pages() usages. It is expected that the filesystem is holding locks to block the establishment of new mappings in this address_space. I.e. it expects to be able to run unmap_mapping_range() and subsequently not race mapping_mapped() becoming true.h](h)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjRubj)}(hhh](j)}(hV``struct address_space *mapping`` address space to scan for a page with ref count > 1 h](j)}(h!``struct address_space *mapping``h]j)}(hj#Sh]hstruct address_space *mapping}(hj%ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Subah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjSubj)}(hhh]h)}(h3address space to scan for a page with ref count > 1h]h3address space to scan for a page with ref count > 1}(hjcount == 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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjRubh)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdax_iomap_rw (C function)c.dax_iomap_rwhNtauh1hhjRhhhNhNubh)}(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}(hj(ThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%Tubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*TmodnameN classnameNjj)}j ]j)}j dax_iomap_rwsbc.dax_iomap_rwasbuh1hhj!ThhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMubj)}(h h]h }(hjJThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ThhhjIThMubj/)}(h dax_iomap_rwh]j5)}(hjFTh]h dax_iomap_rw}(hj\ThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXTubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!ThhhjIThMubj;)}(hH(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)h](jA)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjwThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsTubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsTubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNjj)}j ]jDTc.dax_iomap_rwasbuh1hhjsTubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsTubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsTubj5)}(hiocbh]hiocb}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjoTubjA)}(hstruct iov_iter *iterh](j )}(hjzh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubh)}(hhh]j5)}(hiov_iterh]hiov_iter}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j ]jDTc.dax_iomap_rwasbuh1hhjTubj)}(h h]h }(hj#UhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj)}(hjh]h*}(hj1UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj5)}(hiterh]hiter}(hj>UhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjoTubjA)}(hconst struct iomap_ops *opsh](j )}(hjh]hconst}(hjWUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSUubj)}(h h]h }(hjdUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSUubj )}(hjzh]hstruct}(hjrUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSUubh)}(hhh]j5)}(h iomap_opsh]h iomap_ops}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j ]jDTc.dax_iomap_rwasbuh1hhjSUubj)}(h h]h }(hjUhhShNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSUubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSUubj5)}(hopsh]hops}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjoTubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj!ThhhjIThMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjThhhjIThMubah}(h]jTah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjIThMhjThhubjc)}(hhh]h)}(hPerform I/O to a DAX fileh]hPerform I/O to a DAX file}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jbhjThhhjIThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj Vjj Vjjjuh1hhhhjRhNhNubj)}(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)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjVubj)}(hhh](j)}(h6``struct kiocb *iocb`` The control block for this I/O h](j)}(h``struct kiocb *iocb``h]j)}(hj4Vh]hstruct kiocb *iocb}(hj6VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Vubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj.Vubj)}(hhh]h)}(hThe control block for this I/Oh]hThe control block for this I/O}(hjMVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIVhMhjJVubah}(h]h ]h"]h$]h&]uh1jhj.Vubeh}(h]h ]h"]h$]h&]uh1jhjIVhMhj+Vubj)}(h=``struct iov_iter *iter`` The addresses to do I/O from or to h](j)}(h``struct iov_iter *iter``h]j)}(hjmVh]hstruct iov_iter *iter}(hjoVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkVubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjgVubj)}(hhh]h)}(h"The addresses to do I/O from or toh]h"The addresses to do I/O from or to}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjgVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj+Vubj)}(hF``const struct iomap_ops *ops`` iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjVh]hconst struct iomap_ops *ops}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjVubj)}(hhh]h)}(h%iomap ops passed from the file systemh]h%iomap ops passed from the file system}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj+Vubeh}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjVubh)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdax_iomap_fault (C function)c.dax_iomap_faulthNtauh1hhjRhhhNhNubh)}(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}(hj)WhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&Wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+WmodnameN classnameNjj)}j ]j)}jdax_iomap_faultsbc.dax_iomap_faultasbuh1hhj"WhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM'ubj)}(h h]h }(hjKWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"WhhhjJWhM'ubj/)}(hdax_iomap_faulth]j5)}(hjGWh]hdax_iomap_fault}(hj]WhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYWubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj"WhhhjJWhM'ubj;)}(hm(struct vm_fault *vmf, unsigned int order, unsigned long *pfnp, int *iomap_errp, const struct iomap_ops *ops)h](jA)}(hstruct vm_fault *vmfh](j )}(hjzh]hstruct}(hjxWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtWubh)}(hhh]j5)}(hvm_faulth]hvm_fault}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j ]jEWc.dax_iomap_faultasbuh1hhjtWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtWubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtWubj5)}(hvmfh]hvmf}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpWubjA)}(hunsigned int orderh](jd)}(hunsignedh]hunsigned}(hjWhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubjd)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjWubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj5)}(horderh]horder}(hj XhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpWubjA)}(hunsigned long *pfnph](jd)}(hunsignedh]hunsigned}(hj9XhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj5Xubj)}(h h]h }(hjGXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5Xubjd)}(hlongh]hlong}(hjUXhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj5Xubj)}(h h]h }(hjcXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5Xubj)}(hjh]h*}(hjqXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5Xubj5)}(hpfnph]hpfnp}(hj~XhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5Xubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpWubjA)}(hint *iomap_errph](jd)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj)}(hjh]h*}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj5)}(h iomap_errph]h iomap_errp}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpWubjA)}(hconst struct iomap_ops *opsh](j )}(hjh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubh)}(hhh]j5)}(h iomap_opsh]h iomap_ops}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j ]jEWc.dax_iomap_faultasbuh1hhjXubj)}(h h]h }(hj0YhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj)}(hjh]h*}(hj>YhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj5)}(hopsh]hops}(hjKYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpWubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj"WhhhjJWhM'ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjWhhhjJWhM'ubah}(h]jWah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJWhM'hjWhhubjc)}(hhh]h)}(h!handle a page fault on a DAX fileh]h!handle a page fault on a DAX file}(hjuYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM'hjrYhhubah}(h]h ]h"]h$]h&]uh1jbhjWhhhjJWhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjRhNhNubj)}(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)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM+hjYubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hjYh]hstruct vm_fault *vmf}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM(hjYubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM(hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM(hjYubj)}(h5``unsigned int order`` Order of the page to fault in h](j)}(h``unsigned int order``h]j)}(hjYh]hunsigned int order}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM)hjYubj)}(hhh]h)}(hOrder of the page to fault inh]hOrder of the page to fault in}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhM)hjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhM)hjYubj)}(hR``unsigned long *pfnp`` PFN to insert for synchronous faults if fsync is required h](j)}(h``unsigned long *pfnp``h]j)}(hj(Zh]hunsigned long *pfnp}(hj*ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Zubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM*hj"Zubj)}(hhh]h)}(h9PFN to insert for synchronous faults if fsync is requiredh]h9PFN to insert for synchronous faults if fsync is required}(hjAZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=ZhM*hj>Zubah}(h]h ]h"]h$]h&]uh1jhj"Zubeh}(h]h ]h"]h$]h&]uh1jhj=ZhM*hjYubj)}(hE``int *iomap_errp`` Storage for detailed error code in case of error h](j)}(h``int *iomap_errp``h]j)}(hjaZh]hint *iomap_errp}(hjcZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_Zubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM+hj[Zubj)}(hhh]h)}(h0Storage for detailed error code in case of errorh]h0Storage for detailed error code in case of error}(hjzZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvZhM+hjwZubah}(h]h ]h"]h$]h&]uh1jhj[Zubeh}(h]h ]h"]h$]h&]uh1jhjvZhM+hjYubj)}(hF``const struct iomap_ops *ops`` Iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjZh]hconst struct iomap_ops *ops}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM,hjZubj)}(hhh]h)}(h%Iomap ops passed from the file systemh]h%Iomap ops passed from the file system}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhM,hjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhM,hjYubeh}(h]h ]h"]h$]h&]uh1jhjYubh)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM.hjYubh)}(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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM-hjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dax_finish_sync_fault (C function)c.dax_finish_sync_faulthNtauh1hhjRhhhNhNubh)}(hhh](j)}(h^vm_fault_t dax_finish_sync_fault (struct vm_fault *vmf, unsigned int order, unsigned long pfn)h]j)}(h]vm_fault_t dax_finish_sync_fault(struct vm_fault *vmf, unsigned int order, unsigned long pfn)h](h)}(hhh]j5)}(h vm_fault_th]h vm_fault_t}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj)}j ]j)}jdax_finish_sync_faultsbc.dax_finish_sync_faultasbuh1hhj[hhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMqubj)}(h h]h }(hj?[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[hhhj>[hMqubj/)}(hdax_finish_sync_faulth]j5)}(hj;[h]hdax_finish_sync_fault}(hjQ[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjM[ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj[hhhj>[hMqubj;)}(h=(struct vm_fault *vmf, unsigned int order, unsigned long pfn)h](jA)}(hstruct vm_fault *vmfh](j )}(hjzh]hstruct}(hjl[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh[ubj)}(h h]h }(hjy[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjh[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 ]j9[c.dax_finish_sync_faultasbuh1hhjh[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjh[ubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh[ubj5)}(hvmfh]hvmf}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjh[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjd[ubjA)}(hunsigned int orderh](jd)}(hunsignedh]hunsigned}(hj[hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubjd)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj[ubj)}(h h]h }(hj\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&]noemphjLjMuh1j@hjd[ubjA)}(hunsigned long pfnh](jd)}(hunsignedh]hunsigned}(hj-\hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj)\ubj)}(h h]h }(hj;\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)\ubjd)}(hlongh]hlong}(hjI\hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj)\ubj)}(h h]h }(hjW\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)\ubj5)}(hpfnh]hpfn}(hje\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjd[ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj[hhhj>[hMqubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj[hhhj>[hMqubah}(h]j [ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>[hMqhj[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.chMqhj\hhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhj>[hMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjRhNhNubj)}(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.chMuhj\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.chMrhj\ubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMrhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMrhj\ubj)}(h5``unsigned int order`` Order of entry to be inserted h](j)}(h``unsigned int order``h]j)}(hj ]h]hunsigned int order}(hj ]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMshj]ubj)}(hhh]h)}(hOrder of entry to be insertedh]hOrder of entry to be inserted}(hj"]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMshj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMshj\ubj)}(h$``unsigned long pfn`` PFN to insert h](j)}(h``unsigned long pfn``h]j)}(hjB]h]hunsigned long pfn}(hjD]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.chMthj<]ubj)}(hhh]h)}(h PFN to inserth]h PFN to insert}(hj[]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjW]hMthjX]ubah}(h]h ]h"]h$]h&]uh1jhj<]ubeh}(h]h ]h"]h$]h&]uh1jhjW]hMthj\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.chMvhj\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.chMuhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$simple_rename_timestamp (C function)c.simple_rename_timestamphNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj]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](jA)}(hstruct inode *old_dirh](j )}(hjzh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(h h]h }(hj ^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubh)}(hhh]j5)}(hinodeh]hinode}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j ]j)}jj]sbc.simple_rename_timestampasbuh1hhj]ubj)}(h h]h }(hj=^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj)}(hjh]h*}(hjK^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj5)}(hold_dirh]hold_dir}(hjX^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj]ubjA)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hjq^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm^ubj)}(h h]h }(hj~^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjm^ubh)}(hhh]j5)}(hdentryh]hdentry}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j ]j9^c.simple_rename_timestampasbuh1hhjm^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjm^ubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm^ubj5)}(h old_dentryh]h old_dentry}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjm^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj]ubjA)}(hstruct inode *new_dirh](j )}(hjzh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubh)}(hhh]j5)}(hinodeh]hinode}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j ]j9^c.simple_rename_timestampasbuh1hhj^ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubj)}(hjh]h*}(hj+_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj5)}(hnew_dirh]hnew_dir}(hj8_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj]ubjA)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hjQ_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM_ubj)}(h h]h }(hj^_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjM_ubh)}(hhh]j5)}(hdentryh]hdentry}(hjo_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjl_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjq_modnameN classnameNjj)}j ]j9^c.simple_rename_timestampasbuh1hhjM_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjM_ubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM_ubj5)}(h new_dentryh]h new_dentry}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjM_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj]ubeh}(h]h ]h"]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)}(h.update the various inode timestamps for renameh]h.update the various inode timestamps for rename}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM&hj_hhubah}(h]h ]h"]h$]h&]uh1jbhj]hhhj]hM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct inode *old_dir`` old parent directory ``struct dentry *old_dentry`` dentry that is being renamed ``struct inode *new_dir`` new parent directory ``struct dentry *new_dentry`` target for rename **Description** POSIX mandates that the old and new parent directories have their ctime and mtime updated, and that inodes of **old_dentry** and **new_dentry** (if any), have their ctime updated.h](h)}(h**Parameters**h]j)}(hj_h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM*hj_ubj)}(hhh](j)}(h/``struct inode *old_dir`` old parent directory h](j)}(h``struct inode *old_dir``h]j)}(hj`h]hstruct inode *old_dir}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM'hj `ubj)}(hhh]h)}(hold parent directoryh]hold parent directory}(hj,`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(`hM'hj)`ubah}(h]h ]h"]h$]h&]uh1jhj `ubeh}(h]h ]h"]h$]h&]uh1jhj(`hM'hj `ubj)}(h;``struct dentry *old_dentry`` dentry that is being renamed h](j)}(h``struct dentry *old_dentry``h]j)}(hjL`h]hstruct dentry *old_dentry}(hjN`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM(hjF`ubj)}(hhh]h)}(hdentry that is being renamedh]hdentry that is being renamed}(hje`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhja`hM(hjb`ubah}(h]h ]h"]h$]h&]uh1jhjF`ubeh}(h]h ]h"]h$]h&]uh1jhja`hM(hj `ubj)}(h/``struct inode *new_dir`` new parent directory h](j)}(h``struct inode *new_dir``h]j)}(hj`h]hstruct inode *new_dir}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM)hj`ubj)}(hhh]h)}(hnew parent directoryh]hnew parent directory}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hM)hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM)hj `ubj)}(h0``struct dentry *new_dentry`` target for rename h](j)}(h``struct dentry *new_dentry``h]j)}(hj`h]hstruct dentry *new_dentry}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM*hj`ubj)}(hhh]h)}(htarget for renameh]htarget for rename}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hM*hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM*hj `ubeh}(h]h ]h"]h$]h&]uh1jhj_ubh)}(h**Description**h]j)}(hj`h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM,hj_ubh)}(hPOSIX mandates that the old and new parent directories have their ctime and mtime updated, and that inodes of **old_dentry** and **new_dentry** (if any), have their ctime updated.h](hnPOSIX mandates that the old and new parent directories have their ctime and mtime updated, and that inodes of }(hjahhhNhNubj)}(h**old_dentry**h]h old_dentry}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh and }(hjahhhNhNubj)}(h**new_dentry**h]h new_dentry}(hj)ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh$ (if any), have their ctime updated.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM+hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_setattr (C function)c.simple_setattrhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjbahhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj^ahhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMsubj)}(h h]h }(hjqahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ahhhjpahMsubj/)}(hsimple_setattrh]j5)}(hsimple_setattrh]hsimple_setattr}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj^ahhhjpahMsubj;)}(hE(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j ]j)}jjasbc.simple_setattrasbuh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj5)}(hidmaph]hidmap}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjaubjA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj bubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj bubh)}(hhh]j5)}(hdentryh]hdentry}(hj/bhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1bmodnameN classnameNjj)}j ]jac.simple_setattrasbuh1hhj bubj)}(h h]h }(hjMbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj bubj)}(hjh]h*}(hj[bhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj bubj5)}(hdentryh]hdentry}(hjhbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj bubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjaubjA)}(hstruct iattr *iattrh](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}bubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}bubh)}(hhh]j5)}(hiattrh]hiattr}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j ]jac.simple_setattrasbuh1hhj}bubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}bubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}bubj5)}(hiattrh]hiattr}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}bubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjaubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj^ahhhjpahMsubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjZahhhjpahMsubah}(h]jUaah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjpahMshjWahhubjc)}(hhh]h)}(hsetattr for simple filesystemh]hsetattr for simple filesystem}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMshjbhhubah}(h]h ]h"]h$]h&]uh1jbhjWahhhjpahMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the target mount ``struct dentry *dentry`` dentry ``struct iattr *iattr`` iattr structure **Description** Returns 0 on success, -error on failure. simple_setattr is a simple ->setattr implementation without a proper implementation of size changes. It can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.h](h)}(h**Parameters**h]j)}(hj$ch]h Parameters}(hj&chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"cubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMwhjcubj)}(hhh](j)}(h6``struct mnt_idmap *idmap`` idmap of the target mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjCch]hstruct mnt_idmap *idmap}(hjEchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMthj=cubj)}(hhh]h)}(hidmap of the target mounth]hidmap of the target mount}(hj\chhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXchMthjYcubah}(h]h ]h"]h$]h&]uh1jhj=cubeh}(h]h ]h"]h$]h&]uh1jhjXchMthj:cubj)}(h!``struct dentry *dentry`` dentry h](j)}(h``struct dentry *dentry``h]j)}(hj|ch]hstruct dentry *dentry}(hj~chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMuhjvcubj)}(hhh]h)}(hdentryh]hdentry}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMuhjcubah}(h]h ]h"]h$]h&]uh1jhjvcubeh}(h]h ]h"]h$]h&]uh1jhjchMuhj:cubj)}(h(``struct iattr *iattr`` iattr structure h](j)}(h``struct iattr *iattr``h]j)}(hjch]hstruct iattr *iattr}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMvhjcubj)}(hhh]h)}(hiattr structureh]hiattr structure}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMvhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMvhj:cubeh}(h]h ]h"]h$]h&]uh1jhjcubh)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMxhjcubh)}(h(Returns 0 on success, -error on failure.h]h(Returns 0 on success, -error on failure.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMwhjcubh)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMyhjcubh)}(hIt can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.h]hIt can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.}(hj$dhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM|hjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$simple_read_from_buffer (C function)c.simple_read_from_bufferhNtauh1hhjRhhhNhNubh)}(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}(hjVdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXdmodnameN classnameNjj)}j ]j)}jsimple_read_from_buffersbc.simple_read_from_bufferasbuh1hhjOdhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMVubj)}(h h]h }(hjxdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOdhhhjwdhMVubj/)}(hsimple_read_from_bufferh]j5)}(hjtdh]hsimple_read_from_buffer}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjOdhhhjwdhMVubj;)}(hQ(void __user *to, size_t count, loff_t *ppos, const void *from, size_t available)h](jA)}(hvoid __user *toh](jd)}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubh__user}(hjdhhhNhNubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj5)}(htoh]hto}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjdubjA)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j ]jrdc.simple_read_from_bufferasbuh1hhjdubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj5)}(hcounth]hcount}(hj(ehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjdubjA)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjDehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFemodnameN classnameNjj)}j ]jrdc.simple_read_from_bufferasbuh1hhj=eubj)}(h h]h }(hjbehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=eubj)}(hjh]h*}(hjpehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=eubj5)}(hpposh]hppos}(hj}ehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=eubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjdubjA)}(hconst void *fromh](j )}(hjh]hconst}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubjd)}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj5)}(hfromh]hfrom}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjdubjA)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j ]jrdc.simple_read_from_bufferasbuh1hhjeubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj5)}(h availableh]h available}(hj"fhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjdubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjOdhhhjwdhMVubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjKdhhhjwdhMVubah}(h]jFdah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwdhMVhjHdhhubjc)}(hhh]h)}(h'copy data from the buffer to user spaceh]h'copy data from the buffer to user space}(hjLfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMVhjIfhhubah}(h]h ]h"]h$]h&]uh1jbhjHdhhhjwdhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdfjjdfjjjuh1hhhhjRhNhNubj)}(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)}(hjnfh]h Parameters}(hjpfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlfubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMZhjhfubj)}(hhh](j)}(h5``void __user *to`` the user space buffer to read to h](j)}(h``void __user *to``h]j)}(hjfh]hvoid __user *to}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMWhjfubj)}(hhh]h)}(h the user space buffer to read toh]h the user space buffer to read to}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMWhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMWhjfubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjfh]h size_t count}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMXhjfubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMXhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMXhjfubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hjfh]h loff_t *ppos}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMYhjfubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMYhjgubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjghMYhjfubj)}(h-``const void *from`` the buffer to read from h](j)}(h``const void *from``h]j)}(hj8gh]hconst void *from}(hj:ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6gubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMZhj2gubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hjQghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMghMZhjNgubah}(h]h ]h"]h$]h&]uh1jhj2gubeh}(h]h ]h"]h$]h&]uh1jhjMghMZhjfubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjqgh]hsize_t available}(hjsghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjogubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM[hjkgubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghM[hjgubah}(h]h ]h"]h$]h&]uh1jhjkgubeh}(h]h ]h"]h$]h&]uh1jhjghM[hjfubeh}(h]h ]h"]h$]h&]uh1jhjhfubh)}(h**Description**h]j)}(hjgh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM]hjhfubh)}(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 }(hjghhhNhNubj)}(h **count**h]hcount}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh bytes from the buffer }(hjghhhNhNubj)}(h**from**h]hfrom}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh at offset }(hjghhhNhNubj)}(h**ppos**h]hppos}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh) into the user space address starting at }(hjghhhNhNubj)}(h**to**h]hto}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM\hjhfubh)}(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 }(hjhhhhNhNubj)}(h**ppos**h]hppos}(hj!hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubhD is advanced by this number, or negative value is returned on error.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM_hjhfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#simple_write_to_buffer (C function)c.simple_write_to_bufferhNtauh1hhjRhhhNhNubh)}(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}(hj]hhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_hmodnameN classnameNjj)}j ]j)}jsimple_write_to_buffersbc.simple_write_to_bufferasbuh1hhjVhhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMyubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVhhhhj~hhMyubj/)}(hsimple_write_to_bufferh]j5)}(hj{hh]hsimple_write_to_buffer}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVhhhhj~hhMyubj;)}(hQ(void *to, size_t available, loff_t *ppos, const void __user *from, size_t count)h](jA)}(hvoid *toh](jd)}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj5)}(htoh]hto}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubjA)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j ]jyhc.simple_write_to_bufferasbuh1hhjhubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj5)}(h availableh]h available}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubjA)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj9ihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;imodnameN classnameNjj)}j ]jyhc.simple_write_to_bufferasbuh1hhj2iubj)}(h h]h }(hjWihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2iubj)}(hjh]h*}(hjeihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2iubj5)}(hpposh]hppos}(hjrihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2iubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubjA)}(hconst void __user *fromh](j )}(hjh]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubjd)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh__user}(hjihhhNhNubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj)}(hjh]h*}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj5)}(hfromh]hfrom}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubjA)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j ]jyhc.simple_write_to_bufferasbuh1hhjiubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj5)}(hcounth]hcount}(hj)jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjVhhhhj~hhMyubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjRhhhhj~hhMyubah}(h]jMhah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~hhMyhjOhhhubjc)}(hhh]h)}(h'copy data from user space to the bufferh]h'copy data from user space to the buffer}(hjSjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMyhjPjhhubah}(h]h ]h"]h$]h&]uh1jbhjOhhhhj~hhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjjkjjjjuh1hhhhjRhNhNubj)}(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)}(hjujh]h Parameters}(hjwjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM}hjojubj)}(hhh](j)}(h$``void *to`` the buffer to write to h](j)}(h ``void *to``h]j)}(hjjh]hvoid *to}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMzhjjubj)}(hhh]h)}(hthe buffer to write toh]hthe buffer to write to}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMzhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMzhjjubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjjh]hsize_t available}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM{hjjubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhM{hjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhM{hjjubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hjkh]h loff_t *ppos}(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.chM|hjkubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM|hjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhM|hjjubj)}(h?``const void __user *from`` the user space buffer to read from h](j)}(h``const void __user *from``h]j)}(hj?kh]hconst void __user *from}(hjAkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=kubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM}hj9kubj)}(hhh]h)}(h"the user space buffer to read fromh]h"the user space buffer to read from}(hjXkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjTkhM}hjUkubah}(h]h ]h"]h$]h&]uh1jhj9kubeh}(h]h ]h"]h$]h&]uh1jhjTkhM}hjjubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjxkh]h size_t count}(hjzkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM~hjrkubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM~hjkubah}(h]h ]h"]h$]h&]uh1jhjrkubeh}(h]h ]h"]h$]h&]uh1jhjkhM~hjjubeh}(h]h ]h"]h$]h&]uh1jhjojubh)}(h**Description**h]j)}(hjkh]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjojubh)}(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 }(hjkhhhNhNubj)}(h **count**h]hcount}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh/ bytes from the user space address starting at }(hjkhhhNhNubj)}(h**from**h]hfrom}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh into the buffer }(hjkhhhNhNubj)}(h**to**h]hto}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh at offset }(hjkhhhNhNubj)}(h**ppos**h]hppos}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjojubh)}(hOn success, the number of bytes written is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](hCOn success, the number of bytes written is returned and the offset }(hj lhhhNhNubj)}(h**ppos**h]hppos}(hj(lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj lubhD is advanced by this number, or negative value is returned on error.}(hj lhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjojubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$memory_read_from_buffer (C function)c.memory_read_from_bufferhNtauh1hhjRhhhNhNubh)}(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}(hjdlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjalubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjflmodnameN classnameNjj)}j ]j)}jmemory_read_from_buffersbc.memory_read_from_bufferasbuh1hhj]lhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]lhhhjlhMubj/)}(hmemory_read_from_bufferh]j5)}(hjlh]hmemory_read_from_buffer}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj]lhhhjlhMubj;)}(hJ(void *to, size_t count, loff_t *ppos, const void *from, size_t available)h](jA)}(hvoid *toh](jd)}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj5)}(htoh]hto}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjlubjA)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j ]jlc.memory_read_from_bufferasbuh1hhjlubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj5)}(hcounth]hcount}(hj$mhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjlubjA)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj@mhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmmodnameN classnameNjj)}j ]jlc.memory_read_from_bufferasbuh1hhj9mubj)}(h h]h }(hj^mhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9mubj)}(hjh]h*}(hjlmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9mubj5)}(hpposh]hppos}(hjymhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9mubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjlubjA)}(hconst void *fromh](j )}(hjh]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubjd)}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj5)}(hfromh]hfrom}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjlubjA)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j ]jlc.memory_read_from_bufferasbuh1hhjmubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj5)}(h availableh]h available}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjlubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj]lhhhjlhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjYlhhhjlhMubah}(h]jTlah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjlhMhjVlhhubjc)}(hhh]h)}(hcopy data from the bufferh]hcopy data from the buffer}(hjHnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjEnhhubah}(h]h ]h"]h$]h&]uh1jbhjVlhhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`njj`njjjuh1hhhhjRhNhNubj)}(hXP**Parameters** ``void *to`` the kernel space buffer to read to ``size_t count`` the maximum number of bytes to read ``loff_t *ppos`` the current position in the buffer ``const void *from`` the buffer to read from ``size_t available`` the size of the buffer **Description** The memory_read_from_buffer() function reads up to **count** bytes from the buffer **from** at offset **ppos** into the kernel space address starting at **to**. On success, the number of bytes read is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](h)}(h**Parameters**h]j)}(hjjnh]h Parameters}(hjlnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjdnubj)}(hhh](j)}(h0``void *to`` the kernel space buffer to read to h](j)}(h ``void *to``h]j)}(hjnh]hvoid *to}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjnubj)}(hhh]h)}(h"the kernel space buffer to read toh]h"the kernel space buffer to read to}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjnubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjnh]h size_t count}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjnubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjnubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hjnh]h loff_t *ppos}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjnubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjoubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjohMhjnubj)}(h-``const void *from`` the buffer to read from h](j)}(h``const void *from``h]j)}(hj4oh]hconst void *from}(hj6ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2oubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj.oubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hjMohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIohMhjJoubah}(h]h ]h"]h$]h&]uh1jhj.oubeh}(h]h ]h"]h$]h&]uh1jhjIohMhjnubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjmoh]hsize_t available}(hjoohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjgoubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjoubah}(h]h ]h"]h$]h&]uh1jhjgoubeh}(h]h ]h"]h$]h&]uh1jhjohMhjnubeh}(h]h ]h"]h$]h&]uh1jhjdnubh)}(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:83: ./fs/libfs.chMhjdnubh)}(hThe memory_read_from_buffer() function reads up to **count** bytes from the buffer **from** at offset **ppos** into the kernel space address starting at **to**.h](h3The memory_read_from_buffer() function reads up to }(hjohhhNhNubj)}(h **count**h]hcount}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh bytes from the buffer }(hjohhhNhNubj)}(h**from**h]hfrom}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh at offset }(hjohhhNhNubj)}(h**ppos**h]hppos}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh+ into the kernel space address starting at }(hjohhhNhNubj)}(h**to**h]hto}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjdnubh)}(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 }(hjphhhNhNubj)}(h**ppos**h]hppos}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubhD is advanced by this number, or negative value is returned on error.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjdnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$generic_encode_ino32_fh (C function)c.generic_encode_ino32_fhhNtauh1hhjRhhhNhNubh)}(hhh](j)}(h`int generic_encode_ino32_fh (struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h]j)}(h_int generic_encode_ino32_fh(struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h](jd)}(hinth]hint}(hjVphhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjRphhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjephhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRphhhjdphMubj/)}(hgeneric_encode_ino32_fhh]j5)}(hgeneric_encode_ino32_fhh]hgeneric_encode_ino32_fh}(hjwphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjspubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjRphhhjdphMubj;)}(hD(struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(hinodeh]hinode}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j ]j)}jjypsbc.generic_encode_ino32_fhasbuh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj5)}(hinodeh]hinode}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpubjA)}(h __u32 *fhh](h)}(hhh]j5)}(h__u32h]h__u32}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj qmodnameN classnameNjj)}j ]jpc.generic_encode_ino32_fhasbuh1hhjqubj)}(h h]h }(hj&qhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj)}(hjh]h*}(hj4qhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj5)}(hfhh]hfh}(hjAqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpubjA)}(h int *max_lenh](jd)}(hinth]hint}(hjZqhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjVqubj)}(h h]h }(hjhqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVqubj)}(hjh]h*}(hjvqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVqubj5)}(hmax_lenh]hmax_len}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpubjA)}(hstruct inode *parenth](j )}(hjzh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubh)}(hhh]j5)}(hinodeh]hinode}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j ]jpc.generic_encode_ino32_fhasbuh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj5)}(hparenth]hparent}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjRphhhjdphMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjNphhhjdphMubah}(h]jIpah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjdphMhjKphhubjc)}(hhh]h)}(h-generic export_operations->encode_fh functionh]h-generic export_operations->encode_fh function}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jbhjKphhhjdphMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5rjj5rjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct inode *inode`` the object to encode ``__u32 *fh`` where to store the file handle fragment ``int *max_len`` maximum length to store there (in 4 byte units) ``struct inode *parent`` parent directory inode, if wanted **Description** This generic encode_fh function assumes that the 32 inode number is suitable for locating an inode, and that the generation number can be used to check that it is still valid. It places them in the filehandle fragment where export_decode_fh expects to find them.h](h)}(h**Parameters**h]j)}(hj?rh]h Parameters}(hjArhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=rubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj9rubj)}(hhh](j)}(h-``struct inode *inode`` the object to encode h](j)}(h``struct inode *inode``h]j)}(hj^rh]hstruct inode *inode}(hj`rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\rubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjXrubj)}(hhh]h)}(hthe object to encodeh]hthe object to encode}(hjwrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjsrhMhjtrubah}(h]h ]h"]h$]h&]uh1jhjXrubeh}(h]h ]h"]h$]h&]uh1jhjsrhMhjUrubj)}(h6``__u32 *fh`` where to store the file handle fragment h](j)}(h ``__u32 *fh``h]j)}(hjrh]h __u32 *fh}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjrubj)}(hhh]h)}(h'where to store the file handle fragmenth]h'where to store the file handle fragment}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjUrubj)}(hA``int *max_len`` maximum length to store there (in 4 byte units) h](j)}(h``int *max_len``h]j)}(hjrh]h int *max_len}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjrubj)}(hhh]h)}(h/maximum length to store there (in 4 byte units)h]h/maximum length to store there (in 4 byte units)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjUrubj)}(h;``struct inode *parent`` parent directory inode, if wanted h](j)}(h``struct inode *parent``h]j)}(hj sh]hstruct inode *parent}(hj shhhNhNubah}(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!parent directory inode, if wantedh]h!parent directory inode, if wanted}(hj"shhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjUrubeh}(h]h ]h"]h$]h&]uh1jhj9rubh)}(h**Description**h]j)}(hjDsh]h Description}(hjFshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBsubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj9rubh)}(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.}(hjZshhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj9rubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_fh_to_dentry (C function)c.generic_fh_to_dentryhNtauh1hhjRhhhNhNubh)}(hhh](j)}(hstruct dentry * generic_fh_to_dentry (struct super_block *sb, struct fid *fid, int fh_len, int fh_type, struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen))h]j)}(hstruct dentry *generic_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type, struct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen))h](j )}(hjzh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjshMubh)}(hhh]j5)}(hdentryh]hdentry}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j ]j)}jgeneric_fh_to_dentrysbc.generic_fh_to_dentryasbuh1hhjshhhjshMubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjshMubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhjshMubj/)}(hgeneric_fh_to_dentryh]j5)}(hjsh]hgeneric_fh_to_dentry}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjshhhjshMubj;)}(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](jA)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(hhh]j5)}(h super_blockh]h super_block}(hj!thhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#tmodnameN classnameNjj)}j ]jsc.generic_fh_to_dentryasbuh1hhjsubj)}(h h]h }(hj?thhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj)}(hjh]h*}(hjMthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj5)}(hsbh]hsb}(hjZthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjsubjA)}(hstruct fid *fidh](j )}(hjzh]hstruct}(hjsthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjotubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjotubh)}(hhh]j5)}(hfidh]hfid}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j ]jsc.generic_fh_to_dentryasbuh1hhjotubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjotubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjotubj5)}(hfidh]hfid}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjotubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjsubjA)}(h int fh_lenh](jd)}(hinth]hint}(hjthhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj5)}(hfh_lenh]hfh_len}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjsubjA)}(h int fh_typeh](jd)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjuubj)}(h h]h }(hj&uhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj5)}(hfh_typeh]hfh_type}(hj4uhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjsubjA)}(hDstruct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen)h](j )}(hjzh]hstruct}(hjMuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIuubj)}(h h]h }(hjZuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIuubh)}(hhh]j5)}(hinodeh]hinode}(hjkuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmumodnameN classnameNjj)}j ]jsc.generic_fh_to_dentryasbuh1hhjIuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIuubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIuubj)}(hjҧh]h(}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIuubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIuubj5)}(h get_inodeh]h get_inode}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIuubj)}(hjh]h)}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIuubj)}(hjҧh]h(}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIuubj )}(hjzh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIuubh)}(hhh]j5)}(h super_blockh]h super_block}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j ]jsc.generic_fh_to_dentryasbuh1hhjIuubj)}(h h]h }(hj"vhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIuubj)}(hjh]h*}(hj0vhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIuubj5)}(hsbh]hsb}(hj=vhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIuubj)}(hj_h]h,}(hjKvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIuubj)}(h h]h }(hjXvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIuubh)}(hhh]j5)}(hu64h]hu64}(hjivhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkvmodnameN classnameNjj)}j ]jsc.generic_fh_to_dentryasbuh1hhjIuubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIuubj5)}(hinoh]hino}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIuubj)}(hj_h]h,}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIuubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIuubh)}(hhh]j5)}(hu32h]hu32}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j ]jsc.generic_fh_to_dentryasbuh1hhjIuubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIuubj5)}(hgenh]hgen}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIuubj)}(hjh]h)}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjsubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjshhhjshMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjshMubah}(h]j|sah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjshMhj~shhubjc)}(hhh]h)}(h4generic helper for the fh_to_dentry export operationh]h4generic helper for the fh_to_dentry export operation}(hj$whhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj!whhubah}(h]h ]h"]h$]h&]uh1jbhj~shhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhjPhMubj/)}(hgeneric_file_fsynch]j5)}(hgeneric_file_fsynch]hgeneric_file_fsync}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhjPhMubj;)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](jA)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjesbc.generic_file_fsyncasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj)}(hjh]h*}(hjˁhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj5)}(hfileh]hfile}(hj؁hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubjA)}(h loff_t starth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.generic_file_fsyncasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hstarth]hstart}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubjA)}(h loff_t endh](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 ]jc.generic_file_fsyncasbuh1hhj5ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj5)}(hendh]hend}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubjA)}(h int datasynch](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj}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&]noemphjLjMuh1j@hjwubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj>hhhjPhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhjPhMubah}(h]j5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMhj7hhubjc)}(hhh]h)}(h>generic fsync implementation for simple filesystems with flushh]h>generic fsync implementation for simple filesystems with flush}(hjǂhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjĂhhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj߂jj߂jjjuh1hhhhjRhNhNubj)}(h**Parameters** ``struct file *file`` file to synchronize ``loff_t start`` start offset in bytes ``loff_t end`` end offset in bytes (inclusive) ``int datasync`` only synchronize essential metadata if trueh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM!hjubj)}(hhh](j)}(h*``struct file *file`` file to synchronize h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(hfile to synchronizeh]hfile to synchronize}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``loff_t start`` start offset in bytes h](j)}(h``loff_t start``h]j)}(hjAh]h loff_t start}(hjChhhNhNubah}(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)}(hstart offset in bytesh]hstart offset in bytes}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhM hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM hjubj)}(h/``loff_t end`` end offset in bytes (inclusive) h](j)}(h``loff_t end``h]j)}(hjzh]h loff_t end}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM!hjtubj)}(hhh]h)}(hend offset in bytes (inclusive)h]hend offset in bytes (inclusive)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjubj)}(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}(hj̃hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM"hjɃubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȃhM#hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&generic_check_addressable (C function)c.generic_check_addressablehNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM4ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhM4ubj/)}(hgeneric_check_addressableh]j5)}(hgeneric_check_addressableh]hgeneric_check_addressable}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhM4ubj;)}(h)(unsigned blocksize_bits, u64 num_blocks)h](jA)}(hunsigned blocksize_bitsh](jd)}(hunsignedh]hunsigned}(hjJhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj5)}(hblocksize_bitsh]hblocksize_bits}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjBubjA)}(hu64 num_blocksh](h)}(hhh]j5)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jj0sbc.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&]noemphjLjMuh1j@hjBubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj hhhjhM4ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM4ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM4hjhhubjc)}(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&]uh1jbhjhhhjhM4ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX]**Parameters** ``unsigned blocksize_bits`` log of file system block size ``u64 num_blocks`` number of blocks in file system **Description** Determine whether a file system with **num_blocks** blocks (and a block size of 2****blocksize_bits**) is addressable by the sector_t and page cache of the system. Return 0 if so and -EFBIG otherwise.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM8hjubj)}(hhh](j)}(h:``unsigned blocksize_bits`` log of file system block size h](j)}(h``unsigned blocksize_bits``h]j)}(hjh]hunsigned blocksize_bits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM5hjubj)}(hhh]h)}(hlog of file system block sizeh]hlog of file system block size}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hM5hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM5hjubj)}(h3``u64 num_blocks`` number of blocks in file system h](j)}(h``u64 num_blocks``h]j)}(hjTh]hu64 num_blocks}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM6hjNubj)}(hhh]h)}(hnumber of blocks in file systemh]hnumber of blocks in file system}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihM6hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM6hjubeh}(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.chM8hjubh)}(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.chM7hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_nosetlease (C function)c.simple_nosetleasehNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hsimple_nosetleaseh]j5)}(hsimple_nosetleaseh]hsimple_nosetlease}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(hB(struct file *filp, int arg, struct file_lease **flp, void **priv)h](jA)}(hstruct file *filph](j )}(hjzh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j ]j)}jj sbc.simple_nosetleaseasbuh1hhjubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfilph]hfilp}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hint argh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hargh]harg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct file_lease **flph](j )}(hjzh]hstruct}(hjʆhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƆubj)}(h h]h }(hj׆hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƆubh)}(hhh]j5)}(h file_leaseh]h file_lease}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j]c.simple_nosetleaseasbuh1hhjƆubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƆubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƆubj)}(hjh]h*}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƆubj5)}(hflph]hflp}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƆubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void **privh](jd)}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjCubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj5)}(hprivh]hpriv}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjޅhhhjhMubah}(h]jمah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjۅ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ۅhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(hjɇh]h Parameters}(hjˇhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLJubah}(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 *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hjh]hstruct file *filp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(h file pointerh]h file pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj߇ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj!h]hint arg}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj߇ubj)}(h=``struct file_lease **flp`` new lease supplied for insertion h](j)}(h``struct file_lease **flp``h]j)}(hjZh]hstruct file_lease **flp}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjTubj)}(hhh]h)}(h new lease supplied for insertionh]h new lease supplied for insertion}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhj߇ubj)}(h4``void **priv`` private data for lm_setup operation h](j)}(h``void **priv``h]j)}(hjh]h void **priv}(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#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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj߇ubeh}(h]h ]h"]h$]h&]uh1jhjÇubh)}(h**Description**h]j)}(hjΈh]h Description}(hjЈhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̈ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjÇubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjÇubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_get_link (C function)c.simple_get_linkhNtauh1hhjRhhhNhNubh)}(hhh](j)}(hdconst char * simple_get_link (struct dentry *dentry, struct inode *inode, struct delayed_call *done)h]j)}(hbconst char *simple_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done)h](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubjd)}(hcharh]hchar}(hj/hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhj hMubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj hMubj/)}(hsimple_get_linkh]j5)}(hsimple_get_linkh]hsimple_get_link}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj;)}(hG(struct dentry *dentry, struct inode *inode, struct delayed_call *done)h](jA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jj^sbc.simple_get_linkasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj)}(hjh]h*}(hjĉhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj5)}(hdentryh]hdentry}(hjщhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpubjA)}(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 ]jc.simple_get_linkasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpubjA)}(hstruct delayed_call *doneh](j )}(hjzh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(hhh]j5)}(h delayed_callh]h delayed_call}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j ]jc.simple_get_linkasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj5)}(hdoneh]hdone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjpubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(hhh]h)}(h3generic helper to get the target of "fast" symlinksh]h7generic helper to get the target of “fast” symlinks}(hjۊhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj؊hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX+**Parameters** ``struct dentry *dentry`` not used here ``struct inode *inode`` the symlink inode ``struct delayed_call *done`` not used here **Description** Generic helper for filesystems to use for symlink inodes where a pointer to the symlink target is stored in ->i_link. NOTE: this isn't normally called, since as an optimization the path lookup code uses any non-NULL ->i_link directly, without calling ->get_link(). But ->get_link() still must be set, to mark the inode_operations as being for a symlink. **Return** the symlink targeth](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh](j)}(h(``struct dentry *dentry`` not used here h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(h not used hereh]h not used here}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h*``struct inode *inode`` the symlink inode h](j)}(h``struct inode *inode``h]j)}(hjUh]hstruct inode *inode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjOubj)}(hhh]h)}(hthe symlink inodeh]hthe symlink inode}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(h,``struct delayed_call *done`` not used here 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:83: ./fs/libfs.chMhjubj)}(hhh]h)}(h not used hereh]h not used here}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjɋh]h Description}(hjˋhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubh)}(hXcGeneric helper for filesystems to use for symlink inodes where a pointer to the symlink target is stored in ->i_link. NOTE: this isn't normally called, since as an optimization the path lookup code uses any non-NULL ->i_link directly, without calling ->get_link(). But ->get_link() still must be set, to mark the inode_operations as being for a symlink.h]hXeGeneric helper for filesystems to use for symlink inodes where a pointer to the symlink target is stored in ->i_link. NOTE: this isn’t normally called, since as an optimization the path lookup code uses any non-NULL ->i_link directly, without calling ->get_link(). But ->get_link() still must be set, to mark the inode_operations as being for a symlink.}(hjߋhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubh)}(h **Return**h]j)}(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.chMhjubh)}(hthe symlink targeth]hthe symlink target}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_ci_d_compare (C function)c.generic_ci_d_comparehNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hj5hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj1hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjChMubj/)}(hgeneric_ci_d_compareh]j5)}(hgeneric_ci_d_compareh]hgeneric_ci_d_compare}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhjChMubj;)}(hY(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name)h](jA)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjXsbc.generic_ci_d_compareasbuh1hhjnubj)}(h h]h }(hjˌhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj)}(hjh]h*}(hjٌhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjjubjA)}(hunsigned int lenh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjjubjA)}(hconst char *strh](j )}(hjh]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubjd)}(hcharh]hchar}(hjkhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjLubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj5)}(hstrh]hstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjjubjA)}(hconst struct qstr *nameh](j )}(hjh]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)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jnjc.generic_ci_d_compareasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj1hhhjChMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhjChMubah}(h]j(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChMhj*hhubjc)}(hhh]h)}(hhjubj)}(hhh](j)}(h?``const struct dentry *dentry`` dentry of the parent directory h](j)}(h``const struct dentry *dentry``h]j)}(hjAh]hconst struct dentry *dentry}(hjChhhNhNubah}(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)}(hdentry of the parent directoryh]hdentry of the parent directory}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhM;hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM;hj8ubj)}(h?``struct qstr *str`` qstr of name whose hash we should fill in h](j)}(h``struct qstr *str``h]j)}(hjzh]hstruct qstr *str}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM<hjtubj)}(hhh]h)}(h)qstr of name whose hash we should fill inh]h)qstr of name whose hash we should fill in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhM<hj8ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM>hjubh)}(h;0 if hash was successful or unchanged, and -EINVAL on errorh]h;0 if hash was successful or unchanged, and -EINVAL on error}(hjˑhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM>hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_ci_match (C function)c.generic_ci_matchhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMZubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMZubj/)}(hgeneric_ci_matchh]j5)}(hgeneric_ci_matchh]hgeneric_ci_match}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMZubj;)}(hy(const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h](jA)}(hconst struct inode *parenth](j )}(hjh]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj )}(hjzh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hinodeh]hinode}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j ]j)}jjsbc.generic_ci_matchasbuh1hhj3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubjA)}(hconst struct qstr *nameh](j )}(hjh]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)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.generic_ci_matchasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubjA)}(hconst struct qstr *folded_nameh](j )}(hjh]hconst}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj )}(hjzh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.generic_ci_matchasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj5)}(h folded_nameh]h folded_name}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubjA)}(hconst u8 *de_nameh](j )}(hjh]hconst}(hjړhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֓ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj֓ubh)}(hhh]j5)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.generic_ci_matchasbuh1hhj֓ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj֓ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj֓ubj5)}(hde_nameh]hde_name}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj֓ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubjA)}(hu32 de_name_lenh](h)}(hhh]j5)}(hu32h]hu32}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j ]jc.generic_ci_matchasbuh1hhjFubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj5)}(h de_name_lenh]h de_name_len}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj/ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMZubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMZhjhhubjc)}(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&]uh1jbhjhhhjhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(hjŔh]h Parameters}(hjǔhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÔubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM^hjubj)}(hhh](j)}(hR``const struct inode *parent`` Inode of the parent of the dirent under comparison h](j)}(h``const struct inode *parent``h]j)}(hjh]hconst struct inode *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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}(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 struct qstr *name`` name under lookup. h](j)}(h``const struct qstr *name``h]j)}(hjh]hconst struct qstr *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM_hjubj)}(hhh]h)}(hname under lookup.h]hname under lookup.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hM_hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM_hj۔ubj)}(hI``const struct qstr *folded_name`` Optional pre-folded name under lookup h](j)}(h"``const struct qstr *folded_name``h]j)}(hjVh]hconst struct qstr *folded_name}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM`hjPubj)}(hhh]h)}(h%Optional pre-folded name under lookuph]h%Optional pre-folded name under lookup}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM`hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM`hj۔ubj)}(h#``const u8 *de_name`` Dirent name. h](j)}(h``const u8 *de_name``h]j)}(hjh]hconst u8 *de_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.chMahjubj)}(hhh]h)}(h Dirent name.h]h Dirent name.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahj۔ubj)}(h(``u32 de_name_len`` dirent name length. h](j)}(h``u32 de_name_len``h]j)}(hjȕh]hu32 de_name_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.chMbhj•ubj)}(hhh]h)}(hdirent name length.h]hdirent name length.}(hjhhhNhNubah}(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&]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.chMdhjubh)}(hTest whether a case-insensitive directory entry matches the filename being searched. If **folded_name** is provided, it is used instead of recalculating the casefold of **name**.h](hYTest whether a case-insensitive directory entry matches the filename being searched. If }(hjhhhNhNubj)}(h**folded_name**h]h folded_name}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB is provided, it is used instead of recalculating the casefold of }(hjhhhNhNubj)}(h**name**h]hname}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMchjubh)}(h **Return**h]j)}(hjNh]hReturn}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMghjubh)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_set_sb_d_ops (C function)c.generic_set_sb_d_opshNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/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_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.hjhhhjhMubj;)}(h(struct super_block *sb)h]jA)}(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)}jjsbc.generic_set_sb_d_opsasbuh1hhj̖ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj̖ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj̖ubj5)}(hsbh]hsb}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̖ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjȖubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjRhNhNubj)}(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)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjoubj)}(hhh]j)}(h7``struct super_block *sb`` superblock to be configured h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(hsuperblock to be configuredh]hsuperblock to be configured}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubh)}(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.chMhjoubh)}(hX&Filesystems supporting casefolding and/or fscrypt can call this helper at mount-time to configure default dentry_operations to the best set of dentry operations required for the enabled features. The helper must be called after these have been configured, but before the root dentry is created.h]hX&Filesystems supporting casefolding and/or fscrypt can call this helper at mount-time to configure default dentry_operations to the best set of dentry operations required for the enabled features. The helper must be called after these have been configured, but before the root dentry is created.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%inode_maybe_inc_iversion (C function)c.inode_maybe_inc_iversionhNtauh1hhjRhhhNhNubh)}(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](jd)}(hjgh]hbool}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj!hMubj/)}(hinode_maybe_inc_iversionh]j5)}(hinode_maybe_inc_iversionh]hinode_maybe_inc_iversion}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj!hMubj;)}(h!(struct inode *inode, bool force)h](jA)}(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.inode_maybe_inc_iversionasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjHubjA)}(h bool forceh](jd)}(hjgh]hbool}(hj˜hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjϘhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hforceh]hforce}(hjݘhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjHubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj!hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj!hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!hMhj hhubjc)}(hhh]h)}(hincrements i_versionh]hincrements i_version}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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)}(hH``struct inode *inode`` inode with the i_version that should be updated h](j)}(h``struct inode *inode``h]j)}(hjHh]hstruct inode *inode}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjBubj)}(hhh]h)}(h/inode with the i_version that should be updatedh]h/inode with the i_version that should be updated}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj?ubj)}(hA``bool force`` increment the counter even if it's not necessary? h](j)}(h``bool force``h]j)}(hjh]h bool force}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj{ubj)}(hhh]h)}(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&]uh1jhjhMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj#ubh)}(hcEvery time the inode is modified, the i_version field must be seen to have changed by any observer.h]hcEvery time the inode is modified, the i_version field must be seen to have changed by any observer.}(hjҙhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj#ubh)}(hrIf "force" is set or the QUERIED flag is set, then ensure that we increment the value, and clear the queried flag.h]hvIf “force” is set or the QUERIED flag is set, then ensure that we increment the value, and clear the queried flag.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj#ubh)}(h_In the common case where neither is set, then we can return "false" without updating i_version.h]hcIn the common case where neither is set, then we can return “false” without updating i_version.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj#ubh)}(hjIf this function returns false, and no other metadata has changed, then we can avoid logging the metadata.h]hjIf this function returns false, and no other metadata has changed, then we can avoid logging the metadata.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!inode_query_iversion (C function)c.inode_query_iversionhNtauh1hhjRhhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j ]j)}jinode_query_iversionsbc.inode_query_iversionasbuh1hhj*hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*hhhjRhMubj/)}(hinode_query_iversionh]j5)}(hjOh]hinode_query_iversion}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj*hhhjRhMubj;)}(h(struct inode *inode)h]jA)}(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 ]jMc.inode_query_iversionasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj)}(hjh]h*}(hjʚhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj5)}(hinodeh]hinode}(hjךhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjxubah}(h]h ]h"]h$]h&]jLjMuh1j:hj*hhhjRhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj&hhhjRhMubah}(h]j!ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRhMhj#hhubjc)}(hhh]h)}(hread i_version for later useh]hread i_version for later use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj#hhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX:**Parameters** ``struct inode *inode`` inode from which i_version should be read **Description** Read the inode i_version counter. This should be used by callers that wish to store the returned i_version for later comparison. This will guarantee that a later query of the i_version will result in a different value if anything has changed. In this implementation, we fetch the current value, set the QUERIED flag and then try to swap it into place with a cmpxchg, if it wasn't already set. If that fails, we try again with the newly fetched value from the cmpxchg.h](h)}(h**Parameters**h]j)}(hj#h]h Parameters}(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.chMhjubj)}(hhh]j)}(hB``struct inode *inode`` inode from which i_version should be read h](j)}(h``struct inode *inode``h]j)}(hjBh]hstruct inode *inode}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj<ubj)}(hhh]h)}(h)inode from which i_version should be readh]h)inode from which i_version should be read}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhj9ubah}(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:83: ./fs/libfs.chMhjubh)}(hRead the inode i_version counter. This should be used by callers that wish to store the returned i_version for later comparison. This will guarantee that a later query of the i_version will result in a different value if anything has changed.h]hRead the inode i_version counter. This should be used by callers that wish to store the returned i_version for later comparison. This will guarantee that a later query of the i_version will result in a different value if anything has changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubh)}(hIn this implementation, we fetch the current value, set the QUERIED flag and then try to swap it into place with a cmpxchg, if it wasn't already set. If that fails, we try again with the newly fetched value from the cmpxchg.h]hIn this implementation, we fetch the current value, set the QUERIED flag and then try to swap it into place with a cmpxchg, if it wasn’t already set. If that fails, we try again with the newly fetched value from the cmpxchg.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!simple_inode_init_ts (C function)c.simple_inode_init_tshNtauh1hhjRhhhNhNubh)}(hhh](j)}(hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(hinodeh]hinode}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j ]j c.simple_inode_init_tsasbuh1hhj:ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj6ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj͛hhhjޛhMJubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjɛhhhjޛhMJubah}(h]jěah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjޛhMJhjƛhhubjc)}(hhh]h)}(h)initialize the timestamps for a new inodeh]h)initialize the timestamps for a new inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMJhjhhubah}(h]h ]h"]h$]h&]uh1jbhjƛhhhjޛhMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjלjjלjjjuh1hhhhjRhNhNubj)}(h**Parameters** ``struct inode *inode`` inode to be initialized **Description** When a new inode is created, most filesystems set the timestamps to the current time. Add a helper to do this.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߜubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMNhjۜubj)}(hhh]j)}(h0``struct inode *inode`` inode to be initialized h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMKhjubj)}(hhh]h)}(hinode to be initializedh]hinode to be initialized}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjۜubh)}(h**Description**h]j)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMMhjۜubh)}(hnWhen a new inode is created, most filesystems set the timestamps to the current time. Add a helper to do this.h]hnWhen a new inode is created, most filesystems set the timestamps to the current time. Add a helper to do this.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMLhjۜubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hposix_acl_chmod (C function)c.posix_acl_chmodhNtauh1hhjRhhhNhNubh)}(hhh](j)}(hSint posix_acl_chmod (struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h]j)}(hQint posix_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj|hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhjhMOubj/)}(hposix_acl_chmodh]j5)}(hposix_acl_chmodh]hposix_acl_chmod}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhjhMOubj;)}(h>(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjʝhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj۝hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj؝ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjݝmodnameN classnameNjj)}j ]j)}jjsbc.posix_acl_chmodasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j ]jc.posix_acl_chmodasbuh1hhj+ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj)}(hjh]h*}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.posix_acl_chmodasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjΞhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj|hhhjhMOubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjxhhhjhMOubah}(h]jsah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMOhjuhhubjc)}(hhh]h)}(hchmod a posix aclh]hchmod a posix acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMOhjhhubah}(h]h ]h"]h$]h&]uh1jbhjuhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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.chMShjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj9h]hstruct mnt_idmap *idmap}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMQhj3ubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjRhhhNhNubj)}(h **inode**h]hinode}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh was found from}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjNhMQhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMQhj0ubj)}(h9``struct dentry *dentry`` dentry to check permissions on h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.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&]uh1jhjhMRhj0ubj)}(h+``umode_t mode`` the new mode of **inode** h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1hhjҟhMShjӟubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҟhMShj0ubeh}(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.chMUhjubh)}(hXMIf the dentry has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hhIf the dentry has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hj6hhhNhNubah}(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}(hjHhhhNhNubah}(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.chMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"posix_acl_update_mode (C function)c.posix_acl_update_modehNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj}hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}hhhjhMubj/)}(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}hhhjhMubj;)}(hW(struct mnt_idmap *idmap, struct inode *inode, umode_t *mode_p, struct posix_acl **acl)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjˠhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjܠhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj٠ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjޠmodnameN classnameNjj)}j ]j)}jjsbc.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct inode *inodeh](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)}(hinodeh]hinode}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j ]jc.posix_acl_update_modeasbuh1hhj,ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 ]jc.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjϡhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hmode_ph]hmode_p}(hjܡhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct posix_acl **aclh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h posix_aclh]h posix_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(haclh]hacl}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj}hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjyhhhjhMubah}(h]jtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjvhhubjc)}(hhh]h)}(hupdate mode in set_aclh]hupdate mode in set_acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjvhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(hjĢh]hstruct mnt_idmap *idmap}(hjƢhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¢ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjݢhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj٢hMhjubj)}(h%``struct inode *inode`` target 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj ubj)}(hhh]h)}(h target inodeh]h target inode}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjubj)}(h.``umode_t *mode_p`` mode (pointer) for update h](j)}(h``umode_t *mode_p``h]j)}(hjHh]humode_t *mode_p}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjBubj)}(hhh]h)}(hmode (pointer) for updateh]hmode (pointer) for update}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjubj)}(h'``struct posix_acl **acl`` acl pointer h](j)}(h``struct posix_acl **acl``h]j)}(hjh]hstruct posix_acl **acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.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}(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)}(hUpdate the file mode when setting an ACL: compute the new file permission bits based on the ACL. In addition, if the ACL is equivalent to the new file mode, set ***acl** to NULL to indicate that no ACL should be set.h](hUpdate the file mode when setting an ACL: compute the new file permission bits based on the ACL. In addition, if the ACL is equivalent to the new file mode, set }(hjңhhhNhNubj)}(h***acl**h]h*acl}(hjڣhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjңubh/ to NULL to indicate that no ACL should be set.}(hjңhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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).}(hjhhhNhNubah}(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 }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]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.}(hjGhhhNhNubah}(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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!posix_acl_from_xattr (C function)c.posix_acl_from_xattrhNtauh1hhjRhhhNhNubh)}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrhhhjhMubh)}(hhh]j5)}(h posix_aclh]h posix_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jposix_acl_from_xattrsbc.posix_acl_from_xattrasbuh1hhjrhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrhhhjhMubj)}(hjh]h*}(hjĤhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhjhMubj/)}(hposix_acl_from_xattrh]j5)}(hjh]hposix_acl_from_xattr}(hjդhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjѤubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjrhhhjhMubj;)}(h?(struct user_namespace *userns, const void *value, size_t size)h](jA)}(hstruct user_namespace *usernsh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(huser_namespaceh]huser_namespace}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.posix_acl_from_xattrasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(husernsh]huserns}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst void *valueh](j )}(hjh]hconst}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubjd)}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 reftargetj¥modnameN classnameNjj)}j ]jc.posix_acl_from_xattrasbuh1hhjubj)}(h h]h }(hjޥhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjrhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjnhhhjhMubah}(h]jiah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjkhhubjc)}(hhh]h)}(h3convert POSIX ACLs from backing store to VFS formath]h3convert POSIX ACLs from backing store to VFS format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjkhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjRhNhNubj)}(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)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj2ubj)}(hhh](j)}(h=``struct user_namespace *userns`` the filesystem's idmapping h](j)}(h!``struct user_namespace *userns``h]j)}(hjWh]hstruct user_namespace *userns}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjQubj)}(hhh]h)}(hthe filesystem's idmappingh]hthe filesystem’s idmapping}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNubj)}(h<``const void *value`` the uapi representation of POSIX ACLs h](j)}(h``const void *value``h]j)}(hjh]hconst void *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h%the uapi representation of POSIX ACLsh]h%the uapi representation of POSIX ACLs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubj)}(h%``size_t size`` the size of **void** h](j)}(h``size_t size``h]j)}(hjɦh]h size_t size}(hj˦hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǦubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjæubj)}(hhh]h)}(hthe size of **void**h](h the size of }(hjhhhNhNubj)}(h**void**h]hvoid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjަhMhjߦubah}(h]h ]h"]h$]h&]uh1jhjæubeh}(h]h ]h"]h$]h&]uh1jhjަhMhjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj2ubh)}(hXFilesystems that store POSIX ACLs in the unaltered uapi format should use posix_acl_from_xattr() when reading them from the backing store and converting them into the struct posix_acl VFS format. The helper is specifically intended to be called from the acl inode operation.h]hXFilesystems that store POSIX ACLs in the unaltered uapi format should use posix_acl_from_xattr() when reading them from the backing store and converting them into the struct posix_acl VFS format. The helper is specifically intended to be called from the acl inode operation.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj2ubh)}(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 }(hj7hhhNhNubj)}(h **userns**h]huserns}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj2ubh)}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj2ubh)}(h **Return**h]j)}(hjih]hReturn}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj2ubh)}(hAllocated struct posix_acl on success, NULL for a valid header but without actual POSIX ACL entries, or ERR_PTR() encoded error code.h]hAllocated struct posix_acl on success, NULL for a valid header but without actual POSIX ACL entries, or ERR_PTR() encoded error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_set_acl (C function) c.vfs_set_aclhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhV/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}(hjϧhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj˧ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM5ubj;)}(h^(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h](jA)}(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&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j)}jjѧsb c.vfs_set_aclasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *dentryh](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)}(hdentryh]hdentry}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j ]j% c.vfs_set_aclasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst char *acl_nameh](j )}(hjh]hconst}(hjͨhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjɨubj)}(h h]h }(hjڨhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjɨubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjɨubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjɨubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjɨubj5)}(hacl_nameh]hacl_name}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɨubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct posix_acl *kaclh](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 posix_aclh]h posix_acl}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j ]j% c.vfs_set_aclasbuh1hhj&ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj5)}(hkaclh]hkacl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM5ubeh}(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&]jjjjéjjéjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *dentry`` the dentry based on which to set the posix acls ``const char *acl_name`` the name of the posix acl ``struct posix_acl *kacl`` the posix acls in the appropriate VFS format **Description** This function sets **kacl**. The caller must all posix_acl_release() on **kacl** afterwards. **Return** On success 0, on error negative errno.h](h)}(h**Parameters**h]j)}(hjͩh]h Parameters}(hjϩhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˩ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM9hjǩubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(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.chM6hjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(hJ``struct dentry *dentry`` the dentry based on which to set the posix acls h](j)}(h``struct dentry *dentry``h]j)}(hj%h]hstruct dentry *dentry}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM7hjubj)}(hhh]h)}(h/the dentry based on which to set the posix aclsh]h/the dentry based on which to set the posix acls}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM7hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM7hjubj)}(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.chM8hjXubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshM8hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM8hjubj)}(hH``struct posix_acl *kacl`` the posix acls in the appropriate VFS format h](j)}(h``struct posix_acl *kacl``h]j)}(hjh]hstruct posix_acl *kacl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM9hjubj)}(hhh]h)}(h,the posix acls in the appropriate VFS formath]h,the posix acls in the appropriate VFS format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubeh}(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.chM;hjǩubh)}(h\This function sets **kacl**. The caller must all posix_acl_release() on **kacl** afterwards.h](hThis function sets }(hjhhhNhNubj)}(h**kacl**h]hkacl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh-. The caller must all posix_acl_release() on }(hjhhhNhNubj)}(h**kacl**h]hkacl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh afterwards.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM:hjǩubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM=hjǩubh)}(h&On success 0, on error negative errno.h]h&On success 0, on error negative errno.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM>hjǩubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_get_acl (C function) c.vfs_get_aclhNtauh1hhjRhhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^hhhjohMubh)}(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)}j vfs_get_aclsb c.vfs_get_aclasbuh1hhj^hhhjohMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^hhhjohMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhjohMubj/)}(h vfs_get_aclh]j5)}(hjh]h vfs_get_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj^hhhjohMubj;)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjܫhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjثubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjثubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.vfs_get_aclasbuh1hhjثubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjثubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjثubj5)}(hidmaph]hidmap}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjثubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjԫubjA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubh)}(hhh]j5)}(hdentryh]hdentry}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j ]j c.vfs_get_aclasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjԫubjA)}(hconst char *acl_nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjɬhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hj׬hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hacl_nameh]hacl_name}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjԫubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj^hhhjohMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjZhhhjohMubah}(h]jUah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjohMhjWhhubjc)}(hhh]h)}(hget posix aclsh]hget posix acls}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj'hhubah}(h]h ]h"]h$]h&]uh1jbhjWhhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjRhNhNubj)}(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)}(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:86: ./fs/posix_acl.chMhjFubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjkh]hstruct mnt_idmap *idmap}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjeubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubj)}(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&]uh1jhjhMhjbubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj׭ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubeh}(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:86: ./fs/posix_acl.chMhjFubh)}(hjThis function retrieves **kacl** from the filesystem. The caller must all posix_acl_release() on **kacl**.h](hThis function retrieves }(hj.hhhNhNubj)}(h**kacl**h]hkacl}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubhA from the filesystem. The caller must all posix_acl_release() on }(hj.hhhNhNubj)}(h**kacl**h]hkacl}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjFubh)}(h **Return**h]j)}(hjch]hReturn}(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.chMhjFubh)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_remove_acl (C function)c.vfs_remove_aclhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hvfs_remove_aclh]j5)}(hvfs_remove_aclh]hvfs_remove_acl}(hjɮhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjŮubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](jA)}(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.vfs_remove_aclasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjݮubjA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(hdentryh]hdentry}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j ]jc.vfs_remove_aclasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjݮubjA)}(hconst char *acl_nameh](j )}(hjh]hconst}(hjǯhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjïubj)}(h h]h }(hjԯhhhNhNubah}( h]h ]j*ah"]h$]h&]uh1jhjïubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjïubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjïubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjïubj5)}(hacl_nameh]hacl_name}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjïubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjݮubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hremove posix aclsh]hremove posix acls}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhjRhNhNubj)}(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)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjQubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjvh]hstruct mnt_idmap *idmap}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjpubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(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}(hjȰhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjİhMhjŰubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjİhMhjmubj)}(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.chMhjubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubeh}(h]h ]h"]h$]h&]uh1jhjQubh)}(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.chMhjQubh)}(h!This function removes posix acls.h]h!This function removes posix acls.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjQubh)}(h **Return**h]j)}(hjJh]hReturn}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjQubh)}(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.chMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfill_mg_cmtime (C function)c.fill_mg_cmtimehNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhK ubj/)}(hfill_mg_cmtimeh]j5)}(hfill_mg_cmtimeh]hfill_mg_cmtime}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhK ubj;)}(h;(struct kstat *stat, u32 request_mask, struct inode *inode)h](jA)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hj̱hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjȱubj)}(h h]h }(hjٱhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȱubh)}(hhh]j5)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.fill_mg_cmtimeasbuh1hhjȱubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȱubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjȱubj5)}(hstath]hstat}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjȱubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjıubjA)}(hu32 request_maskh](h)}(hhh]j5)}(hu32h]hu32}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j ]jc.fill_mg_cmtimeasbuh1hhj:ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj5)}(h request_maskh]h request_mask}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjıubjA)}(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.fill_mg_cmtimeasbuh1hhjubj)}(h h]h }(hj²hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjвhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hinodeh]hinode}(hjݲhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjıubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhK ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhK ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhK hjhhubjc)}(hhh]h)}(h5Fill in the mtime and ctime and flag ctime as QUERIEDh]h5Fill in the mtime and ctime and flag ctime as QUERIED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX<**Parameters** ``struct kstat *stat`` where to store the resulting values ``u32 request_mask`` STATX_* values requested ``struct inode *inode`` inode from which to grab the c/mtime **Description** Given **inode**, grab the ctime and mtime out if it and store the result in **stat**. When fetching the value, flag it as QUERIED (if not already) so the next write will record a distinct timestamp. NB: The QUERIED flag is tracked in the ctime, but we set it there even if only the mtime was requested, as that ensures that the next mtime change will be distinct.h](h)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK$hj#ubj)}(hhh](j)}(h;``struct kstat *stat`` where to store the resulting values h](j)}(h``struct kstat *stat``h]j)}(hjHh]hstruct kstat *stat}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK!hjBubj)}(hhh]h)}(h#where to store the resulting valuesh]h#where to store the resulting values}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hK!hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hK!hj?ubj)}(h.``u32 request_mask`` STATX_* values requested h](j)}(h``u32 request_mask``h]j)}(hjh]hu32 request_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK"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"hj?ubj)}(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}(hjӳhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjϳhK#hjгubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϳhK#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&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK%hj#ubh)}(hGiven **inode**, grab the ctime and mtime out if it and store the result in **stat**. When fetching the value, flag it as QUERIED (if not already) so the next write will record a distinct timestamp.h](hGiven }(hj hhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh=, grab the ctime and mtime out if it and store the result in }(hj hhhNhNubj)}(h**stat**h]hstat}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhr. When fetching the value, flag it as QUERIED (if not already) so the next write will record a distinct timestamp.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK$hj#ubh)}(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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK(hj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_fillattr (C function)c.generic_fillattrhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjihhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKBubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjihhhj{hKBubj/)}(hgeneric_fillattrh]j5)}(hgeneric_fillattrh]hgeneric_fillattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjihhhj{hKBubj;)}(hT(struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat)h](jA)}(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.generic_fillattrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hu32 request_maskh](h)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j ]jc.generic_fillattrasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h request_maskh]h request_mask}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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.generic_fillattrasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct kstat *stath](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)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.generic_fillattrasbuh1hhjеubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjеubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjеubj5)}(hstath]hstat}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjеubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjihhhj{hKBubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjehhhj{hKBubah}(h]j`ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{hKBhjbhhubjc)}(hhh]h)}(h2Fill in the basic attributes from the inode structh]h2Fill in the basic attributes from the inode struct}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKBhjRhhubah}(h]h ]h"]h$]h&]uh1jbhjbhhhj{hKBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjRhNhNubj)}(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)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKFhjqubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKChjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKChjubj)}(h(``u32 request_mask`` statx request_mask h](j)}(h``u32 request_mask``h]j)}(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.chKDhjɶubj)}(hhh]h)}(hstatx request_maskh]hstatx request_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKDhjubah}(h]h ]h"]h$]h&]uh1jhjɶubeh}(h]h ]h"]h$]h&]uh1jhjhKDhjubj)}(h3``struct inode *inode`` Inode to use as the source h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKEhjubj)}(hhh]h)}(hInode to use as the sourceh]hInode to use as the source}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKEhjubj)}(h7``struct kstat *stat`` Where to fill in the attributes h](j)}(h``struct kstat *stat``h]j)}(hjAh]hstruct kstat *stat}(hjChhhNhNubah}(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.chKFhj;ubj)}(hhh]h)}(hWhere to fill in the attributesh]hWhere to fill in the attributes}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhKFhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKFhjubeh}(h]h ]h"]h$]h&]uh1jhjqubh)}(h**Description**h]j)}(hj|h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKHhjqubh)}(hFill in the basic attributes in the kstat structure from data that's to be found on the VFS inode structure. This is the default if no getattr inode operation is supplied.h]hFill in the basic attributes in the kstat structure from data that’s to be found on the VFS inode structure. This is the default if no getattr inode operation is supplied.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKGhjqubh)}(hXXIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before filling in the uid and gid filds. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before filling in the uid and gid filds. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjͷhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKKhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$generic_fill_statx_attr (C function)c.generic_fill_statx_attrhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKuubj/)}(hgeneric_fill_statx_attrh]j5)}(hgeneric_fill_statx_attrh]hgeneric_fill_statx_attr}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKuubj;)}(h)(struct inode *inode, struct kstat *stat)h](jA)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubh)}(hhh]j5)}(hinodeh]hinode}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j ]j)}jj)sbc.generic_fill_statx_attrasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj;ubjA)}(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_fill_statx_attrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hstath]hstat}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj;ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhKuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKuubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKuhjhhubjc)}(hhh]h)}(h1Fill in the statx attributes from the inode flagsh]h1Fill in the statx attributes from the inode flags}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKuhj3hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjRhNhNubj)}(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)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKyhjRubj)}(hhh](j)}(h3``struct inode *inode`` Inode to use as the source h](j)}(h``struct inode *inode``h]j)}(hjwh]hstruct inode *inode}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKvhjqubj)}(hhh]h)}(hInode to use as the sourceh]hInode to use as the source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKvhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKvhjnubj)}(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}(hjɹhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjŹhKwhjƹubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŹhKwhjnubeh}(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&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKyhjRubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKxhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-generic_fill_statx_atomic_writes (C function)"c.generic_fill_statx_atomic_writeshNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj,hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,hhhj>hKubj/)}(h generic_fill_statx_atomic_writesh]j5)}(h generic_fill_statx_atomic_writesh]h generic_fill_statx_atomic_writes}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhj>hKubj;)}(h](struct kstat *stat, unsigned int unit_min, unsigned int unit_max, unsigned int unit_max_opt)h](jA)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjSsb"c.generic_fill_statx_atomic_writesasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj5)}(hstath]hstat}(hjƺhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjeubjA)}(hunsigned int unit_minh](jd)}(hunsignedh]hunsigned}(hjߺhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjۺubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjۺubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjۺubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjۺubj5)}(hunit_minh]hunit_min}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjۺubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjeubjA)}(hunsigned int unit_maxh](jd)}(hunsignedh]hunsigned}(hj0hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj,ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubjd)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj,ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj5)}(hunit_maxh]hunit_max}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjeubjA)}(hunsigned int unit_max_opth](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj}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&]noemphjLjMuh1j@hjeubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj,hhhj>hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj(hhhj>hKubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hKhj%hhubjc)}(hhh]h)}(h&Fill in atomic writes statx attributesh]h&Fill in atomic writes statx attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhj%hhhj>hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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)}(h<``struct kstat *stat`` Where to fill in the attribute flags h](j)}(h``struct kstat *stat``h]j)}(hj$h]hstruct kstat *stat}(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.chKhjubj)}(hhh]h)}(h$Where to fill in the attribute flagsh]h$Where to fill in the attribute flags}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hKhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjubj)}(hI``unsigned int unit_min`` Minimum supported atomic write length in bytes h](j)}(h``unsigned int unit_min``h]j)}(hj]h]hunsigned int unit_min}(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.chKhjWubj)}(hhh]h)}(h.Minimum supported atomic write length in bytesh]h.Minimum supported atomic write length in bytes}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhKhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjubj)}(hI``unsigned int unit_max`` Maximum supported atomic write length in bytes h](j)}(h``unsigned int unit_max``h]j)}(hjh]hunsigned int unit_max}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubj)}(hhh]h)}(h.Maximum supported atomic write length in bytesh]h.Maximum supported atomic write length in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hW``unsigned int unit_max_opt`` Optimised maximum supported atomic write length in bytes h](j)}(h``unsigned int unit_max_opt``h]j)}(hjϼh]hunsigned int unit_max_opt}(hjѼhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͼubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjɼubj)}(hhh]h)}(h8Optimised maximum supported atomic write length in bytesh]h8Optimised maximum supported atomic write length in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjɼubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_getattr_nosec (C function)c.vfs_getattr_nosechNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjKhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhj]hKubj/)}(hvfs_getattr_nosech]j5)}(hvfs_getattr_nosech]hvfs_getattr_nosec}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhj]hKubj;)}(hY(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags)h](jA)}(hconst struct path *pathh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hjŽhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj½ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjǽmodnameN classnameNjj)}j ]j)}jjrsbc.vfs_getattr_nosecasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j ]jc.vfs_getattr_nosecasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hstath]hstat}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 ]jc.vfs_getattr_nosecasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned int query_flagsh](jd)}(hunsignedh]hunsigned}(hjѾhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj;ubj)}(h h]h }(hj߾hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubjd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj;ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj5)}(h query_flagsh]h query_flags}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjKhhhj]hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjGhhhj]hKubah}(h]jBah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj]hKhjDhhubjc)}(hhh]h)}(hgetattr without security checksh]hgetattr without security checks}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhj0hhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhj]hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhjRhNhNubj)}(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)}(hjUh]h Parameters}(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.chKhjOubj)}(hhh](j)}(h8``const struct path *path`` file to get attributes from h](j)}(h``const struct path *path``h]j)}(hjth]hconst struct path *path}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjnubj)}(hhh]h)}(hfile to get attributes fromh]hfile to get attributes from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhKhjkubj)}(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}(hjƿhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj¿hKhjÿubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj¿hKhjkubj)}(hF``u32 request_mask`` STATX_xxx flags indicating what the caller wants h](j)}(h``u32 request_mask``h]j)}(hjh]hu32 request_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubj)}(hhh]h)}(h0STATX_xxx flags indicating what the caller wantsh]h0STATX_xxx flags indicating what the caller wants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjkubj)}(h=``unsigned int query_flags`` Query mode (AT_STATX_SYNC_TYPE) h](j)}(h``unsigned int query_flags``h]j)}(hjh]hunsigned int query_flags}(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.chKhjubj)}(hhh]h)}(hQuery mode (AT_STATX_SYNC_TYPE)h]hQuery mode (AT_STATX_SYNC_TYPE)}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hKhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hKhjkubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjOubh)}(h6Get attributes without calling security_inode_getattr.h]h6Get attributes without calling security_inode_getattr.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjOubh)}(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.chKhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_fsync_range (C function)c.vfs_fsync_rangehNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhQ/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](jA)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j)}jjsbc.vfs_fsync_rangeasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfileh]hfile}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 reftargetjbmodnameN classnameNjj)}j ]j%c.vfs_fsync_rangeasbuh1hhjYubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj5)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h loff_t endh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j%c.vfs_fsync_rangeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hendh]hend}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int datasynch](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdatasynch]hdatasync}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhKubeh}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhj0hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhjRhNhNubj)}(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)}(hjUh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjOubj)}(hhh](j)}(h#``struct file *file`` file to sync h](j)}(h``struct file *file``h]j)}(hjth]hstruct file *file}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjnubj)}(hhh]h)}(h file to synch]h file to sync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhKhjkubj)}(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&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjkubj)}(hD``loff_t end`` offset in bytes of the end of data range (inclusive) h](j)}(h``loff_t end``h]j)}(hjh]h loff_t end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjubj)}(hhh]h)}(h4offset in bytes of the end of data range (inclusive)h]h4offset in bytes of the end of data range (inclusive)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjkubj)}(h'``int datasync`` perform only datasync h](j)}(h``int datasync``h]j)}(hjh]h int datasync}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjubj)}(hhh]h)}(hperform only datasynch]hperform only datasync}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hKhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hKhjkubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjOubh)}(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 }(hjphhhNhNubj)}(h **start**h]hstart}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh..**end** and metadata for }(hjphhhNhNubj)}(h**file**h]hfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh to disk. If }(hjphhhNhNubj)}(h **datasync**h]hdatasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubhE is set only metadata needed to access modified file data is written.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_fsync (C function) c.vfs_fsynchNtauh1hhjRhhhNhNubh)}(hhh](j)}(h/int vfs_fsync (struct file *file, int datasync)h]j)}(h.int vfs_fsync(struct file *file, int datasync)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(h vfs_fsynch]j5)}(h vfs_fsynch]h vfs_fsync}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj;)}(h!(struct file *file, int datasync)h](jA)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j ]j)}jjsb c.vfs_fsyncasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfileh]hfile}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(h int datasynch](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hj ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(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&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct file *file`` file to sync ``int datasync`` only perform a fdatasync operation **Description** Write back data and metadata for **file** to disk. If **datasync** is set only metadata needed to access modified file data is written.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjubj)}(hhh](j)}(h#``struct file *file`` file to sync h](j)}(h``struct file *file``h]j)}(hj h]hstruct file *file}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjubj)}(hhh]h)}(h file to synch]h file to sync}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(h4``int datasync`` only perform a fdatasync operation h](j)}(h``int datasync``h]j)}(hjDh]h int datasync}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhj>ubj)}(hhh]h)}(h"only perform a fdatasync operationh]h"only perform a fdatasync operation}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhKhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjubh)}(hWrite back data and metadata for **file** to disk. If **datasync** is set only metadata needed to access modified file data is written.h](h!Write back data and metadata for }(hjhhhNhNubj)}(h**file**h]hfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to disk. If }(hjhhhNhNubj)}(h **datasync**h]hdatasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE is set only metadata needed to access modified file data is written.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"__vfs_setxattr_locked (C function)c.__vfs_setxattr_lockedhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h__vfs_setxattr_lockedh]j5)}(h__vfs_setxattr_lockedh]h__vfs_setxattr_locked}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags, struct inode **delegated_inode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j ]j)}jj sbc.__vfs_setxattr_lockedasbuh1hhj!ubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj5)}(hidmaph]hidmap}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_setxattr_lockedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hj"hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst void *valueh](j )}(hjh]hconst}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubjd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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.__vfs_setxattr_lockedasbuh1hhjubj)}(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&]noemphjLjMuh1j@hjubjA)}(h int flagsh](jd)}(hinth]hint}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hflagsh]hflags}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct inode **delegated_inodeh](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)}(hinodeh]hinode}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j ]j_c.__vfs_setxattr_lockedasbuh1hhj:ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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.chM hjubj)}(hhh](j)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj h]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hM hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM hjubj)}(h8``struct dentry *dentry`` object to perform setxattr on h](j)}(h``struct dentry *dentry``h]j)}(hjFh]hstruct dentry *dentry}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hj@ubj)}(hhh]h)}(hobject to perform setxattr onh]hobject to perform setxattr 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 hjubj)}(h'``const char *name`` xattr name to set h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjyubj)}(hhh]h)}(hxattr name to seth]hxattr name to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h/``const void *value`` value to set **name** to h](j)}(h``const void *value``h]j)}(hjh]hconst void *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjubj)}(hhh]h)}(hvalue to set **name** toh](h value to set }(hjhhhNhNubj)}(h**name**h]hname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h"``size_t size`` size of **value** h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjubj)}(hhh]h)}(hsize of **value**h](hsize of }(hjhhhNhNubj)}(h **value**h]hvalue}(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 hjubj)}(h7``int flags`` flags to pass into filesystem operations h](j)}(h ``int flags``h]j)}(hjJh]h int flags}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjDubj)}(hhh]h)}(h(flags to pass into filesystem operationsh]h(flags to pass into filesystem operations}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(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.chMhj}ubj)}(hhh]h)}(hWon return, will contain an inode pointer that a delegation was broken on, NULL if none.h]hWon return, will contain an inode pointer that a delegation was broken on, NULL if none.}(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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_listxattr (C function)c.vfs_listxattrhNtauh1hhjRhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}j vfs_listxattrsbc.vfs_listxattrasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h vfs_listxattrh]j5)}(hjh]h vfs_listxattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h0(struct dentry *dentry, char *list, size_t size)h](jA)}(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}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj)}j ]jc.vfs_listxattrasbuh1hhj*ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj&ubjA)}(h char *listh](jd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj&ubjA)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.vfs_listxattrasbuh1hhjubj)}(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&]noemphjLjMuh1j@hj&ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h)retrieve \0 separated list of xattr namesh]h)retrieve 0 separated list of xattr names}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhj6hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjRhNhNubj)}(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)}(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:95: ./fs/xattr.chMhjUubj)}(hhh](j)}(hT``struct dentry *dentry`` the dentry from whose inode the xattr names are retrieved h](j)}(h``struct dentry *dentry``h]j)}(hjzh]hstruct dentry *dentry}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjtubj)}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjqubj)}(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&]uh1jhjhMhjqubj)}(h#``size_t size`` size of the buffer h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubj)}(hhh]h)}(hsize of the bufferh]hsize of the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjqubeh}(h]h ]h"]h$]h&]uh1jhjUubh)}(h**Description**h]j)}(hj'h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjUubh)}(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 }(hj=hhhNhNubj)}(h **dentry**h]hdentry}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjUubh)}(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.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjUubh)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjUubh)}(h **Return**h]j)}(hj~h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjUubh)}(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.chMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__vfs_removexattr_locked (C function)c.__vfs_removexattr_lockedhNtauh1hhjRhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(h__vfs_removexattr_lockedh]j5)}(h__vfs_removexattr_lockedh]h__vfs_removexattr_locked}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj;)}(hb(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct inode **delegated_inode)h](jA)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j)}jjsbc.__vfs_removexattr_lockedasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hidmaph]hidmap}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j:c.__vfs_removexattr_lockedasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct inode **delegated_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 reftargetj_modnameN classnameNjj)}j ]j:c.__vfs_removexattr_lockedasbuh1hhj;ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM 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&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(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)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode 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:95: ./fs/xattr.chMhjubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(h8``struct dentry *dentry`` object to perform setxattr on 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:95: ./fs/xattr.chMhjAubj)}(hhh]h)}(hobject to perform setxattr onh]hobject to perform setxattr on}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjzubj)}(hhh]h)}(hname of xattr to removeh]hname of xattr to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_listxattr (C function)c.generic_listxattrhNtauh1hhjRhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jgeneric_listxattrsbc.generic_listxattrasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj6hMjubj/)}(hgeneric_listxattrh]j5)}(hj3h]hgeneric_listxattr}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj6hMjubj;)}(h9(struct dentry *dentry, char *buffer, size_t buffer_size)h](jA)}(hstruct dentry *dentryh](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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j1c.generic_listxattrasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj\ubjA)}(h char *bufferh](jd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj\ubjA)}(hsize_t buffer_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 ]j1c.generic_listxattrasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h buffer_sizeh]h buffer_size}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj\ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj6hMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj6hMjubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6hMjhjhhubjc)}(hhh]h)}(h.run through a dentry's xattr list() operationsh]h0run through a dentry’s xattr list() operations}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMjhjlhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj6hMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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)}(hjh]h char *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMlhjubj)}(hhh]h)}(h result bufferh]h result buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h*``size_t buffer_size`` size of **buffer** h](j)}(h``size_t buffer_size``h]j)}(hj"h]hsize_t buffer_size}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMmhjubj)}(hhh]h)}(hsize of **buffer**h](hsize of }(hj;hhhNhNubj)}(h **buffer**h]hbuffer}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1hhj7hMmhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMmhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxattr_full_name (C function)c.xattr_full_namehNtauh1hhjRhhhNhNubh)}(hhh](j)}(hTconst char * xattr_full_name (const struct xattr_handler *handler, const char *name)h]j)}(hRconst char *xattr_full_name(const struct xattr_handler *handler, const char *name)h](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]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&]uh1jhjhhhjhMubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj/)}(hxattr_full_nameh]j5)}(hxattr_full_nameh]hxattr_full_name}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h7(const struct xattr_handler *handler, const char *name)h](jA)}(h#const struct xattr_handler *handlerh](j )}(hjh]hconst}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj )}(hjzh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h xattr_handlerh]h xattr_handler}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j ]j)}jj sbc.xattr_full_nameasbuh1hhj ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hhandlerh]hhandler}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(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}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjRhNhNubj)}(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)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhj;ubj)}(hhh](j)}(hO``const struct xattr_handler *handler`` handler of the xattr_handler operation h](j)}(h'``const struct xattr_handler *handler``h]j)}(hj`h]h#const struct xattr_handler *handler}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjZubj)}(hhh]h)}(h&handler of the xattr_handler operationh]h&handler of the xattr_handler operation}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubj)}(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&]uh1jhjhMhjWubeh}(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:95: ./fs/xattr.chMhj;ubh)}(hX%The get and set xattr handler operations are called with the remainder of the attribute name after skipping the handler's prefix: for example, "foo" is passed to the get operation of a handler with prefix "user." to get attribute "user.foo". The full name is still "there" in the name though.h]hX7The get and set xattr handler operations are called with the remainder of the attribute name after skipping the handler’s prefix: for example, “foo” is passed to the get operation of a handler with prefix “user.” to get attribute “user.foo”. The full name is still “there” in the name though.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhj;ubh)}(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:95: ./fs/xattr.chMhj;ubh)}(hthe list xattr handler operation when called from the vfs is passed a NULL name; some file systems use this operation internally, with varying semantics.h]hthe list xattr handler operation when called from the vfs is passed a NULL name; some file systems use this operation internally, with varying semantics.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mnt_get_write_access (C function)c.mnt_get_write_accesshNtauh1hhjRhhhNhNubh)}(hhh](j)}(h-int mnt_get_write_access (struct vfsmount *m)h]j)}(h,int mnt_get_write_access(struct vfsmount *m)h](jd)}(hinth]hint}(hj@hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj<hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<hhhjNhMubj/)}(hmnt_get_write_accessh]j5)}(hmnt_get_write_accessh]hmnt_get_write_access}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj<hhhjNhMubj;)}(h(struct vfsmount *m)h]jA)}(hstruct vfsmount *mh](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)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjcsbc.mnt_get_write_accessasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj5)}(hjh]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjuubah}(h]h ]h"]h$]h&]jLjMuh1j:hj<hhhjNhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhjNhMubah}(h]j3ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjNhMhj5hhubjc)}(hhh]h)}(h5get write access to a mount without freeze protectionh]h5get write access to a mount without freeze protection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj5hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct vfsmount *m`` the mount on which to take a write **Description** This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mnt it read-write) before returning success. This operation does not protect against filesystem being frozen. When the write operation is finished, mnt_put_write_access() must be called. This is effectively a refcount.h](h)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]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}(hjBhhhNhNubah}(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.chMhj:ubj)}(hhh]h)}(h"the mount on which to take a writeh]h"the mount on which to take a write}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_want_write (C function)c.mnt_want_writehNtauh1hhjRhhhNhNubh)}(hhh](j)}(h'int mnt_want_write (struct vfsmount *m)h]j)}(h&int mnt_want_write(struct vfsmount *m)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM!ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM!ubj/)}(hmnt_want_writeh]j5)}(hmnt_want_writeh]hmnt_want_write}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM!ubj;)}(h(struct vfsmount *m)h]jA)}(hstruct vfsmount *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)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.mnt_want_writeasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hjh]hm}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM!ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM!ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM!hjhhubjc)}(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.chM!hj|hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chM%hjubj)}(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.chM"hjubj)}(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&]uh1hhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM$hjubh)}(hX*This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mount is read-write, filesystem is not frozen) before returning success. When the write operation is finished, mnt_drop_write() must be called. This is effectively a refcount.h]hX*This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mount is read-write, filesystem is not frozen) before returning success. When the write operation is finished, mnt_drop_write() must be called. This is effectively a refcount.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM#hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mnt_want_write_file (C function)c.mnt_want_write_filehNtauh1hhjRhhhNhNubh)}(hhh](j)}(h+int mnt_want_write_file (struct file *file)h]j)}(h*int mnt_want_write_file(struct file *file)h](jd)}(hinth]hint}(hj@hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj<hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<hhhjNhMMubj/)}(hmnt_want_write_fileh]j5)}(hmnt_want_write_fileh]hmnt_want_write_file}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj<hhhjNhMMubj;)}(h(struct file *file)h]jA)}(hstruct file *fileh](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)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjcsbc.mnt_want_write_fileasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjuubah}(h]h ]h"]h$]h&]jLjMuh1j:hj<hhhjNhMMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhjNhMMubah}(h]j3ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjNhMMhj5hhubjc)}(hhh]h)}(h"get write access to a file's mounth]h$get write access to a file’s mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj5hhhjNhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct file *file`` the file who's mount on which to take a write **Description** This is like mnt_want_write, but if the file is already open for writing it skips incrementing mnt_writers (since the open file already has a reference) and instead only does the freeze protection and the check for emergency r/o remounts. This must be paired with mnt_drop_write_file.h](h)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMQhjubj)}(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)}(hjAh]hstruct file *file}(hjChhhNhNubah}(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.chMNhj;ubj)}(hhh]h)}(h-the file who's mount on which to take a writeh]h/the file who’s mount on which to take a write}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMNhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMNhj8ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj|h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMPhjubh)}(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.chMOhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mnt_put_write_access (C function)c.mnt_put_write_accesshNtauh1hhjRhhhNhNubh)}(hhh](j)}(h0void mnt_put_write_access (struct vfsmount *mnt)h]j)}(h/void mnt_put_write_access(struct vfsmount *mnt)h](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMbubj/)}(hmnt_put_write_accessh]j5)}(hmnt_put_write_accessh]hmnt_put_write_access}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMbubj;)}(h(struct vfsmount *mnt)h]jA)}(hstruct vfsmount *mnth](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)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.mnt_put_write_accessasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hmnth]hmnt}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMbubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMbubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMbhjhhubjc)}(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.chMbhj~hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chMfhjubj)}(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.chMchjubj)}(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&]uh1hhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubah}(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:98: ./fs/namespace.chMehjubh)}(hTells the low-level filesystem that we are done performing writes to it. Must be matched with mnt_get_write_access() call above.h]hTells the low-level filesystem that we are done performing writes to it. Must be matched with mnt_get_write_access() call above.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMdhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_drop_write (C function)c.mnt_drop_writehNtauh1hhjRhhhNhNubh)}(hhh](j)}(h*void mnt_drop_write (struct vfsmount *mnt)h]j)}(h)void mnt_drop_write(struct vfsmount *mnt)h](jd)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj>hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMrubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhjPhMrubj/)}(hmnt_drop_writeh]j5)}(hmnt_drop_writeh]hmnt_drop_write}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhjPhMrubj;)}(h(struct vfsmount *mnt)h]jA)}(hstruct vfsmount *mnth](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)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjesbc.mnt_drop_writeasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubah}(h]h ]h"]h$]h&]jLjMuh1j:hj>hhhjPhMrubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhjPhMrubah}(h]j5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMrhj7hhubjc)}(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.chMrhjhhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhjPhMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``struct vfsmount *mnt`` the mount on which to give up write access **Description** Tells the low-level filesystem that we are done performing writes to it and also allows filesystem to be frozen again. Must be matched with mnt_want_write() call above.h](h)}(h**Parameters**h]j)}(hj$h]h Parameters}(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.chMvhjubj)}(hhh]j)}(hD``struct vfsmount *mnt`` the mount on which to give up write access h](j)}(h``struct vfsmount *mnt``h]j)}(hjCh]hstruct vfsmount *mnt}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMshj=ubj)}(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&]uh1hhjXhMshjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMshj:ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMuhjubh)}(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.chMthjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_create_mount (C function)c.vfs_create_mounthNtauh1hhjRhhhNhNubh)}(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 hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jvfs_create_mountsbc.vfs_create_mountasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj/)}(hvfs_create_mounth]j5)}(hjh]hvfs_create_mount}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h(struct fs_context *fc)h]jA)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j ]jc.vfs_create_mountasbuh1hhj9ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj5ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h*Create a mount for a configured superblockh]h*Create a mount for a configured superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(hX+**Parameters** ``struct fs_context *fc`` The configuration context with the superblock attached **Description** Create a mount to an already configured superblock. If necessary, the caller should invoke vfs_get_tree() before calling this. Note that this does not attach the mount to anything.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(hhh]j)}(hQ``struct fs_context *fc`` The configuration context with the superblock attached h](j)}(h``struct fs_context *fc``h]j)}(hjh]hstruct fs_context *fc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(hhh]h)}(h6The configuration context with the superblock attachedh]h6The configuration context with the superblock attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubh)}(hCreate a mount to an already configured superblock. If necessary, the caller should invoke vfs_get_tree() before calling this.h]hCreate a mount to an already configured superblock. If necessary, the caller should invoke vfs_get_tree() before calling this.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubh)}(h5Note that this does not attach the mount to anything.h]h5Note that this does not attach the mount to anything.}(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&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpath_is_mountpoint (C function)c.path_is_mountpointhNtauh1hhjRhhhNhNubh)}(hhh](j)}(h1bool path_is_mountpoint (const struct path *path)h]j)}(h0bool path_is_mountpoint(const struct path *path)h](jd)}(hjgh]hbool}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhV/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]jA)}(hconst struct path *pathh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.path_is_mountpointasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpathh]hpath}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjehhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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}(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&]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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubah}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmay_umount_tree (C function)c.may_umount_treehNtauh1hhjRhhhNhNubh)}(hhh](j)}(h(int may_umount_tree (struct vfsmount *m)h]j)}(h'int may_umount_tree(struct vfsmount *m)h](jd)}(hinth]hint}(hj3hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj/hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMcubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/hhhjAhMcubj/)}(hmay_umount_treeh]j5)}(hmay_umount_treeh]hmay_umount_tree}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj/hhhjAhMcubj;)}(h(struct vfsmount *m)h]jA)}(hstruct vfsmount *mh](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)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjVsbc.may_umount_treeasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj5)}(hjh]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubah}(h]h ]h"]h$]h&]jLjMuh1j:hj/hhhjAhMcubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj+hhhjAhMcubah}(h]j&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjAhMchj(hhubjc)}(hhh]h)}(hcheck if a mount tree is busyh]hcheck if a mount tree is busy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMchjhhubah}(h]h ]h"]h$]h&]uh1jbhj(hhhjAhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjRhNhNubj)}(h**Parameters** ``struct vfsmount *m`` root of mount tree **Description** This is called to check if a tree of mounts has any open files, pwds, chroots or sub mounts that are busy.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(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.chMghjubj)}(hhh]j)}(h*``struct vfsmount *m`` root of mount tree h](j)}(h``struct vfsmount *m``h]j)}(hj3h]hstruct vfsmount *m}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMdhj-ubj)}(hhh]h)}(hroot of mount treeh]hroot of mount tree}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMdhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMdhj*ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMfhjubh)}(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.chMehjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmay_umount (C function) c.may_umounthNtauh1hhjRhhhNhNubh)}(hhh](j)}(h%int may_umount (struct vfsmount *mnt)h]j)}(h$int may_umount(struct vfsmount *mnt)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h may_umounth]j5)}(h may_umounth]h may_umount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h(struct vfsmount *mnt)h]jA)}(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&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsb c.may_umountasbuh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hmnth]hmnt}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hcheck if a mount point is busyh]hcheck if a mount point is busy}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjphhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chMhjubj)}(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.chMhjubj)}(hhh]h)}(h root of mounth]h root of mount}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubh)}(hThis is called to check if a mount point has any open files, pwds, chroots or sub mounts. If the mount has sub mounts this will return busy regardless of whether the sub mounts are busy.h]hThis is called to check if a mount point has any open files, pwds, chroots or sub mounts. If the mount has sub mounts this will return busy regardless of whether the sub mounts are busy.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubh)}(hDoesn't take quota and stuff into account. IOW, in some cases it will give false negatives. The main reason why it's here is that we need a non-destructive way to look for easily umountable filesystems.h]hDoesn’t take quota and stuff into account. IOW, in some cases it will give false negatives. The main reason why it’s here is that we need a non-destructive way to look for easily umountable filesystems.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h clone_private_mount (C function)c.clone_private_mounthNtauh1hhjRhhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMy ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?hhhjPhMy ubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j ]j)}jclone_private_mountsbc.clone_private_mountasbuh1hhj?hhhjPhMy ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?hhhjPhMy ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhjPhMy ubj/)}(hclone_private_mounth]j5)}(hjh]hclone_private_mount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj?hhhjPhMy ubj;)}(h(const struct path *path)h]jA)}(hconst struct path *pathh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j~c.clone_private_mountasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpathh]hpath}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hj?hhhjPhMy ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj;hhhjPhMy ubah}(h]j6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMy hj8hhubjc)}(hhh]h)}(h create a private clone of a pathh]h create a private clone of a path}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMy hjVhhubah}(h]h ]h"]h$]h&]uh1jbhj8hhhjPhMy ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjRhNhNubj)}(hX**Parameters** ``const struct path *path`` path to clone **Description** This creates a new vfsmount, which will be the clone of **path**. The new mount will not be attached anywhere in the namespace and will be private (i.e. changes to the originating mount won't be propagated into this). This assumes caller has called or done the equivalent of may_mount(). Release with mntput().h](h)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM} hjuubj)}(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.chMz hjubj)}(hhh]h)}(h path to cloneh]h path to clone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMz hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMz hjubah}(h]h ]h"]h$]h&]uh1jhjuubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM| hjuubh)}(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 }(hjhhhNhNubj)}(h**path**h]hpath}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. 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).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM{ hjuubh)}(hEThis assumes caller has called or done the equivalent of may_mount().h]hEThis assumes caller has called or done the equivalent of may_mount().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM hjuubh)}(hRelease with mntput().h]hRelease with mntput().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM hjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_set_expiry (C function)c.mnt_set_expiryhNtauh1hhjRhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjJhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjFhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFhhhjXhMubj/)}(hmnt_set_expiryh]j5)}(hmnt_set_expiryh]hmnt_set_expiry}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjFhhhjXhMubj;)}(h5(struct vfsmount *mnt, struct list_head *expiry_list)h](jA)}(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)}jjmsbc.mnt_set_expiryasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct list_head *expiry_listh](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 list_headh]h list_head}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.mnt_set_expiryasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(h expiry_listh]h expiry_list}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjFhhhjXhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjBhhhjXhMubah}(h]j=ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjXhMhj?hhubjc)}(hhh]h)}(h!Put a mount on an expiration listh]h!Put a mount on an expiration list}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jbhj?hhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjRhNhNubj)}(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.chM hjubj)}(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)}(hjh]hstruct list_head *expiry_list}(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 list to add the mount to.h]hThe list to add the mount to.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjRhhhNhNubeh}(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}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhhhhhKfubh)}(hhh](h)}(hsysctl interfaceh]hsysctl interface}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhhhhhKiubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dostring (C function)c.proc_dostringhNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj|hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhjhKubj/)}(h proc_dostringh]j5)}(h proc_dostringh]h proc_dostring}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhjhKubj;)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](jA)}(hconst struct ctl_table *tableh](j )}(hjh]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_dostringasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(htableh]htable}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int writeh](jd)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj5)}(hwriteh]hwrite}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_dostringasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_dostringasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpposh]hppos}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj|hhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjxhhhjhKubah}(h]jsah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjuhhubjc)}(hhh]h)}(hread a string sysctlh]hread a string sysctl}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjyhhubah}(h]h ]h"]h$]h&]uh1jbhjuhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjVhNhNubj)}(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}(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 sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h=``int 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.chKhjubj)}(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&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(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.chKhj7ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhKhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKhjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjvh]h size_t *lenp}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjpubj)}(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&]uh1jhjpubeh}(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)}(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.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 }(hjhhhNhNubj)}(h``NULL-terminated``h]hNULL-terminated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. 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.}(hjhhhNhNubeh}(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.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dobool (C function) c.proc_doboolhNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjLhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMlubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLhhhj^hMlubj/)}(h proc_doboolh]j5)}(h proc_doboolh]h proc_dobool}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjLhhhj^hMlubj;)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](jA)}(hconst struct ctl_table *tableh](j )}(hjh]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)}jjssb c.proc_doboolasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int writeh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjOhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjKubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj5)}(hbufferh]hbuffer}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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.proc_doboolasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpposh]hppos}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjLhhhj^hMlubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHhhhj^hMlubah}(h]jCah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj^hMlhjEhhubjc)}(hhh]h)}(hread/write a boolh]hread/write a bool}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMlhjIhhubah}(h]h ]h"]h$]h&]uh1jbhjEhhhj^hMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjVhNhNubj)}(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)}(hjnh]h Parameters}(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.chMphjhubj)}(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.chMnhjubj)}(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&]uh1hhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj h]h void *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMohjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMohj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMohjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjFh]h size_t *lenp}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMphj@ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMphj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMphjubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjh]h loff_t *ppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMqhjyubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubeh}(h]h ]h"]h$]h&]uh1jhjhubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMshjhubh)}(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.chMrhjhubh)}(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).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMuhjhubh)}(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.chMxhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dointvec (C function)c.proc_dointvechNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhX/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_dointvech]j5)}(h proc_dointvech]h proc_dointvec}(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](jA)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj )}(hjzh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(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@sbc.proc_dointvecasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjRubjA)}(h int writeh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hjRubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbufferh]hbuffer}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjRubjA)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j ]jc.proc_dointvecasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjRubjA)}(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)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpposh]hppos}(hjhhhNh$Nubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjRubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj+hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj+hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj+hMhjhhubjc)}(hhh]h)}(hread a vector of integersh]hread a vector of integers}(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&]jjjj1jj1jjjuh1hhhhjVhNhNubj)}(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)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj5ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjZh]hconst struct ctl_table *table}(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)}(hthe sysctl tableh]hthe sysctl table}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjQubj)}(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&]uh1jhjhMhjQubj)}(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&]uh1jhjhMhjQubj)}(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.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(hMhjQubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjLh]h loff_t *ppos}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjFubj)}(hhh]h)}(h file positionh]h file position}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjQubeh}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj5ubh)}(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.chMhj5ubh)}(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.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_douintvec (C function)c.proc_douintvechNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhX/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_douintvech]j5)}(hproc_douintvech]hproc_douintvec}(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](jA)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j ]j)}jjsbc.proc_douintvecasbuh1hhjubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int writeh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hjubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 reftargetj!modnameN classnameNjj)}j ]jmc.proc_douintvecasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hlenph]hlenp}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j ]jmc.proc_douintvecasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h"read a vector of unsigned integersh]h"read a vector of unsigned integers}(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&]jjjjjjjjjuh1hhhhjVhNhNubj)}(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)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjQh]h int write}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjKubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh& if this is a write to the sysctl file}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(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)}(hj h]h loff_t *ppos}(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)}(h file positionh]h file position}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string.h]hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!proc_dointvec_minmax (C function)c.proc_dointvec_minmaxhNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhX/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](jA)}(hconst struct ctl_table *tableh](j )}(hjh]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&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.proc_dointvec_minmaxasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(htableh]htable}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int writeh](jd)}(hinth]hint}(hjchhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj_ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj5)}(hwriteh]hwrite}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_dointvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j ]j+c.proc_dointvec_minmaxasbuh1hhj+ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj5)}(hpposh]hppos}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(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&]jjjjjjjjjuh1hhhhjVhNhNubj)}(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)}(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&]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$hMhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjVh]h void *buffer}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjPubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjh]h size_t *lenp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjh]h loff_t *ppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(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)}(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.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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"proc_douintvec_minmax (C function)c.proc_douintvec_minmaxhNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjbhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM%ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhjthM%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.hjbhhhjthM%ubj;)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](jA)}(hconst struct ctl_table *tableh](j )}(hjh]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_douintvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int writeh](jd)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj,ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj5)}(hwriteh]hwrite}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjaubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_douintvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_douintvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpposh]hppos}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjbhhhjthM%ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^hhhjthM%ubah}(h]jYah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthM%hj[hhubjc)}(hhh]h)}(h2read a vector of unsigned ints with min/max valuesh]h2read a vector of unsigned ints with min/max values}(hjbhhhNhNubah}(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[hhhjthM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjVhNhNubj)}(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)hj~ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjh]hconst struct ctl_table *table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& if this is a write to the sysctl file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubj)}(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.chM(hjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hM(hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM(hjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj\h]h size_t *lenp}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM)hjVubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM)hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM)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&]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.chM,hj~ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM+hj~ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM/hj~ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM4hj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h proc_dou8vec_minmax (C function)c.proc_dou8vec_minmaxhNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hj3hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj/hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMCubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/hhhjAhMCubj/)}(hproc_dou8vec_minmaxh]j5)}(hproc_dou8vec_minmaxh]hproc_dou8vec_minmax}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj/hhhjAhMCubj;)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](jA)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(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)}jjVsbc.proc_dou8vec_minmaxasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubjA)}(h int writeh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj.ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj5)}(hbufferh]hbuffer}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubjA)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j ]jc.proc_dou8vec_minmaxasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubjA)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj/hhhjAhMCubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj+hhhjAhMCubah}(h]j&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjAhMChj(hhubjc)}(hhh]h)}(h3read a vector of unsigned chars with min/max valuesh]h3read a vector of unsigned chars with min/max values}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMChj,hhubah}(h]h ]h"]h$]h&]uh1jbhj(hhhjAhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhjVhNhNubj)}(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)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMGhjKubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjph]hconst struct ctl_table *table}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMDhjjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjgubj)}(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&]uh1jhjubh& if this is a write to the sysctl file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjgubj)}(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.chMFhjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjgubj)}(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.chMGhj#ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMGhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMGhjgubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjbh]h loff_t *ppos}(hjdhhhNhNubah}(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.chMHhj\ubj)}(hhh]h)}(h file positionh]h file position}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMHhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMHhjgubeh}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMJhjKubh)}(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.chMIhjKubh)}(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.chMMhjKubh)}(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.chMPhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#proc_doulongvec_minmax (C function)c.proc_doulongvec_minmaxhNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhX/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_doulongvec_minmaxh]j5)}(hproc_doulongvec_minmaxh]hproc_doulongvec_minmax}(hj!hhhNhNubah}(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](jA)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j ]j)}jj#sbc.proc_doulongvec_minmaxasbuh1hhj9ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj5ubjA)}(h int writeh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hj5ubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbufferh]hbuffer}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj5ubjA)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j ]jc.proc_doulongvec_minmaxasbuh1hhj=ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj5)}(hlenph]hlenp}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj5ubjA)}(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)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj5ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h2read a vector of long integers with min/max valuesh]h2read a vector of long 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&]jjjjjjjjjuh1hhhhjVhNhNubj)}(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)}(hjh]h Parameters}(hj hhhNhNubah}(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&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj7ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj4ubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjvh]h int write}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjpubj)}(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&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(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&]uh1jhjhMhj4ubj)}(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&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj4ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj/h]h loff_t *ppos}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj)ubj)}(hhh]h)}(h file positionh]h file position}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj4ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(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 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.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).}(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&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.proc_doulongvec_ms_jiffies_minmax (C function)#c.proc_doulongvec_ms_jiffies_minmaxhNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h!proc_doulongvec_ms_jiffies_minmaxh]j5)}(h!proc_doulongvec_ms_jiffies_minmaxh]h!proc_doulongvec_ms_jiffies_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](jA)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j ]j)}jjsb#c.proc_doulongvec_ms_jiffies_minmaxasbuh1hhjubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(htableh]htable}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int writeh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hjubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_doulongvec_ms_jiffies_minmaxasbuh1hhj ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hlenph]hlenp}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j ]j_#c.proc_doulongvec_ms_jiffies_minmaxasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h7read a vector of millisecond values with min/max valuesMh]h7read a vector of millisecond values 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&]jjjjjjjjjuh1hhhhjVhNhNubj)}(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)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjC h]h int write}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA 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&]uh1hhjX hMhjY ubah}(h]h ]h"]h$]h&]uh1jhj= ubeh}(h]h ]h"]h$]h&]uh1jhjX hMhj ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj h]h void *buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 hMhj ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj h]h size_t *lenp}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 hMhj ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj h]h loff_t *ppos}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubj)}(hhh]h)}(h file positionh]h file position}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj7 h]h Description}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 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 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.}(hjM hhhNhNubah}(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).}(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.}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"proc_dointvec_jiffies (C function)c.proc_dointvec_jiffieshNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj 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](jA)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j)}jj sbc.proc_dointvec_jiffiesasbuh1hhj ubj)}(h h]h }(hj0 hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj> hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(htableh]htable}(hjK hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(h int writeh](jd)}(hinth]hint}(hjd hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj` ubj)}(h h]h }(hjr 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&]noemphjLjMuh1j@hj ubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hbufferh]hbuffer}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]j, c.proc_dointvec_jiffiesasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hlenph]hlenp}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj3 hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0 ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5 modnameN classnameNjj)}j ]j, c.proc_dointvec_jiffiesasbuh1hhj, ubj)}(h h]h }(hjQ hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj, ubj)}(hjh]h*}(hj_ hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj, ubj5)}(hpposh]hppos}(hjl hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj, ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubeh}(h]h ]h"]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)}(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 jjjuh1hhhhjVhNhNubj)}(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)}(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.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\hj ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM\hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM\hj ubj)}(h=``int 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}(hj- hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj) ubh& if this is a write to the sysctl file}(hj) hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj% hM]hj& ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj% hM]hj ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjW h]h void *buffer}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM^hjQ ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjl hM^hjm ubah}(h]h ]h"]h$]h&]uh1jhjQ ubeh}(h]h ]h"]h$]h&]uh1jhjl hM^hj ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj h]h size_t *lenp}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM_hj ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM_hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM_hj ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj h]h loff_t *ppos}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM`hj ubj)}(hhh]h)}(h file positionh]h file position}(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)}(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.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.}(hjhhhNhNubah}(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.}(hj)hhhNhNubah}(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&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)proc_dointvec_userhz_jiffies (C function)c.proc_dointvec_userhz_jiffieshNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjThhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM|ubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjfhM|ubj/)}(hproc_dointvec_userhz_jiffiesh]j5)}(hproc_dointvec_userhz_jiffiesh]hproc_dointvec_userhz_jiffies}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjfhM|ubj;)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](jA)}(hconst struct ctl_table *tableh](j )}(hjh]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)}jj{sbc.proc_dointvec_userhz_jiffiesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(htableh]htable}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int writeh](jd)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjSubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_userhz_jiffiesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_userhz_jiffiesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpposh]hppos}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjThhhjfhM|ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjfhM|ubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjfhM|hjMhhubjc)}(hhh]h)}(h.read a vector of integers as 1/USER_HZ secondsh]h.read a vector of integers as 1/USER_HZ seconds}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM|hjQhhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjfhM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjVhNhNubj)}(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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjpubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& if this is a write to the sysctl file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~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.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)}(hjNh]h size_t *lenp}(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)}(hthe size of the user bufferh]hthe size of the user buffer}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjubj)}(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&]uh1jhjpubh)}(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.chMhjpubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjpubh)}(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.chMhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%proc_dointvec_ms_jiffies (C function)c.proc_dointvec_ms_jiffieshNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhX/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_dointvec_ms_jiffiesh]j5)}(hproc_dointvec_ms_jiffiesh]hproc_dointvec_ms_jiffies}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(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](jA)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubh)}(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)}jj9sbc.proc_dointvec_ms_jiffiesasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjKubjA)}(h int writeh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hjKubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbufferh]hbuffer}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjKubjA)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j ]jc.proc_dointvec_ms_jiffiesasbuh1hhjSubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjKubjA)}(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)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjKubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj$hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj$hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj$hMhj hhubjc)}(hhh]h)}(h+read a vector of integers as 1 millisecondsh]h+read a vector of integers as 1 milliseconds}(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&]uh1jbhj hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjVhNhNubj)}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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)}(hjSh]hconst struct ctl_table *table}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjMubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubj)}(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&]uh1jhjhMhjJubj)}(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&]uh1jhjhMhjJubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj h]h size_t *lenp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.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!hMhjJubj)}(h2``loff_t *ppos`` the current position in the file h](j)}(h``loff_t *ppos``h]j)}(hjEh]h loff_t *ppos}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj?ubj)}(hhh]h)}(h the current position in the fileh]h the current position in the file}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h**Description**h]j)}(hjh]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.chMhj.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 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.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&]uh1jhjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!proc_do_large_bitmap (C function)c.proc_do_large_bitmaphNtauh1hhjVhhhNhNubh)}(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](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhX/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_do_large_bitmaph]j5)}(hproc_do_large_bitmaph]hproc_do_large_bitmap}(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](jA)}(hconst struct ctl_table *tableh](j )}(hjh]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 }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j ]j)}jjsbc.proc_do_large_bitmapasbuh1hhj ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(h int writeh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(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&]noemphjLjMuh1j@hj ubjA)}(h void *bufferh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(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 ]jfc.proc_do_large_bitmapasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hlenph]hlenp}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubjA)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j ]jfc.proc_do_large_bitmapasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjVhNhNubj)}(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)}(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.chMhj ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjJh]h int write}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjDubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh& if this is a write to the sysctl file}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(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.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)}(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.chMhjubh)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(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.}(hjchhhNhNubah}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjVhhhNhNubeh}(h]sysctl-interfaceah ]h"]sysctl interfaceah$]h&]uh1hhjEhhhhhKiubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhW/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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj;)}(h(struct pid *pid)h]jA)}(hstruct pid *pidh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpidh]hpid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.proc_flush_pidasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hpidh]hpid}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM 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 }(hjzhhhNhNubj)}(h**pid**h]hpid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh from the /proc dcache.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjwhhubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(hjhhhNhNubah}(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.}(hj-hhhNhNubah}(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)}(hj>h]hNOTE}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM 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}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjWubj)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihM hjjubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjihM hjTubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]proc-filesystem-interfaceah ]h"]proc filesystem interfaceah$]h&]uh1hhjEhhhhhKoubeh}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK/ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhK/ubj/)}(heventfd_signal_maskh]j5)}(heventfd_signal_maskh]heventfd_signal_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhK/ubj;)}(h((struct eventfd_ctx *ctx, __poll_t mask)h](jA)}(hstruct eventfd_ctx *ctxh](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 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)}jjsbc.eventfd_signal_maskasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hctxh]hctx}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h __poll_t maskh](h)}(hhh]j5)}(h__poll_th]h__poll_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jEc.eventfd_signal_maskasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj5)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhK/ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhK/ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhK/hjhhubjc)}(hhh]h)}(hIncrement the event counterh]hIncrement the event counter}(hjhhhNhNubah}(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&]uh1jbhjhhhjhK/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chK3hjubj)}(hhh](j)}(hA``struct eventfd_ctx *ctx`` [in] Pointer to the eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hjh]hstruct eventfd_ctx *ctx}(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.chK0hjubj)}(hhh]h)}(h$[in] Pointer to the eventfd context.h]h$[in] Pointer to the eventfd context.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hK0hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hK0hjubj)}(h!``__poll_t mask`` [in] poll mask h](j)}(h``__poll_t mask``h]j)}(hjPh]h __poll_t mask}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK1hjJubj)}(hhh]h)}(h[in] poll maskh]h[in] poll mask}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehK1hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehK1hjubeh}(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:119: ./fs/eventfd.chK3hjubh)}(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.chK2hjubeh}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKaubj/)}(heventfd_ctx_puth]j5)}(heventfd_ctx_puth]heventfd_ctx_put}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKaubj;)}(h(struct eventfd_ctx *ctx)h]jA)}(hstruct eventfd_ctx *ctxh](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 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)}jjsbc.eventfd_ctx_putasbuh1hhj ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj5)}(hctxh]hctx}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKaubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKahjhhubjc)}(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.c/hKahjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKaubeh}(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)}(hjh]hstruct eventfd_ctx *ctx}(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.chKbhjubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(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}(hjhhhNhNubah}(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.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().}(hj"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](jd)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjMhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhj_hKubj/)}(heventfd_ctx_remove_wait_queueh]j5)}(heventfd_ctx_remove_wait_queueh]heventfd_ctx_remove_wait_queue}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhj_hKubj;)}(h?(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, __u64 *cnt)h](jA)}(hstruct eventfd_ctx *ctxh](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 eventfd_ctxh]h eventfd_ctx}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjtsbc.eventfd_ctx_remove_wait_queueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hctxh]hctx}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hwait_queue_entry_t *waith](h)}(hhh]j5)}(hwait_queue_entry_th]hwait_queue_entry_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j ]jc.eventfd_ctx_remove_wait_queueasbuh1hhjubj)}(h h]h }(hj! hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj/ hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hwaith]hwait}(hj< hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h __u64 *cnth](h)}(hhh]j5)}(h__u64h]h__u64}(hjX hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjU ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZ modnameN classnameNjj)}j ]jc.eventfd_ctx_remove_wait_queueasbuh1hhjQ ubj)}(h h]h }(hjv hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQ ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ ubj5)}(hcnth]hcnt}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQ ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjMhhhj_hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjIhhhj_hKubah}(h]jDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj_hKhjFhhubjc)}(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&]uh1jbhjFhhhj_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)}(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.chKhj 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&]uh1jhj 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)}(hj5!h]hwait_queue_entry_t *wait}(hj7!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3!ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj/!ubj)}(hhh]h)}(h[in] Wait queue to be removed.h]h[in] Wait queue to be removed.}(hjN!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJ!hKhjK!ubah}(h]h ]h"]h$]h&]uh1jhj/!ubeh}(h]h ]h"]h$]h&]uh1jhjJ!hKhj ubj)}(h:``__u64 *cnt`` [out] Pointer to the 64-bit counter value. h](j)}(h``__u64 *cnt``h]j)}(hjn!h]h __u64 *cnt}(hjp!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl!ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhjh!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&]uh1jhjh!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}hj!sbah}(h]h ]h"]h$]h&]uh1j!hj!ubhoption_argument)}(hAGAINh]hAGAIN}(hj"hhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1j"hj!ubeh}(h]h ]h"]h$]h&]uh1j!hj!ubah}(h]h ]h"]h$]h&]uh1j!hj!ubh description)}(h$: The operation would have blocked. h]h)}(h#: The operation would have blocked.h]h#: The operation would have blocked.}(hj("hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj$"ubah}(h]h ]h"]h$]h&]uh1j""hj!ubeh}(h]h ]h"]h$]h&]uh1j!hj!ubah}(h]h ]h"]h$]h&]uh1j!hj6"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.}(hjI"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}(hjx"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjt"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&]uh1jhjt"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_fgetasbuh1hhjt"hhhj"hM:ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt"hhhj"hM:ubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt"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.hjt"hhhj"hM:ubj;)}(h(int fd)h]jA)}(hint fdh](jd)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj"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&]noemphjLjMuh1j@hj"ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjt"hhhj"hM:ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjp"hhhj"hM:ubah}(h]jk"ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj"hM:hjm"hhubjc)}(hhh]h)}(h2Acquire a reference of an eventfd file descriptor.h]h2Acquire a reference of an eventfd file descriptor.}(hj8#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM:hj5#hhubah}(h]h ]h"]h$]h&]uh1jbhjm"hhhj"hM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjP#jjP#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)}(hjZ#h]h Parameters}(hj\#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX#ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM>hjT#ubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hjy#h]hint fd}(hj{#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw#ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM;hjs#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&]uh1jhjs#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM;hjp#ubah}(h]h ]h"]h$]h&]uh1jhjT#ubh)}(h**Description**h]j)}(hj#h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM=hjT#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<hjT#ubj!)}(hhh](j!)}(hhh](j!)}(hhh]j!)}(h-EBADFh](j!)}(h-Eh]h-E}hj#sbah}(h]h ]h"]h$]h&]uh1j!hj#ubj")}(hBADFh]hBADF}(hj#hhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1j"hj#ubeh}(h]h ]h"]h$]h&]uh1j!hj#ubah}(h]h ]h"]h$]h&]uh1j!hj#ubj#")}(h!: Invalid **fd** file descriptor.h]h)}(hj$h](h : Invalid }(hj$hhhNhNubj)}(h**fd**h]hfd}(hj$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?hj$ubah}(h]h ]h"]h$]h&]uh1j""hj#ubeh}(h]h ]h"]h$]h&]uh1j!hj#ubj!)}(hhh](j!)}(hhh]j!)}(h-EINVALh](j!)}(h-Eh]h-E}hjI$sbah}(h]h ]h"]h$]h&]uh1j!hjE$ubj")}(hINVALh]hINVAL}(hjW$hhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1j"hjE$ubeh}(h]h ]h"]h$]h&]uh1j!hjB$ubah}(h]h ]h"]h$]h&]uh1j!hj?$ubj#")}(h4: The **fd** file descriptor is not an eventfd file.h]h)}(hjt$h](h: The }(hjv$hhhNhNubj)}(h**fd**h]hfd}(hj}$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv$ubh( file descriptor is not an eventfd file.}(hjv$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM@hjr$ubah}(h]h ]h"]h$]h&]uh1j""hj?$ubeh}(h]h ]h"]h$]h&]uh1j!hj#ubeh}(h]h ]h"]h$]h&]uh1j!hj2$hM?hjT#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}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j ]j)}jeventfd_ctx_fdgetsbc.eventfd_ctx_fdgetasbuh1hhj$hhhj$hMTubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$hhhj$hMTubj)}(hjh]h*}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$hhhj$hMTubj/)}(heventfd_ctx_fdgeth]j5)}(hj%h]heventfd_ctx_fdget}(hj'%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#%ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj$hhhj$hMTubj;)}(h(int fd)h]jA)}(hint fdh](jd)}(hinth]hint}(hjB%hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj>%ubj)}(h h]h }(hjP%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&]noemphjLjMuh1j@hj:%ubah}(h]h ]h"]h$]h&]jLjMuh1j:hj$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)}(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.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:}(hj&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}(hj)&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 ]jpah"]h$]h&]uh1jchj:*hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMubj)}(h h]h }(hjL*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:*hhhjK*hMubj/)}(hbusy_loop_ep_timeouth]j5)}(hbusy_loop_ep_timeouth]hbusy_loop_ep_timeout}(hj^*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZ*ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj:*hhhjK*hMubj;)}(h0(unsigned long start_time, struct eventpoll *ep)h](jA)}(hunsigned long start_timeh](jd)}(hunsignedh]hunsigned}(hjz*hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjv*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjv*ubjd)}(hlongh]hlong}(hj*hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjv*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjv*ubj5)}(h start_timeh]h start_time}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjv*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjr*ubjA)}(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}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j ]j)}jj`*sbc.busy_loop_ep_timeoutasbuh1hhj*ubj)}(h h]h }(hj +hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj5)}(heph]hep}(hj$+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjr*ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj:*hhhjK*hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj6*hhhjK*hMubah}(h]j1*ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjK*hMhj3*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.}(hjN+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjK+hhubah}(h]h ]h"]h$]h&]uh1jbhj3*hhhjK*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjf+jjf+jjjuh1hhhhjo(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)}(hjp+h]h Parameters}(hjr+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn+ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjj+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&]uh1jhjj+ubh)}(h **Return**h]j)}(hj,h]hReturn}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjj+ubh)}(h1true if the timeout has expired, false otherwise.h]h1true if the timeout has expired, false otherwise.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjo(hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hreverse_path_check (C function)c.reverse_path_checkhNtauh1hhjo(hhhNhNubh)}(hhh](j)}(hint reverse_path_check (void)h]j)}(hint reverse_path_check(void)h](jd)}(hinth]hint}(hjH,hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjD,hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMubj)}(h h]h }(hjW,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjD,hhhjV,hMubj/)}(hreverse_path_checkh]j5)}(hreverse_path_checkh]hreverse_path_check}(hji,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hje,ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjD,hhhjV,hMubj;)}(h(void)h]jA)}(hvoidh]jd)}(hvoidh]hvoid}(hj,hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj,ubah}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj},ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjD,hhhjV,hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj@,hhhjV,hMubah}(h]j;,ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjV,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=,hhhjV,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjo(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&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chKhj,ubj)}(hhh]h)}(h no argumentsh]h no arguments}(hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hKhj-ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj-hKhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubh)}(h **Return**h]j)}(hj+-h]hReturn}(hj--hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)-ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chKhj,ubh)}(hM``zero`` if the proposed links don't create too many paths, ``-1`` otherwise.h](j)}(h``zero``h]hzero}(hjE-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA-ubh6 if the proposed links don’t create too many paths, }(hjA-hhhNhNubj)}(h``-1``h]h-1}(hjW-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA-ubh otherwise.}(hjA-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&]uh1jhjo(hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_poll (C function) c.ep_pollhNtauh1hhjo(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](jd)}(hinth]hint}(hj-hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj-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](jA)}(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}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j ]j)}jj-sb c.ep_pollasbuh1hhj-ubj)}(h h]h }(hj .hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj)}(hjh]h*}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj5)}(heph]hep}(hj&.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj-ubjA)}(h!struct epoll_event __user *eventsh](j )}(hjzh]hstruct}(hj?.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;.ubj)}(h h]h }(hjL.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;.ubh)}(hhh]j5)}(h epoll_eventh]h epoll_event}(hj].hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZ.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_.modnameN classnameNjj)}j ]j. 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)}(hjh]h*}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;.ubj5)}(heventsh]hevents}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj-ubjA)}(h int maxeventsh](jd)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj5)}(h maxeventsh]h maxevents}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj-ubjA)}(hstruct timespec64 *timeouth](j )}(hjzh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j ]j. c.ep_pollasbuh1hhj.ubj)}(h h]h }(hj2/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj)}(hjh]h*}(hj@/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj5)}(htimeouth]htimeout}(hjM/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj-ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj-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.}(hjw/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjt/hhubah}(h]h ]h"]h$]h&]uh1jbhj-hhhj-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjo(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)}(hj/h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj/ubj)}(hhh](j)}(h;``struct eventpoll *ep`` Pointer to the eventpoll context. h](j)}(h``struct eventpoll *ep``h]j)}(hj/h]hstruct eventpoll *ep}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj/ubj)}(hhh]h)}(h!Pointer to the eventpoll context.h]h!Pointer to the eventpoll context.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj/ubj)}(ho``struct epoll_event __user *events`` Pointer to the userspace buffer where the ready events should be stored. h](j)}(h%``struct epoll_event __user *events``h]j)}(hj/h]h!struct epoll_event __user *events}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj/ubj)}(hhh]h)}(hHPointer to the userspace buffer where the ready events should be stored.h]hHPointer to the userspace buffer where the ready events should be stored.}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj/ubj)}(hR``int maxevents`` Size (in terms of number of events) of the caller event buffer. h](j)}(h``int maxevents``h]j)}(hj+0h]h int maxevents}(hj-0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)0ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj%0ubj)}(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.}(hjD0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@0hMhjA0ubah}(h]h ]h"]h$]h&]uh1jhj%0ubeh}(h]h ]h"]h$]h&]uh1jhj@0hMhj/ubj)}(hX``struct timespec64 *timeout`` Maximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the **timeout** ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred). h](j)}(h``struct timespec64 *timeout``h]j)}(hjd0h]hstruct timespec64 *timeout}(hjf0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb0ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj^0ubj)}(hhh]h)}(hMaximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the **timeout** ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred).h](hMaximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the }(hj}0hhhNhNubj)}(h **timeout**h]htimeout}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}0ubhi ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred).}(hj}0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjz0ubah}(h]h ]h"]h$]h&]uh1jhj^0ubeh}(h]h ]h"]h$]h&]uh1jhjy0hMhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubh)}(h **Return**h]j)}(hj0h]hReturn}(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.chMhj/ubh)}(hWthe number of ready events which have been fetched, or an error code, in case of error.h]hWthe number of ready events which have been fetched, or an error code, in case of error.}(hj0hhhNhNubah}(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&]uh1jhjo(hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_loop_check_proc (C function)c.ep_loop_check_prochNtauh1hhjo(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](jd)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj0hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chM`ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0hhhj1hM`ubj/)}(hep_loop_check_proch]j5)}(hep_loop_check_proch]hep_loop_check_proc}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj0hhhj1hM`ubj;)}(h!(struct eventpoll *ep, int depth)h](jA)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hj41hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj01ubj)}(h h]h }(hjA1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj01ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hjR1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjO1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT1modnameN classnameNjj)}j ]j)}jj1sbc.ep_loop_check_procasbuh1hhj01ubj)}(h h]h }(hjr1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj01ubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj01ubj5)}(heph]hep}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj01ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj,1ubjA)}(h int depthh](jd)}(hinth]hint}(hj1hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj5)}(hdepthh]hdepth}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj,1ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj0hhhj1hM`ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0hhhj1hM`ubah}(h]j0ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1hM`hj0hhubjc)}(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 }(hj1hhhNhNubj)}(h**ep**h]hep}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubhl inside another epoll file does not create closed loops, and determine the depth of the subtree starting at }(hj1hhhNhNubj)}(h**ep**h]hep}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chM`hj1hhubah}(h]h ]h"]h$]h&]uh1jbhj0hhhj1hM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$2jj$2jjjuh1hhhhjo(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)}(hj.2h]h Parameters}(hj02hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,2ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMdhj(2ubj)}(hhh](j)}(h]``struct eventpoll *ep`` the :c:type:`struct eventpoll ` to be currently checked. h](j)}(h``struct eventpoll *ep``h]j)}(hjM2h]hstruct eventpoll *ep}(hjO2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK2ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMdhjG2ubj)}(hhh]h)}(hCthe :c:type:`struct eventpoll ` to be currently checked.h](hthe }(hjf2hhhNhNubh)}(h&:c:type:`struct eventpoll `h]j)}(hjp2h]hstruct eventpoll}(hjr2hhhNhNubah}(h]h ](j jc-typeeh"]h$]h&]uh1jhjn2ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj eventpolluh1hhjb2hMdhjf2ubh to be currently checked.}(hjf2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjb2hMdhjc2ubah}(h]h ]h"]h$]h&]uh1jhjG2ubeh}(h]h ]h"]h$]h&]uh1jhjb2hMdhjD2ubj)}(h7``int depth`` Current depth of the path being checked. h](j)}(h ``int depth``h]j)}(hj2h]h int depth}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMehj2ubj)}(hhh]h)}(h(Current depth of the path being checked.h]h(Current depth of the path being checked.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMehj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMehjD2ubeh}(h]h ]h"]h$]h&]uh1jhj(2ubh)}(h **Return**h]j)}(hj2h]hReturn}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMghj(2ubh)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMghj(2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjo(hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_loop_check (C function)c.ep_loop_checkhNtauh1hhjo(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](jd)}(hinth]hint}(hj)3hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj%3hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMubj)}(h h]h }(hj83hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%3hhhj73hMubj/)}(h ep_loop_checkh]j5)}(h ep_loop_checkh]h ep_loop_check}(hjJ3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjF3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj%3hhhj73hMubj;)}(h,(struct eventpoll *ep, struct eventpoll *to)h](jA)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hjf3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb3ubj)}(h h]h }(hjs3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb3ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j ]j)}jjL3sbc.ep_loop_checkasbuh1hhjb3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb3ubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb3ubj5)}(heph]hep}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjb3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj^3ubjA)}(hstruct eventpoll *toh](j )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j ]j3c.ep_loop_checkasbuh1hhj3ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj)}(hjh]h*}(hj"4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj5)}(htoh]hto}(hj/4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj^3ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj%3hhhj73hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj!3hhhj73hMubah}(h]j3ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj73hMhj3hhubjc)}(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 (}(hjY4hhhNhNubj)}(h**to**h]hto}(hja4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY4ubh*) into another epoll file (represented by }(hjY4hhhNhNubj)}(h**ep**h]hep}(hjs4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY4ubh2) does not create closed loops or too deep chains.}(hjY4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjV4hhubah}(h]h ]h"]h$]h&]uh1jbhj3hhhj73hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjo(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)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj4ubj)}(hhh](j)}(hE``struct eventpoll *ep`` Pointer to the epoll we are inserting into. h](j)}(h``struct eventpoll *ep``h]j)}(hj4h]hstruct eventpoll *ep}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj4ubj)}(hhh]h)}(h+Pointer to the epoll we are inserting into.h]h+Pointer to the epoll we are inserting into.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubj)}(h>``struct eventpoll *to`` Pointer to the epoll to be inserted. h](j)}(h``struct eventpoll *to``h]j)}(hj4h]hstruct eventpoll *to}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj4ubj)}(hhh]h)}(h$Pointer to the epoll to be inserted.h]h$Pointer to the epoll to be inserted.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 5hMhj 5ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj 5hMhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h **Return**h]j)}(hj25h]hReturn}(hj45hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj05ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj4ubh)}(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}(hjL5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH5ubh if adding the epoll }(hjH5hhhNhNubj)}(h**to**h]hto}(hj^5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH5ubh inside the epoll }(hjH5hhhNhNubj)}(h**from**h]hfrom}(hjp5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH5ubh& does not violate the constraints, or }(hjH5hhhNhNubj)}(h``-1``h]h-1}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH5ubh otherwise.}(hjH5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjo(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sysfs_create_file_ns (C function)c.sysfs_create_file_nshNtauh1hhj5hhhNhNubh)}(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](jd)}(hinth]hint}(hj5hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj5hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMsubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5hhhj5hMsubj/)}(hsysfs_create_file_nsh]j5)}(hsysfs_create_file_nsh]hsysfs_create_file_ns}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj5hhhj5hMsubj;)}(hD(struct kobject *kobj, const struct attribute *attr, const void *ns)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 6ubh)}(hhh]j5)}(hkobjecth]hkobject}(hj/6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj16modnameN classnameNjj)}j ]j)}jj5sbc.sysfs_create_file_nsasbuh1hhj 6ubj)}(h h]h }(hjO6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 6ubj)}(hjh]h*}(hj]6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 6ubj5)}(hkobjh]hkobj}(hjj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj 6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj 6ubjA)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(h attributeh]h attribute}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j ]jK6c.sysfs_create_file_nsasbuh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj5)}(hattrh]hattr}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj 6ubjA)}(hconst void *nsh](j )}(hjh]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 7ubjd)}(hvoidh]hvoid}(hj)7hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj 7ubj)}(h h]h }(hj77hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 7ubj)}(hjh]h*}(hjE7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 7ubj5)}(hnsh]hns}(hjR7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj 7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj 6ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj5hhhj5hMsubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5hhhj5hMsubah}(h]j5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hMshj5hhubjc)}(hhh]h)}(h5create an attribute file for an object with custom nsh]h5create an attribute file for an object with custom ns}(hj|7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMshjy7hhubah}(h]h ]h"]h$]h&]uh1jbhj5hhhj5hMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhj5hNhNubj)}(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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMwhj7ubj)}(hhh](j)}(h3``struct kobject *kobj`` object we're creating for h](j)}(h``struct kobject *kobj``h]j)}(hj7h]hstruct kobject *kobj}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMthj7ubj)}(hhh]h)}(hobject we're creating forh]hobject we’re creating for}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMthj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMthj7ubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hj7h]hconst struct attribute *attr}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMuhj7ubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 8hMuhj 8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj 8hMuhj7ubj)}(h:``const void *ns`` namespace the new file should belong toh](j)}(h``const void *ns``h]j)}(hj/8h]hconst void *ns}(hj18hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMwhj)8ubj)}(hhh]h)}(h'namespace the new file should belong toh]h'namespace the new file should belong to}(hjH8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMvhjE8ubah}(h]h ]h"]h$]h&]uh1jhj)8ubeh}(h]h ]h"]h$]h&]uh1jhjD8hMwhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$sysfs_add_file_to_group (C function)c.sysfs_add_file_to_grouphNtauh1hhj5hhhNhNubh)}(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](jd)}(hinth]hint}(hj8hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj8hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhj8hMubj/)}(hsysfs_add_file_to_grouph]j5)}(hsysfs_add_file_to_grouph]hsysfs_add_file_to_group}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8hhhj8hMubj;)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(hkobjecth]hkobject}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j ]j)}jj8sbc.sysfs_add_file_to_groupasbuh1hhj8ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj5)}(hkobjh]hkobj}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj8ubjA)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hj89hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj49ubj)}(h h]h }(hjE9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj49ubj )}(hjzh]hstruct}(hjS9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj49ubj)}(h h]h }(hj`9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj49ubh)}(hhh]j5)}(h attributeh]h attribute}(hjq9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjn9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjs9modnameN classnameNjj)}j ]j9c.sysfs_add_file_to_groupasbuh1hhj49ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj49ubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj49ubj5)}(hattrh]hattr}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj49ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj8ubjA)}(hconst char *grouph](j )}(hjh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubjd)}(hcharh]hchar}(hj9hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj5)}(hgrouph]hgroup}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj8ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj8hhhj8hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhj8hMubah}(h]j|8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj8hMhj~8hhubjc)}(hhh]h)}(h.add an attribute file to a pre-existing group.h]h.add an attribute file to a pre-existing group.}(hj1: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~8hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjI:jjI:jjjuh1hhhhj5hNhNubj)}(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)}(hjS:h]h Parameters}(hjU:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ:ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjM:ubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjr:h]hstruct kobject *kobj}(hjt:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp:ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjl: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&]uh1jhjl:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhji: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:hMhji:ubj)}(h!``const char *group`` group name.h](j)}(h``const char *group``h]j)}(hj:h]hconst char *group}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj:ubj)}(hhh]h)}(h group name.h]h group name.}(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:hMhji:ubeh}(h]h ]h"]h$]h&]uh1jhjM:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_chmod_file (C function)c.sysfs_chmod_filehNtauh1hhj5hhhNhNubh)}(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](jd)}(hinth]hint}(hj>;hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj:;hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjM;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:;hhhjL;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:;hhhjL;hMubj;)}(hB(struct kobject *kobj, const struct attribute *attr, umode_t mode)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj{;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjw;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)}jja;sbc.sysfs_chmod_fileasbuh1hhjw;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjw;ubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw;ubj5)}(hkobjh]hkobj}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjw;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjs;ubjA)}(hconst struct attribute *attrh](j )}(hjh]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 ]j;c.sysfs_chmod_fileasbuh1hhj;ubj)}(h h]h }(hjD<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj)}(hjh]h*}(hjR<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj5)}(hattrh]hattr}(hj_<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjs;ubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj{<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjx<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}<modnameN classnameNjj)}j ]j;c.sysfs_chmod_fileasbuh1hhjt<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt<ubj5)}(hmodeh]hmode}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjt<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjs;ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj:;hhhjL;hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj6;hhhjL;hMubah}(h]j1;ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjL;hMhj3;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&]uh1jbhj3;hhhjL;hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhj5hNhNubj)}(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.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)}(hjK=h]hconst struct attribute *attr}(hjM=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI=ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjE=ubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjd=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`=hMhja=ubah}(h]h ]h"]h$]h&]uh1jhjE=ubeh}(h]h ]h"]h$]h&]uh1jhj`=hMhj =ubj)}(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=hMhj =ubeh}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sysfs_break_active_protection (C function)c.sysfs_break_active_protectionhNtauh1hhj5hhhNhNubh)}(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 }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=hhhj=hMubh)}(hhh]j5)}(h kernfs_nodeh]h kernfs_node}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj)}j ]j)}jsysfs_break_active_protectionsbc.sysfs_break_active_protectionasbuh1hhj=hhhj=hMubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=hhhj=hMubj)}(hjh]h*}(hj,>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhj=hMubj/)}(hsysfs_break_active_protectionh]j5)}(hj>h]hsysfs_break_active_protection}(hj=>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj=hhhj=hMubj;)}(h4(struct kobject *kobj, const struct attribute *attr)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(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)}(hkobjecth]hkobject}(hjv>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjs>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx>modnameN classnameNjj)}j ]j>c.sysfs_break_active_protectionasbuh1hhjT>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT>ubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT>ubj5)}(hkobjh]hkobj}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjT>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjP>ubjA)}(hconst struct attribute *attrh](j )}(hjh]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 ]j>c.sysfs_break_active_protectionasbuh1hhj>ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj)}(hjh]h*}(hj-?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj5)}(hattrh]hattr}(hj:?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjP>ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj=hhhj=hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=hhhj=hMubah}(h]j=ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj=hMhj=hhubjc)}(hhh]h)}(hbreak "active" protectionh]hbreak “active” protection}(hjd?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhja?hhubah}(h]h ]h"]h$]h&]uh1jbhj=hhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|?jj|?jjjuh1hhhhj5hNhNubj)}(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?hhhNhNubj)}(h**attr**h]hattr}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh is associated with.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj?ubj)}(hU``const struct attribute *attr`` The attribute to break the "active" protection for. 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)}(h3The attribute to break the "active" protection for.h]h7The attribute to break the “active” protection 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?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: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.}(hjA@hhhNhNubah}(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&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,sysfs_unbreak_active_protection (C function)!c.sysfs_unbreak_active_protectionhNtauh1hhj5hhhNhNubh)}(hhh](j)}(h=void sysfs_unbreak_active_protection (struct kernfs_node *kn)h]j)}(hDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:DhMhj;Dubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj:DhMhjCubj)}(h7``const void *ns`` namespace tag of the file to remove h](j)}(h``const void *ns``h]j)}(hj^Dh]hconst void *ns}(hj`DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Dubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjXDubj)}(hhh]h)}(h#namespace tag of the file to removeh]h#namespace tag of the file to remove}(hjwDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjsDhMhjtDubah}(h]h ]h"]h$]h&]uh1jhjXDubeh}(h]h ]h"]h$]h&]uh1jhjsDhMhjCubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjCubh)}(h>Hash the attribute name and namespace tag and kill the victim.h]h>Hash the attribute name and namespace tag and kill the victim.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sysfs_remove_file_self (C function)c.sysfs_remove_file_selfhNtauh1hhj5hhhNhNubh)}(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](jd)}(hjgh]hbool}(hjDhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjDhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDhhhjDhMubj/)}(hsysfs_remove_file_selfh]j5)}(hsysfs_remove_file_selfh]hsysfs_remove_file_self}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjDhhhjDhMubj;)}(h4(struct kobject *kobj, const struct attribute *attr)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(h h]h }(hj'EhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubh)}(hhh]j5)}(hkobjecth]hkobject}(hj8EhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5Eubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:EmodnameN classnameNjj)}j ]j)}jjEsbc.sysfs_remove_file_selfasbuh1hhjEubj)}(h h]h }(hjXEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj)}(hjh]h*}(hjfEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj5)}(hkobjh]hkobj}(hjsEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjEubjA)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj )}(hjzh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubh)}(hhh]j5)}(h attributeh]h attribute}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j ]jTEc.sysfs_remove_file_selfasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj5)}(hattrh]hattr}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjEubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjDhhhjDhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDhhhjDhMubah}(h]jDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjDhMhjDhhubjc)}(hhh]h)}(h.remove an object attribute from its own methodh]h.remove an object attribute from its own method}(hj(FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj%Fhhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@Fjj@Fjjjuh1hhhhj5hNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're acting for ``const struct attribute *attr`` attribute descriptor **Description** See kernfs_remove_self() for details.h](h)}(h**Parameters**h]j)}(hjJFh]h Parameters}(hjLFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHFubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjDFubj)}(hhh](j)}(h1``struct kobject *kobj`` object we're acting for h](j)}(h``struct kobject *kobj``h]j)}(hjiFh]hstruct kobject *kobj}(hjkFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgFubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjcFubj)}(hhh]h)}(hobject we're acting forh]hobject we’re acting for}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~FhMhjFubah}(h]h ]h"]h$]h&]uh1jhjcFubeh}(h]h ]h"]h$]h&]uh1jhj~FhMhj`Fubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hjFh]hconst struct attribute *attr}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjFubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj`Fubeh}(h]h ]h"]h$]h&]uh1jhjDFubh)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjDFubh)}(h%See kernfs_remove_self() for details.h]h%See kernfs_remove_self() for details.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjDFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sysfs_remove_file_from_group (C function)c.sysfs_remove_file_from_grouphNtauh1hhj5hhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj"GhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjGhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM2ubj)}(h h]h }(hj1GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhj0GhM2ubj/)}(hsysfs_remove_file_from_grouph]j5)}(hsysfs_remove_file_from_grouph]hsysfs_remove_file_from_group}(hjCGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?Gubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhj0GhM2ubj;)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj_GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[Gubj)}(h h]h }(hjlGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[Gubh)}(hhh]j5)}(hkobjecth]hkobject}(hj}GhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j ]j)}jjEGsbc.sysfs_remove_file_from_groupasbuh1hhj[Gubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[Gubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[Gubj5)}(hkobjh]hkobj}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[Gubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjWGubjA)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubh)}(hhh]j5)}(h attributeh]h attribute}(hj HhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj HmodnameN classnameNjj)}j ]jGc.sysfs_remove_file_from_groupasbuh1hhjGubj)}(h h]h }(hj(HhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj)}(hjh]h*}(hj6HhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj5)}(hattrh]hattr}(hjCHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjWGubjA)}(hconst char *grouph](j )}(hjh]hconst}(hj\HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXHubj)}(h h]h }(hjiHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXHubjd)}(hcharh]hchar}(hjwHhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjXHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXHubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXHubj5)}(hgrouph]hgroup}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjWGubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjGhhhj0GhM2ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjGhhhj0GhM2ubah}(h]jGah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj0GhM2hjGhhubjc)}(hhh]h)}(h&remove an attribute file from a group.h]h&remove an attribute file from a group.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM2hjHhhubah}(h]h ]h"]h$]h&]uh1jbhjGhhhj0GhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhj5hNhNubj)}(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)}(hjHh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM6hjHubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hj Ih]hstruct kobject *kobj}(hj IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Iubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM3hjIubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hj$IhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj IhM3hj!Iubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhj IhM3hjIubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hjDIh]hconst struct attribute *attr}(hjFIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBIubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM4hj>Iubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj]IhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYIhM4hjZIubah}(h]h ]h"]h$]h&]uh1jhj>Iubeh}(h]h ]h"]h$]h&]uh1jhjYIhM4hjIubj)}(h!``const char *group`` group name.h](j)}(h``const char *group``h]j)}(hj}Ih]hconst char *group}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Iubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM6hjwIubj)}(hhh]h)}(h group name.h]h group name.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM5hjIubah}(h]h ]h"]h$]h&]uh1jhjwIubeh}(h]h ]h"]h$]h&]uh1jhjIhM6hjIubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sysfs_create_bin_file (C function)c.sysfs_create_bin_filehNtauh1hhj5hhhNhNubh)}(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](jd)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjIhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMKubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIhhhjIhMKubj/)}(hsysfs_create_bin_fileh]j5)}(hsysfs_create_bin_fileh]hsysfs_create_bin_file}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjIhhhjIhMKubj;)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hj!JhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubh)}(hhh]j5)}(hkobjecth]hkobject}(hj2JhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/Jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4JmodnameN classnameNjj)}j ]j)}jjIsbc.sysfs_create_bin_fileasbuh1hhjJubj)}(h h]h }(hjRJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj)}(hjh]h*}(hj`JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj5)}(hkobjh]hkobj}(hjmJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj JubjA)}(h const struct bin_attribute *attrh](j )}(hjh]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubh)}(hhh]j5)}(h bin_attributeh]h bin_attribute}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j ]jNJc.sysfs_create_bin_fileasbuh1hhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj5)}(hattrh]hattr}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj Jubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjIhhhjIhMKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjIhhhjIhMKubah}(h]jIah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjIhMKhjIhhubjc)}(hhh]h)}(hcreate binary file for object.h]hcreate binary file for object.}(hj"KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMKhjKhhubah}(h]h ]h"]h$]h&]uh1jbhjIhhhjIhMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:Kjj:Kjjjuh1hhhhj5hNhNubj)}(hp**Parameters** ``struct kobject *kobj`` object. ``const struct bin_attribute *attr`` attribute descriptor.h](h)}(h**Parameters**h]j)}(hjDKh]h Parameters}(hjFKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBKubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMOhj>Kubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjcKh]hstruct kobject *kobj}(hjeKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaKubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMLhj]Kubj)}(hhh]h)}(hobject.h]hobject.}(hj|KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxKhMLhjyKubah}(h]h ]h"]h$]h&]uh1jhj]Kubeh}(h]h ]h"]h$]h&]uh1jhjxKhMLhjZKubj)}(h:``const struct bin_attribute *attr`` attribute descriptor.h](j)}(h$``const struct bin_attribute *attr``h]j)}(hjKh]h const struct bin_attribute *attr}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMNhjKubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMNhjZKubeh}(h]h ]h"]h$]h&]uh1jhj>Kubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sysfs_remove_bin_file (C function)c.sysfs_remove_bin_filehNtauh1hhj5hhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjKhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjKhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM_ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhjLhM_ubj/)}(hsysfs_remove_bin_fileh]j5)}(hsysfs_remove_bin_fileh]hsysfs_remove_bin_file}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhjLhM_ubj;)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj3LhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Lubj)}(h h]h }(hj@LhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/Lubh)}(hhh]j5)}(hkobjecth]hkobject}(hjQLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSLmodnameN classnameNjj)}j ]j)}jjLsbc.sysfs_remove_bin_fileasbuh1hhj/Lubj)}(h h]h }(hjqLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/Lubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/Lubj5)}(hkobjh]hkobj}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/Lubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj+LubjA)}(h const struct bin_attribute *attrh](j )}(hjh]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 }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubh)}(hhh]j5)}(h bin_attributeh]h bin_attribute}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j ]jmLc.sysfs_remove_bin_fileasbuh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj)}(hjh]h*}(hj MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj5)}(hattrh]hattr}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj+Lubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjKhhhjLhM_ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjKhhhjLhM_ubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjLhM_hjKhhubjc)}(hhh]h)}(hremove binary file for object.h]hremove binary file for object.}(hjAMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM_hj>Mhhubah}(h]h ]h"]h$]h&]uh1jbhjKhhhjLhM_ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYMjjYMjjjuh1hhhhj5hNhNubj)}(hp**Parameters** ``struct kobject *kobj`` object. ``const struct bin_attribute *attr`` attribute descriptor.h](h)}(h**Parameters**h]j)}(hjcMh]h Parameters}(hjeMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaMubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMchj]Mubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjMh]hstruct kobject *kobj}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM`hj|Mubj)}(hhh]h)}(hobject.h]hobject.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhM`hjMubah}(h]h ]h"]h$]h&]uh1jhj|Mubeh}(h]h ]h"]h$]h&]uh1jhjMhM`hjyMubj)}(h:``const struct bin_attribute *attr`` attribute descriptor.h](j)}(h$``const struct bin_attribute *attr``h]j)}(hjMh]h const struct bin_attribute *attr}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMbhjMubj)}(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.chMahjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMbhjyMubeh}(h]h ]h"]h$]h&]uh1jhj]Mubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$sysfs_file_change_owner (C function)c.sysfs_file_change_ownerhNtauh1hhj5hhhNhNubh)}(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](jd)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjNhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj$NhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNhhhj#NhMubj/)}(hsysfs_file_change_ownerh]j5)}(hsysfs_file_change_ownerh]hsysfs_file_change_owner}(hj6NhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2Nubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjNhhhj#NhMubj;)}(hB(struct kobject *kobj, const char *name, kuid_t kuid, kgid_t kgid)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjRNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNNubj)}(h h]h }(hj_NhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNNubh)}(hhh]j5)}(hkobjecth]hkobject}(hjpNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrNmodnameN classnameNjj)}j ]j)}jj8Nsbc.sysfs_file_change_ownerasbuh1hhjNNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNNubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNNubj5)}(hkobjh]hkobj}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjJNubjA)}(hconst char *nameh](j )}(hjh]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubjd)}(hcharh]hchar}(hjNhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj5)}(hnameh]hname}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjJNubjA)}(h kuid_t kuidh](h)}(hhh]j5)}(hkuid_th]hkuid_t}(hj$OhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!Oubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&OmodnameN classnameNjj)}j ]jNc.sysfs_file_change_ownerasbuh1hhjOubj)}(h h]h }(hjBOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj5)}(hkuidh]hkuid}(hjPOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjJNubjA)}(h kgid_t kgidh](h)}(hhh]j5)}(hkgid_th]hkgid_t}(hjlOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnOmodnameN classnameNjj)}j ]jNc.sysfs_file_change_ownerasbuh1hhjeOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeOubj5)}(hkgidh]hkgid}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjJNubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjNhhhj#NhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj Nhhhj#NhMubah}(h]jNah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj#NhMhj Nhhubjc)}(hhh]h)}(hchange owner of a sysfs file.h]hchange owner of a sysfs file.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jbhj Nhhhj#NhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhj5hNhNubj)}(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)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjOubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjPh]hstruct kobject *kobj}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjOubj)}(hhh]h)}(hobject.h]hobject.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjOubj)}(h1``const char *name`` name of the file to change. h](j)}(h``const char *name``h]j)}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Pubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj6Pubj)}(hhh]h)}(hname of the file to change.h]hname of the file to change.}(hjUPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQPhMhjRPubah}(h]h ]h"]h$]h&]uh1jhj6Pubeh}(h]h ]h"]h$]h&]uh1jhjQPhMhjOubj)}(h!``kuid_t kuid`` new owner's kuid h](j)}(h``kuid_t kuid``h]j)}(hjuPh]h kuid_t kuid}(hjwPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsPubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjoPubj)}(hhh]h)}(hnew owner's kuidh]hnew owner’s kuid}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjoPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjOubj)}(h!``kgid_t kgid`` new owner's kgid h](j)}(h``kgid_t kgid``h]j)}(hjPh]h kgid_t kgid}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjPubj)}(hhh]h)}(hnew owner's kgidh]hnew owner’s kgid}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjOubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjOubh)}(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 }(hjPhhhNhNubj)}(h**name**h]hname}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh under }(hjPhhhNhNubj)}(h**kobj**h]hkobj}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh and changes the ownership to }(hjPhhhNhNubj)}(h**kuid**h]hkuid}(hj+QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh/}(hjPhhhNhNubj)}(h**kgid**h]hkgid}(hj=QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjOubh)}(h.Returns 0 on success or error code on failure.h]h.Returns 0 on success or error code on failure.}(hjVQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_change_owner (C function)c.sysfs_change_ownerhNtauh1hhj5hhhNhNubh)}(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](jd)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjQhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQhhhjQhMubj/)}(hsysfs_change_ownerh]j5)}(hsysfs_change_ownerh]hsysfs_change_owner}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjQhhhjQhMubj;)}(h0(struct kobject *kobj, kuid_t kuid, kgid_t kgid)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubh)}(hhh]j5)}(hkobjecth]hkobject}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj)}j ]j)}jjQsbc.sysfs_change_ownerasbuh1hhjQubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj5)}(hkobjh]hkobj}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjQubjA)}(h kuid_t kuidh](h)}(hhh]j5)}(hkuid_th]hkuid_t}(hj7RhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4Rubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9RmodnameN classnameNjj)}j ]jQc.sysfs_change_ownerasbuh1hhj0Rubj)}(h h]h }(hjURhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0Rubj5)}(hkuidh]hkuid}(hjcRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0Rubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjQubjA)}(h kgid_t kgidh](h)}(hhh]j5)}(hkgid_th]hkgid_t}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|Rubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNjj)}j ]jQc.sysfs_change_ownerasbuh1hhjxRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxRubj5)}(hkgidh]hkgid}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjQubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjQhhhjQhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj}QhhhjQhMubah}(h]jxQah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjQhMhjzQhhubjc)}(hhh]h)}(h!change owner of the given object.h]h!change owner of the given object.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jbhjzQhhhjQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhj5hNhNubj)}(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)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjRubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjSh]hstruct kobject *kobj}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjSubj)}(hhh]h)}(hobject.h]hobject.}(hj/ShhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+ShMhj,Subah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhj+ShMhj Subj)}(h!``kuid_t kuid`` new owner's kuid h](j)}(h``kuid_t kuid``h]j)}(hjOSh]h kuid_t kuid}(hjQShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMSubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjISubj)}(hhh]h)}(hnew owner's kuidh]hnew owner’s kuid}(hjhShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdShMhjeSubah}(h]h ]h"]h$]h&]uh1jhjISubeh}(h]h ]h"]h$]h&]uh1jhjdShMhj Subj)}(h!``kgid_t kgid`` new owner's kgid h](j)}(h``kgid_t kgid``h]j)}(hjSh]h kgid_t kgid}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjSubj)}(hhh]h)}(hnew owner's kgidh]hnew owner’s kgid}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhj Subeh}(h]h ]h"]h$]h&]uh1jhjRubh)}(h**Description**h]j)}(hjSh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjRubh)}(hX\Change the owner of the default directory, files, groups, and attributes of **kobj** to **kuid**/**kgid**. Note that sysfs_change_owner mirrors how the sysfs entries for a kobject are added by driver core. In summary, sysfs_change_owner() takes care of the default directory entry for **kobj**, the default attributes associated with the ktype of **kobj** and the default attributes associated with the ktype of **kobj**. Additional properties not added by driver core have to be changed by the driver or subsystem which created them. This is similar to how driver/subsystem specific entries are removed.h](hLChange the owner of the default directory, files, groups, and attributes of }(hjShhhNhNubj)}(h**kobj**h]hkobj}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh to }(hjShhhNhNubj)}(h**kuid**h]hkuid}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh/}(hjShhhNhNubj)}(h**kgid**h]hkgid}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh. 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 }(hjShhhNhNubj)}(h**kobj**h]hkobj}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh6, the default attributes associated with the ktype of }(hjShhhNhNubj)}(h**kobj**h]hkobj}(hj)ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh9 and the default attributes associated with the ktype of }(hjShhhNhNubj)}(h**kobj**h]hkobj}(hj;ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh. 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.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjRubh)}(h.Returns 0 on success or error code on failure.h]h.Returns 0 on success or error code on failure.}(hjTThhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_emit (C function) c.sysfs_emithNtauh1hhj5hhhNhNubh)}(hhh](j)}(h0int sysfs_emit (char *buf, const char *fmt, ...)h]j)}(h/int sysfs_emit(char *buf, const char *fmt, ...)h](jd)}(hinth]hint}(hjThhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjThhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjThMubj/)}(h sysfs_emith]j5)}(h sysfs_emith]h sysfs_emit}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjThMubj;)}(h!(char *buf, const char *fmt, ...)h](jA)}(h char *bufh](jd)}(hcharh]hchar}(hjThhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj5)}(hbufh]hbuf}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjTubjA)}(hconst char *fmth](j )}(hjh]hconst}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubjd)}(hcharh]hchar}(hjUhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjTubj)}(h h]h }(hj+UhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj)}(hjh]h*}(hj9UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj5)}(hfmth]hfmt}(hjFUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjTubjA)}(h...h]j)}(h...h]h...}(hj_UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[Uubah}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjTubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjThhhjThMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj{ThhhjThMubah}(h]jvTah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjThMhjxThhubjc)}(hhh]h)}(h0scnprintf equivalent, aware of PAGE_SIZE buffer.h]h0scnprintf equivalent, aware of PAGE_SIZE buffer.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jbhjxThhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhj5hNhNubj)}(h**Parameters** ``char *buf`` start of PAGE_SIZE buffer. ``const char *fmt`` format ``...`` optional arguments to **format** **Description** Returns number of characters written to **buf**.h](h)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjUubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hjUh]h char *buf}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjUubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjUubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hjVh]hconst char *fmt}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjUubj)}(hhh]h)}(hformath]hformat}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjUubj)}(h)``...`` optional arguments to **format** h](j)}(h``...``h]j)}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Vubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj6Vubj)}(hhh]h)}(h optional arguments to **format**h](hoptional arguments to }(hjUVhhhNhNubj)}(h **format**h]hformat}(hj]VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUVubeh}(h]h ]h"]h$]h&]uh1hhjQVhMhjRVubah}(h]h ]h"]h$]h&]uh1jhj6Vubeh}(h]h ]h"]h$]h&]uh1jhjQVhMhjUubeh}(h]h ]h"]h$]h&]uh1jhjUubh)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjUubh)}(h0Returns number of characters written to **buf**.h](h(Returns number of characters written to }(hjVhhhNhNubj)}(h**buf**h]hbuf}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_emit_at (C function)c.sysfs_emit_athNtauh1hhj5hhhNhNubh)}(hhh](j)}(h;int sysfs_emit_at (char *buf, int at, const char *fmt, ...)h]j)}(h:int sysfs_emit_at(char *buf, int at, const char *fmt, ...)h](jd)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjVhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVhhhjVhM ubj/)}(h sysfs_emit_ath]j5)}(h sysfs_emit_ath]h sysfs_emit_at}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVhhhjVhM ubj;)}(h)(char *buf, int at, const char *fmt, ...)h](jA)}(h char *bufh](jd)}(hcharh]hchar}(hjWhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjWubj)}(h h]h }(hj'WhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj)}(hjh]h*}(hj5WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj5)}(hbufh]hbuf}(hjBWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjWubjA)}(hint ath](jd)}(hinth]hint}(hj[WhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjWWubj)}(h h]h }(hjiWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWWubj5)}(hath]hat}(hjwWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjWubjA)}(hconst char *fmth](j )}(hjh]hconst}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubjd)}(hcharh]hchar}(hjWhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj5)}(hfmth]hfmt}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjWubjA)}(h...h]j)}(hjaUh]h...}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjWubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjVhhhjVhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjVhhhjVhM ubah}(h]jVah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjVhM hjVhhubjc)}(hhh]h)}(h0scnprintf equivalent, aware of PAGE_SIZE buffer.h]h0scnprintf equivalent, aware of PAGE_SIZE buffer.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM hjXhhubah}(h]h ]h"]h$]h&]uh1jbhjVhhhjVhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.Xjj.Xjjjuh1hhhhj5hNhNubj)}(hX3**Parameters** ``char *buf`` start of PAGE_SIZE buffer. ``int at`` offset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZE ``const char *fmt`` format ``...`` optional arguments to **fmt** **Description** Returns number of characters written starting at &**buf**[**at**].h](h)}(h**Parameters**h]j)}(hj8Xh]h Parameters}(hj:XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Xubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj2Xubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hjWXh]h char *buf}(hjYXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUXubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM hjQXubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hjpXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlXhM hjmXubah}(h]h ]h"]h$]h&]uh1jhjQXubeh}(h]h ]h"]h$]h&]uh1jhjlXhM hjNXubj)}(hX``int at`` offset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZE h](j)}(h ``int at``h]j)}(hjXh]hint at}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjXubj)}(hhh]h)}(hLoffset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZEh](h offset in }(hjXhhhNhNubj)}(h**buf**h]hbuf}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh to start write in bytes }(hjXhhhNhNubj)}(h**at**h]hat}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh must be >= 0 && < PAGE_SIZE}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjNXubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hjXh]hconst char *fmt}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjXubj)}(hhh]h)}(hformath]hformat}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjNXubj)}(h&``...`` optional arguments to **fmt** h](j)}(h``...``h]j)}(hj'Yh]h...}(hj)YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Yubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj!Yubj)}(hhh]h)}(hoptional arguments to **fmt**h](hoptional arguments to }(hj@YhhhNhNubj)}(h**fmt**h]hfmt}(hjHYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@Yubeh}(h]h ]h"]h$]h&]uh1hhjread() 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.chM)hj\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\hM)hj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hM)hj\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.chM*hj\ubj)}(hhh]h)}(h&object to which the attribute belongs.h]h&object to which the attribute belongs.}(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;``const struct bin_attribute *attr`` attribute descriptor. h](j)}(h$``const struct bin_attribute *attr``h]j)}(hj]h]h const struct bin_attribute *attr}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM+hj]ubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj3]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/]hM+hj0]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj/]hM+hj\ubj)}(h"``char *buf`` destination buffer. h](j)}(h ``char *buf``h]j)}(hjS]h]h char *buf}(hjU]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ]ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM,hjM]ubj)}(hhh]h)}(hdestination buffer.h]hdestination buffer.}(hjl]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh]hM,hji]ubah}(h]h ]h"]h$]h&]uh1jhjM]ubeh}(h]h ]h"]h$]h&]uh1jhjh]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)}(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:131: ./fs/sysfs/file.chM0hj\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 }(hj^hhhNhNubj)}(h **private**h]hprivate}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh and }(hj^hhhNhNubj)}(h**size**h]hsize}(hj0^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh~ members in struct bin_attribute must be set to the buffer’s location and size before the bin_attribute is created in sysfs.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 }(hjI^hhhNhNubj)}(h**off**h]hoff}(hjQ^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI^ubh and }(hjI^hhhNhNubj)}(h **count**h]hcount}(hjc^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI^ubh: is done in sysfs_kf_bin_read(). Negative value check for }(hjI^hhhNhNubj)}(h**off**h]hoff}(hju^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI^ubh. is done in vfs_setpos() and default_llseek().}(hjI^hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM3hj\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.chM6hj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_create_link (C function)c.sysfs_create_linkhNtauh1hhj5hhhNhNubh)}(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](jd)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj^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&]uh1j4hj^ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj^hhhj^hKTubj;)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj _hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubh)}(hhh]j5)}(hkobjecth]hkobject}(hj*_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,_modnameN classnameNjj)}j ]j)}jj^sbc.sysfs_create_linkasbuh1hhj_ubj)}(h h]h }(hjJ_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj)}(hjh]h*}(hjX_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj5)}(hkobjh]hkobj}(hje_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj_ubjA)}(hstruct kobject *targeth](j )}(hjzh]hstruct}(hj~_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjz_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjz_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 ]jF_c.sysfs_create_linkasbuh1hhjz_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjz_ubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz_ubj5)}(htargeth]htarget}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjz_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj_ubjA)}(hconst char *nameh](j )}(hjh]hconst}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubjd)}(hcharh]hchar}(hj `hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj_ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj)}(hjh]h*}(hj%`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj5)}(hnameh]hname}(hj2`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj_ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj^hhhj^hKTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^hhhj^hKTubah}(h]j^ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj^hKThj^hhubjc)}(hhh]h)}(h#create symlink between two objects.h]h#create symlink between two objects.}(hj\`hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKThjY`hhubah}(h]h ]h"]h$]h&]uh1jbhj^hhhj^hKTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjt`jjt`jjjuh1hhhhj5hNhNubj)}(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)}(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:134: ./fs/sysfs/symlink.chKXhjx`ubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hj`h]hstruct kobject *kobj}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKUhj`ubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hKUhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hKUhj`ubj)}(h5``struct kobject *target`` object we're pointing to. h](j)}(h``struct kobject *target``h]j)}(hj`h]hstruct kobject *target}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKVhj`ubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hKVhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hKVhj`ubj)}(h)``const char *name`` name of the symlink.h](j)}(h``const char *name``h]j)}(hjah]hconst char *name}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj aubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKXhj aubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hj(ahhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKWhj%aubah}(h]h ]h"]h$]h&]uh1jhj aubeh}(h]h ]h"]h$]h&]uh1jhj$ahKXhj`ubeh}(h]h ]h"]h$]h&]uh1jhjx`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%sysfs_create_link_nowarn (C function)c.sysfs_create_link_nowarnhNtauh1hhj5hhhNhNubh)}(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](jd)}(hinth]hint}(hjiahhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjeahhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKaubj)}(h h]h }(hjxahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeahhhjwahKaubj/)}(hsysfs_create_link_nowarnh]j5)}(hsysfs_create_link_nowarnh]hsysfs_create_link_nowarn}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjeahhhjwahKaubj;)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubh)}(hhh]j5)}(hkobjecth]hkobject}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j ]j)}jjasbc.sysfs_create_link_nowarnasbuh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj5)}(hkobjh]hkobj}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjaubjA)}(hstruct kobject *targeth](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hj%bhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(hkobjecth]hkobject}(hj6bhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8bmodnameN classnameNjj)}j ]jac.sysfs_create_link_nowarnasbuh1hhjbubj)}(h h]h }(hjTbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj)}(hjh]h*}(hjbbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj5)}(htargeth]htarget}(hjobhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjaubjA)}(hconst char *nameh](j )}(hjh]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubjd)}(hcharh]hchar}(hjbhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj5)}(hnameh]hname}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjaubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjeahhhjwahKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjaahhhjwahKaubah}(h]j\aah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwahKahj^ahhubjc)}(hhh]h)}(h#create symlink between two objects.h]h#create symlink between two objects.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKahjbhhubah}(h]h ]h"]h$]h&]uh1jbhj^ahhhjwahKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhj5hNhNubj)}(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)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKehjcubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hj7ch]hstruct kobject *kobj}(hj9chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5cubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKbhj1cubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hjPchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLchKbhjMcubah}(h]h ]h"]h$]h&]uh1jhj1cubeh}(h]h ]h"]h$]h&]uh1jhjLchKb"hj.cubj)}(h5``struct kobject *target`` object we're pointing to. h](j)}(h``struct kobject *target``h]j)}(hjpch]hstruct kobject *target}(hjrchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjncubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKchjjcubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchKchjcubah}(h]h ]h"]h$]h&]uh1jhjjcubeh}(h]h ]h"]h$]h&]uh1jhjchKchj.cubj)}(h*``const char *name`` name of the symlink. h](j)}(h``const char *name``h]j)}(hjch]hconst char *name}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKdhjcubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchKdhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchKdhj.cubeh}(h]h ]h"]h$]h&]uh1jhjcubh)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKfhjcubj)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKehjcubah}(h]h ]h"]h$]h&]uh1jhj dhKehjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_remove_link (C function)c.sysfs_remove_linkhNtauh1hhj5hhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj3dhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj/dhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKubj)}(h h]h }(hjBdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/dhhhjAdhKubj/)}(hsysfs_remove_linkh]j5)}(hsysfs_remove_linkh]hsysfs_remove_link}(hjTdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPdubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj/dhhhjAdhKubj;)}(h((struct kobject *kobj, const char *name)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjpdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjldubj)}(h h]h }(hj}dhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjldubh)}(hhh]j5)}(hkobjecth]hkobject}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j ]j)}jjVdsbc.sysfs_remove_linkasbuh1hhjldubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjldubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjldubj5)}(hkobjh]hkobj}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjldubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhdubjA)}(hconst char *nameh](j )}(hjh]hconst}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubjd)}(hcharh]hchar}(hjdhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjdubj)}(h h]h }(hj ehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj5)}(hnameh]hname}(hj&ehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjhdubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj/dhhhjAdhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj+dhhhjAdhKubah}(h]j&dah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjAdhKhj(dhhubjc)}(hhh]h)}(h%remove symlink in object's directory.h]h'remove symlink in object’s directory.}(hjPehhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjMehhubah}(h]h ]h"]h$]h&]uh1jbhj(dhhhjAdhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhejjhejjjuh1hhhhj5hNhNubj)}(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)}(hjreh]h Parameters}(hjtehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpeubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjleubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjeh]hstruct kobject *kobj}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjeubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehKhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehKhjeubj)}(h3``const char *name`` name of the symlink to remove.h](j)}(h``const char *name``h]j)}(hjeh]hconst char *name}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjeubj)}(hhh]h)}(hname of the symlink to remove.h]hname of the symlink to remove.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehKhjeubeh}(h]h ]h"]h$]h&]uh1jhjleubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sysfs_rename_link_ns (C function)c.sysfs_rename_link_nshNtauh1hhj5hhhNhNubh)}(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](jd)}(hinth]hint}(hj$fhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj fhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKubj)}(h h]h }(hj3fhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj fhhhj2fhKubj/)}(hsysfs_rename_link_nsh]j5)}(hsysfs_rename_link_nsh]hsysfs_rename_link_ns}(hjEfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAfubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj fhhhj2fhKubj;)}(hb(struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const void *new_ns)h](jA)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjafhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]fubj)}(h h]h }(hjnfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]fubh)}(hhh]j5)}(hkobjecth]hkobject}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|fubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j ]j)}jjGfsbc.sysfs_rename_link_nsasbuh1hhj]fubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]fubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]fubj5)}(hkobjh]hkobj}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]fubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjYfubjA)}(hstruct kobject *targh](j )}(hjzh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubh)}(hhh]j5)}(hkobjecth]hkobject}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j ]jfc.sysfs_rename_link_nsasbuh1hhjfubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj5)}(htargh]htarg}(hj*ghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjYfubjA)}(hconst char *oldh](j )}(hjh]hconst}(hjCghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?gubj)}(h h]h }(hjPghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?gubjd)}(hcharh]hchar}(hj^ghhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj?gubj)}(h h]h }(hjlghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?gubj)}(hjh]h*}(hjzghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?gubj5)}(holdh]hold}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?gubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjYfubjA)}(hconst char *newh](j )}(hjh]hconst}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubjd)}(hcharh]hchar}(hjghhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj5)}(hnewh]hnew}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjYfubjA)}(hconst void *new_nsh](j )}(hjh]hconst}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hj hhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubjd)}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjgubj)}(h h]h }(hj&hhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj)}(hjh]h*}(hj4hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj5)}(hnew_nsh]hnew_ns}(hjAhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjYfubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj fhhhj2fhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjfhhhj2fhKubah}(h]jfah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2fhKhjfhhubjc)}(hhh]h)}(h%rename symlink in object's directory.h]h'rename symlink in object’s directory.}(hjkhhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjhhhhubah}(h]h ]h"]h$]h&]uh1jbhjfhhhj2fhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhj5hNhNubj)}(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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjhubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjhh]hstruct kobject *kobj}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjhubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhKhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhKhjhubj)}(h3``struct kobject *targ`` object we're pointing to. h](j)}(h``struct kobject *targ``h]j)}(hjhh]hstruct kobject *targ}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjhubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhKhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhKhjhubj)}(h2``const char *old`` previous name of the symlink. h](j)}(h``const char *old``h]j)}(hjih]hconst char *old}(hj ihhhNhNubah}(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)}(hprevious name of the symlink.h]hprevious name of the symlink.}(hj7ihhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3ihKhj4iubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhj3ihKhjhubj)}(h-``const char *new`` new name of the symlink. h](j)}(h``const char *new``h]j)}(hjWih]hconst char *new}(hjYihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUiubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjQiubj)}(hhh]h)}(hnew name of the symlink.h]hnew name of the symlink.}(hjpihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlihKhjmiubah}(h]h ]h"]h$]h&]uh1jhjQiubeh}(h]h ]h"]h$]h&]uh1jhjlihKhjhubj)}(h5``const void *new_ns`` new namespace of the symlink. h](j)}(h``const void *new_ns``h]j)}(hjih]hconst void *new_ns}(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)}(hnew namespace of the symlink.h]hnew namespace of the symlink.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihKhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihKhjhubeh}(h]h ]h"]h$]h&]uh1jhjhubh)}(h**Description**h]j)}(hjih]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjhubj)}(h6A helper function for the common rename symlink idiom.h]h)}(hjih]h6A helper function for the common rename symlink idiom.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjiubah}(h]h ]h"]h$]h&]uh1jhjihKhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj5hhhNhNubeh}(h]+the-filesystem-for-exporting-kernel-objectsah ]h"]+the filesystem for exporting kernel objectsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hThe debugfs filesystemh]hThe debugfs filesystem}(hj jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhhhhhKubh)}(hhh](h)}(hdebugfs interfaceh]hdebugfs interface}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_lookup (C function)c.debugfs_lookuphNtauh1hhjjhhhNhNubh)}(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}(hjCjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?jhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMHubj)}(h h]h }(hjQjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?jhhhjPjhMHubh)}(hhh]j5)}(hdentryh]hdentry}(hjbjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdjmodnameN classnameNjj)}j ]j)}jdebugfs_lookupsbc.debugfs_lookupasbuh1hhj?jhhhjPjhMHubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?jhhhjPjhMHubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?jhhhjPjhMHubj/)}(hdebugfs_lookuph]j5)}(hjjh]hdebugfs_lookup}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj?jhhhjPjhMHubj;)}(h)(const char *name, struct dentry *parent)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubjd)}(hcharh]hchar}(hjjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj5)}(hnameh]hname}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjjubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hj'khhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubh)}(hhh]j5)}(hdentryh]hdentry}(hj8khhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:kmodnameN classnameNjj)}j ]j~jc.debugfs_lookupasbuh1hhjkubj)}(h h]h }(hjVkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj)}(hjh]h*}(hjdkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj5)}(hparenth]hparent}(hjqkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj?jhhhjPjhMHubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj;jhhhjPjhMHubah}(h]j6jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPjhMHhj8jhhubjc)}(hhh]h)}(h look up an existing debugfs fileh]h look up an existing debugfs file}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMHhjkhhubah}(h]h ]h"]h$]h&]uh1jbhj8jhhhjPjhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjjhNhNubj)}(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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMLhjkubj)}(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)}(hjkh]hconst char *name}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMIhjkubj)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMIhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMIhjkubj)}(hF``struct dentry *parent`` a pointer to the parent dentry of the file. h](j)}(h``struct dentry *parent``h]j)}(hjlh]hstruct dentry *parent}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMJhjlubj)}(hhh]h)}(h+a pointer to the parent dentry of the file.h]h+a pointer to the parent dentry of the file.}(hj.lhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*lhMJhj+lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj*lhMJhjkubeh}(h]h ]h"]h$]h&]uh1jhjkubh)}(h**Description**h]j)}(hjPlh]h Description}(hjRlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNlubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMLhjkubh)}(hThis function will return a pointer to a dentry if it succeeds. If the file doesn't exist or an error occurs, ``NULL`` will be returned. The returned dentry must be passed to dput() when it is no longer needed.h](hqThis function will return a pointer to a dentry if it succeeds. If the file doesn’t exist or an error occurs, }(hjflhhhNhNubj)}(h``NULL``h]hNULL}(hjnlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjflubh] will be returned. The returned dentry must be passed to dput() when it is no longer needed.}(hjflhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMKhjkubh)}(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 -}(hjlhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh will be returned.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMOhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_create_file_unsafe (C function)c.debugfs_create_file_unsafehNtauh1hhjjhhhNhNubh)}(hhh](j)}(hstruct dentry * debugfs_create_file_unsafe (const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)h]j)}(hstruct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)h](j )}(hjzh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlhhhjlhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j ]j)}jdebugfs_create_file_unsafesbc.debugfs_create_file_unsafeasbuh1hhjlhhhjlhMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlhhhjlhMubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhjlhMubj/)}(hdebugfs_create_file_unsafeh]j5)}(hjmh]hdebugfs_create_file_unsafe}(hj'mhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#mubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjlhhhjlhMubj;)}(hg(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjBmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>mubj)}(h h]h }(hjOmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>mubjd)}(hcharh]hchar}(hj]mhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj>mubj)}(h h]h }(hjkmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>mubj)}(hjh]h*}(hjymhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>mubj5)}(hnameh]hname}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>mubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj:mubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j ]jmc.debugfs_create_file_unsafeasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj5)}(hmodeh]hmode}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj:mubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubh)}(hhh]j5)}(hdentryh]hdentry}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j ]jmc.debugfs_create_file_unsafeasbuh1hhjmubj)}(h h]h }(hj#nhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj)}(hjh]h*}(hj1nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj5)}(hparenth]hparent}(hj>nhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj:mubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hjWnhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjSnubj)}(h h]h }(hjenhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSnubj)}(hjh]h*}(hjsnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSnubj5)}(hdatah]hdata}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj:mubjA)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j ]jmc.debugfs_create_file_unsafeasbuh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj)}(hjh]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj5)}(hfopsh]hfops}(hj ohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj:mubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjlhhhjlhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlhhhjlhMubah}(h]jlah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjlhMhjlhhubjc)}(hhh]h)}(h'create a file in the debugfs filesystemh]h'create a file in the debugfs filesystem}(hj5ohhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj2ohhubah}(h]h ]h"]h$]h&]uh1jbhjlhhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMojjMojjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. ``void *data`` a pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call. ``const struct file_operations *fops`` a pointer to a struct file_operations that should be used for this file. **Description** debugfs_create_file_unsafe() is completely analogous to debugfs_create_file(), the only difference being that the fops handed it will not get protected against file removals by the debugfs core. It is your responsibility to protect your struct file_operation methods against file removals by means of debugfs_file_get() and debugfs_file_put(). ->open() is still protected by debugfs though. Any struct file_operations defined by means of DEFINE_DEBUGFS_ATTRIBUTE() is protected against file removals and thus, may be used here.h](h)}(h**Parameters**h]j)}(hjWoh]h Parameters}(hjYohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUoubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjQoubj)}(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)}(hjvoh]hconst char *name}(hjxohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtoubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpoubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjoubah}(h]h ]h"]h$]h&]uh1jhjpoubeh}(h]h ]h"]h$]h&]uh1jhjohMhjmoubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hjoh]h umode_t mode}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjoubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMhjmoubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjoh]hstruct dentry *parent}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjoubj)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMhjmoubj)}(h``void *data`` a pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call. h](j)}(h``void *data``h]j)}(hj"ph]h void *data}(hj$phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj pubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubj)}(hhh]h)}(ha pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call.h]ha pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call.}(hj;phhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj8pubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhj7phMhjmoubj)}(hp``const struct file_operations *fops`` a pointer to a struct file_operations that should be used for this file. h](j)}(h&``const struct file_operations *fops``h]j)}(hj\ph]h"const struct file_operations *fops}(hj^phhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZpubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjVpubj)}(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.}(hjuphhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjrpubah}(h]h ]h"]h$]h&]uh1jhjVpubeh}(h]h ]h"]h$]h&]uh1jhjqphMhjmoubeh}(h]h ]h"]h$]h&]uh1jhjQoubh)}(h**Description**h]j)}(hjph]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjQoubh)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjQoubh)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjQoubh)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjQoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_file_size (C function)c.debugfs_create_file_sizehNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjphhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMubj)}(h h]h }(hj qhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhj qhMubj/)}(hdebugfs_create_file_sizeh]j5)}(hdebugfs_create_file_sizeh]hdebugfs_create_file_size}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjphhhj qhMubj;)}(hy(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, loff_t file_size)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hj8qhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4qubj)}(h h]h }(hjEqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4qubjd)}(hcharh]hchar}(hjSqhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj4qubj)}(h h]h }(hjaqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4qubj)}(hjh]h*}(hjoqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4qubj5)}(hnameh]hname}(hj|qhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4qubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj0qubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j ]j)}jjqsbc.debugfs_create_file_sizeasbuh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj5)}(hmodeh]hmode}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj0qubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubh)}(hhh]j5)}(hdentryh]hdentry}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j ]jqc.debugfs_create_file_sizeasbuh1hhjqubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj)}(hjh]h*}(hj)rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj5)}(hparenth]hparent}(hj6rhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj0qubjA)}(h void *datah](jd)}(hvoidh]hvoid}(hjOrhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjKrubj)}(h h]h }(hj]rhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKrubj)}(hjh]h*}(hjkrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKrubj5)}(hdatah]hdata}(hjxrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj0qubjA)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j ]jqc.debugfs_create_file_sizeasbuh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj)}(hjh]h*}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj5)}(hfopsh]hfops}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj0qubjA)}(hloff_t file_sizeh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!smodnameN classnameNjj)}j ]jqc.debugfs_create_file_sizeasbuh1hhjsubj)}(h h]h }(hj=shhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj5)}(h file_sizeh]h file_size}(hjKshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj0qubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjphhhj qhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhj qhMubah}(h]jpah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj qhMhjphhubjc)}(hhh]h)}(h'create a file in the debugfs filesystemh]h'create a file in the debugfs filesystem}(hjushhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjrshhubah}(h]h ]h"]h$]h&]uh1jbhjphhhj qhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjjhNhNubj)}(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)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjsubj)}(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}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjsubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hjsh]h umode_t mode}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjsubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjthMhjsubj)}(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(th]hstruct dentry *parent}(hj*thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&tubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj"tubj)}(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.}(hjAthhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj>tubah}(h]h ]h"]h$]h&]uh1jhj"tubeh}(h]h ]h"]h$]h&]uh1jhj=thMhjsubj)}(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)}(hjbth]h void *data}(hjdthhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`tubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM hj\tubj)}(hhh]h)}(ha pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call.h]ha pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call.}(hj{thhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM hjxtubah}(h]h ]h"]h$]h&]uh1jhj\tubeh}(h]h ]h"]h$]h&]uh1jhjwthM hjsubj)}(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)}(hjth]h"const struct file_operations *fops}(hjthhhNhNubah}(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.chM hjtubj)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM hjsubj)}(h'``loff_t file_size`` initial file size h](j)}(h``loff_t file_size``h]j)}(hjth]hloff_t file_size}(hjthhhNhNubah}(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)}(hinitial file sizeh]hinitial file size}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjsubeh}(h]h ]h"]h$]h&]uh1jhjsubh)}(h**Description**h]j)}(hjuh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjsubh)}(hThis is the basic "create a file" function for debugfs. It allows for a wide range of flexibility in creating a file, or a directory (if you want to create a directory, the debugfs_create_dir() function is recommended to be used instead.)h]hThis is the basic “create a file” function for debugfs. It allows for a wide range of flexibility in creating a file, or a directory (if you want to create a directory, the debugfs_create_dir() function is recommended to be used instead.)}(hj'uhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_dir (C function)c.debugfs_create_dirhNtauh1hhjjhhhNhNubh)}(hhh](j)}(hLstruct dentry * debugfs_create_dir (const char *name, struct dentry *parent)h]j)}(hJstruct dentry *debugfs_create_dir(const char *name, struct dentry *parent)h](j )}(hjzh]hstruct}(hjVuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRuhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM"ubj)}(h h]h }(hjduhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRuhhhjcuhM"ubh)}(hhh]j5)}(hdentryh]hdentry}(hjuuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjruubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwumodnameN classnameNjj)}j ]j)}jdebugfs_create_dirsbc.debugfs_create_dirasbuh1hhjRuhhhjcuhM"ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRuhhhjcuhM"ubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRuhhhjcuhM"ubj/)}(hdebugfs_create_dirh]j5)}(hjuh]hdebugfs_create_dir}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjRuhhhjcuhM"ubj;)}(h)(const char *name, struct dentry *parent)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubjd)}(hcharh]hchar}(hjuhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj5)}(hnameh]hname}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjuubjA)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjKvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMvmodnameN classnameNjj)}j ]juc.debugfs_create_dirasbuh1hhj)vubj)}(h h]h }(hjivhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)vubj)}(hjh]h*}(hjwvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)vubj5)}(hparenth]hparent}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)vubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjuubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjRuhhhjcuhM"ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjNuhhhjcuhM"ubah}(h]jIuah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjcuhM"hjKuhhubjc)}(hhh]h)}(h,create a directory in the debugfs filesystemh]h,create a directory in the debugfs filesystem}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM"hjvhhubah}(h]h ]h"]h$]h&]uh1jbhjKuhhhjcuhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjjhNhNubj)}(hXF**Parameters** ``const char *name`` a pointer to a string containing the name of the directory to create. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem. **Description** This function creates a directory in debugfs with the given name. This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned. If debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned. **NOTE** it's expected that most callers should _ignore_ the errors returned by this function. Other debugfs functions handle the fact that the "dentry" passed to them could be an error and they don't crash in that case. Drivers should generally work fine even if debugfs fails to init anyway.h](h)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM&hjvubj)}(hhh](j)}(h[``const char *name`` a pointer to a string containing the name of the directory to create. h](j)}(h``const char *name``h]j)}(hjvh]hconst char *name}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM$hjvubj)}(hhh]h)}(hEa pointer to a string containing the name of the directory to create.h]hEa pointer to a string containing the name of the directory to create.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM#hjwubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjwhM$hjvubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj)wh]hstruct dentry *parent}(hj+whhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'wubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM'hj#wubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem.h]ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem.}(hjBwhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM%hj?wubah}(h]h ]h"]h$]h&]uh1jhj#wubeh}(h]h ]h"]h$]h&]uh1jhj>whM'hjvubeh}(h]h ]h"]h$]h&]uh1jhjvubh)}(h**Description**h]j)}(hjewh]h Description}(hjgwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcwubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM)hjvubh)}(hAThis function creates a directory in debugfs with the given name.h]hAThis function creates a directory in debugfs with the given name.}(hj{whhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM(hjvubh)}(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.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM*hjvubh)}(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 -}(hjwhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh will be returned.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM0hjvubh)}(h**NOTE**h]j)}(hjwh]hNOTE}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM3hjvubh)}(hXit's expected that most callers should _ignore_ the errors returned by this function. Other debugfs functions handle the fact that the "dentry" passed to them could be an error and they don't crash in that case. Drivers should generally work fine even if debugfs fails to init anyway.h]hX$it’s expected that most callers should _ignore_ the errors returned by this function. Other debugfs functions handle the fact that the “dentry” passed to them could be an error and they don’t crash in that case. Drivers should generally work fine even if debugfs fails to init anyway.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM4hjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_automount (C function)c.debugfs_create_automounthNtauh1hhjjhhhNhNubh)}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM[ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjxhM[ubh)}(hhh]j5)}(hdentryh]hdentry}(hj xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"xmodnameN classnameNjj)}j ]j)}jdebugfs_create_automountsbc.debugfs_create_automountasbuh1hhjwhhhjxhM[ubj)}(h h]h }(hjAxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjxhM[ubj)}(hjh]h*}(hjOxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhjxhM[ubj/)}(hdebugfs_create_automounth]j5)}(hj>xh]hdebugfs_create_automount}(hj`xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\xubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjwhhhjxhM[ubj;)}(hL(const char *name, struct dentry *parent, debugfs_automount_t f, void *data)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hj{xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwxubjd)}(hcharh]hchar}(hjxhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjwxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwxubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwxubj5)}(hnameh]hname}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjsxubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j ]jd_automount() would.h](h)}(h**Parameters**h]j)}(hjzh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM_hjyubj)}(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#zh]hconst char *name}(hj%zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!zubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM\hjzubj)}(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.}(hjd_automount() would.h](j)}(h**f**h]hf}(hj${hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj {ubh* should return what ->d_automount() would.}(hj {hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMbhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#debugfs_create_symlink (C function)c.debugfs_create_symlinkhNtauh1hhjjhhhNhNubh)}(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 hjY{hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMubj)}(h h]h }(hjk{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjY{hhhjj{hMubh)}(hhh]j5)}(hdentryh]hdentry}(hj|{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjy{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~{modnameN classnameNjj)}j ]j)}jdebugfs_create_symlinksbc.debugfs_create_symlinkasbuh1hhjY{hhhjj{hMubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjY{hhhjj{hMubj)}(hjh]h*}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY{hhhjj{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.hjY{hhhjj{hMubj;)}(h=(const char *name, struct dentry *parent, const char *target)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubjd)}(hcharh]hchar}(hj{hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj{ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj5)}(hnameh]hname}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj{ubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj4|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0|ubj)}(h h]h }(hjA|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0|ubh)}(hhh]j5)}(hdentryh]hdentry}(hjR|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjO|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT|modnameN classnameNjj)}j ]j{c.debugfs_create_symlinkasbuh1hhj0|ubj)}(h h]h }(hjp|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0|ubj)}(hjh]h*}(hj~|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0|ubj5)}(hparenth]hparent}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj{ubjA)}(hconst char *targeth](j )}(hjh]hconst}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubjd)}(hcharh]hchar}(hj|hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj5)}(htargeth]htarget}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj{ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjY{hhhjj{hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjU{hhhjj{hMubah}(h]jP{ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjj{hMhjR{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.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jbhjR{hhhjj{hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*}jj*}jjjuh1hhhhjjhNhNubj)}(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)}(hj4}h]h Parameters}(hj6}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2}ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj.}ubj)}(hhh](j)}(h_``const char *name`` a pointer to a string containing the name of the symbolic link to create. h](j)}(h``const char *name``h]j)}(hjS}h]hconst char *name}(hjU}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ}ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjM}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.}(hjl}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhji}ubah}(h]h ]h"]h$]h&]uh1jhjM}ubeh}(h]h ]h"]h$]h&]uh1jhjh}hMhjJ}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}hMhjJ}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)}(hj}h]hconst char *target}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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}hMhjJ}ubeh}(h]h ]h"]h$]h&]uh1jhj.}ubh)}(h**Description**h]j)}(hj~h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj.}ubh)}(hiThis function creates a symbolic link with the given name in debugfs that links to the given target path.h]hiThis function creates a symbolic link with the given name in debugfs that links to the given target path.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj.}ubh)}(hX1This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the symbolic link is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.h]hX1This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the symbolic link is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.}(hj(~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj.}ubh)}(hPIf debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h4If debugfs is not enabled in the kernel, the value -}(hj7~hhhNhNubj)}(h ``ENODEV``h]hENODEV}(hj?~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7~ubh will be returned.}(hj7~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj.}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_remove (C function)c.debugfs_removehNtauh1hhjjhhhNhNubh)}(hhh](j)}(h+void debugfs_remove (struct dentry *dentry)h]j)}(h*void debugfs_remove(struct dentry *dentry)h](jd)}(hvoidh]hvoid}(hjx~hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjt~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&]uh1jhjt~hhhj~hMubj/)}(hdebugfs_removeh]j5)}(hdebugfs_removeh]hdebugfs_remove}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjt~hhhj~hMubj;)}(h(struct dentry *dentry)h]jA)}(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}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNjj)}j ]j)}jj~sbc.debugfs_removeasbuh1hhj~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj~ubah}(h]h ]h"]h$]h&]jLjMuh1j:hjt~hhhj~hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjp~hhhj~hMubah}(h]jk~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~hMhjm~hhubjc)}(hhh]h)}(hrecursively removes a directoryh]hrecursively removes a directory}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj5hhubah}(h]h ]h"]h$]h&]uh1jbhjm~hhhj~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhjjhNhNubj)}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjTubj)}(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)}(hjyh]hstruct dentry *dentry}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjsubj)}(hhh]h)}(h}a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done.h]h}a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubah}(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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjTubh)}(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.chMhjTubh)}(hThis function is required to be called in order for the file to be removed, no automatic cleanup of files will happen when a module is removed, you are responsible here.h]hThis function is required to be called in order for the file to be removed, no automatic cleanup of files will happen when a module is removed, you are responsible here.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&debugfs_lookup_and_remove (C function)c.debugfs_lookup_and_removehNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhh[/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_lookup_and_removeh]j5)}(hdebugfs_lookup_and_removeh]hdebugfs_lookup_and_remove}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(h)(const char *name, struct dentry *parent)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubjd)}(hcharh]hchar}(hjahhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjBubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj>ubjA)}(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 reftargetjÀmodnameN classnameNjj)}j ]j)}jj,sbc.debugfs_lookup_and_removeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj>ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h4lookup a directory or file and recursively remove ith]h4lookup a directory or file and recursively remove it}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj#hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhjjhNhNubj)}(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)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM hjBubj)}(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)}(hjgh]hconst char *name}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjaubj)}(hhh]h)}(hAa pointer to a string containing the name of the item to look up.h]hAa pointer to a string containing the name of the item to look up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(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.chMhjubj)}(hhh]h)}(h+a pointer to the parent dentry of the item.h]h+a pointer to the parent dentry of the item.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubh)}(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 hjBubh)}(hThis is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.h]hThis is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_change_name (C function)c.debugfs_change_namehNtauh1hhjjhhhNhNubh)}(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](jd)}(hinth]hint}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM2ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj.hM2ubj/)}(hdebugfs_change_nameh]j5)}(hdebugfs_change_nameh]hdebugfs_change_name}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj.hM2ubj;)}(h-(struct dentry *dentry, const char *fmt, ...)h](jA)}(hstruct dentry *dentryh](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)}(hdentryh]hdentry}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j ]j)}jjCsbc.debugfs_change_nameasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjUubjA)}(hconst char *fmth](j )}(hjh]hconst}(hjςhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˂ubj)}(h h]h }(hj܂hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj˂ubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj˂ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj˂ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj˂ubj5)}(hfmth]hfmt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj˂ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjUubjA)}(h...h]j)}(hjaUh]h...}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjUubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhj.hM2ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj.hM2ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj.hM2hjhhubjc)}(hhh]h)}(h1rename a file/directory in the debugfs filesystemh]h1rename a file/directory in the debugfs filesystem}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM2hjRhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj.hM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjjhNhNubj)}(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)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM6hjqubj)}(hhh](j)}(h=``struct dentry *dentry`` dentry of an object to be renamed. h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM3hjubj)}(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&]uh1hhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h(``const char *fmt`` format for new name h](j)}(h``const char *fmt``h]j)}(hjσh]hconst char *fmt}(hjуhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̓ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM4hjɃubj)}(hhh]h)}(hformat for new nameh]hformat for new name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjɃubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(h``...`` variable arguments h](j)}(h``...``h]j)}(hjh]h...}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chKhjubj)}(hhh]h)}(hvariable argumentsh]hvariable arguments}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjqubh)}(h**Description**h]j)}(hjCh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chKhjqubh)}(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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM5hjqubh)}(hubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMxhj:ubj)}(hhh]j)}(h``void`` no argumentsh](j)}(h``void``h]j)}(hj_h]hvoid}(hjahhhNhNubah}(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.chMzhjYubj)}(hhh]h)}(h no argumentsh]h no arguments}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chKhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMzhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_file_get (C function)c.debugfs_file_gethNtauh1hhjjhhhNhNubh)}(hhh](j)}(h,int debugfs_file_get (struct dentry *dentry)h]j)}(h+int debugfs_file_get(struct dentry *dentry)h](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hjȅhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjDžhKubj/)}(hdebugfs_file_geth]j5)}(hdebugfs_file_geth]hdebugfs_file_get}(hjڅhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjօubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjDžhKubj;)}(h(struct dentry *dentry)h]jA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jj܅sbc.debugfs_file_getasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjDžhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjDžhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjDžhKhjhhubjc)}(hhh]h)}(h&mark the beginning of file data accessh]h&mark the beginning of file data access}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjvhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjDžhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``struct dentry *dentry`` the dentry object whose data is being accessed. **Description** Up to a matching call to debugfs_file_put(), any successive call into the file removing functions debugfs_remove() and debugfs_remove_recursive() will block. Since associated private file data may only get freed after a successful return of any of the removal functions, you may safely access it after a successful call to debugfs_file_get() without worrying about lifetime issues. If -``EIO`` is returned, the file has already been removed and thus, it is not safe to access any of its data. If, on the other hand, it is allowed to access the file data, zero is returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(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)}(hJ``struct dentry *dentry`` the dentry object whose data is being accessed. h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubj)}(hhh]h)}(h/the dentry object whose data is being accessed.h]h/the dentry object whose data is being accessed.}(hjӆhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjφhKhjІubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjφhKhjubah}(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)}(hX}Up to a matching call to debugfs_file_put(), any successive call into the file removing functions debugfs_remove() and debugfs_remove_recursive() will block. Since associated private file data may only get freed after a successful return of any of the removal functions, you may safely access it after a successful call to debugfs_file_get() without worrying about lifetime issues.h]hX}Up to a matching call to debugfs_file_put(), any successive call into the file removing functions debugfs_remove() and debugfs_remove_recursive() will block. Since associated private file data may only get freed after a successful return of any of the removal functions, you may safely access it after a successful call to debugfs_file_get() without worrying about lifetime issues.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 -}(hjhhhNhNubj)}(h``EIO``h]hEIO}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is returned, the file has already been removed and thus, it is not safe to access any of its data. If, on the other hand, it is allowed to access the file data, zero is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_file_put (C function)c.debugfs_file_puthNtauh1hhjjhhhNhNubh)}(hhh](j)}(h-void debugfs_file_put (struct dentry *dentry)h]j)}(h,void debugfs_file_put(struct dentry *dentry)h](jd)}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjWhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWhhhjihKubj/)}(hdebugfs_file_puth]j5)}(hdebugfs_file_puth]hdebugfs_file_put}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjWhhhjihKubj;)}(h(struct dentry *dentry)h]jA)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jj~sbc.debugfs_file_putasbuh1hhjubj)}(h h]h }(hjևhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubah}(h]h ]h"]h$]h&]jLjMuh1j:hjWhhhjihKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjShhhjihKubah}(h]jNah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjihKhjPhhubjc)}(hhh]h)}(h mark the end of file data accessh]h mark the end of file data access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjPhhhjihKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjjhNhNubj)}(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)}(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.chKhj7ubj)}(hhh]j)}(hS``struct dentry *dentry`` the dentry object formerly passed to debugfs_file_get(). h](j)}(h``struct dentry *dentry``h]j)}(hj\h]hstruct dentry *dentry}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjVubj)}(hhh]h)}(h8the dentry object formerly passed to debugfs_file_get().h]h8the dentry object formerly passed to debugfs_file_get().}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhKhjSubah}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj7ubh)}(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.chKhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_enter_cancellation (C function)c.debugfs_enter_cancellationhNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj݈hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjوhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjوhhhjhKubj/)}(hdebugfs_enter_cancellationh]j5)}(hdebugfs_enter_cancellationh]hdebugfs_enter_cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjوhhhjhKubj;)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](jA)}(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}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj)}j ]j)}jjsbc.debugfs_enter_cancellationasbuh1hhjubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hfileh]hfile}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h)struct debugfs_cancellation *cancellationh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdebugfs_cancellationh]hdebugfs_cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jTc.debugfs_enter_cancellationasbuh1hhjubj)}(h h]h }(hjȉhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj։hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(h cancellationh]h cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjوhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjՈhhhjhKubah}(h]jЈah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhj҈hhubjc)}(hhh]h)}(henter a debugfs cancellationh]henter a debugfs cancellation}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj hhubah}(h]h ]h"]h$]h&]uh1jbhj҈hhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``struct file *file`` the file being accessed ``struct debugfs_cancellation *cancellation`` the cancellation object, the cancel callback inside of it must be initialized **Description** When a debugfs file is removed it needs to wait for all active operations to complete. However, the operation itself may need to wait for hardware or completion of some asynchronous process or similar. As such, it may need to be cancelled to avoid long waits or even deadlocks. This function can be used inside a debugfs handler that may need to be cancelled. As soon as this function is called, the cancellation's 'cancel' callback may be called, at which point the caller should proceed to call debugfs_leave_cancellation() and leave the debugfs handler function as soon as possible. Note that the 'cancel' callback is only ever called in the context of some kind of debugfs_remove(). This function must be paired with debugfs_leave_cancellation().h](h)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj1hhhNhNubah}(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.chKhj)ubj)}(hhh](j)}(h.``struct file *file`` the file being accessed h](j)}(h``struct file *file``h]j)}(hjNh]hstruct file *file}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjHubj)}(hhh]h)}(hthe file being accessedh]hthe file being accessed}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchKhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchKhjEubj)}(h|``struct debugfs_cancellation *cancellation`` the cancellation object, the cancel callback inside of it must be initialized h](j)}(h-``struct debugfs_cancellation *cancellation``h]j)}(hjh]h)struct debugfs_cancellation *cancellation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubj)}(hhh]h)}(hMthe cancellation object, the cancel callback inside of it must be initializedh]hMthe cancellation object, the cancel callback inside of it must be initialized}(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&]uh1jhjhKhjEubeh}(h]h ]h"]h$]h&]uh1jhj)ubh)}(h**Description**h]j)}(hjÊh]h Description}(hjŊhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj)ubh)}(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.chKhj)ubh)}(hXThis function can be used inside a debugfs handler that may need to be cancelled. As soon as this function is called, the cancellation's 'cancel' callback may be called, at which point the caller should proceed to call debugfs_leave_cancellation() and leave the debugfs handler function as soon as possible. Note that the 'cancel' callback is only ever called in the context of some kind of debugfs_remove().h]hXThis function can be used inside a debugfs handler that may need to be cancelled. As soon as this function is called, the cancellation’s ‘cancel’ callback may be called, at which point the caller should proceed to call debugfs_leave_cancellation() and leave the debugfs handler function as soon as possible. Note that the ‘cancel’ callback is only ever called in the context of some kind of debugfs_remove().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj)ubh)}(h?This function must be paired with debugfs_leave_cancellation().h]h?This function must be paired with debugfs_leave_cancellation().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_leave_cancellation (C function)c.debugfs_leave_cancellationhNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj&hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj"hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"hhhj4hKubj/)}(hdebugfs_leave_cancellationh]j5)}(hdebugfs_leave_cancellationh]hdebugfs_leave_cancellation}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj"hhhj4hKubj;)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](jA)}(hstruct file *fileh](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)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjIsbc.debugfs_leave_cancellationasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj[ubjA)}(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_leave_cancellationasbuh1hhjыubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjыubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjыubj5)}(h cancellationh]h cancellation}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjыubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hj[ubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj"hhhj4hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj4hKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj4hKhjhhubjc)}(hhh]h)}(hleave cancellation sectionh]hleave cancellation section}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjShhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj4hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjjhNhNubj)}(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)}(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.chKhjrubj)}(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)}(hw``struct debugfs_cancellation *cancellation`` the cancellation previously registered with debugfs_enter_cancellation() 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)}(hHthe cancellation previously registered with debugfs_enter_cancellation()h]hHthe cancellation previously registered with debugfs_enter_cancellation()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubah}(h]h ]h"]h$]h&]uh1jhjʌubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjrubh)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjrubh)}(h6See the documentation of debugfs_enter_cancellation().h]h6See the documentation of debugfs_enter_cancellation().}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u8 (C function)c.debugfs_create_u8hNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjMhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMQubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhj_hMQubj/)}(hdebugfs_create_u8h]j5)}(hdebugfs_create_u8h]hdebugfs_create_u8}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhj_hMQubj;)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjōhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjҍhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjtsbc.debugfs_create_u8asbuh1hhjubj)}(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&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubh)}(hhh]j5)}(hdentryh]hdentry}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j ]j c.debugfs_create_u8asbuh1hhj1ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 ]j c.debugfs_create_u8asbuh1hhjubj)}(h h]h }(hjƎhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjԎhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjMhhhj_hMQubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjIhhhj_hMQubah}(h]jDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj_hMQhjFhhubjc)}(hhh]h)}(hLcreate a debugfs file that is used to read and write an unsigned 8-bit valueh]hLcreate a debugfs file that is used to read and write an unsigned 8-bit value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMQhjhhubah}(h]h ]h"]h$]h&]uh1jbhjFhhhj_hMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u8 *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMUhj'ubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjLh]hconst char *name}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMRhjFubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMRhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMRhjCubj)}(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.chMShjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjCubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMVhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(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.chMThjԏubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӏhMVhjCubj)}(hU``u8 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h ``u8 *value``h]j)}(hj h]h u8 *value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMXhjubj)}(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.chMWhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjCubeh}(h]h ]h"]h$]h&]uh1jhj'ubh)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMZhj'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 }(hj\hhhNhNubj)}(h **value**h]hvalue}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh . If the }(hj\hhhNhNubj)}(h**mode**h]hmode}(hjvhhhNhNubah}(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.chMYhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u16 (C function)c.debugfs_create_u16hNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMuubj/)}(hdebugfs_create_u16h]j5)}(hdebugfs_create_u16h]hdebugfs_create_u16}(hjАhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̐ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMuubj;)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj)}j ]j)}jjҐsbc.debugfs_create_u16asbuh1hhjEubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj5)}(hmodeh]hmode}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 ]jhc.debugfs_create_u16asbuh1hhjubj)}(h h]h }(hjϑhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjݑhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 ]jhc.debugfs_create_u16asbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hvalueh]hvalue}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMuubeh}(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}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMuhjfhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u16 *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMyhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(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.}(hjÒhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(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.chMwhjݒ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&]uh1hhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjݒubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubj)}(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.chMzhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hj5hhhNhNubj)}(h``NULL``h]hNULL}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubhF, then the file will be created in the root of the debugfs filesystem.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMxhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMzhjubj)}(hV``u16 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u16 *value``h]j)}(hjhh]h u16 *value}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM|hjbubj)}(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.chM{hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM|hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM~hjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hjhhhNhNubj)}(h **value**h]hvalue}(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.chM}hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u32 (C function)c.debugfs_create_u32hNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj 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_u32h]j5)}(hdebugfs_create_u32h]hdebugfs_create_u32}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhMubj;)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubjd)}(hcharh]hchar}(hjehhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjFubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjBubjA)}(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)}jj0sbc.debugfs_create_u32asbuh1hhjubj)}(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&]noemphjLjMuh1j@hjBubjA)}(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&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jƔc.debugfs_create_u32asbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hparenth]hparent}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjBubjA)}(h u32 *valueh](h)}(hhh]j5)}(hu32h]hu32}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j ]jƔc.debugfs_create_u32asbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjBubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 32-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 32-bit value}(hjǕhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjĕhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjߕjjߕjjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u32 *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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}(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@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjAh]h umode_t mode}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj;ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubj)}(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)}(hjzh]hstruct dentry *parent}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjtubj)}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``u32 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u32 *value``h]j)}(hjƖh]h u32 *value}(hjȖhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĖubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjߖhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjܖubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۖhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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}(hj2hhhNhNubah}(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&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u64 (C function)c.debugfs_create_u64hNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjghhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjghhhjyhMubj/)}(hdebugfs_create_u64h]j5)}(hdebugfs_create_u64h]hdebugfs_create_u64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjghhhjyhMubj;)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hj×hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjїhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjߗhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 reftargetj modnameN classnameNjj)}j ]j)}jjsbc.debugfs_create_u64asbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j ]j$c.debugfs_create_u64asbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h u64 *valueh](h)}(hhh]j5)}(hu64h]hu64}(hj˜hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjĘmodnameN classnameNjj)}j ]j$c.debugfs_create_u64asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjghhhjyhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjchhhjyhMubah}(h]j^ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjyhMhj`hhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 64-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 64-bit value}(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`hhhjyhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhjjhNhNubj)}(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)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjAubj)}(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)}(hjfh]hconst char *name}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj`ubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj]ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h(the permission that the file should 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&]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}(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)}(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&]uh1jhjhMhj]ubj)}(hV``u64 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u64 *value``h]j)}(hj$h]h u64 *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.chMhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj]ubeh}(h]h ]h"]h$]h&]uh1jhjAubh)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjAubh)}(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 }(hjvhhhNhNubj)}(h **value**h]hvalue}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh . If the }(hjvhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh9 variable is so set, it can be read from, and written to.}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!debugfs_create_ulong (C function)c.debugfs_create_ulonghNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjɚhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjŚhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjؚhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjŚhhhjךhMubj/)}(hdebugfs_create_ulongh]j5)}(hdebugfs_create_ulongh]hdebugfs_create_ulong}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjŚhhhjךhMubj;)}(hM(const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hj!hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j ]j)}jjsbc.debugfs_create_ulongasbuh1hhj_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&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj˛hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjțubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj͛modnameN classnameNjj)}j ]jc.debugfs_create_ulongasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hunsigned long *valueh](jd)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hlongh]hlong}(hj9hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hvalueh]hvalue}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjŚhhhjךhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjךhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjךhMhjhhubjc)}(hhh]h)}(hLcreate a debugfs file that is used to read and write an unsigned long value.h]hLcreate a debugfs file that is used to read and write an unsigned long value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjךhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjjhNhNubj)}(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)}(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.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&]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}(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.chMhj9ubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjXhhhNhNubj)}(h``NULL``h]hNULL}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubhF, then the file will be created in the root of the debugfs filesystem.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjĜubj)}(h```unsigned long *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``unsigned long *value``h]j)}(hjh]hunsigned long *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x8 (C function)c.debugfs_create_x8hNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj,hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,hhhj>hMubj/)}(hdebugfs_create_x8h]j5)}(hdebugfs_create_x8h]hdebugfs_create_x8}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhj>hMubj;)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjeubjA)}(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)}jjSsbc.debugfs_create_x8asbuh1hhjƞ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&]noemphjLjMuh1j@hjeubjA)}(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}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j ]jc.debugfs_create_x8asbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hparenth]hparent}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjeubjA)}(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 ]jc.debugfs_create_x8asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjeubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj,hhhj>hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj(hhhj>hMubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hMhj%hhubjc)}(hhh]h)}(hLcreate a debugfs file that is used to read and write an unsigned 8-bit valueh]hLcreate a debugfs file that is used to read and write an unsigned 8-bit value}(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%hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u8 *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(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.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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj"ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjdh]h umode_t mode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj^ubj8)}(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&]uh1hhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj"ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"ubj)}(hT``u8 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h ``u8 *value``h]j)}(hjh]h u8 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x16 (C function)c.debugfs_create_x16hNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj>hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM(ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhjPhM(ubj/)}(hdebugfs_create_x16h]j5)}(hdebugfs_create_x16h]hdebugfs_create_x16}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhjPhM(ubj;)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj5)}(hnameh]hname}(hjáhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubjA)}(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 reftargetjmodnameN classnameNjj)}j ]j)}jjesbc.debugfs_create_x16asbuh1hhjءubj)}(h h]h }(hjhhhNhNubah}(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&]noemphjLjMuh1j@hjwubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubh)}(hhh]j5)}(hdentryh]hdentry}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j ]jc.debugfs_create_x16asbuh1hhj"ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj5)}(hparenth]hparent}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubjA)}(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 ]jc.debugfs_create_x16asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjŢhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hvalueh]hvalue}(hjҢhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj>hhhjPhM(ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhjPhM(ubah}(h]j5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhM(hj7hhubjc)}(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.chM(hjhhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhjPhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u16 *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(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)}(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.chM)hj7ubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM)hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM)hj4ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjvh]h umode_t mode}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM*hjpubj)}(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&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM*hj4ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM-hjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjȣhhhNhNubj)}(h``NULL``h]hNULL}(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-hj4ubj)}(hU``u16 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u16 *value``h]j)}(hjh]h u16 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hj4ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x32 (C function)c.debugfs_create_x32hNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjPhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM:ubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPhhhjbhM:ubj/)}(hdebugfs_create_x32h]j5)}(hdebugfs_create_x32h]hdebugfs_create_x32}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjPhhhjbhM:ubj;)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjȤhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjդhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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)}jjwsbc.debugfs_create_x32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh)}(hhh]j5)}(hdentryh]hdentry}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j ]j c.debugfs_create_x32asbuh1hhj4ubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 ]j c.debugfs_create_x32asbuh1hhjubj)}(h h]h }(hjɥhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjץhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjPhhhjbhM:ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjLhhhjbhM:ubah}(h]jGah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjbhM:hjIhhubjc)}(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.chM:hj hhubah}(h]h ]h"]h$]h&]uh1jbhjIhhhjbhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjjhNhNubj)}(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)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM>hj*ubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjOh]hconst char *name}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM;hjIubj)}(hhh]h)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM;hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM;hjFubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM<hjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjFubj)}(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.chM?hjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjڦhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڦubhF, then the file will be created in the root of the debugfs filesystem.}(hjڦhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM=hjצubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֦hM?hjFubj)}(hU``u32 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u32 *value``h]j)}(hj h]h u32 *value}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM@hjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x64 (C function)c.debugfs_create_x64hNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjbhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMLubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhjthMLubj/)}(hdebugfs_create_x64h]j5)}(hdebugfs_create_x64h]hdebugfs_create_x64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjbhhhjthMLubj;)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hj̧hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjڧhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_x64asbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j ]jc.debugfs_create_x64asbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h u64 *valueh](h)}(hhh]j5)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.debugfs_create_x64asbuh1hhjubj)}(h h]h }(hjۨhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjbhhhjthMLubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^hhhjthMLubah}(h]jYah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthMLhj[hhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 64-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 64-bit value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhjthMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjjhNhNubj)}(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)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMPhj<ubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjah]hconst char *name}(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.chMMhj[ubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMMhjXubj)}(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.chMNhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjXubj)}(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.chMQhjͩ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.chMOhjubah}(h]h ]h"]h$]h&]uh1jhjͩubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjXubj)}(hU``u64 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u64 *value``h]j)}(hjh]h u64 *value}(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.chMRhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMRhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMRhjXubeh}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"debugfs_create_size_t (C function)c.debugfs_create_size_thNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjxhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjthhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjhMnubj/)}(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.hjthhhjhMnubj;)}(hF(const char *name, umode_t mode, struct dentry *parent, size_t *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjªhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hjЪhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjުhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_size_tasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubh)}(hhh]j5)}(hdentryh]hdentry}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j ]j1c.debugfs_create_size_tasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h size_t *valueh](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 ]j1c.debugfs_create_size_tasbuh1hhjȫubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȫubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjȫubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjȫubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjthhhjhMnubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhjhMnubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMnhjmhhubjc)}(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}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMnhj/hhubah}(h]h ]h"]h$]h&]uh1jbhjmhhhjhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjjhNhNubj)}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMrhjNubj)}(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.chMohjmubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMohjjubj)}(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}(hjŬhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMphj¬ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjjubj)}(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.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 }(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.chMqhjubah}(h]h ]h"]h$]h&]uh1jhj߬ubeh}(h]h ]h"]h$]h&]uh1jhjhMshjjubj)}(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)}(hj1h]h size_t *value}(hj3hhhNhNubah}(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.chMthj+ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMthjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMthjjubeh}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$debugfs_create_atomic_t (C function)c.debugfs_create_atomic_thNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhZ/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_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.hjhhhjhMubj;)}(hH(const char *name, umode_t mode, struct dentry *parent, atomic_t *value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjǭhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjíubj)}(h h]h }(hjԭhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjíubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjíubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjíubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjíubj5)}(hnameh]hname}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjíubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_atomic_tasbuh1hhj ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hmodeh]hmode}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jCc.debugfs_create_atomic_tasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj5)}(hparenth]hparent}(hjŮhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hatomic_t *valueh](h)}(hhh]j5)}(hatomic_th]hatomic_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjޮubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jCc.debugfs_create_atomic_tasbuh1hhjڮubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjڮubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڮubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjڮubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j}ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjAhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjjhNhNubj)}(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)}(hjfh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(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)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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.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ӯhMhj|ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.chMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj|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)}(hjCh]hatomic_t *value}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj=ubj)}(hhh]h)}(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&]uh1hhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj|ubeh}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_create_bool (C function)c.debugfs_create_boolhNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhZ/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](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjٰhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjհubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjհubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjհubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjհubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjհubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjհubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjѰubjA)}(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_boolasbuh1hhj2ubj)}(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&]noemphjLjMuh1j@hjѰubjA)}(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_boolasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj)}(hjh]h*}(hjʱhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj5)}(hparenth]hparent}(hjױhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjѰubjA)}(h bool *valueh](jd)}(hjgh]hbool}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjѰubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hDcreate a debugfs file that is used to read and write a boolean valueh]hDcreate a debugfs file that is used to read and write a boolean value}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjjhNhNubj)}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj^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.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&]uh1jhjhMhjzubj)}(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ѲhMhjzubj)}(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.chMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjzubj)}(hW``bool *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``bool *value``h]j)}(hjAh]h bool *value}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubh)}(h**Description**h]j)}(hj}h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 }(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.chMhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_str (C function)c.debugfs_create_strhNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMcubj/)}(hdebugfs_create_strh]j5)}(hdebugfs_create_strh]hdebugfs_create_str}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMcubj;)}(hE(const char *name, umode_t mode, struct dentry *parent, char **value)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hj>hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_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&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjʴhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƴubj)}(h h]h }(hj״hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƴubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jc.debugfs_create_strasbuh1hhjƴubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƴubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƴubj5)}(hparenth]hparent}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƴubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h char **valueh](jd)}(hcharh]hchar}(hj:hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj6ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj5)}(hvalueh]hvalue}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMcubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj޳hhhjhMcubah}(h]jٳah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMchj۳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۳hhhjhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``char **value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMghjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjյubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjҵ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.chMehjubj)}(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)hMehj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMehjҵubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjMh]hstruct dentry *parent}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhhjGubj)}(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 }(hjfhhhNhNubj)}(h``NULL``h]hNULL}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubhF, then the file will be created in the root of the debugfs filesystem.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMfhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhhjҵubj)}(hX``char **value`` a pointer to the variable that the file should read to and write from. h](j)}(h``char **value``h]j)}(hjh]h char **value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMjhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjҵ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.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 }(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.chMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_create_blob (C function)c.debugfs_create_blobhNtauh1hhjjhhhNhNubh)}(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}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:hhhjKhMubh)}(hhh]j5)}(hdentryh]hdentry}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j ]j)}jdebugfs_create_blobsbc.debugfs_create_blobasbuh1hhj:hhhjKhMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:hhhjKhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhjKhMubj/)}(hdebugfs_create_blobh]j5)}(hj{h]hdebugfs_create_blob}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj:hhhjKhMubj;)}(hZ(const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjŷhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjd)}(hcharh]hchar}(hjӷhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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 ]jyc.debugfs_create_blobasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j ]jyc.debugfs_create_blobasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h!struct debugfs_blob_wrapper *blobh](j )}(hjzh]hstruct}(hj͸hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjɸubj)}(h h]h }(hjڸhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjɸubh)}(hhh]j5)}(hdebugfs_blob_wrapperh]hdebugfs_blob_wrapper}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jyc.debugfs_create_blobasbuh1hhjɸubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjɸubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjɸubj5)}(hblobh]hblob}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɸubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj:hhhjKhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj6hhhjKhMubah}(h]j1ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhMhj3hhubjc)}(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}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jbhj3hhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjjhNhNubj)}(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)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjȹh]h umode_t mode}(hjʹhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƹubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj¹ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]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)}(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&]uh1jhjhMhjubj)}(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)}(hjMh]h!struct debugfs_blob_wrapper *blob}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjGubj)}(hhh]h)}(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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjubeh}(h]h ]h"]h$]h&]uh1jhjjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjjubh)}(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.chMhjjubh)}(hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.h]hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.}(hjҺhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjjubh)}(hUIf debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.h]hUIf debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_u32_array (C function)c.debugfs_create_u32_arrayhNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj 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_u32_arrayh]j5)}(hdebugfs_create_u32_arrayh]hdebugfs_create_u32_array}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhMubj;)}(hX(const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubjd)}(hcharh]hchar}(hjhhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjIubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjEubjA)}(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)}jj3sbc.debugfs_create_u32_arrayasbuh1hhjubj)}(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&]noemphjLjMuh1j@hjEubjA)}(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_u32_arrayasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hparenth]hparent}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjEubjA)}(hstruct debugfs_u32_array *arrayh](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)}(hdebugfs_u32_arrayh]hdebugfs_u32_array}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]jɻc.debugfs_create_u32_arrayasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj5)}(harrayh]harray}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjEubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h5create a debugfs file that is used to read u32 array.h]h5create a debugfs file that is used to read u32 array.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``struct debugfs_u32_array *array`` wrapper struct containing data pointer and size of the array. **Description** This function creates a file in debugfs with the given name that exports **array** as data. If the **mode** variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(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.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.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(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.chMhjYubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjubj)}(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)}(hb``struct debugfs_u32_array *array`` wrapper struct containing data pointer and size of the array. h](j)}(h#``struct debugfs_u32_array *array``h]j)}(hjh]hstruct debugfs_u32_array *array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM hjubh)}(hX This function creates a file in debugfs with the given name that exports **array** as data. If the **mode** variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.h](hIThis function creates a file in debugfs with the given name that exports }(hj5hhhNhNubj)}(h **array**h]harray}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh as data. If the }(hj5hhhNhNubj)}(h**mode**h]hmode}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh 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.}(hj5hhhNhNubeh}(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&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!debugfs_print_regs32 (C function)c.debugfs_print_regs32hNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_print_regs32h]j5)}(hdebugfs_print_regs32h]hdebugfs_print_regs32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj;)}(hc(struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h](jA)}(hstruct seq_file *sh](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)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.debugfs_print_regs32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hjh]hs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h const struct debugfs_reg32 *regsh](j )}(hjh]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)}(h debugfs_reg32h]h debugfs_reg32}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j ]jc.debugfs_print_regs32asbuh1hhj2ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj5)}(hregsh]hregs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h int nregsh](jd)}(hinth]hint}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjϿhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hnregsh]hnregs}(hjݿhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hvoid __iomem *baseh](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh__iomem}(hjhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hbaseh]hbase}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h char *prefixh](jd)}(hcharh]hchar}(hjJhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj5)}(hprefixh]hprefix}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(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&]jjjjjjjjjuh1hhhhjjhNhNubj)}(hX**Parameters** ``struct seq_file *s`` the seq_file structure being used to generate output ``const struct debugfs_reg32 *regs`` an array if struct debugfs_reg32 structures ``int nregs`` the length of the above array ``void __iomem *base`` the base address to be used in reading the registers ``char *prefix`` a string to be prefixed to every output line **Description** This function outputs a text block describing the current values of some 32-bit hardware registers. It is meant to be used within debugfs files based on seq_file that need to show registers, intermixed with other information. The prefix argument may be used to specify a leading string, because some peripherals have several blocks of identical registers, for example configuration of dma channelsh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM#hjubj)}(hhh](j)}(hL``struct seq_file *s`` the seq_file structure being used to generate output h](j)}(h``struct seq_file *s``h]j)}(hjh]hstruct seq_file *s}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM hjubj)}(hhh]h)}(h4the seq_file structure being used to generate outputh]h4the seq_file structure being used to generate output}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hQ``const struct debugfs_reg32 *regs`` an array if struct debugfs_reg32 structures h](j)}(h$``const struct debugfs_reg32 *regs``h]j)}(hjh]h const struct debugfs_reg32 *regs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM!hjubj)}(hhh]h)}(h+an array if struct debugfs_reg32 structuresh]h+an array if struct debugfs_reg32 structures}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hM!hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM!hjubj)}(h,``int nregs`` the length of the above array h](j)}(h ``int nregs``h]j)}(hjPh]h int nregs}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM"hjJubj)}(hhh]h)}(hthe length of the above arrayh]hthe length of the above array}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehM"hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM"hjubj)}(hL``void __iomem *base`` the base address to be used in reading the registers h](j)}(h``void __iomem *base``h]j)}(hjh]hvoid __iomem *base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM#hjubj)}(hhh]h)}(h4the base address to be used in reading the registersh]h4the base address to be used in reading the registers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h>``char *prefix`` a string to be prefixed to every output line h](j)}(h``char *prefix``h]j)}(hjh]h char *prefix}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM$hjubj)}(hhh]h)}(h,a string to be prefixed to every output lineh]h,a string to be prefixed to every output line}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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&hjubh)}(hXThis function outputs a text block describing the current values of some 32-bit hardware registers. It is meant to be used within debugfs files based on seq_file that need to show registers, intermixed with other information. The prefix argument may be used to specify a leading string, because some peripherals have several blocks of identical registers, for example configuration of dma channelsh]hXThis function outputs a text block describing the current values of some 32-bit hardware registers. It is meant to be used within debugfs files based on seq_file that need to show registers, intermixed with other information. The prefix argument may be used to specify a leading string, because some peripherals have several blocks of identical registers, for example configuration of dma channels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM%hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$debugfs_create_regset32 (C function)c.debugfs_create_regset32hNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj>hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMOubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhjPhMOubj/)}(hdebugfs_create_regset32h]j5)}(hdebugfs_create_regset32h]hdebugfs_create_regset32}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhjPhMOubj;)}(hX(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h](jA)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubjd)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubjA)}(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)}jjesbc.debugfs_create_regset32asbuh1hhjubj)}(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&]noemphjLjMuh1j@hjwubjA)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubh)}(hhh]j5)}(hdentryh]hdentry}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j ]jc.debugfs_create_regset32asbuh1hhj"ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj5)}(hparenth]hparent}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubjA)}(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 ]jc.debugfs_create_regset32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hregseth]hregset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjwubeh}(h]h ]h"]h$]h&]jLjMuh1j:hj>hhhjPhMOubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhjPhMOubah}(h]j5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMOhj7hhubjc)}(hhh]h)}(h2create a debugfs file that returns register valuesh]h2create a debugfs file that returns register values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMOhjhhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhjPhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjjhNhNubj)}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMShj3ubj)}(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)}(hjXh]hconst char *name}(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.chMPhjRubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMPhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMPhjOubj)}(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&]uh1jhjhMQhjOubj)}(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 }(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.chMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjOubj)}(h``struct debugfs_regset32 *regset`` a pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found. h](j)}(h#``struct debugfs_regset32 *regset``h]j)}(hjh]hstruct debugfs_regset32 *regset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMWhjubj)}(hhh]h)}(ha pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found.h]ha pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMUhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMWhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hjRh]h Description}(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.chMYhj3ubh)}(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 }(hjhhhhNhNubj)}(h**mode**h]hmode}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubhB variable is so set it can be read from. Writing is not supported.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMXhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(debugfs_create_devm_seqfile (C function)c.debugfs_create_devm_seqfilehNtauh1hhjjhhhNhNubh)}(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](jd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjhhhZ/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](jA)}(hstruct device *devh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j)}jjsbc.debugfs_create_devm_seqfileasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hdevh]hdev}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(hconst char *nameh](j )}(hjh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubjd)}(hcharh]hchar}(hjshhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(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_devm_seqfileasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj5)}(hparenth]hparent}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubjA)}(h.int (*read_fn)(struct seq_file *s, void *data)h](jd)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj!ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj)}(hjҧh]h(}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj5)}(hread_fnh]hread_fn}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubj)}(hjh]h)}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj)}(hjҧh]h(}(hjvhhhNhNubah}(h]h ]jah"]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)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j ]j c.debugfs_create_devm_seqfileasbuh1hhj!ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj5)}(hjh]hs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubj)}(hj_h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubjd)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jpah"]h$]h&]uh1jchj!ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj5)}(hdatah]hdata}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubj)}(hjh]h)}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1j@hjubeh}(h]h ]h"]h$]h&]jLjMuh1j:hjhhhjhM|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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM|hj_hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjjhNhNubj)}(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.chMhj~ubj)}(hhh](j)}(h<``struct device *dev`` device related to this debugfs file. h](j)}(h``struct device *dev``h]j)}(hjh]hstruct device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM~hjubj)}(hhh]h)}(h$device related to this debugfs file.h]h$device related to this debugfs file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjubj)}(h/``const char *name`` name of the debugfs file. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(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)}(hname of the debugfs file.h]hname of the debugfs file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(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.chMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(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)}(hjah]h.int (*read_fn)(struct seq_file *s, void *data)}(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.chMhj[ubj)}(hhh]h)}(h6function pointer called to print the seq_file content.h]h6function pointer called to print the seq_file content.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjjhhhNhNubeh}(h]debugfs-interfaceah ]h"]debugfs interfaceah$]h&]uh1hhjjhhhhhKubeh}(h]the-debugfs-filesystemah ]h"]the debugfs filesystemah$]h&]uh1hhhhhhhhKubeh}(h]linux-filesystems-api-summaryah ]h"]linux filesystems api summaryah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jjjBj?jTjTjj jjj#j#jRjRj:j7jjjjjjjl(ji(j5j5jjjjjjjju nametypes}(jjBjTjjj#jRj:jjjjl(j5jjjjuh}(jhj?hjThhjjkjpjjjz j jjjVj[jjjjj3j8jjj!j!j#j#j>&jC&j(j(j+j+j-j-jr/jw/j 1j1j2j2jC4jH4j5j5jE7jJ7j8j8j:j:jY<j^<j=j=j@j@jfBjkBjDjDjEjEjzGjGjHjIj|JjJjKjLjMjMjMOjROjPjPjORjTRj jTjTjTjVjVj`XjeXj+Zj0Zj[j[jH]jM]j^j^j$`j)`jbjbjdjejgjgjij#ijJljOljmojrojArjFrjsjsjCujHujwjwj zj%zjI|jN|j~j~j0j5j́jсjjjDjIjj jjj؊j݊j?jDjjj/j4jjjmjrjjjjjzjjՙjڙjjjvj{jjjj j>jCjhjmjljqjjjjjj jkjpjjjjjgjljjjjjojjjjjkjpjjjjjjj|jj:j?jjjjjjj%j*jjj>jCjjjVj[jjjjjBjGjjjVj[j#jjjjjj&j+jjjZj_jjj j jjjjj"j'jjjRjWjjj j jRj#j#j#jL&jQ&j'j'j*j*jk-jp-j/j/j2j2j6j!6jF8jK8jp:ju:j >j>j6@j;@jAjAjDj DjhFjmFjHjHjuKjzKjMjMjPjPj7jRjRjRjUjUj|XjXj[j[j^j^j<`jA`jajajNfjSfjjj jjljlj$oj)ojArjFrj^ujcujxjxj.{j3{j4j9jgjljjjjjjjjj7j<j̚jњjjjjjjj7j<jjj^jcjjjjjݲjjjjMjRjjj~jj jjfjkjjjjjjjjjjjcjhjjjKjPj(j-jjjAjFjrjwjjj7j<jkjpjVj[j0j5j jjjjajfj(j-jejjjjjgjlj j j j jjjjjjjjjgjljjjjjajfj!j!j4$j9$jQ&jV&jn(js(j)j)j+j+j.j.jY1j^1j05j55j9j9j<j<jN?jS?jAjAjDjDjOGjTGjJjJjNjNj