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.hhMLhhhhubh)}(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.hhMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjhMTubj/)}(h address_spaceh]j5)}(hjrh]h address_space}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjthhhjhMTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhjhMTubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMThjmhhubjc)}(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&]uh1jbhjmhhhjhMTubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(hX**Definition**:: struct address_space { struct inode *host; struct xarray i_pages; struct rw_semaphore invalidate_lock; gfp_t gfp_mask; atomic_t i_mmap_writable; #ifdef CONFIG_READ_ONLY_THP_FOR_FS; atomic_t nr_thps; #endif; struct rb_root_cached i_mmap; unsigned long nrpages; pgoff_t writeback_index; const struct address_space_operations *a_ops; unsigned long flags; errseq_t wb_err; spinlock_t i_private_lock; struct list_head i_private_list; struct rw_semaphore i_mmap_rwsem; void * i_private_data; }; **Members** ``host`` Owner, either the inode or the block_device. ``i_pages`` Cached pages. ``invalidate_lock`` Guards coherency between page cache contents and file offset->disk block mappings in the filesystem during invalidates. It is also used to block modification of page cache contents through memory mappings. ``gfp_mask`` Memory allocation flags to use for allocating pages. ``i_mmap_writable`` Number of VM_SHARED, VM_MAYWRITE mappings. ``nr_thps`` Number of THPs in the pagecache (non-shmem only). ``i_mmap`` Tree of private and shared mappings. ``nrpages`` Number of page entries, protected by the i_pages lock. ``writeback_index`` Writeback starts here. ``a_ops`` Methods. ``flags`` Error bits and flags (AS_*). ``wb_err`` The most recent error which has occurred. ``i_private_lock`` For use by the owner of the address_space. ``i_private_list`` For use by the owner of the address_space. ``i_mmap_rwsem`` Protects **i_mmap** and **i_mmap_writable**. ``i_private_data`` For use by the owner of the address_space.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh literal_block)}(hXsstruct address_space { struct inode *host; struct xarray i_pages; struct rw_semaphore invalidate_lock; gfp_t gfp_mask; atomic_t i_mmap_writable; #ifdef CONFIG_READ_ONLY_THP_FOR_FS; atomic_t nr_thps; #endif; struct rb_root_cached i_mmap; unsigned long nrpages; pgoff_t writeback_index; const struct address_space_operations *a_ops; unsigned long flags; errseq_t wb_err; spinlock_t i_private_lock; struct list_head i_private_list; struct rw_semaphore i_mmap_rwsem; void * i_private_data; };h]hXsstruct address_space { struct inode *host; struct xarray i_pages; struct rw_semaphore invalidate_lock; gfp_t gfp_mask; atomic_t i_mmap_writable; #ifdef CONFIG_READ_ONLY_THP_FOR_FS; atomic_t nr_thps; #endif; struct rb_root_cached i_mmap; unsigned long nrpages; pgoff_t writeback_index; const struct address_space_operations *a_ops; unsigned long flags; errseq_t wb_err; spinlock_t i_private_lock; struct list_head i_private_list; struct rw_semaphore i_mmap_rwsem; void * i_private_data; };}hjsbah}(h]h ]h"]h$]h&]jLjMuh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(h **Members**h]j)}(hj h]hMembers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh](j)}(h6``host`` Owner, either the inode or the block_device. h](j)}(h``host``h]j)}(hj*h]hhost}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj$ubj)}(hhh]h)}(h,Owner, either the inode or the block_device.h]h,Owner, either the inode or the block_device.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj!ubj)}(h``i_pages`` Cached pages. h](j)}(h ``i_pages``h]j)}(hjch]hi_pages}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj]ubj)}(hhh]h)}(h Cached pages.h]h Cached pages.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhj!ubj)}(h``invalidate_lock`` Guards coherency between page cache contents and file offset->disk block mappings in the filesystem during invalidates. It is also used to block modification of page cache contents through memory mappings. h](j)}(h``invalidate_lock``h]j)}(hjh]hinvalidate_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hGuards coherency between page cache contents and file offset->disk block mappings in the filesystem during invalidates. It is also used to block modification of page cache contents through memory mappings.h]hGuards coherency between page cache contents and file offset->disk block mappings in the filesystem during invalidates. It is also used to block modification of page cache contents through memory mappings.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubj)}(hB``gfp_mask`` Memory allocation flags to use for allocating pages. h](j)}(h ``gfp_mask``h]j)}(hjh]hgfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h4Memory allocation flags to use for allocating pages.h]h4Memory allocation flags to use for allocating pages.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubj)}(h?``i_mmap_writable`` Number of VM_SHARED, VM_MAYWRITE mappings. h](j)}(h``i_mmap_writable``h]j)}(hjh]hi_mmap_writable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h*Number of VM_SHARED, VM_MAYWRITE mappings.h]h*Number of VM_SHARED, VM_MAYWRITE mappings.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj!ubj)}(h>``nr_thps`` Number of THPs in the pagecache (non-shmem only). h](j)}(h ``nr_thps``h]j)}(hjHh]hnr_thps}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjBubj)}(hhh]h)}(h1Number of THPs in the pagecache (non-shmem only).h]h1Number of THPs in the pagecache (non-shmem only).}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj!ubj)}(h0``i_mmap`` Tree of private and shared mappings. h](j)}(h ``i_mmap``h]j)}(hjh]hi_mmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj{ubj)}(hhh]h)}(h$Tree of private and shared mappings.h]h$Tree of private and shared mappings.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubj)}(hC``nrpages`` Number of page entries, protected by the i_pages lock. h](j)}(h ``nrpages``h]j)}(hjh]hnrpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h6Number of page entries, protected by the i_pages lock.h]h6Number of page entries, protected by the i_pages lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubj)}(h+``writeback_index`` Writeback starts here. h](j)}(h``writeback_index``h]j)}(hjh]hwriteback_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hWriteback starts here.h]hWriteback starts here.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubj)}(h``a_ops`` Methods. h](j)}(h ``a_ops``h]j)}(hj,h]ha_ops}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj&ubj)}(hhh]h)}(hMethods.h]hMethods.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj!ubj)}(h'``flags`` Error bits and flags (AS_*). h](j)}(h ``flags``h]j)}(hjeh]hflags}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj_ubj)}(hhh]h)}(hError bits and flags (AS_*).h]hError bits and flags (AS_*).}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj!ubj)}(h5``wb_err`` The most recent error which has occurred. h](j)}(h ``wb_err``h]j)}(hjh]hwb_err}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h)The most recent error which has occurred.h]h)The most recent error which has occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubj)}(h>``i_private_lock`` For use by the owner of the address_space. h](j)}(h``i_private_lock``h]j)}(hjh]hi_private_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h*For use by the owner of the address_space.h]h*For use by the owner of the address_space.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubj)}(h>``i_private_list`` For use by the owner of the address_space. h](j)}(h``i_private_list``h]j)}(hjh]hi_private_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h*For use by the owner of the address_space.h]h*For use by the owner of the address_space.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj!ubj)}(h>``i_mmap_rwsem`` Protects **i_mmap** and **i_mmap_writable**. h](j)}(h``i_mmap_rwsem``h]j)}(hjIh]h i_mmap_rwsem}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjCubj)}(hhh]h)}(h,Protects **i_mmap** and **i_mmap_writable**.h](h Protects }(hjbhhhNhNubj)}(h **i_mmap**h]hi_mmap}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh and }(hjbhhhNhNubj)}(h**i_mmap_writable**h]hi_mmap_writable}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj!ubj)}(h=``i_private_data`` For use by the owner of the address_space.h](j)}(h``i_private_data``h]j)}(hjh]hi_private_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h*For use by the owner of the address_space.h]h*For use by the owner of the address_space.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_ra_state (C struct)c.file_ra_statehNtauh1hhhhhhNhNubh)}(hhh](j)}(h file_ra_stateh]j)}(hstruct file_ra_stateh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj/)}(h file_ra_stateh]j5)}(hjh]h file_ra_state}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(hhh]h)}(hTrack a file's readahead state.h]h!Track a file’s readahead state.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj?hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMubeh}(h]h ](jstructeh"]h$]h&]jjjjZjjZjjjuh1hhhhhhNhNubj)}(hX**Definition**:: struct file_ra_state { pgoff_t start; unsigned int size; unsigned int async_size; unsigned int ra_pages; unsigned int 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. ``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 int 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 int 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?``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)}(hjh]hprev_pos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h.The last byte in the most recent read request.h]h.The last byte in the most recent read request.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(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.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}(hjN hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ 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&]uh1jhjJ hhhj[ hMubj/)}(hfileh]j5)}(hjH h]hfile}(hjn hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJ hhhj[ hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjF hhhj[ hMubah}(h]jA ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj[ hMhjC 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.hhM-hj hhubah}(h]h ]h"]h$]h&]uh1jbhjC 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.hhM1hj 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.hhM3hj 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.hhMUhj ubj)}(hhh](j)}(hG``f_lock`` Protects f_ep, f_flags. Must not be taken from IRQ context. h](j)}(h ``f_lock``h]j)}(hj h]hf_lock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM/hj ubj)}(hhh]h)}(h;Protects f_ep, f_flags. Must not be taken from IRQ context.h]h;Protects f_ep, f_flags. Must not be taken from IRQ context.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM/hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM/hj ubj)}(h0``f_mode`` FMODE_* flags often used in hotpaths h](j)}(h ``f_mode``h]j)}(hj6 h]hf_mode}(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.hhM0hj0 ubj)}(hhh]h)}(h$FMODE_* flags often used in hotpathsh]h$FMODE_* flags often used in hotpaths}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjK hM0hjL ubah}(h]h ]h"]h$]h&]uh1jhj0 ubeh}(h]h ]h"]h$]h&]uh1jhjK hM0hj ubj)}(h``f_op`` file operations h](j)}(h``f_op``h]j)}(hjo h]hf_op}(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.hhM1hji ubj)}(hhh]h)}(hfile operationsh]hfile operations}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM1hj ubah}(h]h ]h"]h$]h&]uh1jhji ubeh}(h]h ]h"]h$]h&]uh1jhj hM1hj 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.hhM2hj 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 hM2hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM2hj 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.hhM3hj ubj)}(hhh]h)}(h"filesystem or driver specific datah]h"filesystem or driver specific data}(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)}(h``f_inode`` cached inode h](j)}(h ``f_inode``h]j)}(hj h]hf_inode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM4hj ubj)}(hhh]h)}(h cached inodeh]h cached inode}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ hM4hj0 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj/ hM4hj ubj)}(h``f_flags`` file flags h](j)}(h ``f_flags``h]j)}(hjS h]hf_flags}(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.hhM5hjM ubj)}(hhh]h)}(h file flagsh]h file flags}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh hM5hji ubah}(h]h ]h"]h$]h&]uh1jhjM ubeh}(h]h ]h"]h$]h&]uh1jhjh hM5hj 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.hhM6hj ubj)}(hhh]h)}(h iocb flagsh]h iocb flags}(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)}(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.hhM7hj ubj)}(hhh]h)}(h%stashed credentials of creator/openerh]h%stashed credentials of creator/opener}(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)}(h``f_owner`` file owner h](j)}(h ``f_owner``h]j)}(hj h]hf_owner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM8hj ubj)}(hhh]h)}(h file ownerh]h file owner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM8hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM8hj ubj)}(h``f_path`` path of the file h](j)}(h ``f_path``h]j)}(hj7 h]hf_path}(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.hhM9hj1 ubj)}(hhh]h)}(hpath of the fileh]hpath of the file}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjL hM9hjM ubah}(h]h ]h"]h$]h&]uh1jhj1 ubeh}(h]h ]h"]h$]h&]uh1jhjL hM9hj ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjp h]h{unnamed_union}}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKhjj ubj)}(hhh]h)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubj)}(h-``f_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}(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_pos`` file position h](j)}(h ``f_pos``h]j)}(hj h]hf_pos}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM<hj ubj)}(hhh]h)}(h file positionh]h file position}(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)}(h1``f_security`` LSM security context of this file h](j)}(h``f_security``h]j)}(hjT h]h f_security}(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!LSM security context of this fileh]h!LSM security context of this file}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1hhji hM=hjj ubah}(h]h ]h"]h$]h&]uh1jhjN ubeh}(h]h ]h"]h$]h&]uh1jhji hM=hj ubj)}(h``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.hhM>hj ubj)}(hhh]h)}(hwriteback errorh]hwriteback error}(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_sb_err`` per sb writeback errors h](j)}(h ``f_sb_err``h]j)}(hj h]hf_sb_err}(hj hhhNhNubah}(h]h ]h"]h$]h&]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)}(hper sb writeback errorsh]hper sb writeback errors}(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_ep`` link of all epoll hooks for this file h](j)}(h``f_ep``h]j)}(hj h]hf_ep}(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.hhM@hj ubj)}(hhh]h)}(h%link of all epoll hooks for this fileh]h%link of all epoll hooks for this file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhM@hj ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj8h]h{unnamed_union}}(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.hhKhj2ubj)}(hhh]h)}(h anonymoush]h anonymous}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhKhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhKhj ubj)}(h&``f_task_work`` task work entry point h](j)}(h``f_task_work``h]j)}(hjqh]h f_task_work}(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.hhMAhjkubj)}(hhh]h)}(htask work entry pointh]htask work entry point}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMAhj 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.hhMBhjubj)}(hhh]h)}(hwork queue entrypointh]hwork queue entrypoint}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhj 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.hhMChjubj)}(hhh]h)}(hfile's readahead stateh]hfile’s readahead state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChj ubj)}(hM``f_freeptr`` Pointer used by SLAB_TYPESAFE_BY_RCU file cache (don't touch.) h](j)}(h ``f_freeptr``h]j)}(hjh]h f_freeptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMDhjubj)}(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.)}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMDhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMDhj ubj)}(h``f_ref`` reference counth](j)}(h ``f_ref``h]j)}(hjUh]hf_ref}(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.hhMDhjOubj)}(hhh]h)}(hreference counth]hreference count}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMEhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMDhj 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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j]jc.i_uid_into_vfsuidasbuh1hhj ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubhdesc_sig_punctuation)}(h*h]h*}(hjYhhhNhNubah}(h]h ]pah"]h$]h&]uh1jWhj ubj5)}(hidmaph]hidmap}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct inode *inodeh](j )}(hconsth]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_uid_into_vfsuidasbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj}ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h3map an inode's i_uid down according to an idmappingh]h5map an inode’s i_uid down according to an idmapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhhhNhNubj)}(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)}(hj@h]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj:ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj_h]hstruct mnt_idmap *idmap}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjYubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubj)}(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&]uh1jhjhMhjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj:ubh)}(huwhe inode's i_uid mapped down according to **idmap**. If the inode's i_uid has no mapping INVALID_VFSUID is returned.h](h-whe inode’s i_uid mapped down according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC. If the inode’s i_uid has no mapping INVALID_VFSUID is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hi_uid_needs_update (C function)c.i_uid_needs_updatehNtauh1hhhhhhNhNubh)}(hhh](j)}(hfbool i_uid_needs_update (struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h]j)}(hebool i_uid_needs_update(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](hdesc_sig_keyword_type)}(hboolh]hbool}(hj,hhhNhNubah}(h]h ]ktah"]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/)}(hi_uid_needs_updateh]j5)}(hi_uid_needs_updateh]hi_uid_needs_update}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj&hhhj;hMubj)}(hN(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubh)}(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)}jjPsbc.i_uid_needs_updateasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjfubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubjq)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_uid_needs_updateasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjAhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hattrh]hattr}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_uid_needs_updateasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjcubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubeh}(h]h ]h"]h$]h&]jLjMuh1jhj&hhhj;hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj"hhhj;hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj;hMhjhhubjc)}(hhh]h)}(h/check whether inode's i_uid needs to be updatedh]h1check whether inode’s i_uid needs to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj;hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct iattr *attr`` the new attributes of **inode** ``const struct inode *inode`` the inode to update **Description** Check whether the $inode's i_uid field needs to be updated taking idmapped mounts into account if the filesystem supports it. **Return** true if **inode**'s i_uid field needs to be updated, false if not.h](h)}(h**Parameters**h]j)}(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.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)}(hjDh]hstruct mnt_idmap *idmap}(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)}(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&]uh1hhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj;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}(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)}(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&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhj;ubj)}(h2``const struct inode *inode`` the inode to update h](j)}(h``const struct inode *inode``h]j)}(hjh]hconst struct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj;ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(h}Check whether the $inode's i_uid field needs to be updated taking idmapped mounts into account if the filesystem supports it.h]hCheck whether the $inode’s i_uid field needs to be updated taking idmapped mounts into account if the filesystem supports it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(h **Return**h]j)}(hj&h]hReturn}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(hBtrue if **inode**'s i_uid field needs to be updated, false if not.h](htrue if }(hj<hhhNhNubj)}(h **inode**h]hinode}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh3’s i_uid field needs to be updated, false if not.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hi_uid_update (C function)c.i_uid_updatehNtauh1hhhhhhNhNubh)}(hhh](j)}(hZvoid i_uid_update (struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h]j)}(hYvoid i_uid_update(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](j+)}(hvoidh]hvoid}(hj}hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjyhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyhhhjhMubj/)}(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.hjyhhhjhMubj)}(hH(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.i_uid_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubh)}(hhh]j5)}(hiattrh]hiattr}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]jc.i_uid_updateasbuh1hhj(ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj(ubj5)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_uid_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjyhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjuhhhjhMubah}(h]jpah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjrhhubjc)}(hhh]h)}(hupdate **inode**'s i_uid fieldh](hupdate }(hj8hhhNhNubj)}(h **inode**h]hinode}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh’s i_uid field}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jbhjrhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhhhNhNubj)}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjfubj)}(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)}(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.hhMhjubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhjfubh)}(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:14: ./include/linux/fs.hhMhjfubh)}(hlSafely update **inode**'s i_uid field translating the vfsuid of any idmapped mount into the filesystem kuid.h](hSafely update }(hj\hhhNhNubj)}(h **inode**h]hinode}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubhW’s i_uid field translating the vfsuid of any idmapped mount into the filesystem kuid.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjfubeh}(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.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hi_gid_into_vfsgidh]j5)}(hjh]hi_gid_into_vfsgid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_gid_into_vfsgidasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj9hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hidmaph]hidmap}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubj )}(hjzh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_gid_into_vfsgidasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj[ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h3map an inode's i_gid down according to an idmappingh]h5map an inode’s i_gid down according to an idmapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(hX **Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct inode *inode`` inode to map **Return** the inode's i_gid mapped down according to **idmap**. If the inode's i_gid has no mapping INVALID_VFSGID is returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj<h]hstruct mnt_idmap *idmap}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj6ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhM hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM hj3ubj)}(h+``const struct inode *inode`` inode to map h](j)}(h``const struct inode *inode``h]j)}(hjuh]hconst struct inode *inode}(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 inode to maph]h inode to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhj3ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(huthe inode's i_gid mapped down according to **idmap**. If the inode's i_gid has no mapping INVALID_VFSGID is returned.h](h-the inode’s i_gid mapped down according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC. If the inode’s i_gid has no mapping INVALID_VFSGID is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hi_gid_needs_update (C function)c.i_gid_needs_updatehNtauh1hhhhhhNhNubh)}(hhh](j)}(hfbool i_gid_needs_update (struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h]j)}(hebool i_gid_needs_update(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](j+)}(hj.h]hbool}(hjhhhNhNubah}(h]h ]j7ah"]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&]uh1jhjhhhjhMubj/)}(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.hjhhhjhMubj)}(hN(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]j)}jj)sbc.i_gid_needs_updateasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj?ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j}c.i_gid_needs_updateasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hattrh]hattr}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubj)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubj )}(hjzh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubh)}(hhh]j5)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j]j}c.i_gid_needs_updateasbuh1hhj<ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj<ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h/check whether inode's i_gid needs to be updatedh]h1check whether inode’s i_gid needs to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct iattr *attr`` the new attributes of **inode** ``const struct inode *inode`` the inode to update **Description** Check whether the $inode's i_gid field needs to be updated taking idmapped mounts into account if the filesystem supports it. **Return** true if **inode**'s i_gid field needs to be updated, false if not.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h=``const struct iattr *attr`` the new attributes of **inode** h](j)}(h``const struct iattr *attr``h]j)}(hjVh]hconst struct iattr *attr}(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.hhMhjPubj)}(hhh]h)}(hthe new attributes of **inode**h](hthe new attributes of }(hjohhhNhNubj)}(h **inode**h]hinode}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1hhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(h}Check whether the $inode's i_gid field needs to be updated taking idmapped mounts into account if the filesystem supports it.h]hCheck whether the $inode’s i_gid field needs to be updated taking idmapped mounts into account if the filesystem supports it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM"hjubh)}(hBtrue if **inode**'s i_gid field needs to be updated, false if not.h](htrue if }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh3’s i_gid field needs to be updated, false if not.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM"hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hi_gid_update (C function)c.i_gid_updatehNtauh1hhhhhhNhNubh)}(hhh](j)}(hZvoid i_gid_update (struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h]j)}(hYvoid i_gid_update(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](j+)}(hvoidh]hvoid}(hjVhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjRhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM.ubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRhhhjdhM.ubj/)}(h i_gid_updateh]j5)}(h i_gid_updateh]h i_gid_update}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjRhhhjdhM.ubj)}(hH(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjysbc.i_gid_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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 }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hiattrh]hiattr}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj)}j]jc.i_gid_updateasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hattrh]hattr}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_gid_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjRhhhjdhM.ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjNhhhjdhM.ubah}(h]jIah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjdhM.hjKhhubjc)}(hhh]h)}(hupdate **inode**'s i_gid fieldh](hupdate }(hj hhhNhNubj)}(h **inode**h]hinode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh’s i_gid field}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM.hj hhubah}(h]h ]h"]h$]h&]uh1jbhjKhhhjdhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj; jj; jjjuh1hhhhhhNhNubj)}(hXG**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct iattr *attr`` the new attributes of **inode** ``struct inode *inode`` the inode to update **Description** Safely update **inode**'s i_gid field translating the vfsgid of any idmapped mount into the filesystem kgid.h](h)}(h**Parameters**h]j)}(hjE h]h Parameters}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM2hj? 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM/hj^ ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj} hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjy hM/hjz ubah}(h]h ]h"]h$]h&]uh1jhj^ ubeh}(h]h ]h"]h$]h&]uh1jhjy hM/hj[ 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.hhM0hj 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 hM0hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM0hj[ 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.hhM1hj ubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM1hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM1hj[ 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.hhM3hj? ubh)}(hlSafely update **inode**'s i_gid field translating the vfsgid of any idmapped mount into the filesystem kgid.h](hSafely update }(hj5!hhhNhNubj)}(h **inode**h]hinode}(hj=!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5!ubhW’s i_gid field translating the vfsgid of any idmapped mount into the filesystem kgid.}(hj5!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM3hj? ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_fsuid_set (C function)c.inode_fsuid_sethNtauh1hhhhhhNhNubh)}(hhh](j)}(hCvoid inode_fsuid_set (struct inode *inode, struct mnt_idmap *idmap)h]j)}(hBvoid inode_fsuid_set(struct inode *inode, struct mnt_idmap *idmap)h](j+)}(hvoidh]hvoid}(hjv!hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjr!hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM@ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjr!hhhj!hM@ubj/)}(hinode_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.hjr!hhhj!hM@ubj)}(h.(struct inode *inode, struct mnt_idmap *idmap)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubh)}(hhh]j5)}(hinodeh]hinode}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j]j)}jj!sbc.inode_fsuid_setasbuh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubjX)}(hj[h]h*}(hj!hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj!ubj5)}(hinodeh]hinode}(hj "hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj!ubj)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj%"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!"ubj)}(h h]h }(hj2"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!"ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjC"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjE"modnameN classnameNjj)}j]j!c.inode_fsuid_setasbuh1hhj!"ubj)}(h h]h }(hja"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!"ubjX)}(hj[h]h*}(hjo"hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj!"ubj5)}(hidmaph]hidmap}(hj|"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj!ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjr!hhhj!hM@ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjn!hhhj!hM@ubah}(h]ji!ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!hM@hjk!hhubjc)}(hhh]h)}(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.hhM@hj"hhubah}(h]h ]h"]h$]h&]uh1jbhjk!hhhj!hM@ubeh}(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.hhMDhj"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.hhMAhj"ubj)}(hhh]h)}(hinode to initializeh]hinode to initialize}(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)}(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.hhMBhj#ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj9#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5#hMBhj6#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj5#hMBhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"ubh)}(h**Description**h]j)}(hj[#h]h Description}(hj]#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY#ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMDhj"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 }(hjq#hhhNhNubj)}(h **inode**h]hinode}(hjy#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq#ubh]. If the inode was found/created via an idmapped mount map the caller’s fsuid according to }(hjq#hhhNhNubj)}(h **idmap**h]hidmap}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq#ubh.}(hjq#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMDhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_fsgid_set (C function)c.inode_fsgid_sethNtauh1hhhhhhNhNubh)}(hhh](j)}(hCvoid inode_fsgid_set (struct inode *inode, struct mnt_idmap *idmap)h]j)}(hBvoid inode_fsgid_set(struct inode *inode, struct mnt_idmap *idmap)h](j+)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj#hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMNubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhj#hMNubj/)}(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#hMNubj)}(h.(struct inode *inode, struct mnt_idmap *idmap)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubh)}(hhh]j5)}(hinodeh]hinode}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!$modnameN classnameNjj)}j]j)}jj#sbc.inode_fsgid_setasbuh1hhj#ubj)}(h h]h }(hj?$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubjX)}(hj[h]h*}(hjM$hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj#ubj5)}(hinodeh]hinode}(hjZ$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjs$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjo$ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j]j;$c.inode_fsgid_setasbuh1hhjo$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjo$ubjX)}(hj[h]h*}(hj$hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjo$ubj5)}(hidmaph]hidmap}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjo$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj#hhhj#hMNubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#hhhj#hMNubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj#hMNhj#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.hhMNhj$hhubah}(h]h ]h"]h$]h&]uh1jbhj#hhhj#hMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjj %jj %jjjuh1hhhhhhNhNubj)}(hX'**Parameters** ``struct inode *inode`` inode to initialize ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from **Description** Initialize the i_gid field of **inode**. If the inode was found/created via an idmapped mount map the caller's fsgid according to **idmap**.h](h)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMRhj%ubj)}(hhh](j)}(h,``struct inode *inode`` inode to initialize h](j)}(h``struct inode *inode``h]j)}(hj5%h]hstruct inode *inode}(hj7%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMOhj/%ubj)}(hhh]h)}(hinode to initializeh]hinode to initialize}(hjN%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJ%hMOhjK%ubah}(h]h ]h"]h$]h&]uh1jhj/%ubeh}(h]h ]h"]h$]h&]uh1jhjJ%hMOhj,%ubj)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjn%h]hstruct mnt_idmap *idmap}(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.hhMPhjh%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%hMPhj%ubah}(h]h ]h"]h$]h&]uh1jhjh%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMPhj,%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubh)}(h**Description**h]j)}(hj%h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMRhj%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.hhMRhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!fsuidgid_has_mapping (C function)c.fsuidgid_has_mappinghNtauh1hhhhhhNhNubh)}(hhh](j)}(hKbool fsuidgid_has_mapping (struct super_block *sb, struct mnt_idmap *idmap)h]j)}(hJbool fsuidgid_has_mapping(struct super_block *sb, struct mnt_idmap *idmap)h](j+)}(hj.h]hbool}(hj&hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj&hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM\ubj)}(h h]h }(hj &hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&hhhj&hM\ubj/)}(hfsuidgid_has_mappingh]j5)}(hfsuidgid_has_mappingh]hfsuidgid_has_mapping}(hj2&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj&hhhj&hM\ubj)}(h1(struct super_block *sb, struct mnt_idmap *idmap)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjN&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ&ubj)}(h h]h }(hj[&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJ&ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjl&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjn&modnameN classnameNjj)}j]j)}jj4&sbc.fsuidgid_has_mappingasbuh1hhjJ&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJ&ubjX)}(hj[h]h*}(hj&hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjJ&ubj5)}(hsbh]hsb}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJ&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjF&ubj)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj)}j]j&c.fsuidgid_has_mappingasbuh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubjX)}(hj[h]h*}(hj 'hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj&ubj5)}(hidmaph]hidmap}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjF&ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj&hhhj&hM\ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj &hhhj&hM\ubah}(h]j&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj&hM\hj&hhubjc)}(hhh]h)}(h,check whether caller's fsuid/fsgid is mappedh]h.check whether caller’s fsuid/fsgid is mapped}(hjA'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&]jjjjY'jjY'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)}(hjc'h]h Parameters}(hje'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja'ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM`hj]'ubj)}(hhh](j)}(h?``struct super_block *sb`` the superblock we want a mapping in h](j)}(h``struct super_block *sb``h]j)}(hj'h]hstruct super_block *sb}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM]hj|'ubj)}(hhh]h)}(h#the superblock we want a mapping inh]h#the superblock we want a mapping in}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hM]hj'ubah}(h]h ]h"]h$]h&]uh1jhj|'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM]hjy'ubj)}(h8``struct mnt_idmap *idmap`` idmap of the relevant mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj'h]hstruct mnt_idmap *idmap}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM^hj'ubj)}(hhh]h)}(hidmap of the relevant mounth]hidmap of the relevant mount}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hM^hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM^hjy'ubeh}(h]h ]h"]h$]h&]uh1jhj]'ubh)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM`hj]'ubh)}(hCheck whether the caller's fsuid and fsgid have a valid mapping in the s_user_ns of the superblock **sb**. If the caller is on an idmapped mount map the caller's fsuid and fsgid according to the **idmap** first.h](heCheck whether the caller’s fsuid and fsgid have a valid mapping in the s_user_ns of the superblock }(hj (hhhNhNubj)}(h**sb**h]hsb}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj (ubh\. If the caller is on an idmapped mount map the caller’s fsuid and fsgid according to the }(hj (hhhNhNubj)}(h **idmap**h]hidmap}(hj&(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj (ubh first.}(hj (hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM`hj]'ubh)}(h **Return**h]j)}(hjA(h]hReturn}(hjC(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.hhMdhj]'ubh)}(h0true if fsuid and fsgid is mapped, false if not.h]h0true if fsuid and fsgid is mapped, false if not.}(hjW(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMdhj]'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](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubh)}(hhh]j5)}(hinodeh]hinode}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj)}j]j(c.inode_set_ctimeasbuh1hhj(ubj)}(h h]h }(hj/)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubjX)}(hj[h]h*}(hj=)hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj(ubj5)}(hinodeh]hinode}(hjJ)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubj)}(h time64_t sech](h)}(hhh]j5)}(htime64_th]htime64_t}(hjf)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjc)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjh)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&]noemphjLjMuh1jhj(ubj)}(h long nsech](j+)}(hlongh]hlong}(hj)hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj)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&]noemphjLjMuh1jhj(ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj(hhhj(hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj~(hhhj(hMubah}(h]jy(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&]jjjj *jj *jjjuh1hhhhhhNhNubj)}(h**Parameters** ``struct inode *inode`` inode in which to set the ctime ``time64_t sec`` tv_sec value to set ``long nsec`` tv_nsec value to set **Description** Set the ctime in **inode** to { **sec**, **nsec** }6h](h)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj *ubj)}(hhh](j)}(h8``struct inode *inode`` inode in which to set the ctime h](j)}(h``struct inode *inode``h]j)}(hj2*h]hstruct inode *inode}(hj4*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj,*ubj)}(hhh]h)}(hinode in which to set the ctimeh]hinode in which to set the ctime}(hjK*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjG*hMhjH*ubah}(h]h ]h"]h$]h&]uh1jhj,*ubeh}(h]h ]h"]h$]h&]uh1jhjG*hMhj)*ubj)}(h%``time64_t sec`` tv_sec value to set h](j)}(h``time64_t sec``h]j)}(hjk*h]h time64_t sec}(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)}(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&]uh1jhje*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj)*ubj)}(h#``long nsec`` tv_nsec value to set h](j)}(h ``long nsec``h]j)}(hj*h]h long nsec}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj*ubj)}(hhh]h)}(htv_nsec value to seth]htv_nsec value to set}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj)*ubeh}(h]h ]h"]h$]h&]uh1jhj *ubh)}(h**Description**h]j)}(hj*h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj *ubh)}(h3Set the ctime in **inode** to { **sec**, **nsec** }h](hSet the ctime in }(hj*hhhNhNubj)}(h **inode**h]hinode}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh to { }(hj*hhhNhNubj)}(h**sec**h]hsec}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh, }(hj*hhhNhNubj)}(h**nsec**h]hnsec}(hj!+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh }}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj *ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sb_write_started (C function)c.__sb_write_startedhNtauh1hhhhhhNhNubh)}(hhh](j)}(h@int __sb_write_started (const struct super_block *sb, int level)h]j)}(h?int __sb_write_started(const struct super_block *sb, int level)h](j+)}(hinth]hint}(hjZ+hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjV+hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hji+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjV+hhhjh+hMubj/)}(h__sb_write_startedh]j5)}(h__sb_write_startedh]h__sb_write_started}(hj{+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjw+ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjV+hhhjh+hMubj)}(h)(const struct super_block *sb, int level)h](j)}(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+ubjX)}(hj[h]h*}(hj+hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj+ubj5)}(hsbh]hsb}(hj ,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+ubj)}(h int levelh](j+)}(hinth]hint}(hj$,hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj ,ubj)}(h h]h }(hj2,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ,ubj5)}(hlevelh]hlevel}(hj@,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjV+hhhjh+hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjR+hhhjh+hMubah}(h]jM+ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjh+hMhjO+hhubjc)}(hhh]h)}(h check if sb freeze level is heldh]h check if sb freeze level is held}(hjj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjg,hhubah}(h]h ]h"]h$]h&]uh1jbhjO+hhhjh+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}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,ubh)}(h**Description**h]j)}(hj-h]h Description}(hj!-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj,ubh bullet_list)}(hhh](h list_item)}(h> 0 - sb freeze level is heldh]h)}(hj>-h]h> 0 - sb freeze level is held}(hj@-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj<-ubah}(h]h ]h"]h$]h&]uh1j:-hj7-ubj;-)}(h0 - sb freeze level is not heldh]h)}(hjV-h]h0 - sb freeze level is not held}(hjX-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjT-ubah}(h]h ]h"]h$]h&]uh1j:-hj7-ubj;-)}(h(< 0 - !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWNh]h)}(hjn-h]h(< 0 - !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.hhMhjl-ubah}(h]h ]h"]h$]h&]uh1j:-hj7-ubeh}(h]h ]h"]h$]h&]bulletj[uh1j5-hjM-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](j+)}(hj.h]hbool}(hj-hhhNhNubah}(h]h ]j7ah"]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/)}(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-hMubj)}(h(const struct super_block *sb)h]j)}(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-ubjX)}(hj[h]h*}(hjN.hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj-ubj5)}(hsbh]hsb}(hj[.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-ubah}(h]h ]h"]h$]h&]jLjMuh1jhj-hhhj-hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhj-hMubah}(h]j-ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj-hMhj-hhubjc)}(hhh]h)}(h check if SB_FREEZE_WRITE is heldh]h check if SB_FREEZE_WRITE is held}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj.hhubah}(h]h ]h"]h$]h&]uh1jbhj-hhhj-hMubeh}(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.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&]uh1jhj.ubh)}(h**Description**h]j)}(hj/h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj.ubh)}(h>May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.h]h>May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.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](j+)}(hj.h]hbool}(hjF/hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjB/hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM(ubj)}(h h]h }(hjT/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjB/hhhjS/hM(ubj/)}(hsb_write_not_startedh]j5)}(hsb_write_not_startedh]hsb_write_not_started}(hjf/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjb/ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjB/hhhjS/hM(ubj)}(h(const struct super_block *sb)h]j)}(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)}jjh/sbc.sb_write_not_startedasbuh1hhj~/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~/ubjX)}(hj[h]h*}(hj/hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj~/ubj5)}(hsbh]hsb}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjz/ubah}(h]h ]h"]h$]h&]jLjMuh1jhjB/hhhjS/hM(ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj>/hhhjS/hM(ubah}(h]j9/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjS/hM(hj;/hhubjc)}(hhh]h)}(h$check if SB_FREEZE_WRITE is not heldh]h$check if SB_FREEZE_WRITE is not held}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM(hj0hhubah}(h]h ]h"]h$]h&]uh1jbhj;/hhhjS/hM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj80jj80jjjuh1hhhhhhNhNubj)}(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)}(hjB0h]h Parameters}(hjD0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@0ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM,hj<0ubj)}(hhh]j)}(h7``const struct super_block *sb`` the super we write to h](j)}(h ``const struct super_block *sb``h]j)}(hja0h]hconst struct super_block *sb}(hjc0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM)hj[0ubj)}(hhh]h)}(hthe super we write toh]hthe super we write to}(hjz0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjv0hM)hjw0ubah}(h]h ]h"]h$]h&]uh1jhj[0ubeh}(h]h ]h"]h$]h&]uh1jhjv0hM)hjX0ubah}(h]h ]h"]h$]h&]uh1jhj<0ubh)}(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.hhM+hj<0ubh)}(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+hj<0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_write_started (C function)c.file_write_startedhNtauh1hhhhhhNhNubh)}(hhh](j)}(h1bool file_write_started (const struct file *file)h]j)}(h0bool file_write_started(const struct file *file)h](j+)}(hj.h]hbool}(hj0hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj0hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM3ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0hhhj0hM3ubj/)}(hfile_write_startedh]j5)}(hfile_write_startedh]hfile_write_started}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj0hhhj0hM3ubj)}(h(const struct file *file)h]j)}(hconst struct file *fileh](j )}(hjh]hconst}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hj*1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj )}(hjzh]hstruct}(hj81hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hjE1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubh)}(hhh]j5)}(hfileh]hfile}(hjV1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjS1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjX1modnameN classnameNjj)}j]j)}jj1sbc.file_write_startedasbuh1hhj1ubj)}(h h]h }(hjv1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubjX)}(hj[h]h*}(hj1hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj1ubj5)}(hfileh]hfile}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj1ubah}(h]h ]h"]h$]h&]jLjMuh1jhj0hhhj0hM3ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0hhhj0hM3ubah}(h]j0ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj0hM3hj0hhubjc)}(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.hhM3hj1hhubah}(h]h ]h"]h$]h&]uh1jbhj0hhhj0hM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhhhNhNubj)}(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)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM7hj1ubj)}(hhh]j)}(h1``const struct file *file`` the file we write to h](j)}(h``const struct file *file``h]j)}(hj1h]hconst struct file *file}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM4hj1ubj)}(hhh]h)}(hthe file we write toh]hthe file we write to}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hM4hj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj2hM4hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubh)}(h**Description**h]j)}(hj72h]h Description}(hj92hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj52ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM6hj1ubh)}(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.}(hjM2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM6hj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#file_write_not_started (C function)c.file_write_not_startedhNtauh1hhhhhhNhNubh)}(hhh](j)}(h5bool file_write_not_started (const struct file *file)h]j)}(h4bool file_write_not_started(const struct file *file)h](j+)}(hj.h]hbool}(hj|2hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjx2hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMBubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjx2hhhj2hMBubj/)}(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.hjx2hhhj2hMBubj)}(h(const struct file *file)h]j)}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(hfileh]hfile}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}jj2sbc.file_write_not_startedasbuh1hhj2ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubjX)}(hj[h]h*}(hj3hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj2ubj5)}(hfileh]hfile}(hj,3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubah}(h]h ]h"]h$]h&]jLjMuh1jhjx2hhhj2hMBubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjt2hhhj2hMBubah}(h]jo2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hMBhjq2hhubjc)}(hhh]h)}(h$check if SB_FREEZE_WRITE is not heldh]h$check if SB_FREEZE_WRITE is not held}(hjV3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMBhjS3hhubah}(h]h ]h"]h$]h&]uh1jbhjq2hhhj2hMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjn3jjn3jjjuh1hhhhhhNhNubj)}(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)}(hjx3h]h Parameters}(hjz3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv3ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMFhjr3ubj)}(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.hhMChj3ubj)}(hhh]h)}(hthe file we write toh]hthe file we write to}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMChj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMChj3ubah}(h]h ]h"]h$]h&]uh1jhjr3ubh)}(h**Description**h]j)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMEhjr3ubh)}(hMay be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. May be false positive with !S_ISREG, because file_start_write() has no effect on !S_ISREG.h]hMay be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. May be false positive with !S_ISREG, because file_start_write() has no effect on !S_ISREG.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMEhjr3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_end_write (C function)c.sb_end_writehNtauh1hhhhhhNhNubh)}(hhh](j)}(h*void sb_end_write (struct super_block *sb)h]j)}(h)void sb_end_write(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj4hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMQubj)}(h h]h }(hj&4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4hhhj%4hMQubj/)}(h sb_end_writeh]j5)}(h sb_end_writeh]h sb_end_write}(hj84hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj44ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4hhhj%4hMQubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjT4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP4ubj)}(h h]h }(hja4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjP4ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjr4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjo4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjt4modnameN classnameNjj)}j]j)}jj:4sbc.sb_end_writeasbuh1hhjP4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjP4ubjX)}(hj[h]h*}(hj4hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjP4ubj5)}(hsbh]hsb}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjP4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjL4ubah}(h]h ]h"]h$]h&]jLjMuh1jhj4hhhj%4hMQubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj4hhhj%4hMQubah}(h]j 4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj%4hMQhj 4hhubjc)}(hhh]h)}(h!drop write access to a superblockh]h!drop write access to a superblock}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMQhj4hhubah}(h]h ]h"]h$]h&]uh1jbhj 4hhhj%4hMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhhhNhNubj)}(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)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMUhj4ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we wrote to h](j)}(h``struct super_block *sb``h]j)}(hj5h]hstruct super_block *sb}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMRhj5ubj)}(hhh]h)}(hthe super we wrote toh]hthe super we wrote to}(hj15hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-5hMRhj.5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj-5hMRhj5ubah}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hjS5h]h Description}(hjU5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ5ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMThj4ubh)}(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.}(hji5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMThj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_end_pagefault (C function)c.sb_end_pagefaulthNtauh1hhhhhhNhNubh)}(hhh](j)}(h.void sb_end_pagefault (struct super_block *sb)h]j)}(h-void sb_end_pagefault(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj5hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM]ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5hhhj5hM]ubj/)}(hsb_end_pagefaulth]j5)}(hsb_end_pagefaulth]hsb_end_pagefault}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj5hhhj5hM]ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}jj5sbc.sb_end_pagefaultasbuh1hhj5ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubjX)}(hj[h]h*}(hj!6hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj5ubj5)}(hsbh]hsb}(hj.6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5ubah}(h]h ]h"]h$]h&]jLjMuh1jhj5hhhj5hM]ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5hhhj5hM]ubah}(h]j5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hM]hj5hhubjc)}(hhh]h)}(h3drop write access to a superblock from a page faulth]h3drop write access to a superblock from a page fault}(hjX6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM]hjU6hhubah}(h]h ]h"]h$]h&]uh1jbhj5hhhj5hM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjp6jjp6jjjuh1hhhhhhNhNubj)}(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)}(hjz6h]h Parameters}(hj|6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx6ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMahjt6ubj)}(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.hhM^hj6ubj)}(hhh]h)}(hthe super we wrote toh]hthe super we wrote to}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hM^hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM^hj6ubah}(h]h ]h"]h$]h&]uh1jhjt6ubh)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM`hjt6ubh)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM`hjt6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_end_intwrite (C function)c.sb_end_intwritehNtauh1hhhhhhNhNubh)}(hhh](j)}(h-void sb_end_intwrite (struct super_block *sb)h]j)}(h,void sb_end_intwrite(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj7hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMiubj)}(h h]h }(hj(7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhj'7hMiubj/)}(hsb_end_intwriteh]j5)}(hsb_end_intwriteh]hsb_end_intwrite}(hj:7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj67ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj7hhhj'7hMiubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjV7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR7ubj)}(h h]h }(hjc7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR7ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjt7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjq7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjv7modnameN classnameNjj)}j]j)}jj<7sbc.sb_end_intwriteasbuh1hhjR7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR7ubjX)}(hj[h]h*}(hj7hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjR7ubj5)}(hsbh]hsb}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjR7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjN7ubah}(h]h ]h"]h$]h&]jLjMuh1jhj7hhhj'7hMiubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj7hhhj'7hMiubah}(h]j 7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj'7hMihj7hhubjc)}(hhh]h)}(h:drop write access to a superblock for internal fs purposesh]h:drop write access to a superblock for internal fs purposes}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMihj7hhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhj'7hMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhhhNhNubj)}(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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMmhj7ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we wrote to h](j)}(h``struct super_block *sb``h]j)}(hj8h]hstruct super_block *sb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMjhj8ubj)}(hhh]h)}(hthe super we wrote toh]hthe super we wrote to}(hj38hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/8hMjhj08ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj/8hMjhj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hjU8h]h Description}(hjW8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMlhj7ubh)}(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.}(hjk8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMlhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_start_write (C function)c.sb_start_writehNtauh1hhhhhhNhNubh)}(hhh](j)}(h,void sb_start_write (struct super_block *sb)h]j)}(h+void sb_start_write(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj8hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMuubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhj8hMuubj/)}(hsb_start_writeh]j5)}(hsb_start_writeh]hsb_start_write}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8hhhj8hMuubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j)}jj8sbc.sb_start_writeasbuh1hhj8ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubjX)}(hj[h]h*}(hj#9hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj8ubj5)}(hsbh]hsb}(hj09hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubah}(h]h ]h"]h$]h&]jLjMuh1jhj8hhhj8hMuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhj8hMuubah}(h]j8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj8hMuhj8hhubjc)}(hhh]h)}(h get write access to a superblockh]h get write access to a superblock}(hjZ9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMuhjW9hhubah}(h]h ]h"]h$]h&]uh1jbhj8hhhj8hMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjr9jjr9jjjuh1hhhhhhNhNubj)}(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_mutex (write path, truncate, directory ops, ...) -> s_umount (freeze_super, thaw_super)h](h)}(h**Parameters**h]j)}(hj|9h]h Parameters}(hj~9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz9ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMyhjv9ubj)}(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.hhMvhj9ubj)}(hhh]h)}(hthe super we write toh]hthe super we write to}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMvhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMvhj9ubah}(h]h ]h"]h$]h&]uh1jhjv9ubh)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMxhjv9ubh)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMxhjv9ubh)}(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:}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjv9ubj)}(hhh]j)}(hsb_start_write -> i_mutex (write path, truncate, directory ops, ...) -> s_umount (freeze_super, thaw_super)h](j)}(hsb_start_writeh]hsb_start_write}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj :ubj)}(hhh]h)}(h{-> i_mutex (write path, truncate, directory ops, ...) -> s_umount (freeze_super, thaw_super)h]h{-> i_mutex (write path, truncate, directory ops, ...) -> s_umount (freeze_super, thaw_super)}(hj#:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj :ubah}(h]h ]h"]h$]h&]uh1jhj :ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj :ubah}(h]h ]h"]h$]h&]uh1jhjv9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_start_pagefault (C function)c.sb_start_pagefaulthNtauh1hhhhhhNhNubh)}(hhh](j)}(h0void sb_start_pagefault (struct super_block *sb)h]j)}(h/void sb_start_pagefault(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hjc:hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj_:hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjr:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_:hhhjq: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_:hhhjq:hMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj)}j]j)}jj:sbc.sb_start_pagefaultasbuh1hhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubjX)}(hj[h]h*}(hj:hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubj5)}(hsbh]hsb}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:ubah}(h]h ]h"]h$]h&]jLjMuh1jhj_:hhhjq:hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj[:hhhjq:hMubah}(h]jV:ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjq:hMhjX: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.hhMhj ;hhubah}(h]h ]h"]h$]h&]uh1jbhjX:hhhjq:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;;jj;;jjjuh1hhhhhhNhNubj)}(hX**Parameters** ``struct super_block *sb`` the super we write to **Description** When a process starts handling write page fault, it should embed the operation into sb_start_pagefault() - sb_end_pagefault() pair to get exclusion against file system freezing. This is needed since the page fault is going to dirty a page. This function increments number of running page faults preventing freezing. If the file system is already frozen, the function waits until the file system is thawed. Since page fault freeze protection behaves as a lock, users have to preserve ordering of freeze protection and other filesystem locks. It is advised to put sb_start_pagefault() close to mmap_lock in lock ordering. Page fault handling code implies lock dependency: mmap_lock -> sb_start_pagefaulth](h)}(h**Parameters**h]j)}(hjE;h]h Parameters}(hjG;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC;ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj?;ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we write to h](j)}(h``struct super_block *sb``h]j)}(hjd;h]hstruct super_block *sb}(hjf;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb;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&]uh1hhjy;hMhjz;ubah}(h]h ]h"]h$]h&]uh1jhj^;ubeh}(h]h ]h"]h$]h&]uh1jhjy;hMhj[;ubah}(h]h ]h"]h$]h&]uh1jhj?;ubh)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj?;ubh)}(hXWhen a process starts handling write page fault, it should embed the operation into sb_start_pagefault() - sb_end_pagefault() pair to get exclusion against file system freezing. This is needed since the page fault is going to dirty a page. This function increments number of running page faults preventing freezing. If the file system is already frozen, the function waits until the file system is thawed.h]hXWhen a process starts handling write page fault, it should embed the operation into sb_start_pagefault() - sb_end_pagefault() pair to get exclusion against file system freezing. This is needed since the page fault is going to dirty a page. This function increments number of running page faults preventing freezing. If the file system is already frozen, the function waits until the file system is thawed.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj?;ubh)}(hXSince page fault freeze protection behaves as a lock, users have to preserve ordering of freeze protection and other filesystem locks. It is advised to put sb_start_pagefault() close to mmap_lock in lock ordering. Page fault handling code implies lock dependency:h]hXSince page fault freeze protection behaves as a lock, users have to preserve ordering of freeze protection and other filesystem locks. It is advised to put sb_start_pagefault() close to mmap_lock in lock ordering. Page fault handling code implies lock dependency:}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj?;ubj)}(hhh]j)}(hmmap_lock -> sb_start_pagefaulth](j)}(h mmap_lockh]h mmap_lock}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj;ubj)}(hhh]h)}(h-> sb_start_pagefaulth]h-> sb_start_pagefault}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhj?;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsb_start_intwrite (C function)c.sb_start_intwritehNtauh1hhhhhhNhNubh)}(hhh](j)}(h/void sb_start_intwrite (struct super_block *sb)h]j)}(h.void sb_start_intwrite(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hj-<hhhNhNubah}(h]h ]j7ah"]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/)}(hsb_start_intwriteh]j5)}(hsb_start_intwriteh]hsb_start_intwrite}(hjN<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJ<ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj)<hhhj;<hMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf<ubj)}(h h]h }(hjw<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjf<ubh)}(hhh]j5)}(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)}jjP<sbc.sb_start_intwriteasbuh1hhjf<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjf<ubjX)}(hj[h]h*}(hj<hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjf<ubj5)}(hsbh]hsb}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjf<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjb<ubah}(h]h ]h"]h$]h&]jLjMuh1jhj)<hhhj;<hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj%<hhhj;<hMubah}(h]j <ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj;<hMhj"<hhubjc)}(hhh]h)}(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"<hhhj;<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)}(hj=h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj =ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj =ubj)}(hhh]j)}(h1``struct super_block *sb`` the super we write to h](j)}(h``struct super_block *sb``h]j)}(hj.=h]hstruct super_block *sb}(hj0=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj(=ubj)}(hhh]h)}(hthe super we write toh]hthe super we write to}(hjG=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC=hMhjD=ubah}(h]h ]h"]h$]h&]uh1jhj(=ubeh}(h]h ]h"]h$]h&]uh1jhjC=hMhj%=ubah}(h]h ]h"]h$]h&]uh1jhj =ubh)}(h**Description**h]j)}(hji=h]h Description}(hjk=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg=ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj =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.hhMhj =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.hhMhj =ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrenamedata (C struct) c.renamedatahNtauh1hhhhhhNhNubh)}(hhh](j)}(h renamedatah]j)}(hstruct renamedatah](j )}(hjzh]hstruct}(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}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj=hhubah}(h]h ]h"]h$]h&]uh1jbhj=hhhj=hMubeh}(h]h ](jstructeh"]h$]h&]jjjj>jj>jjjuh1hhhhhhNhNubj)}(hX**Definition**:: struct renamedata { struct mnt_idmap *old_mnt_idmap; struct inode *old_dir; struct dentry *old_dentry; struct mnt_idmap *new_mnt_idmap; struct inode *new_dir; 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_dir`` parent of source ``old_dentry`` source ``new_mnt_idmap`` idmap of the new mount the inode was found from ``new_dir`` parent of destination ``new_dentry`` destination ``delegated_inode`` returns an inode needing a delegation break ``flags`` rename flagsh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj#>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh:}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj>ubj)}(hXstruct renamedata { struct mnt_idmap *old_mnt_idmap; struct inode *old_dir; struct dentry *old_dentry; struct mnt_idmap *new_mnt_idmap; struct inode *new_dir; struct dentry *new_dentry; struct inode **delegated_inode; unsigned int flags; };h]hXstruct renamedata { struct mnt_idmap *old_mnt_idmap; struct inode *old_dir; struct dentry *old_dentry; struct mnt_idmap *new_mnt_idmap; struct inode *new_dir; struct dentry *new_dentry; struct inode **delegated_inode; unsigned int flags; };}hj<>sbah}(h]h ]h"]h$]h&]jLjMuh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj>ubh)}(h **Members**h]j)}(hjM>h]hMembers}(hjO>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK>ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj>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)}(hjl>h]h old_mnt_idmap}(hjn>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjf>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&]uh1jhjf>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjc>ubj)}(h``old_dir`` parent of source h](j)}(h ``old_dir``h]j)}(hj>h]hold_dir}(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>hMhjc>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}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjc>ubj)}(hB``new_mnt_idmap`` idmap of the new mount the inode was found from h](j)}(h``new_mnt_idmap``h]j)}(hj?h]h new_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 new mount the inode was found fromh]h/idmap of the new mount the inode was found from}(hj0?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,?hMhj-?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj,?hMhjc>ubj)}(h"``new_dir`` parent of destination h](j)}(h ``new_dir``h]j)}(hjP?h]hnew_dir}(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)}(hparent of destinationh]hparent of destination}(hji?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhje?hMhjf?ubah}(h]h ]h"]h$]h&]uh1jhjJ?ubeh}(h]h ]h"]h$]h&]uh1jhje?hMhjc>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?hMhjc>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?hMhjc>ubj)}(h``flags`` rename flagsh](j)}(h ``flags``h]j)}(hj?h]hflags}(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 rename flagsh]h rename flags}(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@hMhjc>ubeh}(h]h ]h"]h$]h&]uh1jhj>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}(hjU@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ@hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjc@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQ@hhhjb@hMubj/)}(h freeze_holderh]j5)}(hjO@h]h freeze_holder}(hju@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjq@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjQ@hhhjb@hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjM@hhhjb@hMubah}(h]jH@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjb@hMhjJ@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&]uh1jbhjJ@hhhjb@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)}(hj@h]hFREEZE_HOLDER_KERNEL}(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)kernel wants to freeze or thaw filesystemh]h)kernel wants to freeze or thaw filesystem}(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)}(hI``FREEZE_HOLDER_USERSPACE`` userspace wants to freeze or thaw filesystem h](j)}(h``FREEZE_HOLDER_USERSPACE``h]j)}(hjAh]hFREEZE_HOLDER_USERSPACE}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj Aubj)}(hhh]h)}(h,userspace wants to freeze or thaw filesystemh]h,userspace 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 hj@ubj)}(hH``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed h](j)}(h``FREEZE_MAY_NEST``h]j)}(hjJAh]hFREEZE_MAY_NEST}(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)}(h3whether nesting freeze and thaw requests is allowedh]h3whether nesting freeze and thaw requests is allowed}(hjcAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_AhM hj`Aubah}(h]h ]h"]h$]h&]uh1jhjDAubeh}(h]h ]h"]h$]h&]uh1jhj_AhM hj@ubj)}(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 hj}Aubj)}(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&]uh1jhj}Aubeh}(h]h ]h"]h$]h&]uh1jhjAhM hj@ubeh}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(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 }(hjAhhhNhNubj)}(h**FREEZE_MAY_NEST**h]hFREEZE_MAY_NEST}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubhr, multiple freeze and thaw requests from the same holder aren’t allowed. It is however allowed to hold a single }(hjAhhhNhNubj)}(h**FREEZE_HOLDER_USERSPACE**h]hFREEZE_HOLDER_USERSPACE}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh and a single }(hjAhhhNhNubj)}(h**FREEZE_HOLDER_KERNEL**h]hFREEZE_HOLDER_KERNEL}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubhb freeze at the same time. This is relied upon by some filesystems during online repair or similar.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_mgtime (C function) c.is_mgtimehNtauh1hhhhhhNhNubh)}(hhh](j)}(h*bool is_mgtime (const struct inode *inode)h]j)}(h)bool is_mgtime(const struct inode *inode)h](j+)}(hj.h]hbool}(hj:BhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj6BhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjHBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6BhhhjGBhM ubj/)}(h is_mgtimeh]j5)}(h is_mgtimeh]h is_mgtime}(hjZBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVBubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj6BhhhjGBhM ubj)}(h(const struct inode *inode)h]j)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjvBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrBubj )}(hjzh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrBubh)}(hhh]j5)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]j)}jj\Bsb c.is_mgtimeasbuh1hhjrBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrBubjX)}(hj[h]h*}(hjBhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjrBubj5)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnBubah}(h]h ]h"]h$]h&]jLjMuh1jhj6BhhhjGBhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2BhhhjGBhM ubah}(h]j-Bah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjGBhM hj/Bhhubjc)}(hhh]h)}(h)is this inode using multigrain timestampsh]h)is this inode using multigrain timestamps}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjChhubah}(h]h ]h"]h$]h&]uh1jbhj/BhhhjGBhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,Cjj,Cjjjuh1hhhhhhNhNubj)}(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)}(hj6Ch]h Parameters}(hj8ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Cubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj0Cubj)}(hhh]j)}(hF``const struct inode *inode`` inode to test for multigrain timestamps h](j)}(h``const struct inode *inode``h]j)}(hjUCh]hconst struct inode *inode}(hjWChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjOCubj)}(hhh]h)}(h'inode to test for multigrain timestampsh]h'inode to test for multigrain timestamps}(hjnChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjChM hjkCubah}(h]h ]h"]h$]h&]uh1jhjOCubeh}(h]h ]h"]h$]h&]uh1jhjjChM hjLCubah}(h]h ]h"]h$]h&]uh1jhj0Cubh)}(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 hj0Cubh)}(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 hj0Cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_idmapped_mnt (C function)c.is_idmapped_mnthNtauh1hhhhhhNhNubh)}(hhh](j)}(h1bool is_idmapped_mnt (const struct vfsmount *mnt)h]j)}(h0bool is_idmapped_mnt(const struct vfsmount *mnt)h](j+)}(hj.h]hbool}(hjChhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjChhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjChhhjChM ubj/)}(his_idmapped_mnth]j5)}(his_idmapped_mnth]his_idmapped_mnt}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjChhhjChM ubj)}(h(const struct vfsmount *mnt)h]j)}(hconst struct vfsmount *mnth](j )}(hjh]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Dubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Dubj )}(hjzh]hstruct}(hj,DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Dubj)}(h h]h }(hj9DhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Dubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjJDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLDmodnameN classnameNjj)}j]j)}jjCsbc.is_idmapped_mntasbuh1hhj Dubj)}(h h]h }(hjjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj DubjX)}(hj[h]h*}(hjxDhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj Dubj5)}(hmnth]hmnt}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Dubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj Dubah}(h]h ]h"]h$]h&]jLjMuh1jhjChhhjChM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjChhhjChM ubah}(h]jCah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChM hjChhubjc)}(hhh]h)}(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&]uh1jbhjChhhjChM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhhhNhNubj)}(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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjDubj)}(hhh]j)}(h2``const struct vfsmount *mnt`` the mount to check h](j)}(h``const struct vfsmount *mnt``h]j)}(hjDh]hconst struct vfsmount *mnt}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjDubj)}(hhh]h)}(hthe mount to checkh]hthe mount to check}(hj EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhM hjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjEhM hjDubah}(h]h ]h"]h$]h&]uh1jhjDubh)}(h**Description**h]j)}(hj+Eh]h Description}(hj-EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Eubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjDubh)}(hNIf **mnt** has an non **nop_mnt_idmap** attached to it then **mnt** is mapped.h](hIf }(hjAEhhhNhNubj)}(h**mnt**h]hmnt}(hjIEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAEubh has an non }(hjAEhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj[EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAEubh attached to it then }(hjAEhhhNhNubj)}(h**mnt**h]hmnt}(hjmEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAEubh is mapped.}(hjAEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjDubh)}(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 hjDubh)}(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 hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_start_write (C function)c.file_start_writehNtauh1hhhhhhNhNubh)}(hhh](j)}(h)void file_start_write (struct file *file)h]j)}(h(void file_start_write(struct file *file)h](j+)}(hvoidh]hvoid}(hjEhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjEhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEhhhjEhM ubj/)}(hfile_start_writeh]j5)}(hfile_start_writeh]hfile_start_write}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjEhhhjEhM ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hfileh]hfile}(hj(FhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%Fubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*FmodnameN classnameNjj)}j]j)}jjEsbc.file_start_writeasbuh1hhjFubj)}(h h]h }(hjHFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubjX)}(hj[h]h*}(hjVFhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjFubj5)}(hfileh]hfile}(hjcFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubah}(h]h ]h"]h$]h&]jLjMuh1jhjEhhhjEhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjEhhhjEhM ubah}(h]jEah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjEhM 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&]uh1jbhjEhhhjEhM 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)}(hjFh]hstruct file *file}(hjFhhhNhNubah}(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.hhM hjFubj)}(hhh]h)}(hthe file we want to write toh]hthe file we want to write to}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM hjFubah}(h]h ]h"]h$]h&]uh1jhjFubh)}(h**Description**h]j)}(hj Gh]h Description}(hj GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM 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().}(hjGhhhNhNubah}(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](j+)}(hvoidh]hvoid}(hjNGhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjJGhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM! ubj)}(h h]h }(hj]GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJGhhhj\GhM! ubj/)}(hfile_end_writeh]j5)}(hfile_end_writeh]hfile_end_write}(hjoGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkGubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJGhhhj\GhM! ubj)}(h(struct file *file)h]j)}(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)}jjqGsbc.file_end_writeasbuh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubjX)}(hj[h]h*}(hjGhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjGubj5)}(hfileh]hfile}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGubah}(h]h ]h"]h$]h&]jLjMuh1jhjJGhhhj\GhM! ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjFGhhhj\GhM! ubah}(h]jAGah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj\GhM! hjCGhhubjc)}(hhh]h)}(h3drop write access to a superblock of a regular fileh]h3drop write access to a superblock of a regular file}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM! hj Hhhubah}(h]h ]h"]h$]h&]uh1jbhjCGhhhj\GhM! 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)}(hj0Hh]h Parameters}(hj2HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Hubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM% hj*Hubj)}(hhh]j)}(h+``struct file *file`` the file we wrote to h](j)}(h``struct file *file``h]j)}(hjOHh]hstruct file *file}(hjQHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM" hjIHubj)}(hhh]h)}(hthe file we wrote toh]hthe file we wrote to}(hjhHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdHhM" hjeHubah}(h]h ]h"]h$]h&]uh1jhjIHubeh}(h]h ]h"]h$]h&]uh1jhjdHhM" hjFHubah}(h]h ]h"]h$]h&]uh1jhj*Hubh)}(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.hhM$ hj*Hubh)}(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.hhM$ hj*Hubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkiocb_start_write (C function)c.kiocb_start_writehNtauh1hhhhhhNhNubh)}(hhh](j)}(h+void kiocb_start_write (struct kiocb *iocb)h]j)}(h*void kiocb_start_write(struct kiocb *iocb)h](j+)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjHhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM. ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjHhM. ubj/)}(hkiocb_start_writeh]j5)}(hkiocb_start_writeh]hkiocb_start_write}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjHhM. ubj)}(h(struct kiocb *iocb)h]j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hj IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubh)}(hhh]j5)}(hkiocbh]hkiocb}(hj*IhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,ImodnameN classnameNjj)}j]j)}jjHsbc.kiocb_start_writeasbuh1hhjIubj)}(h h]h }(hjJIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubjX)}(hj[h]h*}(hjXIhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjIubj5)}(hiocbh]hiocb}(hjeIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubah}(h]h ]h"]h$]h&]jLjMuh1jhjHhhhjHhM. ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHhhhjHhM. ubah}(h]jHah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjHhM. 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&]uh1jbhjHhhhjHhM. 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.hhM2 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)}(hjIh]hstruct kiocb *iocb}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM/ hjIubj)}(hhh]h)}(h/the io context we want to submit the write withh]h/the io context we want to submit the write with}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhM/ hjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhM/ hjIubah}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hj Jh]h Description}(hj JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Jubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM1 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().}(hj!JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM1 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](j+)}(hvoidh]hvoid}(hjPJhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjLJhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMA ubj)}(h h]h }(hj_JhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLJhhhj^JhMA ubj/)}(hkiocb_end_writeh]j5)}(hkiocb_end_writeh]hkiocb_end_write}(hjqJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjLJhhhj^JhMA ubj)}(h(struct kiocb *iocb)h]j)}(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)}jjsJsbc.kiocb_end_writeasbuh1hhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubjX)}(hj[h]h*}(hjJhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjJubj5)}(hiocbh]hiocb}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjJubah}(h]h ]h"]h$]h&]jLjMuh1jhjLJhhhj^JhMA ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHJhhhj^JhMA ubah}(h]jCJah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj^JhMA hjEJhhubjc)}(hhh]h)}(h5drop write access to a superblock after async file ioh]h5drop write access to a superblock after async file io}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMA hj Khhubah}(h]h ]h"]h$]h&]uh1jbhjEJhhhj^JhMA ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(Kjj(Kjjjuh1hhhhhhNhNubj)}(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)}(hj2Kh]h Parameters}(hj4KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Kubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhME hj,Kubj)}(hhh]j)}(hB``struct kiocb *iocb`` the io context we sumbitted the write with h](j)}(h``struct kiocb *iocb``h]j)}(hjQKh]hstruct kiocb *iocb}(hjSKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMB hjKKubj)}(hhh]h)}(h*the io context we sumbitted the write withh]h*the io context we sumbitted the write with}(hjjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfKhMB hjgKubah}(h]h ]h"]h$]h&]uh1jhjKKubeh}(h]h ]h"]h$]h&]uh1jhjfKhMB hjHKubah}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMD hj,Kubh)}(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.hhMD hj,Kubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_dot_dotdot (C function)c.is_dot_dotdothNtauh1hhhhhhNhNubh)}(hhh](j)}(h1bool is_dot_dotdot (const char *name, size_t len)h]j)}(h0bool is_dot_dotdot(const char *name, size_t len)h](j+)}(hj.h]hbool}(hjKhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjKhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhjKhM ubj/)}(h is_dot_dotdoth]j5)}(h is_dot_dotdoth]h is_dot_dotdot}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhjKhM ubj)}(h(const char *name, size_t len)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hj LhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Lubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Lubj+)}(hcharh]hchar}(hj(LhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj Lubj)}(h h]h }(hj6LhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj LubjX)}(hj[h]h*}(hjDLhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj Lubj5)}(hnameh]hname}(hjQLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Lubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjmLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjoLmodnameN classnameNjj)}j]j)}jjKsbc.is_dot_dotdotasbuh1hhjfLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfLubj5)}(hlenh]hlen}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubeh}(h]h ]h"]h$]h&]jLjMuh1jhjKhhhjKhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjKhhhjKhM ubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhM hjKhhubjc)}(hhh]h)}(h,returns true only if **name** is "." or ".."h](hreturns true only if }(hjLhhhNhNubj)}(h**name**h]hname}(hjLhhhNhNubah}(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&]uh1jbhjKhhhjKhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhhhNhNubj)}(hi**Parameters** ``const char *name`` file name to check ``size_t len`` length of file name, in bytesh](h)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjLubj)}(hhh](j)}(h(``const char *name`` file name to check h](j)}(h``const char *name``h]j)}(hjMh]hconst char *name}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjMubj)}(hhh]h)}(hfile name to checkh]hfile name to check}(hj1MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-MhM hj.Mubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj-MhM hjMubj)}(h,``size_t len`` length of file name, in bytesh](j)}(h``size_t len``h]j)}(hjQMh]h size_t len}(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)}(hlength of file name, in bytesh]hlength of file name, in bytes}(hjjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjgMubah}(h]h ]h"]h$]h&]uh1jhjKMubeh}(h]h ]h"]h$]h&]uh1jhjfMhM hjMubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_dio_begin (C function)c.inode_dio_beginhNtauh1hhhhhhNhNubh)}(hhh](j)}(h*void inode_dio_begin (struct inode *inode)h]j)}(h)void inode_dio_begin(struct inode *inode)h](j+)}(hvoidh]hvoid}(hjMhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjMhhhZ/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/)}(hinode_dio_beginh]j5)}(hinode_dio_beginh]hinode_dio_begin}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhjMhM ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubh)}(hhh]j5)}(hinodeh]hinode}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj)}j]j)}jjMsbc.inode_dio_beginasbuh1hhjMubj)}(h h]h }(hj&NhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubjX)}(hj[h]h*}(hj4NhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjMubj5)}(hinodeh]hinode}(hjANhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubah}(h]h ]h"]h$]h&]jLjMuh1jhjMhhhjMhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjMhhhjMhM ubah}(h]jMah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhM hjMhhubjc)}(hhh]h)}(h%signal start of a direct I/O requestsh]h%signal start of a direct I/O requests}(hjkNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjhNhhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjMhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhhhNhNubj)}(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)}(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)}(h8``struct inode *inode`` inode the direct I/O happens on h](j)}(h``struct inode *inode``h]j)}(hjNh]hstruct inode *inode}(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.hhM hjNubj)}(hhh]h)}(hinode the direct I/O happens onh]hinode the direct I/O happens on}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhM hjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhM hjNubah}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hjNh]h Description}(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 hjNubh)}(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.}(hjNhhhNhNubah}(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_end (C function)c.inode_dio_endhNtauh1hhhhhhNhNubh)}(hhh](j)}(h(void inode_dio_end (struct inode *inode)h]j)}(h'void inode_dio_end(struct inode *inode)h](j+)}(hvoidh]hvoid}(hj,OhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj(OhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hj;OhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(Ohhhj:OhM ubj/)}(h inode_dio_endh]j5)}(h inode_dio_endh]h inode_dio_end}(hjMOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIOubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(Ohhhj:OhM ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjiOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeOubj)}(h h]h }(hjvOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeOubh)}(hhh]j5)}(hinodeh]hinode}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j)}jjOOsbc.inode_dio_endasbuh1hhjeOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeOubjX)}(hj[h]h*}(hjOhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjeOubj5)}(hinodeh]hinode}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaOubah}(h]h ]h"]h$]h&]jLjMuh1jhj(Ohhhj:OhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj$Ohhhj:OhM ubah}(h]jOah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:OhM hj!Ohhubjc)}(hhh]h)}(h&signal finish of a direct I/O requestsh]h&signal finish of a direct I/O requests}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjOhhubah}(h]h ]h"]h$]h&]uh1jbhj!Ohhhj:OhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhhhNhNubj)}(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)}(hjPh]h Parameters}(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 hjPubj)}(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&]uh1jhj+Pubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj'Pubj)}(hhh]h)}(hinode the direct I/O happens onh]hinode the direct I/O happens on}(hjFPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBPhM hjCPubah}(h]h ]h"]h$]h&]uh1jhj'Pubeh}(h]h ]h"]h$]h&]uh1jhjBPhM hj$Pubah}(h]h ]h"]h$]h&]uh1jhjPubh)}(h**Description**h]j)}(hjhPh]h Description}(hjjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfPubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjPubh)}(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~PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjPubeh}(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](j+)}(hj.h]hbool}(hjPhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjPhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMQubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPhhhjPhMQubj/)}(hgeneric_ci_validate_strict_nameh]j5)}(hgeneric_ci_validate_strict_nameh]hgeneric_ci_validate_strict_name}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjPhhhjPhMQubj)}(h&(struct inode *dir, struct qstr *name)h](j)}(hstruct inode *dirh](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}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj QmodnameN classnameNjj)}j]j)}jjPsb!c.generic_ci_validate_strict_nameasbuh1hhjPubj)}(h h]h }(hj'QhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubjX)}(hj[h]h*}(hj5QhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjPubj5)}(hdirh]hdir}(hjBQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hj[QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWQubj)}(h h]h }(hjhQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWQubh)}(hhh]j5)}(hqstrh]hqstr}(hjyQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{QmodnameN classnameNjj)}j]j#Q!c.generic_ci_validate_strict_nameasbuh1hhjWQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWQubjX)}(hj[h]h*}(hjQhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjWQubj5)}(hnameh]hname}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubeh}(h]h ]h"]h$]h&]jLjMuh1jhjPhhhjPhMQubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjPhMQubah}(h]jPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMQhjPhhubjc)}(hhh]h)}(h1Check if a given name is suitable for a directoryh]h1Check if a given name is suitable for a directory}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMQhjQhhubah}(h]h ]h"]h$]h&]uh1jbhjPhhhjPhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhhhNhNubj)}(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)}(hjQh]h Parameters}(hjRhhhNhNubah}(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.hhMUhjQubj)}(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)}(hjRh]hstruct inode *dir}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM[hjRubj)}(hhh]h)}(h9inode of the directory where the new file will be createdh]h9inode of the directory where the new file will be created}(hj6RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2RhM[hj3Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj2RhM[hjRubj)}(h+``struct qstr *name`` name of the new file h](j)}(h``struct qstr *name``h]j)}(hjVRh]hstruct qstr *name}(hjXRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM\hjPRubj)}(hhh]h)}(hname of the new fileh]hname of the new file}(hjoRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkRhM\hjlRubah}(h]h ]h"]h$]h&]uh1jhjPRubeh}(h]h ]h"]h$]h&]uh1jhjkRhM\hjRubeh}(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)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMRhjQubh)}(h **Return**h]j)}(hjRh]hReturn}(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.hhMYhjQubj6-)}(hhh](j;-)}(hTrue: if the filename is suitable for this directory. It can be true if a given name is not suitable for a strict encoding directory, but the directory being used isn't stricth]h)}(hTrue: if the filename is suitable for this directory. It can be true if a given name is not suitable for a strict encoding directory, but the directory being used isn't stricth]hTrue: if the filename is suitable for this directory. It can be true if a given name is not suitable for a strict encoding directory, but the directory being used isn’t strict}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM^hjRubah}(h]h ]h"]h$]h&]uh1j:-hjRubj;-)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMahjRubah}(h]h ]h"]h$]h&]uh1j:-hjRubeh}(h]h ]h"]h$]h&]j-j[uh1j5-hjRhM^hjQubeh}(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}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_drop (C function)c.d_drophNtauh1hhjShhhNhNubh)}(hhh](j)}(h#void d_drop (struct dentry *dentry)h]j)}(h"void d_drop(struct dentry *dentry)h](j+)}(hvoidh]hvoid}(hjBShhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj>ShhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMFubj)}(h h]h }(hjQShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ShhhjPShMFubj/)}(hd_droph]j5)}(hd_droph]hd_drop}(hjcShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_Subah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>ShhhjPShMFubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{Subj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{Subh)}(hhh]j5)}(hdentryh]hdentry}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]j)}jjeSsbc.d_dropasbuh1hhj{Subj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{SubjX)}(hj[h]h*}(hjShhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj{Subj5)}(hdentryh]hdentry}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{Subeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwSubah}(h]h ]h"]h$]h&]jLjMuh1jhj>ShhhjPShMFubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:ShhhjPShMFubah}(h]j5Sah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPShMFhj7Shhubjc)}(hhh]h)}(h drop a dentryh]h drop a dentry}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMFhjShhubah}(h]h ]h"]h$]h&]uh1jbhj7ShhhjPShMFubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjShNhNubj)}(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)}(hj$Th]h Parameters}(hj&ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Tubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMJhjTubj)}(hhh]j)}(h)``struct dentry *dentry`` dentry to drop h](j)}(h``struct dentry *dentry``h]j)}(hjCTh]hstruct dentry *dentry}(hjEThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjATubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMGhj=Tubj)}(hhh]h)}(hdentry to droph]hdentry to drop}(hj\ThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXThMGhjYTubah}(h]h ]h"]h$]h&]uh1jhj=Tubeh}(h]h ]h"]h$]h&]uh1jhjXThMGhj:Tubah}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hj~Th]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Tubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMIhjTubh)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMIhjTubh)}(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).}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMOhjTubh)}(h __d_drop requires dentry->d_lockh]h __d_drop requires dentry->d_lock}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMRhjTubh)}(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).}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMThjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_find_any_alias (C function)c.d_find_any_aliashNtauh1hhjShhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjThMubh)}(hhh]j5)}(hdentryh]hdentry}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]j)}jd_find_any_aliassbc.d_find_any_aliasasbuh1hhjThhhjThMubj)}(h h]h }(hj0UhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjThMubjX)}(hj[h]h*}(hj>UhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjThhhjThMubj/)}(hd_find_any_aliash]j5)}(hj-Uh]hd_find_any_alias}(hjOUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjThMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfUubj)}(h h]h }(hjwUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfUubh)}(hhh]j5)}(hinodeh]hinode}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]j+Uc.d_find_any_aliasasbuh1hhjfUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfUubjX)}(hj[h]h*}(hjUhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjfUubj5)}(hinodeh]hinode}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbUubah}(h]h ]h"]h$]h&]jLjMuh1jhjThhhjThMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjThhhjThMubah}(h]jTah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjThMhjThhubjc)}(hhh]h)}(h find any alias for a given inodeh]h find any alias for a given inode}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jbhjThhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjShNhNubj)}(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)}(hj Vh]h Parameters}(hjVhhhNhNubah}(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.chMhjVubj)}(hhh]j)}(h3``struct inode *inode`` inode to find an alias for h](j)}(h``struct inode *inode``h]j)}(hj,Vh]hstruct inode *inode}(hj.VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Vubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj&Vubj)}(hhh]h)}(hinode to find an alias forh]hinode to find an alias for}(hjEVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAVhMhjBVubah}(h]h ]h"]h$]h&]uh1jhj&Vubeh}(h]h ]h"]h$]h&]uh1jhjAVhMhj#Vubah}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hjgVh]h Description}(hjiVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeVubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjVubh)}(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}VhhhNhNubj)}(h``NULL``h]hNULL}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Vubh.}(hj}VhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_find_alias (C function)c.d_find_aliashNtauh1hhjShhhNhNubh)}(hhh](j)}(h2struct dentry * d_find_alias (struct inode *inode)h]j)}(h0struct dentry *d_find_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)}j d_find_aliassbc.d_find_aliasasbuh1hhjVhhhjVhMubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVhhhjVhMubjX)}(hj[h]h*}(hj WhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjVhhhjVhMubj/)}(h d_find_aliash]j5)}(hjVh]h d_find_alias}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVhhhjVhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj8WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Wubj)}(h h]h }(hjEWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4Wubh)}(hhh]j5)}(hinodeh]hinode}(hjVWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXWmodnameN classnameNjj)}j]jVc.d_find_aliasasbuh1hhj4Wubj)}(h h]h }(hjtWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4WubjX)}(hj[h]h*}(hjWhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj4Wubj5)}(hinodeh]hinode}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4Wubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0Wubah}(h]h ]h"]h$]h&]jLjMuh1jhjVhhhjVhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjVhhhjVhMubah}(h]jVah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjVhMhjVhhubjc)}(hhh]h)}(hgrab a hashed alias of inodeh]hgrab a hashed alias of 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&]jjjjWjjWjjjuh1hhhhjShNhNubj)}(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)}(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)}(h*``struct inode *inode`` inode in question 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 in questionh]hinode in question}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubh)}(h**Description**h]j)}(hj5Xh]h Description}(hj7XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Xubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubh)}(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.}(hjKXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubh)}(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.}(hjZXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hshrink_dcache_sb (C function)c.shrink_dcache_sbhNtauh1hhjShhhNhNubh)}(hhh](j)}(h.void shrink_dcache_sb (struct super_block *sb)h]j)}(h-void shrink_dcache_sb(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjXhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXhhhjXhMubj/)}(hshrink_dcache_sbh]j5)}(hshrink_dcache_sbh]hshrink_dcache_sb}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjXhhhjXhMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubh)}(hhh]j5)}(h super_blockh]h super_block}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]j)}jjXsbc.shrink_dcache_sbasbuh1hhjXubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubjX)}(hj[h]h*}(hjYhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjXubj5)}(hsbh]hsb}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubah}(h]h ]h"]h$]h&]jLjMuh1jhjXhhhjXhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjXhhhjXhMubah}(h]j|Xah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjXhMhj~Xhhubjc)}(hhh]h)}(hshrink dcache for a superblockh]hshrink dcache for a superblock}(hjIYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjFYhhubah}(h]h ]h"]h$]h&]uh1jbhj~XhhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjaYjjaYjjjuh1hhhhjShNhNubj)}(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)}(hjkYh]h Parameters}(hjmYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiYubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjeYubj)}(hhh]j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hjYh]hstruct super_block *sb}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjYubj)}(hhh]h)}(h superblockh]h superblock}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjeYubh)}(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.chMhjeYubh)}(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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjeYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpath_has_submounts (C function)c.path_has_submountshNtauh1hhjShhhNhNubh)}(hhh](j)}(h2int path_has_submounts (const struct path *parent)h]j)}(h1int path_has_submounts(const struct path *parent)h](j+)}(hinth]hint}(hj ZhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjZhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZhhhjZhMubj/)}(hpath_has_submountsh]j5)}(hpath_has_submountsh]hpath_has_submounts}(hj+ZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'Zubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjZhhhjZhMubj)}(h(const struct path *parent)h]j)}(hconst struct path *parenth](j )}(hjh]hconst}(hjGZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCZubj)}(h h]h }(hjTZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCZubj )}(hjzh]hstruct}(hjbZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCZubj)}(h h]h }(hjoZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCZubh)}(hhh]j5)}(hpathh]hpath}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}Zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]j)}jj-Zsbc.path_has_submountsasbuh1hhjCZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCZubjX)}(hj[h]h*}(hjZhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjCZubj5)}(hparenth]hparent}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj?Zubah}(h]h ]h"]h$]h&]jLjMuh1jhjZhhhjZhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjZhhhjZhMubah}(h]jYah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhMhjYhhubjc)}(hhh]h)}(h8check for mounts over a dentry in the current namespace.h]h8check for mounts over a dentry in the current namespace.}(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&]uh1jbhjYhhhjZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjShNhNubj)}(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)}(hja[h]h Description}(hjc[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.}(hjw[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&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!shrink_dcache_parent (C function)c.shrink_dcache_parenthNtauh1hhjShhhNhNubh)}(hhh](j)}(h1void shrink_dcache_parent (struct dentry *parent)h]j)}(h0void shrink_dcache_parent(struct dentry *parent)h](j+)}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]j7ah"]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[hMubj/)}(hshrink_dcache_parenth]j5)}(hshrink_dcache_parenth]hshrink_dcache_parent}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj[hhhj[hMubj)}(h(struct dentry *parent)h]j)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubh)}(hhh]j5)}(hdentryh]hdentry}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]j)}jj[sbc.shrink_dcache_parentasbuh1hhj[ubj)}(h h]h }(hj!\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubjX)}(hj[h]h*}(hj/\hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj[ubj5)}(hparenth]hparent}(hj<\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj[ubah}(h]h ]h"]h$]h&]jLjMuh1jhj[hhhj[hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj[hhhj[hMubah}(h]j[ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj[hMhj[hhubjc)}(hhh]h)}(h prune dcacheh]h prune dcache}(hjf\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjc\hhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~\jj~\jjjuh1hhhhjShNhNubj)}(h**Parameters** ``struct dentry *parent`` parent of entries to prune **Description** Prune the dcache to remove unused children of the parent dentry.h](h)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj\ubj)}(hhh]j)}(h5``struct dentry *parent`` parent of entries to prune h](j)}(h``struct dentry *parent``h]j)}(hj\h]hstruct dentry *parent}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj\ubj)}(hhh]h)}(hparent of entries to pruneh]hparent of entries to prune}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj\ubah}(h]h ]h"]h$]h&]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.chM hj\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.chM hj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_invalidate (C function)c.d_invalidatehNtauh1hhjShhhNhNubh)}(hhh](j)}(h)void d_invalidate (struct dentry *dentry)h]j)}(h(void d_invalidate(struct dentry *dentry)h](j+)}(hvoidh]hvoid}(hj']hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj#]hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhubj)}(h h]h }(hj6]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#]hhhj5]hMhubj/)}(h d_invalidateh]j5)}(h d_invalidateh]h d_invalidate}(hjH]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjD]ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#]hhhj5]hMhubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjd]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`]ubj)}(h h]h }(hjq]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`]ubh)}(hhh]j5)}(hdentryh]hdentry}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j]j)}jjJ]sbc.d_invalidateasbuh1hhj`]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`]ubjX)}(hj[h]h*}(hj]hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj`]ubj5)}(hdentryh]hdentry}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\]ubah}(h]h ]h"]h$]h&]jLjMuh1jhj#]hhhj5]hMhubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj]hhhj5]hMhubah}(h]j]ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5]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]hhhj5]hMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhjShNhNubj)}(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)}(hjA^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&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_alloc (C function) c.d_allochNtauh1hhjShhhNhNubh)}(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}(hj^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}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j]j)}jd_allocsb c.d_allocasbuh1hhj~^hhhj^hMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~^hhhj^hMubjX)}(hj[h]h*}(hj^hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj~^hhhj^hMubj/)}(hd_alloch]j5)}(hj^h]hd_alloc}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj~^hhhj^hMubj)}(h0(struct dentry *parent, const struct qstr *name)h](j)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(h h]h }(hj _hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubh)}(hhh]j5)}(hdentryh]hdentry}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j]j^ c.d_allocasbuh1hhj^ubj)}(h h]h }(hj8_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubjX)}(hj[h]h*}(hjF_hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj^ubj5)}(hparenth]hparent}(hjS_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^ubj)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjl_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh_ubj)}(h h]h }(hjy_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjh_ubj )}(hjzh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjh_ubh)}(hhh]j5)}(hqstrh]hqstr}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j]j^ c.d_allocasbuh1hhjh_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjh_ubjX)}(hj[h]h*}(hj_hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjh_ubj5)}(hnameh]hname}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjh_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj~^hhhj^hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjz^hhhj^hMubah}(h]ju^ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj^hMhjw^hhubjc)}(hhh]h)}(hallocate a dcache entryh]hallocate a dcache entry}(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&]uh1jbhjw^hhhj^hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj `jj `jjjuh1hhhhjShNhNubj)}(hXU**Parameters** ``struct dentry * parent`` parent of entry to allocate ``const struct qstr *name`` qstr of the name **Description** Allocates a dentry. It returns ``NULL`` if there is insufficient memory available. On a success the dentry is returned. The name passed in is copied and the copy passed in may be reused after this call.h](h)}(h**Parameters**h]j)}(hj*`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)}(h7``struct dentry * parent`` parent of entry to allocate h](j)}(h``struct dentry * parent``h]j)}(hjI`h]hstruct dentry * parent}(hjK`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG`ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjC`ubj)}(hhh]h)}(hparent of entry to allocateh]hparent of entry to allocate}(hjb`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^`hMhj_`ubah}(h]h ]h"]h$]h&]uh1jhjC`ubeh}(h]h ]h"]h$]h&]uh1jhj^`hMhj@`ubj)}(h-``const struct qstr *name`` qstr of the name h](j)}(h``const struct qstr *name``h]j)}(hj`h]hconst struct qstr *name}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj|`ubj)}(hhh]h)}(hqstr of the nameh]hqstr of the name}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj$`ubh)}(hAllocates a dentry. It returns ``NULL`` if there is insufficient memory available. On a success the dentry is returned. The name passed in is copied and the copy passed in may be reused after this call.h](hAllocates a dentry. It returns }(hj`hhhNhNubj)}(h``NULL``h]hNULL}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh if there is insufficient memory available. On a success the dentry is returned. The name passed in is copied and the copy passed in may be reused after this call.}(hj`hhhNhNubeh}(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&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_instantiate (C function)c.d_instantiatehNtauh1hhjShhhNhNubh)}(hhh](j)}(h?void d_instantiate (struct dentry *entry, struct inode * inode)h]j)}(h=void d_instantiate(struct dentry *entry, struct inode *inode)h](j+)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjahhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hj#ahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjahhhj"ahMubj/)}(h d_instantiateh]j5)}(h d_instantiateh]h d_instantiate}(hj5ahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1aubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjahhhj"ahMubj)}(h+(struct dentry *entry, struct inode *inode)h](j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjQahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMaubj)}(h h]h }(hj^ahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMaubh)}(hhh]j5)}(hdentryh]hdentry}(hjoahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqamodnameN classnameNjj)}j]j)}jj7asbc.d_instantiateasbuh1hhjMaubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMaubjX)}(hj[h]h*}(hjahhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjMaubj5)}(hentryh]hentry}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIaubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubh)}(hhh]j5)}(hinodeh]hinode}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j]jac.d_instantiateasbuh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubjX)}(hj[h]h*}(hj bhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjaubj5)}(hinodeh]hinode}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIaubeh}(h]h ]h"]h$]h&]jLjMuh1jhjahhhj"ahMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj ahhhj"ahMubah}(h]jaah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj"ahMhj ahhubjc)}(hhh]h)}(h&fill in inode information for a dentryh]h&fill in inode information for a dentry}(hjDbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjAbhhubah}(h]h ]h"]h$]h&]uh1jbhj ahhhj"ahMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\bjj\bjjjuh1hhhhjShNhNubj)}(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)}(hjfbh]h Parameters}(hjhbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj`bubj)}(hhh](j)}(h,``struct dentry *entry`` dentry to complete h](j)}(h``struct dentry *entry``h]j)}(hjbh]hstruct dentry *entry}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjbubj)}(hhh]h)}(hdentry to completeh]hdentry to complete}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj|bubj)}(h8``struct inode * inode`` inode to attach to this dentry h](j)}(h``struct inode * inode``h]j)}(hjbh]hstruct inode * inode}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjbubj)}(hhh]h)}(hinode to attach to this dentryh]hinode to attach to this dentry}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj|bubeh}(h]h ]h"]h$]h&]uh1jhj`bubh)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj`bubh)}(h'Fill in inode information in the entry.h]h'Fill in inode information in the entry.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj`bubh)}(hEThis turns negative dentries into productive full members of society.h]hEThis turns negative dentries into productive full members of society.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj`bubh)}(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.}(hj-chhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj`bubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_obtain_alias (C function)c.d_obtain_aliashNtauh1hhjShhhNhNubh)}(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\chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXchhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXchhhjichMubh)}(hhh]j5)}(hdentryh]hdentry}(hj{chhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}cmodnameN classnameNjj)}j]j)}jd_obtain_aliassbc.d_obtain_aliasasbuh1hhjXchhhjichMubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXchhhjichMubjX)}(hj[h]h*}(hjchhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjXchhhjichMubj/)}(hd_obtain_aliash]j5)}(hjch]hd_obtain_alias}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjXchhhjichMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubh)}(hhh]j5)}(hinodeh]hinode}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]jcc.d_obtain_aliasasbuh1hhjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubjX)}(hj[h]h*}(hj dhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjcubj5)}(hinodeh]hinode}(hj-dhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjcubah}(h]h ]h"]h$]h&]jLjMuh1jhjXchhhjichMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjTchhhjichMubah}(h]jOcah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjichMhjQchhubjc)}(hhh]h)}(h8find or allocate a DISCONNECTED dentry for a given inodeh]h8find or allocate a DISCONNECTED dentry for a given inode}(hjWdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjTdhhubah}(h]h ]h"]h$]h&]uh1jbhjQchhhjichMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjodjjodjjjuh1hhhhjShNhNubj)}(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)}(hjydh]h Parameters}(hj{dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwdubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjsdubj)}(hhh]j)}(h9``struct inode *inode`` inode to allocate the dentry for h](j)}(h``struct inode *inode``h]j)}(hjdh]hstruct inode *inode}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjdubj)}(hhh]h)}(h inode to allocate the dentry forh]h inode to allocate the dentry for}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjsdubh)}(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.chMhjsdubh)}(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).}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjsdubh)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjsdubh)}(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 }(hjehhhNhNubj)}(h``NULL``h]hNULL}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh_ or IS_ERR inode may be passed in and the error will be propagated to the return value, with a }(hjehhhNhNubj)}(h``NULL``h]hNULL}(hj!ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh }(hjehhhNhNubj)}(h **inode**h]hinode}(hj3ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh replaced by ERR_PTR(-ESTALE).}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjsdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_obtain_root (C function)c.d_obtain_roothNtauh1hhjShhhNhNubh)}(hhh](j)}(h3struct dentry * d_obtain_root (struct inode *inode)h]j)}(h1struct dentry *d_obtain_root(struct inode *inode)h](j )}(hjzh]hstruct}(hjlehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhehhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjzehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhehhhjyehMubh)}(hhh]j5)}(hdentryh]hdentry}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]j)}j d_obtain_rootsbc.d_obtain_rootasbuh1hhjhehhhjyehMubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhehhhjyehMubjX)}(hj[h]h*}(hjehhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhehhhjyehMubj/)}(h d_obtain_rooth]j5)}(hjeh]h d_obtain_root}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhehhhjyehMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh)}(hhh]j5)}(hinodeh]hinode}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]jec.d_obtain_rootasbuh1hhjeubj)}(h h]h }(hj"fhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubjX)}(hj[h]h*}(hj0fhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjeubj5)}(hinodeh]hinode}(hj=fhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubah}(h]h ]h"]h$]h&]jLjMuh1jhjhehhhjyehMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjdehhhjyehMubah}(h]j_eah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjyehMhjaehhubjc)}(hhh]h)}(h+find or allocate a dentry for a given inodeh]h+find or allocate a dentry for a given inode}(hjgfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjdfhhubah}(h]h ]h"]h$]h&]uh1jbhjaehhhjyehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjShNhNubj)}(hXR**Parameters** ``struct inode *inode`` inode to allocate the dentry for **Description** Obtain an IS_ROOT dentry for the root of a filesystem. We must ensure that directory inodes only ever have one dentry. If a dentry is found, that is returned instead of allocating a new one. On successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. A ``NULL`` or IS_ERR inode may be passed in and will be the error will be propagate to the return value, with a ``NULL`` **inode** replaced by ERR_PTR(-ESTALE).h](h)}(h**Parameters**h]j)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjfubj)}(hhh]j)}(h9``struct inode *inode`` inode to allocate the dentry for h](j)}(h``struct inode *inode``h]j)}(hjfh]hstruct inode *inode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjfubj)}(hhh]h)}(h inode to allocate the dentry forh]h inode to allocate the dentry for}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubh)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjfubh)}(h6Obtain an IS_ROOT dentry for the root of a filesystem.h]h6Obtain an IS_ROOT dentry for the root of a filesystem.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjfubh)}(hWe must ensure that directory inodes only ever have one dentry. If a dentry is found, that is returned instead of allocating a new one.h]hWe must ensure that directory inodes only ever have one dentry. If a dentry is found, that is returned instead of allocating a new one.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjfubh)}(hX3On successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. A ``NULL`` or IS_ERR inode may be passed in and will be the error will be propagate to the return value, with a ``NULL`` **inode** replaced by ERR_PTR(-ESTALE).h](hOn successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. A }(hjghhhNhNubj)}(h``NULL``h]hNULL}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubhf or IS_ERR inode may be passed in and will be the error will be propagate to the return value, with a }(hjghhhNhNubj)}(h``NULL``h]hNULL}(hj1ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh }(hjghhhNhNubj)}(h **inode**h]hinode}(hjCghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh replaced by ERR_PTR(-ESTALE).}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM!hjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_add_ci (C function) c.d_add_cihNtauh1hhjShhhNhNubh)}(hhh](j)}(hXstruct dentry * d_add_ci (struct dentry *dentry, struct inode *inode, struct qstr *name)h]j)}(hVstruct dentry *d_add_ci(struct dentry *dentry, struct inode *inode, struct qstr *name)h](j )}(hjzh]hstruct}(hj|ghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxghhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM.ubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxghhhjghM.ubh)}(hhh]j5)}(hdentryh]hdentry}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j)}jd_add_cisb c.d_add_ciasbuh1hhjxghhhjghM.ubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxghhhjghM.ubjX)}(hj[h]h*}(hjghhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjxghhhjghM.ubj/)}(hd_add_cih]j5)}(hjgh]hd_add_ci}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxghhhjghM.ubj)}(h?(struct dentry *dentry, struct inode *inode, struct qstr *name)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]jg c.d_add_ciasbuh1hhjgubj)}(h h]h }(hj2hhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubjX)}(hj[h]h*}(hj@hhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjgubj5)}(hdentryh]hdentry}(hjMhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjfhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhubj)}(h h]h }(hjshhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]jg c.d_add_ciasbuh1hhjbhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhubjX)}(hj[h]h*}(hjhhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjbhubj5)}(hinodeh]hinode}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubh)}(hhh]j5)}(hqstrh]hqstr}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]jg c.d_add_ciasbuh1hhjhubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubjX)}(hj[h]h*}(hj ihhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhubj5)}(hnameh]hname}(hj-ihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubeh}(h]h ]h"]h$]h&]jLjMuh1jhjxghhhjghM.ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjtghhhjghM.ubah}(h]jogah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjghM.hjqghhubjc)}(hhh]h)}(h2lookup or allocate new dentry with case-exact nameh]h2lookup or allocate new dentry with case-exact name}(hjWihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM.hjTihhubah}(h]h ]h"]h$]h&]uh1jbhjqghhhjghM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjoijjoijjjuh1hhhhjShNhNubj)}(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)}(hjyih]h Parameters}(hj{ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwiubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM2hjsiubj)}(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)}(hjih]hstruct dentry *dentry}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM/hjiubj)}(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}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihM/hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihM/hjiubj)}(hD``struct inode *inode`` the inode case-insensitive lookup has found h](j)}(h``struct inode *inode``h]j)}(hjih]hstruct inode *inode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM0hjiubj)}(hhh]h)}(h+the inode case-insensitive lookup has foundh]h+the inode case-insensitive lookup has found}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihM0hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihM0hjiubj)}(hT``struct qstr *name`` the case-exact name to be associated with the returned dentry h](j)}(h``struct qstr *name``h]j)}(hj jh]hstruct qstr *name}(hj jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM1hjjubj)}(hhh]h)}(h=the case-exact name to be associated with the returned dentryh]h=the case-exact name to be associated with the returned dentry}(hj#jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhM1hj jubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhM1hjiubeh}(h]h ]h"]h$]h&]uh1jhjsiubh)}(h**Description**h]j)}(hjEjh]h Description}(hjGjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM3hjsiubh)}(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[jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM3hjsiubh)}(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.}(hjjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM7hjsiubh)}(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.}(hjyjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM:hjsiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_same_name (C function) c.d_same_namehNtauh1hhjShhhNhNubh)}(hhh](j)}(hdbool d_same_name (const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h]j)}(hcbool d_same_name(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h](j+)}(hj.h]hbool}(hjjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMdubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjhhhjjhMdubj/)}(h d_same_nameh]j5)}(h d_same_nameh]h d_same_name}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjjhhhjjhMdubj)}(hS(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h](j)}(hconst struct dentry *dentryh](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 }(hj khhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubh)}(hhh]j5)}(hdentryh]hdentry}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j)}jjjsb c.d_same_nameasbuh1hhjjubj)}(h h]h }(hj=khhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubjX)}(hj[h]h*}(hjKkhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjjubj5)}(hdentryh]hdentry}(hjXkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hconst struct dentry *parenth](j )}(hjh]hconst}(hjqkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmkubj)}(h h]h }(hj~khhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmkubj )}(hjzh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmkubh)}(hhh]j5)}(hdentryh]hdentry}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j9k c.d_same_nameasbuh1hhjmkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmkubjX)}(hj[h]h*}(hjkhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjmkubj5)}(hparenth]hparent}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hj lhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj )}(hjzh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hj$lhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubh)}(hhh]j5)}(hqstrh]hqstr}(hj5lhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7lmodnameN classnameNjj)}j]j9k c.d_same_nameasbuh1hhjkubj)}(h h]h }(hjSlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubjX)}(hj[h]h*}(hjalhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjkubj5)}(hnameh]hname}(hjnlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjjhhhjjhMdubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjjhhhjjhMdubah}(h]jjah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjjhMdhjjhhubjc)}(hhh]h)}(h(compare dentry name with case-exact nameh]h(compare dentry name with case-exact name}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMdhjlhhubah}(h]h ]h"]h$]h&]uh1jbhjjhhhjjhMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjShNhNubj)}(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)}(hjlh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhhjlubj)}(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)}(hjlh]hconst struct dentry *dentry}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMehjlubj)}(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}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMehjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMehjlubj)}(h.``const struct dentry *parent`` parent dentry h](j)}(h``const struct dentry *parent``h]j)}(hjmh]hconst struct dentry *parent}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMfhj mubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hj+mhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'mhMfhj(mubah}(h]h ]h"]h$]h&]uh1jhj mubeh}(h]h ]h"]h$]h&]uh1jhj'mhMfhjlubj)}(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)}(hjKmh]hconst struct qstr *name}(hjMmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjImubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMghjEmubj)}(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}(hjdmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`mhMghjamubah}(h]h ]h"]h$]h&]uh1jhjEmubeh}(h]h ]h"]h$]h&]uh1jhj`mhMghjlubeh}(h]h ]h"]h$]h&]uh1jhjlubh)}(h **Return**h]j)}(hjmh]hReturn}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMihjlubh)}(h true if names are same, or falseh]h true if names are same, or false}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMihjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_lookup (C function) c.d_lookuphNtauh1hhjShhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmhhhjmhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j]j)}jd_lookupsb c.d_lookupasbuh1hhjmhhhjmhM ubj)}(h h]h }(hj nhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmhhhjmhM ubjX)}(hj[h]h*}(hjnhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjmhhhjmhM ubj/)}(hd_lookuph]j5)}(hjnh]hd_lookup}(hj*nhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&nubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjmhhhjmhM ubj)}(h6(const struct dentry *parent, const struct qstr *name)h](j)}(hconst struct dentry *parenth](j )}(hjh]hconst}(hjEnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAnubj)}(h h]h }(hjRnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAnubj )}(hjzh]hstruct}(hj`nhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAnubj)}(h h]h }(hjmnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAnubh)}(hhh]j5)}(hdentryh]hdentry}(hj~nhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]jn c.d_lookupasbuh1hhjAnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAnubjX)}(hj[h]h*}(hjnhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjAnubj5)}(hparenth]hparent}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=nubj)}(hconst struct qstr *nameh](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)}(hqstrh]hqstr}(hj ohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj omodnameN classnameNjj)}j]jn c.d_lookupasbuh1hhjnubj)}(h h]h }(hj'ohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubjX)}(hj[h]h*}(hj5ohhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjnubj5)}(hnameh]hname}(hjBohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=nubeh}(h]h ]h"]h$]h&]jLjMuh1jhjmhhhjmhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjmhhhjmhM ubah}(h]jmah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjmhM hjmhhubjc)}(hhh]h)}(hsearch for a dentryh]hsearch for a dentry}(hjlohhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjiohhubah}(h]h ]h"]h$]h&]uh1jbhjmhhhjmhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjShNhNubj)}(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)}(hjoh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjoubj)}(hhh](j)}(h.``const struct dentry *parent`` parent dentry h](j)}(h``const struct dentry *parent``h]j)}(hjoh]hconst struct dentry *parent}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjoubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM hjoubj)}(h9``const struct qstr *name`` qstr of name we wish to find h](j)}(h``const struct qstr *name``h]j)}(hjoh]hconst struct qstr *name}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjoubj)}(hhh]h)}(hqstr of name we wish to findh]hqstr of name we wish to find}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM hjoubeh}(h]h ]h"]h$]h&]uh1jhjoubh)}(h **Return**h]j)}(hj!ph]hReturn}(hj#phhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjoubh)}(hdentry, or NULLh]hdentry, or NULL}(hj7phhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjoubh)}(h**Description**h]j)}(hjHph]h Description}(hjJphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFpubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjoubh)}(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^phhhNhNubj)}(h``NULL``h]hNULL}(hjfphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^pubh* is returned if the dentry does not exist.}(hj^phhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_delete (C function) c.d_deletehNtauh1hhjShhhNhNubh)}(hhh](j)}(h&void d_delete (struct dentry * dentry)h]j)}(h$void d_delete(struct dentry *dentry)h](j+)}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjphhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjphM ubj/)}(hd_deleteh]j5)}(hd_deleteh]hd_delete}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjphhhjphM ubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(hdentryh]hdentry}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j]j)}jjpsb c.d_deleteasbuh1hhjpubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubjX)}(hj[h]h*}(hj(qhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjpubj5)}(hdentryh]hdentry}(hj5qhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjpubah}(h]h ]h"]h$]h&]jLjMuh1jhjphhhjphM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhjphM ubah}(h]jpah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjphM hjphhubjc)}(hhh]h)}(hdelete a dentryh]hdelete a dentry}(hj_qhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj\qhhubah}(h]h ]h"]h$]h&]uh1jbhjphhhjphM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwqjjwqjjjuh1hhhhjShNhNubj)}(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)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj{qubj)}(hhh]j)}(h0``struct dentry * dentry`` The dentry to delete h](j)}(h``struct dentry * dentry``h]j)}(hjqh]hstruct dentry * dentry}(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)}(hThe dentry to deleteh]hThe dentry to delete}(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&]uh1jhj{qubh)}(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 hj{qubh)}(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}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj{qubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_rehash (C function) c.d_rehashhNtauh1hhjShhhNhNubh)}(hhh](j)}(h%void d_rehash (struct dentry * entry)h]j)}(h#void d_rehash(struct dentry *entry)h](j+)}(hvoidh]hvoid}(hj rhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjrhhhS/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&]uh1jhjrhhhj.rhM ubj/)}(hd_rehashh]j5)}(hd_rehashh]hd_rehash}(hjArhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=rubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjrhhhj.rhM ubj)}(h(struct dentry *entry)h]j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hj]rhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYrubj)}(h h]h }(hjjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYrubh)}(hhh]j5)}(hdentryh]hdentry}(hj{rhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}rmodnameN classnameNjj)}j]j)}jjCrsb c.d_rehashasbuh1hhjYrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYrubjX)}(hj[h]h*}(hjrhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjYrubj5)}(hentryh]hentry}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUrubah}(h]h ]h"]h$]h&]jLjMuh1jhjrhhhj.rhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjrhhhj.rhM ubah}(h]jrah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj.rhM hjrhhubjc)}(hhh]h)}(hadd an entry back to the hashh]hadd an entry back to the hash}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjrhhubah}(h]h ]h"]h$]h&]uh1jbhjrhhhj.rhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhjShNhNubj)}(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)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjrubj)}(hhh]j)}(h4``struct dentry * entry`` dentry to add to the hash h](j)}(h``struct dentry * entry``h]j)}(hj!sh]hstruct dentry * entry}(hj#shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjsubj)}(hhh]h)}(hdentry to add to the hashh]hdentry to add to the hash}(hj:shhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6shM hj7subah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhj6shM hjsubah}(h]h ]h"]h$]h&]uh1jhjrubh)}(h**Description**h]j)}(hj\sh]h Description}(hj^shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZsubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjrubh)}(h0Adds a dentry to the hash according to its name.h]h0Adds a dentry to the hash according to its name.}(hjrshhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_add (C function)c.d_addhNtauh1hhjShhhNhNubh)}(hhh](j)}(h6void d_add (struct dentry *entry, struct inode *inode)h]j)}(h5void d_add(struct dentry *entry, struct inode *inode)h](j+)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjshhhS/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_addh]j5)}(hd_addh]hd_add}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjshhhjshM ubj)}(h+(struct dentry *entry, struct inode *inode)h](j)}(hstruct dentry *entryh](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]j)}jjssbc.d_addasbuh1hhjsubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubjX)}(hj[h]h*}(hj*thhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjsubj5)}(hentryh]hentry}(hj7thhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjPthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLtubj)}(h h]h }(hj]thhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLtubh)}(hhh]j5)}(hinodeh]hinode}(hjnthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjktubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjptmodnameN classnameNjj)}j]jtc.d_addasbuh1hhjLtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLtubjX)}(hj[h]h*}(hjthhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjLtubj5)}(hinodeh]hinode}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubeh}(h]h ]h"]h$]h&]jLjMuh1jhjshhhjshM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjshM ubah}(h]jsah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjshM hjshhubjc)}(hhh]h)}(hadd dentry to hash queuesh]hadd dentry to hash queues}(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&]jjjjtjjtjjjuh1hhhhjShNhNubj)}(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)}(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)}(h'``struct dentry *entry`` dentry to add h](j)}(h``struct dentry *entry``h]j)}(hjuh]hstruct dentry *entry}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj uubj)}(hhh]h)}(h dentry to addh]h dentry to add}(hj+uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'uhM hj(uubah}(h]h ]h"]h$]h&]uh1jhj uubeh}(h]h ]h"]h$]h&]uh1jhj'uhM hj uubj)}(h;``struct inode *inode`` The inode to attach to this dentry h](j)}(h``struct inode *inode``h]j)}(hjKuh]hstruct inode *inode}(hjMuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIuubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjEuubj)}(hhh]h)}(h"The inode to attach to this dentryh]h"The inode to attach to this dentry}(hjduhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`uhM hjauubah}(h]h ]h"]h$]h&]uh1jhjEuubeh}(h]h ]h"]h$]h&]uh1jhj`uhM hj uubeh}(h]h ]h"]h$]h&]uh1jhjtubh)}(h**Description**h]j)}(hjuh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjtubh)}(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 }(hjuhhhNhNubj)}(h **inode**h]hinode}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh<. The entry was actually filled in earlier during d_alloc().}(hjuhhhNhNubeh}(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&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_splice_alias (C function)c.d_splice_aliashNtauh1hhjShhhNhNubh)}(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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuhhhjuhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j)}jd_splice_aliassbc.d_splice_aliasasbuh1hhjuhhhjuhM ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuhhhjuhM ubjX)}(hj[h]h*}(hj+vhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjuhhhjuhM ubj/)}(hd_splice_aliash]j5)}(hjvh]hd_splice_alias}(hjlookup. Cluster filesystems may call this function with a negative, hashed dentry. In that case, we know that the inode will be a regular file, and also this will only occur during atomic_open. So we need to check for the dentry being already hashed only in the final case.h](h)}(h**Parameters**h]j)}(hjjwh]h Parameters}(hjlwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhwubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjdwubj)}(hhh](j)}(hG``struct inode *inode`` the inode which may have a disconnected dentry 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.chM hjwubj)}(hhh]h)}(h.the inode which may have a disconnected dentryh]h.the inode which may have a disconnected dentry}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjwubj)}(hQ``struct dentry *dentry`` a negative dentry which we want to point to the inode. h](j)}(h``struct dentry *dentry``h]j)}(hjwh]hstruct dentry *dentry}(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.chM hjwubj)}(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.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjwubeh}(h]h ]h"]h$]h&]uh1jhjdwubh)}(h**Description**h]j)}(hjwh]h Description}(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.chM hjdwubh)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjdwubh)}(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.}(hj"xhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjdwubh)}(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.}(hj1xhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjdwubh)}(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.}(hj@xhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjdwubh)}(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.}(hjOxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjdwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_subdir (C function) c.is_subdirhNtauh1hhjShhhNhNubh)}(hhh](j)}(hEbool is_subdir (struct dentry *new_dentry, struct dentry *old_dentry)h]j)}(hDbool is_subdir(struct dentry *new_dentry, struct dentry *old_dentry)h](j+)}(hj.h]hbool}(hj~xhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjzxhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzxhhhjxhM ubj/)}(h is_subdirh]j5)}(h is_subdirh]h is_subdir}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjzxhhhjxhM ubj)}(h6(struct dentry *new_dentry, struct dentry *old_dentry)h](j)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]j)}jjxsb c.is_subdirasbuh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubjX)}(hj[h]h*}(hjyhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjxubj5)}(h new_dentryh]h new_dentry}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjxubj)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hj,yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(yubj)}(h h]h }(hj9yhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(yubh)}(hhh]j5)}(hdentryh]hdentry}(hjJyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLymodnameN classnameNjj)}j]jx c.is_subdirasbuh1hhj(yubj)}(h h]h }(hjhyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(yubjX)}(hj[h]h*}(hjvyhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj(yubj5)}(h old_dentryh]h old_dentry}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(yubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjxubeh}(h]h ]h"]h$]h&]jLjMuh1jhjzxhhhjxhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjvxhhhjxhM ubah}(h]jqxah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjxhM hjsxhhubjc)}(hhh]h)}(h*is new dentry a subdirectory of old_dentryh]h*is new dentry a subdirectory of old_dentry}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyhhubah}(h]h ]h"]h$]h&]uh1jbhjsxhhhjxhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjShNhNubj)}(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)}(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)}(h)``struct dentry *new_dentry`` new dentry h](j)}(h``struct dentry *new_dentry``h]j)}(hjyh]hstruct dentry *new_dentry}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyubj)}(hhh]h)}(h new dentryh]h new dentry}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM hjzubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjzhM hjyubj)}(h)``struct dentry *old_dentry`` old dentry h](j)}(h``struct dentry *old_dentry``h]j)}(hj'zh]hstruct dentry *old_dentry}(hj)zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%zubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj!zubj)}(hhh]h)}(h old dentryh]h old dentry}(hj@zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjd_lock**. Making sure that dentry is alive is caller's resonsibility. There are many conditions sufficient to guarantee that; e.g. anything with non-negative refcount is alive, so's anything hashed, anything positive, anyone's parent, etc.h](h)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM8hj{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.hhM5hj{ubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM5hj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hM5hj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubh)}(h**Description**h]j)}(hj|h]h Description}(hj |hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM7hj{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 }(hj4|hhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hj<|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4|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.}(hj4|hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM7hj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdget (C function)c.dgethNtauh1hhjShhhNhNubh)}(hhh](j)}(h,struct dentry * dget (struct dentry *dentry)h]j)}(h*struct dentry *dget(struct dentry *dentry)h](j )}(hjzh]hstruct}(hju|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjq|hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMEubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjq|hhhj|hMEubh)}(hhh]j5)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j)}jdgetsbc.dgetasbuh1hhjq|hhhj|hMEubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjq|hhhj|hMEubjX)}(hj[h]h*}(hj|hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjq|hhhj|hMEubj/)}(hdgeth]j5)}(hj|h]hdget}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjq|hhhj|hMEubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubh)}(hhh]j5)}(hdentryh]hdentry}(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|ubjX)}(hj[h]h*}(hj9}hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubj5)}(hdentryh]hdentry}(hjF}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubah}(h]h ]h"]h$]h&]jLjMuh1jhjq|hhhj|hMEubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjm|hhhj|hMEubah}(h]jh|ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj|hMEhjj|hhubjc)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hjp}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMEhjm}hhubah}(h]h ]h"]h$]h&]uh1jbhjj|hhhj|hMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhjShNhNubj)}(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)}(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.hhMIhj}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.hhMFhj}ubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMFhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMFhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubh)}(h**Description**h]j)}(hj}h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMHhj}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 }(hj~hhhNhNubj)}(h``NULL``h]hNULL}(hj ~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubhXp 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.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMHhj}ubh)}(h**NOTE**h]j)}(hj%~h]hNOTE}(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.hhMPhj}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 }(hj;~hhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjC~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;~ubh is held. From the deadlock avoidance point of view it is equivalent to spin_lock()/increment refcount/spin_unlock(), so calling it under }(hj;~hhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjU~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;~ubhM is always a bug; so’s calling it under ->d_lock on any of its descendents.}(hj;~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMPhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_unhashed (C function) c.d_unhashedhNtauh1hhjShhhNhNubh)}(hhh](j)}(h,int d_unhashed (const struct dentry *dentry)h]j)}(h+int d_unhashed(const struct dentry *dentry)h](j+)}(hinth]hint}(hj~hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj~hhh^/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&]uh1jhj~hhhj~hM`ubj/)}(h d_unhashedh]j5)}(h d_unhashedh]h d_unhashed}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj~hhhj~hM`ubj)}(h(const struct dentry *dentry)h]j)}(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}(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)}jj~sb c.d_unhashedasbuh1hhj~ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubjX)}(hj[h]h*}(hj2hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj~ubj5)}(hdentryh]hdentry}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubah}(h]h ]h"]h$]h&]jLjMuh1jhj~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)}(his dentry hashedh]his dentry hashed}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM`hjfhhubah}(h]h ]h"]h$]h&]uh1jbhj~hhhj~hM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjShNhNubj)}(h**Parameters** ``const struct dentry *dentry`` entry to check **Description** Returns true if the dentry passed is not currently hashed.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMdhjubj)}(hhh]j)}(h/``const struct dentry *dentry`` entry to check h](j)}(h``const struct dentry *dentry``h]j)}(hjh]hconst struct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMahjubj)}(hhh]h)}(hentry to checkh]hentry to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubah}(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.hhMchjubh)}(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.hhMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!d_really_is_negative (C function)c.d_really_is_negativehNtauh1hhjShhhNhNubh)}(hhh](j)}(h7bool d_really_is_negative (const struct dentry *dentry)h]j)}(h6bool d_really_is_negative(const struct dentry *dentry)h](j+)}(hj.h]hbool}(hj*hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj&hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&hhhj7hMubj/)}(hd_really_is_negativeh]j5)}(hd_really_is_negativeh]hd_really_is_negative}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj&hhhj7hMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjLsbc.d_really_is_negativeasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubjX)}(hj[h]h*}(hj̀hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjbubj5)}(hdentryh]hdentry}(hjڀhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^ubah}(h]h ]h"]h$]h&]jLjMuh1jhj&hhhj7hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj"hhhj7hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj7hMhjhhubjc)}(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&]uh1jbhjhhhj7hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjShNhNubj)}(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)}(hjEh]hconst struct dentry *dentry}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj?ubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj<ubah}(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&]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.}(hjhhhNhNubah}(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 }(hjhhhNhNubhemphasis)}(h*only*h]honly}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhXM by a filesystem to examine its own dentries. It should not be used to look at some other filesystem’s dentries. (2) It should also be used in combination with d_inode() to get the inode. (3) The dentry may have something attached to ->d_lower and the type field of the flags may be set to something other than miss or whiteout.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!d_really_is_positive (C function)c.d_really_is_positivehNtauh1hhjShhhNhNubh)}(hhh](j)}(h7bool d_really_is_positive (const struct dentry *dentry)h]j)}(h6bool d_really_is_positive(const struct dentry *dentry)h](j+)}(hj.h]hbool}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhh^/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]j)}(hconst struct dentry *dentryh](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)}(hdentryh]hdentry}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j]j)}jj sbc.d_really_is_positiveasbuh1hhj ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jہah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj݁hhubjc)}(hhh]h)}(h@Determine if a dentry is really positive (ignoring fallthroughs)h]h@Determine if a dentry is really positive (ignoring fallthroughs)}(hj‚hhhNhNubah}(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ڂjjjuh1hhhhjShNhNubj)}(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.hhMhjނubj)}(hhh]j)}(h7``const struct dentry *dentry`` The dentry in question h](j)}(h``const struct dentry *dentry``h]j)}(hjh]hconst struct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjނubh)}(h**Description**h]j)}(hj>h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjނubh)}(hReturns true if the dentry represents a name that maps to an inode (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev.h]hReturns true if the dentry represents a name that maps to an inode (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjނubh)}(hNote! (1) This should be used *only* by a filesystem to examine its own dentries. It should not be used to look at some other filesystem's dentries. (2) It should also be used in combination with d_inode() to get the inode.h](hNote! (1) This should be used }(hjchhhNhNubj)}(h*only*h]honly}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh 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.}(hjchhhNhNubeh}(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&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_inode (C function) c.d_inodehNtauh1hhjShhhNhNubh)}(hhh](j)}(h4struct inode * d_inode (const struct dentry *dentry)h]j)}(h2struct inode *d_inode(const struct dentry *dentry)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hjÃhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjŃmodnameN classnameNjj)}j]j)}jd_inodesb c.d_inodeasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhMubj/)}(hd_inodeh]j5)}(hjh]hd_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(const struct dentry *dentry)h]j)}(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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]j߃ c.d_inodeasbuh1hhjubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h#Get the actual inode of this dentryh]h#Get the actual inode of this dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj҄jj҄jjjuh1hhhhjShNhNubj)}(h**Parameters** ``const struct dentry *dentry`` The dentry to query **Description** This is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h](h)}(h**Parameters**h]j)}(hj܄h]h Parameters}(hjބhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڄubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM hjք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.hhMhjubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjքubh)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM hjքubh)}(hThis is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h]hThis is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM hjքubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_inode_rcu (C function) c.d_inode_rcuhNtauh1hhjShhhNhNubh)}(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 hjwhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j d_inode_rcusb c.d_inode_rcuasbuh1hhjwhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjhMubjX)}(hj[h]h*}(hjɅhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjwhhhjhMubj/)}(h d_inode_rcuh]j5)}(hjh]h d_inode_rcu}(hjڅhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjօubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjwhhhjhMubj)}(h(const struct dentry *dentry)h]j)}(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 }(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 reftargetj0modnameN classnameNjj)}j]j c.d_inode_rcuasbuh1hhjubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjZhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjwhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjhMubah}(h]jnah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjphhubjc)}(hhh]h)}(h4Get the actual inode of this dentry with READ_ONCE()h]h4Get the actual inode of this dentry with READ_ONCE()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjphhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjShNhNubj)}(h**Parameters** ``const struct dentry *dentry`` The dentry to query **Description** This is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hj҆h]hconst struct dentry *dentry}(hjԆhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjІubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj̆ubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]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)}(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.hhMhjubh)}(hThis is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h]hThis is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.}(hj#hhhNhNubah}(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&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_backing_inode (C function)c.d_backing_inodehNtauh1hhjShhhNhNubh)}(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}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNhhhj_hMubh)}(hhh]j5)}(hinodeh]hinode}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]j)}jd_backing_inodesbc.d_backing_inodeasbuh1hhjNhhhj_hMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNhhhj_hMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjNhhhj_hMubj/)}(hd_backing_inodeh]j5)}(hjh]hd_backing_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjNhhhj_hMubj)}(h(const struct dentry *upper)h]j)}(hconst struct dentry *upperh](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_backing_inodeasbuh1hhjȇubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȇubjX)}(hj[h]h*}(hj1hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjȇubj5)}(hupperh]hupper}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjȇubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjćubah}(h]h ]h"]h$]h&]jLjMuh1jhjNhhhj_hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjJhhhj_hMubah}(h]jEah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj_hMhjGhhubjc)}(hhh]h)}(h+Get upper or lower inode we should be usingh]h+Get upper or lower inode we should be using}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjehhubah}(h]h ]h"]h$]h&]uh1jbhjGhhhj_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjShNhNubj)}(hXi**Parameters** ``const struct dentry *upper`` The upper layer **Description** This is the helper that should be used to get at the inode that will be used if this dentry were to be opened as a file. The inode may be on the upper dentry or it may be on a lower dentry pinned by the upper. Normal filesystems should not use this to access their own inodes.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM#hjubj)}(hhh]j)}(h/``const struct dentry *upper`` The upper layer h](j)}(h``const struct dentry *upper``h]j)}(hjh]hconst struct dentry *upper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM hjubj)}(hhh]h)}(hThe upper layerh]hThe upper layer}(hjˆhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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 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"hjubh)}(hBNormal filesystems should not use this to access their own inodes.h]hBNormal filesystems should not use this to access their own inodes.}(hj hhhNhNubah}(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&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_real (C function)c.d_realhNtauh1hhjShhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM0ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4hhhjEhM0ubh)}(hhh]j5)}(hdentryh]hdentry}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]j)}jd_realsbc.d_realasbuh1hhj4hhhjEhM0ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4hhhjEhM0ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj4hhhjEhM0ubj/)}(hd_realh]j5)}(hjuh]hd_real}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4hhhjEhM0ubj)}(h.(struct dentry *dentry, enum d_real_type type)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjЉhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj͉ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj҉modnameN classnameNjj)}j]jsc.d_realasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(henum d_real_type typeh](j )}(hjh]henum}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h d_real_typeh]h d_real_type}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]jsc.d_realasbuh1hhjubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(htypeh]htype}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj4hhhjEhM0ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0hhhjEhM0ubah}(h]j+ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjEhM0hj-hhubjc)}(hhh]h)}(hReturn the real dentryh]hReturn the real dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM0hjhhubah}(h]h ]h"]h$]h&]uh1jbhj-hhhjEhM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjShNhNubj)}(hX4**Parameters** ``struct dentry *dentry`` the dentry to query ``enum d_real_type type`` the type of real dentry (data or metadata) **Description** If dentry is on a union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself. See also: Documentation/filesystems/vfs.rsth](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM4hjubj)}(hhh](j)}(h.``struct dentry *dentry`` the dentry to query h](j)}(h``struct dentry *dentry``h]j)}(hj׊h]hstruct dentry *dentry}(hjيhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՊubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM1hjъubj)}(hhh]h)}(hthe dentry to queryh]hthe dentry to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjъubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjΊ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.hhM2hj ubj)}(hhh]h)}(h*the type of real dentry (data or metadata)h]h*the type of real dentry (data or metadata)}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hM2hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM2hjΊubeh}(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&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM4hjubh)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM4hjubh)}(h+See also: Documentation/filesystems/vfs.rsth]h+See also: Documentation/filesystems/vfs.rst}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM7hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_real_inode (C function)c.d_real_inodehNtauh1hhjShhhNhNubh)}(hhh](j)}(h9struct inode * d_real_inode (const struct dentry *dentry)h]j)}(h7struct inode *d_real_inode(const struct dentry *dentry)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMBubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j d_real_inodesbc.d_real_inodeasbuh1hhjhhhjhMBubj)}(h h]h }(hjߋhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMBubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhMBubj/)}(h d_real_inodeh]j5)}(hj܋h]h d_real_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMBubj)}(h(const struct dentry *dentry)h]j)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNjj)}j]jڋc.d_real_inodeasbuh1hhjubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj~hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMBubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMBubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMBhjhhubjc)}(hhh]h)}(h&Return the real inode hosting the datah]h&Return the real inode hosting the data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMBhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjj͌jj͌jjjuh1hhhhjShNhNubj)}(h**Parameters** ``const struct dentry *dentry`` The dentry to query **Description** If dentry is on a union/overlay, then return the underlying, real inode. Otherwise return d_inode().h](h)}(h**Parameters**h]j)}(hj׌h]h Parameters}(hjٌhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՌubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMFhjь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.hhMChjubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMChj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMChjubah}(h]h ]h"]h$]h&]uh1jhjьubh)}(h**Description**h]j)}(hj1h]h Description}(hj3hhhNhNubah}(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.hhMEhjь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().}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMEhjьubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjShhhNhNubeh}(h]the-directory-cacheah ]h"]the directory cacheah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hInode Handlingh]hInode Handling}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"inode_init_always_gfp (C function)c.inode_init_always_gfphNtauh1hhjehhhNhNubh)}(hhh](j)}(hRint inode_init_always_gfp (struct super_block *sb, struct inode *inode, gfp_t gfp)h]j)}(hQint inode_init_always_gfp(struct super_block *sb, struct inode *inode, gfp_t gfp)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hinode_init_always_gfph]j5)}(hinode_init_always_gfph]hinode_init_always_gfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h8(struct super_block *sb, struct inode *inode, gfp_t gfp)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj̍hhhNhNubah}(h]h ]jah"]h$]h&]uh1j 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.inode_init_always_gfpasbuh1hhjȍubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȍubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjȍubj5)}(hsbh]hsb}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjȍubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjčubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(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]jc.inode_init_always_gfpasbuh1hhj:ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjčubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.inode_init_always_gfpasbuh1hhjubj)}(h h]h }(hjώhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfph]hgfp}(hjݎhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjčubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h&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&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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)}(hjHh]hstruct super_block *sb}(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.chKhjBubj)}(hhh]h)}(hsuperblock inode belongs toh]hsuperblock inode belongs to}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hKhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hKhj?ubj)}(h,``struct inode *inode`` inode to initialise 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.chKhj{ubj)}(hhh]h)}(hinode to initialiseh]hinode to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj?ubj)}(h``gfp_t gfp`` allocation flags h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjubj)}(hhh]h)}(hallocation flagsh]hallocation flags}(hjӏhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjϏhKhjЏubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϏhKhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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 }(hj hhhNhNubj)}(h**gfp**h]hgfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh is used.}(hj hhhNhNubeh}(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&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdrop_nlink (C function) c.drop_nlinkhNtauh1hhjehhhNhNubh)}(hhh](j)}(h%void drop_nlink (struct inode *inode)h]j)}(h$void drop_nlink(struct inode *inode)h](j+)}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjHhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjZhMubj/)}(h drop_nlinkh]j5)}(h drop_nlinkh]h drop_nlink}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjZhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjosb c.drop_nlinkasbuh1hhjubj)}(h h]h }(hjǐhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjՐhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjHhhhjZhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDhhhjZhMubah}(h]j?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhMhjAhhubjc)}(hhh]h)}(h#directly drop an inode's link counth]h%directly drop 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&]uh1jbhjAhhhjZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjehNhNubj)}(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}(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&]uh1jhjbhMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj(ubh)}(hXThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is truncated and actually unlinked on the filesystem.h]hXThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is truncated and actually unlinked on the filesystem.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hclear_nlink (C function) c.clear_nlinkhNtauh1hhjehhhNhNubh)}(hhh](j)}(h&void clear_nlink (struct inode *inode)h]j)}(h%void clear_nlink(struct inode *inode)h](j+)}(hvoidh]hvoid}(hj͑hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjɑhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjܑhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjɑhhhjۑhMubj/)}(h clear_nlinkh]j5)}(h clear_nlinkh]h clear_nlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjɑhhhjۑhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j]j)}jjsb c.clear_nlinkasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjVhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjɑhhhjۑhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjőhhhjۑhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjۑhMhj‘hhubjc)}(hhh]h)}(h#directly zero an inode's link counth]h%directly zero an inode’s link count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj‘hhhjۑhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(h**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink() for why we care about i_nlink hitting zero.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjΒh]hstruct inode *inode}(hjВhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̒ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjȒubj)}(hhh]h)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjȒubeh}(h]h ]h"]h$]h&]uh1jhjhMhjŒubah}(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)}(hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink() for why we care about i_nlink hitting zero.h]hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink() for why we care about i_nlink hitting zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hset_nlink (C function) c.set_nlinkhNtauh1hhjehhhNhNubh)}(hhh](j)}(h8void set_nlink (struct inode *inode, unsigned int nlink)h]j)}(h7void set_nlink(struct inode *inode, unsigned int nlink)h](j+)}(hvoidh]hvoid}(hjNhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjJhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJhhhj\hMubj/)}(h set_nlinkh]j5)}(h set_nlinkh]h set_nlink}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJhhhj\hMubj)}(h)(struct inode *inode, unsigned int nlink)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjqsb c.set_nlinkasbuh1hhjubj)}(h h]h }(hjɓhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjדhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int nlinkh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hnlinkh]hnlink}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjJhhhj\hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjFhhhj\hMubah}(h]jAah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj\hMhjChhubjc)}(hhh]h)}(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&]uh1jbhjChhhj\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhjehNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj{ubj)}(hhh](j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``unsigned int nlink`` new nlink (should be non-zero) h](j)}(h``unsigned int nlink``h]j)}(hjٔh]hunsigned int nlink}(hj۔hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjהubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjӔubj)}(hhh]h)}(hnew nlink (should be non-zero)h]hnew nlink (should be non-zero)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjӔubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj{ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj{ubh)}(h_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&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinc_nlink (C function) c.inc_nlinkhNtauh1hhjehhhNhNubh)}(hhh](j)}(h$void inc_nlink (struct inode *inode)h]j)}(h#void inc_nlink(struct inode *inode)h](j+)}(hvoidh]hvoid}(hjYhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjUhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUhhhjghMubj/)}(h inc_nlinkh]j5)}(h inc_nlinkh]h inc_nlink}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjUhhhjghMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj|sb c.inc_nlinkasbuh1hhjubj)}(h h]h }(hjԕhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjUhhhjghMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjQhhhjghMubah}(h]jLah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjghMhjNhhubjc)}(hhh]h)}(h(directly increment an inode's link counth]h*directly increment an inode’s link count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjNhhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjehNhNubj)}(h**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. Currently, it is only here for parity with dec_nlink().h](h)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5ubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjZh]hstruct inode *inode}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjTubj)}(hhh]h)}(hinodeh]hinode}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjQubah}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5ubh)}(hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. Currently, it is only here for parity with dec_nlink().h]hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. Currently, it is only here for parity with dec_nlink().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_sb_list_add (C function)c.inode_sb_list_addhNtauh1hhjehhhNhNubh)}(hhh](j)}(h,void inode_sb_list_add (struct inode *inode)h]j)}(h+void inode_sb_list_add(struct inode *inode)h](j+)}(hvoidh]hvoid}(hjږhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj֖hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj֖hhhjhMmubj/)}(hinode_sb_list_addh]j5)}(hinode_sb_list_addh]hinode_sb_list_add}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj֖hhhjhMmubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j)}jjsbc.inode_sb_list_addasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjchhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj֖hhhjhMmubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjҖhhhjhMmubah}(h]j͖ah ](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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMmhjhhubah}(h]h ]h"]h$]h&]uh1jbhjϖhhhjhMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(h6**Parameters** ``struct inode *inode`` inode to addh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMqhjubj)}(hhh]j)}(h$``struct inode *inode`` inode to addh](j)}(h``struct inode *inode``h]j)}(hjۗh]hstruct inode *inode}(hjݗhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٗubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMshj՗ubj)}(hhh]h)}(h inode to addh]h inode to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMnhjubah}(h]h ]h"]h$]h&]uh1jhj՗ubeh}(h]h ]h"]h$]h&]uh1jhjhMshjҗubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __insert_inode_hash (C function)c.__insert_inode_hashhNtauh1hhjehhhNhNubh)}(hhh](j)}(hEvoid __insert_inode_hash (struct inode *inode, unsigned long hashval)h]j)}(hDvoid __insert_inode_hash(struct inode *inode, unsigned long hashval)h](j+)}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj1hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjChMubj/)}(h__insert_inode_hashh]j5)}(h__insert_inode_hashh]h__insert_inode_hash}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhjChMubj)}(h,(struct inode *inode, unsigned long hashval)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjXsbc.__insert_inode_hashasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjnubj5)}(hinodeh]hinode}(hj˘hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hunsigned long hashvalh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(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&]noemphjLjMuh1jhjjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj1hhhjChMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhjChMubah}(h]j(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChMhj*hhubjc)}(hhh]h)}(h hash an inodeh]h hash an inode}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjChhubah}(h]h ]h"]h$]h&]uh1jbhj*hhhjChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjehNhNubj)}(h**Parameters** ``struct inode *inode`` unhashed inode ``unsigned long hashval`` unsigned long value used to locate this object in the inode_hashtable. Add an inode to the inode hash for this superblock.h](h)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjbubj)}(hhh](j)}(h'``struct inode *inode`` unhashed inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hunhashed inodeh]hunhashed inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj~ubj)}(h``unsigned long hashval`` unsigned long value used to locate this object in the inode_hashtable. Add an inode to the inode hash for this superblock.h](j)}(h``unsigned long hashval``h]j)}(hjh]hunsigned long hashval}(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)}(hFunsigned long value used to locate this object in the inode_hashtable.h]hFunsigned long value used to locate this object in the inode_hashtable.}(hjٙhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj֙ubh)}(h3Add an inode to the inode hash for this superblock.h]h3Add an inode to the inode hash for this superblock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj֙ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjՙhMhj~ubeh}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __remove_inode_hash (C function)c.__remove_inode_hashhNtauh1hhjehhhNhNubh)}(hhh](j)}(h.void __remove_inode_hash (struct inode *inode)h]j)}(h-void __remove_inode_hash(struct inode *inode)h](j+)}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj%hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%hhhj7hMubj/)}(h__remove_inode_hashh]j5)}(h__remove_inode_hashh]h__remove_inode_hash}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj%hhhj7hMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjLsbc.__remove_inode_hashasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjbubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^ubah}(h]h ]h"]h$]h&]jLjMuh1jhj%hhhj7hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj!hhhj7hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj7hMhjhhubjc)}(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&]uh1jbhjhhhj7hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(ha**Parameters** ``struct inode *inode`` inode to unhash Remove an inode from the superblock.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(hM``struct inode *inode`` inode to unhash Remove an inode from the superblock.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)}(hinode to unhashh]hinode to unhash}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj@ubh)}(h$Remove an inode from the superblock.h]h$Remove an inode from the superblock.}(hjRhhhNhNubah}(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&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hevict_inodes (C function)c.evict_inodeshNtauh1hhjehhhNhNubh)}(hhh](j)}(h*void evict_inodes (struct super_block *sb)h]j)}(h)void evict_inodes(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]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]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjЛhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj̛ubj)}(h h]h }(hjݛhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj̛ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.evict_inodesasbuh1hhj̛ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj̛ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj̛ubj5)}(hsbh]hsb}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̛ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjțubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMZubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMZhjhhubjc)}(hhh]h)}(h+evict all evictable inodes for a superblockh]h+evict all evictable inodes for a superblock}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZhjPhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjehNhNubj)}(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)}(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:29: ./fs/inode.chM^hjoubj)}(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[hjubj)}(hhh]h)}(hsuperblock to operate onh]hsuperblock to operate on}(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&]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:29: ./fs/inode.chM]hjoubh)}(hMake sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having SB_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.h]hMake sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having SB_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM]hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnew_inode (C function) c.new_inodehNtauh1hhjehhhNhNubh)}(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 }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj!hMjubh)}(hhh]j5)}(hinodeh]hinode}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}j new_inodesb c.new_inodeasbuh1hhjhhhj!hMjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj!hMjubjX)}(hj[h]h*}(hjbhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhj!hMjubj/)}(h new_inodeh]j5)}(hjQh]h new_inode}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj!hMjubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jO c.new_inodeasbuh1hhjubj)}(h h]h }(hjʝhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj؝hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj!hMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj!hMjubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!hMjhj hhubjc)}(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.chMjhj hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj!hMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjehNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock 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)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMnhj+ubj)}(hhh]j)}(hX``struct super_block *sb`` superblock 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](j)}(h``struct super_block *sb``h]j)}(hjPh]hstruct super_block *sb}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMqhjJubj)}(hhh](h)}(h superblockh]h superblock}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMkhjfubh)}(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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMmhjfubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMqhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunlock_new_inode (C function)c.unlock_new_inodehNtauh1hhjehhhNhNubh)}(hhh](j)}(h+void unlock_new_inode (struct inode *inode)h]j)}(h*void unlock_new_inode(struct inode *inode)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]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ǞhMubj/)}(hunlock_new_inodeh]j5)}(hunlock_new_inodeh]hunlock_new_inode}(hjڞhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj֞ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjǞhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjܞsbc.unlock_new_inodeasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjBhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjǞhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjǞhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjǞhMhjhhubjc)}(hhh]h)}(h-clear the I_NEW state and wake up any waitersh]h-clear the I_NEW state and wake up any waiters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjǞhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(h**Parameters** ``struct inode *inode`` new inode to unlock **Description** Called when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h,``struct inode *inode`` new inode to unlock h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hnew inode to unlockh]hnew inode to unlock}(hjӟhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjϟhMhjПubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϟhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hCalled when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.h]hCalled when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$lock_two_nondirectories (C function)c.lock_two_nondirectorieshNtauh1hhjehhhNhNubh)}(hhh](j)}(hIvoid lock_two_nondirectories (struct inode *inode1, struct inode *inode2)h]j)}(hHvoid lock_two_nondirectories(struct inode *inode1, struct inode *inode2)h](j+)}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj6hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6hhhjHhMubj/)}(hlock_two_nondirectoriesh]j5)}(hlock_two_nondirectoriesh]hlock_two_nondirectories}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj6hhhjHhMubj)}(h,(struct inode *inode1, struct inode *inode2)h](j)}(hstruct inode *inode1h](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj]sbc.lock_two_nondirectoriesasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubjX)}(hj[h]h*}(hjàhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjsubj5)}(hinode1h]hinode1}(hjРhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(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 reftargetj modnameN classnameNjj)}j]jc.lock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj3hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinode2h]hinode2}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubeh}(h]h ]h"]h$]h&]jLjMuh1jhj6hhhjHhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2hhhjHhMubah}(h]j-ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjHhMhj/hhubjc)}(hhh]h)}(h+take two i_mutexes on non-directory objectsh]h+take two i_mutexes on non-directory objects}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjghhubah}(h]h ]h"]h$]h&]uh1jbhj/hhhjHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``struct inode *inode2`` second inode to lock h](j)}(h``struct inode *inode2``h]j)}(hjh]hstruct inode *inode2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjޡubj)}(hhh]h)}(hsecond inode to lockh]hsecond inode to lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjޡubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&unlock_two_nondirectories (C function)c.unlock_two_nondirectorieshNtauh1hhjehhhNhNubh)}(hhh](j)}(hKvoid unlock_two_nondirectories (struct inode *inode1, struct inode *inode2)h]j)}(hJvoid unlock_two_nondirectories(struct inode *inode1, struct inode *inode2)h](j+)}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj`hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`hhhjrhMubj/)}(hunlock_two_nondirectoriesh]j5)}(hunlock_two_nondirectoriesh]hunlock_two_nondirectories}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj`hhhjrhMubj)}(h,(struct inode *inode1, struct inode *inode2)h](j)}(hstruct inode *inode1h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.unlock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hjߢhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinode1h]hinode1}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inode2h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]jۢc.unlock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj]hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinode2h]hinode2}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj`hhhjrhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj\hhhjrhMubah}(h]jWah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjrhMhjYhhubjc)}(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&]uh1jbhjYhhhjrhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hs**Parameters** ``struct inode *inode1`` first inode to unlock ``struct inode *inode2`` second inode to unlockh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h/``struct inode *inode1`` first inode to unlock h](j)}(h``struct inode *inode1``h]j)}(hjգh]hstruct inode *inode1}(hjףhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӣubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjϣubj)}(hhh]h)}(hfirst inode to unlockh]hfirst inode to unlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjϣubeh}(h]h ]h"]h$]h&]uh1jhjhMhj̣ubj)}(h/``struct inode *inode2`` second inode to unlockh](j)}(h``struct inode *inode2``h]j)}(hjh]hstruct inode *inode2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hsecond inode to unlockh]hsecond inode to unlock}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj̣ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_insert5 (C function)c.inode_insert5hNtauh1hhjehhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdhhhjuhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j inode_insert5sbc.inode_insert5asbuh1hhjdhhhjuhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdhhhjuhMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjdhhhjuhMubj/)}(h inode_insert5h]j5)}(hjh]h inode_insert5}(hjǤhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjäubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjdhhhjuhMubj)}(h}(struct inode *inode, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjޤubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjޤubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.inode_insert5asbuh1hhjޤubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjޤubjX)}(hj[h]h*}(hj,hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjޤubj5)}(hinodeh]hinode}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjޤubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjڤubj)}(hunsigned long hashvalh](j+)}(hunsignedh]hunsigned}(hjRhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjNubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj+)}(hlongh]hlong}(hjnhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjNubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjڤubj)}(h!int (*test)(struct inode*, void*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(h(h]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjͥhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htesth]htest}(hjڥhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(h)h]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj )}(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_insert5asbuh1hhjubjX)}(hj[h]h*}(hj?hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(h,h]h,}(hjLhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubjX)}(hj[h]h*}(hjvhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjڤubj)}(h int (*set)(struct inode*, void*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjĦhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hseth]hset}(hjѦhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjh]h)}(hjߦhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj )}(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_insert5asbuh1hhjubjX)}(hj[h]h*}(hj5hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjNh]h,}(hjBhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubjX)}(hj[h]h*}(hjkhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h)}(hjxhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjڤubj)}(h void *datah](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjڤubeh}(h]h ]h"]h$]h&]jLjMuh1jhjdhhhjuhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj`hhhjuhMubah}(h]j[ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjuhMhj]hhubjc)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj]hhhjuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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)}(hj$h]hstruct inode *inode}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h.pre-allocated inode to use for insert to cacheh]h.pre-allocated inode to use for insert to cache}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hj]h]hunsigned long hashval}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjWubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubj)}(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&]uh1jhjhMhjubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjϨh]h"int (*set)(struct inode *, void *)}(hjѨhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͨubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjɨubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjɨubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjh]h void *data}(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)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hj!hhhNhNubj)}(h**test**h]htest}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh and }(hj!hhhNhNubj)}(h**set**h]hset}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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 }(hjyhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh and }(hjyhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh 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.}(hjyhhhNhNubeh}(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 }(hjhhhNhNubj)}(h**test**h]htest}(hjéhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hjթhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA are called with the inode_hash_lock held, so they can’t sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet5_locked (C function)c.iget5_lockedhNtauh1hhjehhhNhNubh)}(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 hj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM2ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhM2ubh)}(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_lockedasbuh1hhj hhhjhM2ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhM2ubjX)}(hj[h]h*}(hj\hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj hhhjhM2ubj/)}(h iget5_lockedh]j5)}(hjKh]h iget5_locked}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhM2ubj)}(h(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jIc.iget5_lockedasbuh1hhjubj)}(h h]h }(hjĪhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjҪhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hjߪhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long hashvalh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h!int (*test)(struct inode*, void*)h](j+)}(hinth]hint}(hjIhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjEubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubjX)}(hjh]h(}(hjehhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjEubjX)}(hj[h]h*}(hjrhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjEubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjEubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjEubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubh)}(hhh]j5)}(hinodeh]hinode}(hjūhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj«ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjǫmodnameN classnameNjj)}j]jIc.iget5_lockedasbuh1hhjEubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjEubjX)}(hjNh]h,}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj+)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjEubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjEubjX)}(hjh]h)}(hj&hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int (*set)(struct inode*, void*)h](j+)}(hinth]hint}(hj>hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj:ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubjX)}(hjh]h(}(hjZhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubjX)}(hj[h]h*}(hjghhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubj5)}(hseth]hset}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jIc.iget5_lockedasbuh1hhj:ubjX)}(hj[h]h*}(hjجhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubjX)}(hjNh]h,}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj:ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j+)}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj/ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubjX)}(hj[h]h*}(hjOhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj/ubj5)}(hdatah]hdata}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhM2ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM2ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM2hjhhubjc)}(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.chM2hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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.chM6hjubj)}(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.chM3hjubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjܭhM3hjݭubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܭhM3hjubj)}(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.chM4hjubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hj9h]h#int (*test)(struct inode *, void *)}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM5hj3ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhM5hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM5hjubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjrh]h"int (*set)(struct inode *, void *)}(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.chM6hjlubj)}(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&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(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.chM7hjubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjĮhhhNhNubj)}(h**test**h]htest}(hj̮hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĮubh and }(hjĮhhhNhNubj)}(h**set**h]hset}(hjޮhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĮubeh}(h]h ]h"]h$]h&]uh1hhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubeh}(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.chM9hjubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM9hjubh)}(hIf the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h]hIf the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().}(hjOhhhNhNubah}(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 }(hj^hhhNhNubj)}(h**test**h]htest}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh and }(hj^hhhNhNubj)}(h**set**h]hset}(hjxhhhNhNubah}(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.chMBhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet5_locked_rcu (C function)c.iget5_locked_rcuhNtauh1hhjehhhNhNubh)}(hhh](j)}(hstruct inode * iget5_locked_rcu (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)h]j)}(hstruct inode *iget5_locked_rcu(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMYubh)}(hhh]j5)}(hinodeh]hinode}(hjЯhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjͯubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjүmodnameN classnameNjj)}j]j)}jiget5_locked_rcusbc.iget5_locked_rcuasbuh1hhjhhhjhMYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMYubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhMYubj/)}(higet5_locked_rcuh]j5)}(hjh]higet5_locked_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMYubj)}(h(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj)}j]jc.iget5_locked_rcuasbuh1hhj'ubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubjX)}(hj[h]h*}(hjuhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj'ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(hunsigned long hashvalh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjŰhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hjӰhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(h!int (*test)(struct inode*, void*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htesth]htest}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjh]h)}(hj0hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h(}(hj=hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]jc.iget5_locked_rcuasbuh1hhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjNh]h,}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h)}(hjɱhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(h int (*set)(struct inode*, void*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjݱubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݱubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjݱubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjݱubj5)}(hseth]hset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjݱubjX)}(hjh]h)}(hj%hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjݱubjX)}(hjh]h(}(hj2hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjݱ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.iget5_locked_rcuasbuh1hhjݱubjX)}(hj[h]h*}(hj{hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjݱubjX)}(hjNh]h,}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjݱubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݱubj+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjݱubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjݱubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjݱubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(h void *datah](j+)}(hvoidh]hvoid}(hjֲhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjҲubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjҲubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjҲubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjҲubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMYubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMYubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMYhjhhubjc)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMYhj&hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjehNhNubj)}(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)}(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.chM]hjEubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system 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.chMZhjdubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjaubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hjh]hunsigned long hashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM[hjubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjaubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjܳh]h#int (*test)(struct inode *, void *)}(hj޳hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڳubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM\hjֳubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjֳubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjaubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjh]h"int (*set)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM]hjubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hM]hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM]hjaubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjNh]h void *data}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM^hjHubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjghhhNhNubj)}(h**test**h]htest}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh and }(hjghhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1hhjchM^hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM^hjaubeh}(h]h ]h"]h$]h&]uh1jhjEubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM`hjEubh)}(hThis is equivalent to iget5_locked, except the **test** callback must tolerate the inode not being stable, including being mid-teardown.h](h/This is equivalent to iget5_locked, except the }(hjhhhNhNubj)}(h**test**h]htest}(hjǴhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhQ callback must tolerate the inode not being stable, including being mid-teardown.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM`hjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet_locked (C function) c.iget_lockedhNtauh1hhjehhhNhNubh)}(hhh](j)}(hFstruct inode * iget_locked (struct super_block *sb, unsigned long ino)h]j)}(hDstruct inode *iget_locked(struct super_block *sb, unsigned long ino)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]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)}j iget_lockedsb c.iget_lockedasbuh1hhjhhhj hMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubjX)}(hj[h]h*}(hjNhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhj hMubj/)}(h iget_lockedh]j5)}(hj=h]h iget_locked}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj)}(h+(struct super_block *sb, unsigned long ino)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j; c.iget_lockedasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubjX)}(hj[h]h*}(hjĵhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjvubj5)}(hsbh]hsb}(hjѵhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubj)}(hunsigned long inoh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(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&]noemphjLjMuh1jhjrubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjehNhNubj)}(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)}(hjnh]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhubj)}(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.chMhjubj)}(hhh]h)}(hinode number to geth]hinode number to get}(hj߶hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj۶hMhjܶubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj۶hMhjubeh}(h]h ]h"]h$]h&]uh1jhjhubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhubh)}(hSearch for the inode specified by **ino** in the inode cache and if present return it with an increased reference count. This is for file systems where the inode number is sufficient for unique identification of an inode.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h**ino**h]hino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh in the inode cache and if present return it with an increased reference count. This is for file systems where the inode number is sufficient for unique identification of an inode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhubh)}(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().}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hiunique (C function) c.iuniquehNtauh1hhjehhhNhNubh)}(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}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]j)}jiuniquesb c.iuniqueasbuh1hhjchhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjchhhjhMubj/)}(hiuniqueh]j5)}(hjh]hiunique}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjchhhjhMubj)}(h,(struct super_block *sb, ino_t max_reserved)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjƷhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj׷hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjԷubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjٷmodnameN classnameNjj)}j]j c.iuniqueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hino_t max_reservedh](h)}(hhh]j5)}(hino_th]hino_t}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNjj)}j]j c.iuniqueasbuh1hhj%ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj5)}(h max_reservedh]h max_reserved}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjchhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj_hhhjhMubah}(h]jZah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj\hhubjc)}(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&]uh1jbhj\hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock ``ino_t max_reserved`` highest reserved inode number 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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h superblockh]h superblock}(hjܸhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjظhMhjٸubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjظhMhjubj)}(hX``ino_t max_reserved`` highest reserved inode number 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](j)}(h``ino_t max_reserved``h]j)}(hjh]hino_t max_reserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](h)}(hhighest reserved inode numberh]hhighest reserved inode number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique.h]hObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hgBUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h]hgBUGS: With a large number of inodes live on the file system this function currently becomes quite slow.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup5_nowait (C function)c.ilookup5_nowaithNtauh1hhjehhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jilookup5_nowaitsbc.ilookup5_nowaitasbuh1hhjphhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjhMubjX)}(hj[h]h*}(hj¹hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjphhhjhMubj/)}(hilookup5_nowaith]j5)}(hjh]hilookup5_nowait}(hjӹhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjϹubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjphhhjhMubj)}(h^(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.ilookup5_nowaitasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj8hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long hashvalh](j+)}(hunsignedh]hunsigned}(hj^hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjZubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj+)}(hlongh]hlong}(hjzhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h!int (*test)(struct inode*, void*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hjh]h(}(hj˺hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjغhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj )}(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.ilookup5_nowaitasbuh1hhjubjX)}(hj[h]h*}(hjIhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjNh]h,}(hjVhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdatah]hdata}(hjͻhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjphhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlhhhjhMubah}(h]jgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjihhubjc)}(hhh]h)}(h&search for an inode in the inode cacheh]h&search for an inode in the inode cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjihhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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. Note2: **test** is called with the inode_hash_lock held, so can't sleep. **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.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)}(hj8h]hstruct super_block *sb}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj2ubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj/ubj)}(hJ``unsigned long hashval`` hash value (usually inode number) to search for h](j)}(h``unsigned long hashval``h]j)}(hjqh]hunsigned long hashval}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjkubj)}(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&]uh1jhjkubeh}(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}(hjühhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj/ubj)}(h7``void *data`` opaque data pointer to pass to **test** h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjݼubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjݼubeh}(h]h ]h"]h$]h&]uh1jhjhMhj/ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hSearch for the inode 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 }(hjBhhhNhNubj)}(h **hashval**h]hhashval}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh and }(hjBhhhNhNubj)}(h**data**h]hdata}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubhm in the inode cache. If the inode is in the cache, the inode is returned with an incremented reference count.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hHNote2: **test** is called with the inode_hash_lock held, so can't sleep.h](hNote2: }(hjuhhhNhNubj)}(h**test**h]htest}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh; is called with the inode_hash_lock held, so can’t sleep.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM!hjubh)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM#hjubh)}(hI_NEW is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5() instead.h]hI_NEW is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5() instead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM!hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup5 (C function) c.ilookup5hNtauh1hhjehhhNhNubh)}(hhh](j)}(hxstruct inode * ilookup5 (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), void *data)h]j)}(htstruct inode *ilookup5(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjݽhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjٽhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM5ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjٽhhhjhM5ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jilookup5sb c.ilookup5asbuh1hhjٽhhhjhM5ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjٽhhhjhM5ubjX)}(hj[h]h*}(hj+hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjٽhhhjhM5ubj/)}(hilookup5h]j5)}(hjh]hilookup5}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjٽhhhjhM5ubj)}(h^(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(h super_blockh]h super_block}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]j c.ilookup5asbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjSubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubj)}(hunsigned long hashvalh](j+)}(hunsignedh]hunsigned}(hjǾhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjþubj)}(h h]h }(hjվhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjþubj+)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjþ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&]noemphjLjMuh1jhjOubj)}(h!int (*test)(struct inode*, void*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hjh]h(}(hj4hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjAhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htesth]htest}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjh]h)}(hj\hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h(}(hjihhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj )}(hjzh]hstruct}(hjvhhhNhNubah}(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.ilookup5asbuh1hhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjNh]h,}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(h h]h }(hj̿hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hjڿhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubj)}(h void *datah](j+)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hj)hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(hdatah]hdata}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubeh}(h]h ]h"]h$]h&]jLjMuh1jhjٽhhhjhM5ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjսhhhjhM5ubah}(h]jнah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM5hjҽhhubjc)}(hhh]h)}(h&search for an inode in the inode cacheh]h&search for an inode in the inode cache}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM5hj]hhubah}(h]h ]h"]h$]h&]uh1jbhjҽhhhjhM5ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhjehNhNubj)}(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.chM9hj|ubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM6hjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(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.chM7hjubj)}(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&]uh1hhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(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.chM8hj ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hM8hj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hM8hjubj)}(h7``void *data`` opaque data pointer to pass to **test** h](j)}(h``void *data``h]j)}(hjLh]h void *data}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM9hjFubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hjehhhNhNubj)}(h**test**h]htest}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1hhjahM9hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahM9hjubeh}(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)}(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.chM;hj|ubh)}(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@hj|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:29: ./fs/inode.chMChj|ubh)}(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&]uh1jhjubh; is called with the inode_hash_lock held, so can’t sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMChj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup (C function) c.ilookuphNtauh1hhjehhhNhNubh)}(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}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMWubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhjOhMWubh)}(hhh]j5)}(hinodeh]hinode}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]j)}jilookupsb c.ilookupasbuh1hhj>hhhjOhMWubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhjOhMWubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj>hhhjOhMWubj/)}(hilookuph]j5)}(hjh]hilookup}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhjOhMWubj)}(h+(struct super_block *sb, unsigned long ino)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j} c.ilookupasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long inoh](j+)}(hunsignedh]hunsigned}(hj,hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj(ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj+)}(hlongh]hlong}(hjHhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj(ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj5)}(hinoh]hino}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj>hhhjOhMWubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhjOhMWubah}(h]j5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjOhMWhj7hhubjc)}(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.chMWhjhhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhjOhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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.chM[hjubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMXhjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h1``unsigned long ino`` inode number to search for h](j)}(h``unsigned long ino``h]j)}(hjh]hunsigned long ino}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMYhjubj)}(hhh]h)}(hinode number to search forh]hinode number to search for}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjCh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM[hjubh)}(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 }(hjYhhhNhNubj)}(h**ino**h]hino}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubhq in the inode cache, and if the inode is in the cache, the inode is returned with an incremented reference count.}(hjYhhhNhNubeh}(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&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfind_inode_nowait (C function)c.find_inode_nowaithNtauh1hhjehhhNhNubh)}(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.chMsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMsubh)}(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_nowaitasbuh1hhjhhhjhMsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMsubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhMsubj/)}(hfind_inode_nowaith]j5)}(hjh]hfind_inode_nowait}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMsubj)}(hn(struct super_block *sb, unsigned long hashval, int (*match)(struct inode*, unsigned long, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]jc.find_inode_nowaitasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj^hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hunsigned long hashvalh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h1int (*match)(struct inode*, unsigned long, void*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hmatchh]hmatch}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h(}(hj&hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]jc.find_inode_nowaitasbuh1hhjubjX)}(hj[h]h*}(hjohhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjNh]h,}(hj|hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubjX)}(hjNh]h,}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h void *datah](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hj+hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(hdatah]hdata}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMsubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMsubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMshjhhubjc)}(hhh]h)}(h find an inode in the inode cacheh]h find an inode in the inode cache}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMshj_hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjehNhNubj)}(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.chMwhj~ubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMthjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubj)}(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.chMuhjubj)}(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&]uh1hhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubj)}(he``int (*match)(struct inode *, unsigned long, void *)`` callback used for comparisons between inodes h](j)}(h7``int (*match)(struct inode *, unsigned long, void *)``h]j)}(hjh]h3int (*match)(struct inode *, unsigned long, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMvhjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMvhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMvhjubj)}(h8``void *data`` opaque data pointer to pass to **match** h](j)}(h``void *data``h]j)}(hjNh]h void *data}(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.chMwhjHubj)}(hhh]h)}(h(opaque data pointer to pass to **match**h](hopaque data pointer to pass to }(hjghhhNhNubj)}(h **match**h]hmatch}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1hhjchMwhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMwhjubeh}(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.chMyhj~ubh)}(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}(hjhhhNhNubah}(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.chMyhj~ubh)}(hXYThis is a even more generalized version of ilookup5() when the function must never block --- find_inode() can block in __wait_on_freeing_inode() --- or when the caller can not increment the reference count because the resulting iput() might cause an inode eviction. The tradeoff is that the **match** funtion must be very carefully implemented.h](hX$This is a even more generalized version of ilookup5() when the function must never block --- find_inode() can block in __wait_on_freeing_inode() --- or when the caller can not increment the reference count because the resulting iput() might cause an inode eviction. The tradeoff is that the }(hjhhhNhNubj)}(h **match**h]hmatch}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, funtion must be very carefully implemented.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfind_inode_rcu (C function)c.find_inode_rcuhNtauh1hhjehhhNhNubh)}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAhhhjRhMubh)}(hhh]j5)}(hinodeh]hinode}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]j)}jfind_inode_rcusbc.find_inode_rcuasbuh1hhjAhhhjRhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAhhhjRhMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjAhhhjRhMubj/)}(hfind_inode_rcuh]j5)}(hjh]hfind_inode_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjAhhhjRhMubj)}(h^(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.find_inode_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long hashvalh](j+)}(hunsignedh]hunsigned}(hj/hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj+ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj+)}(hlongh]hlong}(hjKhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj+ubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj5)}(hhashvalh]hhashval}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h!int (*test)(struct inode*, void*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.find_inode_rcuasbuh1hhj|ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubjX)}(hjNh]h,}(hj'hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj+)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj|ubjX)}(hj[h]h*}(hjPhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubjX)}(hjh]h)}(hj]hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j+)}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjqubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjAhhhjRhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=hhhjRhMubah}(h]j8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRhMhj:hhubjc)}(hhh]h)}(h find an inode in the inode cacheh]h find an inode in the inode cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj:hhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$Super block of file system to searchh]h$Super block of file system to search}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``unsigned long hashval`` Key to hash h](j)}(h``unsigned long hashval``h]j)}(hjBh]hunsigned long hashval}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj<ubj)}(hhh]h)}(h Key to hashh]h Key to hash}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(hK``int (*test)(struct inode *, void *)`` Function to test match on an inode h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hj{h]h#int (*test)(struct inode *, void *)}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjuubj)}(hhh]h)}(h"Function to test match on an inodeh]h"Function to test match on an inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``void *data`` Data for test function h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hData for test functionh]hData for test function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hX<Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ in the inode cache, where the helper function }(hjhhhNhNubj)}(h**test**h]htest}(hj1hhhNhNubah}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hhIf successful, this will return the inode for which the **test** function returned 1 and NULL otherwise.h](h8If successful, this will return the inode for which the }(hj\hhhNhNubj)}(h**test**h]htest}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh( function returned 1 and NULL otherwise.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hoThe **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.h](hThe }(hj}hhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubhc function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"find_inode_by_ino_rcu (C function)c.find_inode_by_ino_rcuhNtauh1hhjehhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jfind_inode_by_ino_rcusbc.find_inode_by_ino_rcuasbuh1hhjhhhjhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhMubj/)}(hfind_inode_by_ino_rcuh]j5)}(hj h]hfind_inode_by_ino_rcu}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h+(struct super_block *sb, unsigned long ino)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(h super_blockh]h super_block}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]jc.find_inode_by_ino_rcuasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjCubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj?ubj)}(hunsigned long inoh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hinoh]hino}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj?ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h Find an inode in the inode cacheh]h Find an inode in the inode cache}(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&]jjjj1jj1jjjuh1hhhhjehNhNubj)}(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)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5ubj)}(hhh](j)}(h@``struct super_block *sb`` Super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjZh]hstruct super_block *sb}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjTubj)}(hhh]h)}(h$Super block of file system to searchh]h$Super block of file system to search}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjQubj)}(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&]uh1jhjhMhjQubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5ubh)}(hX<Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ in the inode cache, where the helper function }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB will return 0 if the inode does not match and 1 if it does. The }(hjhhhNhNubj)}(h**test**h]htest}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5ubh)}(hhIf successful, this will return the inode for which the **test** function returned 1 and NULL otherwise.h](h8If successful, this will return the inode for which the }(hj;hhhNhNubj)}(h**test**h]htest}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh( function returned 1 and NULL otherwise.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5ubh)}(hoThe **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.h](hThe }(hj\hhhNhNubj)}(h**test**h]htest}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubhc function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5ubh)}(h'The caller must hold the RCU read lock.h]h'The caller must hold the RCU read lock.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hiput (C function)c.iputhNtauh1hhjehhhNhNubh)}(hhh](j)}(hvoid iput (struct inode *inode)h]j)}(hvoid iput(struct inode *inode)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMnubj/)}(hiputh]j5)}(hiputh]hiput}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMnubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jjsbc.iputasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj5hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMnubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMnubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMnhjhhubjc)}(hhh]h)}(h put an inodeh]h put an inode}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMnhjihhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(h**Parameters** ``struct inode *inode`` inode to put 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.chMrhjubj)}(hhh]j)}(h``struct inode *inode`` inode to put 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](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 puth]h inode to put}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMohjubh)}(h}Puts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed.h]h}Puts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMqhjubh)}(hConsequently, iput() can sleep.h]hConsequently, iput() can sleep.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMthjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbmap (C function)c.bmaphNtauh1hhjehhhNhNubh)}(hhh](j)}(h/int bmap (struct inode *inode, sector_t *block)h]j)}(h.int bmap(struct inode *inode, sector_t *block)h](j+)}(hinth]hint}(hj%hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj!hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!hhhj3hMubj/)}(hbmaph]j5)}(hbmaph]hbmap}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!hhhj3hMubj)}(h&(struct inode *inode, sector_t *block)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjHsbc.bmapasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj^ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubj)}(hsector_t *blockh](h)}(hhh]j5)}(hsector_th]hsector_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bmapasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hblockh]hblock}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubeh}(h]h ]h"]h$]h&]jLjMuh1jhj!hhhj3hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj3hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj3hMhjhhubjc)}(hhh]h)}(hfind a block number in a fileh]hfind a block number in a file}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjehNhNubj)}(hXD**Parameters** ``struct inode *inode`` inode owning the block number being requested ``sector_t *block`` pointer containing the block to find 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)}(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)}(hF``struct inode *inode`` inode owning the block number being requested 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)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(hX``sector_t *block`` pointer containing the block to find 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](j)}(h``sector_t *block``h]j)}(hjh]hsector_t *block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](h)}(h$pointer containing the block to findh]h$pointer containing the block to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hX(Replaces the value in ``*block`` with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in ``*block``, with disk block relative to the disk start that holds that block of the file.h](hReplaces the value in }(hjhhhNhNubj)}(h ``*block``h]h*block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in }(hjhhhNhNubj)}(h ``*block``h]h*block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhO, with disk block relative to the disk start that holds that block of the file.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hwReturns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and ``*block`` is also set to 0.h](h[Returns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and }(hjhhhNhNubj)}(h ``*block``h]h*block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is also set to 0.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$inode_update_timestamps (C function)c.inode_update_timestampshNtauh1hhjehhhNhNubh)}(hhh](j)}(hhhubjc)}(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] hjhhubah}(h]h ]h"]h$]h&]uh1jbhj>hhhjWhM] ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjehNhNubj)}(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)}(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.chMa hj%ubj)}(hhh]j)}(h.``struct kiocb *iocb`` iocb that was modified h](j)}(h``struct kiocb *iocb``h]j)}(hjJh]hstruct kiocb *iocb}(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.chM^ hjDubj)}(hhh]h)}(hiocb that was modifiedh]hiocb that was modified}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hM^ hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM^ hjAubah}(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)}(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` hj%ubh)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMc hj%ubh)}(h'Caller must hold the file's inode lock.h]h)Caller must hold the file’s inode lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMc 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.chMe 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.chMe hj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_init_owner (C function)c.inode_init_ownerhNtauh1hhjehhhNhNubh)}(hhh](j)}(hkvoid inode_init_owner (struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h]j)}(hjvoid inode_init_owner(struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj&hM ubj/)}(hinode_init_ownerh]j5)}(hinode_init_ownerh]hinode_init_owner}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj&hM ubj)}(hU(struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j)}jj;sbc.inode_init_ownerasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjQubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.inode_init_ownerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(hconst struct inode *dirh](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]jc.inode_init_ownerasbuh1hhj3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj3ubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.inode_init_ownerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj&hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj&hM ubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj&hM hj hhubjc)}(hhh]h)}(hhhhjThM3 ubah}(h]j9ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjThM3 hj;hhubjc)}(hhh]h)}(h+wait for outstanding DIO requests to finishh]h+wait for outstanding DIO requests to finish}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM3 hjhhubah}(h]h ]h"]h$]h&]uh1jbhj;hhhjThM3 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX/**Parameters** ``struct inode *inode`` inode to wait for **Description** Waits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation. Must be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_mutex.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.chM7 hj"ubj)}(hhh]j)}(h*``struct inode *inode`` inode to wait for h](j)}(h``struct inode *inode``h]j)}(hjGh]hstruct inode *inode}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM4 hjAubj)}(hhh]h)}(hinode to wait forh]hinode to wait for}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hM4 hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM4 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.chM6 hj"ubh)}(hsWaits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.h]hsWaits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM6 hj"ubh)}(hlMust be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_mutex.h]hlMust be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_mutex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM9 hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](htimestamp_truncate (C function)c.timestamp_truncatehNtauh1hhjehhhNhNubh)}(hhh](j)}(hOstruct timespec64 timestamp_truncate (struct timespec64 t, struct inode *inode)h]j)}(hNstruct timespec64 timestamp_truncate(struct timespec64 t, struct inode *inode)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMr ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMr ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jtimestamp_truncatesbc.timestamp_truncateasbuh1hhjhhhjhMr ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMr ubj/)}(htimestamp_truncateh]j5)}(hjh]htimestamp_truncate}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMr ubj)}(h*(struct timespec64 t, struct inode *inode)h](j)}(hstruct timespec64 th](j )}(hjzh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]jc.timestamp_truncateasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj5)}(hth]ht}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.timestamp_truncateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMr ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMr ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMr hjhhubjc)}(hhh]h)}(h"Truncate timespec to a granularityh]h"Truncate timespec to a granularity}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMr hj$hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMr ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjehNhNubj)}(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)}(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.chMv hjCubj)}(hhh](j)}(h!``struct timespec64 t`` Timespec h](j)}(h``struct timespec64 t``h]j)}(hjhh]hstruct timespec64 t}(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.chMs hjbubj)}(hhh]h)}(hTimespech]hTimespec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMs hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMs hj_ubj)}(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.c hMt hjubj)}(hhh]h)}(hinode being updatedh]hinode being updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMt hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMt hj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMv hjCubh)}(hTruncate a timespec to the granularity supported by the fs containing the inode. Always rounds down. gran must not be 0 nor greater than a second (NSEC_PER_SEC, or 10^9 ns).h]hTruncate a timespec to the granularity supported by the fs containing the inode. Always rounds down. gran must not be 0 nor greater than a second (NSEC_PER_SEC, or 10^9 ns).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMv hjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$inode_set_ctime_current (C function)c.inode_set_ctime_currenthNtauh1hhjehhhNhNubh)}(hhh](j)}(h?struct timespec64 inode_set_ctime_current (struct inode *inode)h]j)}(h>struct timespec64 inode_set_ctime_current(struct inode *inode)h](j )}(hjzh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj.hM ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]j)}jinode_set_ctime_currentsbc.inode_set_ctime_currentasbuh1hhjhhhj.hM ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj.hM ubj/)}(hinode_set_ctime_currenth]j5)}(hj^h]hinode_set_ctime_current}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj.hM ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j\c.inode_set_ctime_currentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj.hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj.hM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj.hM hjhhubjc)}(hhh]h)}(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 hj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj.hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjehNhNubj)}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj+ubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjPh]hstruct inode *inode}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjJubj)}(hhh]h)}(hinodeh]hinode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehM hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM hjGubah}(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)}(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 hj+ubh)}(hIf it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp.h]hIf it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj+ubh)}(hAfter that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.h]hAfter that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"inode_set_ctime_deleg (C function)c.inode_set_ctime_deleghNtauh1hhjehhhNhNubh)}(hhh](j)}(hWstruct timespec64 inode_set_ctime_deleg (struct inode *inode, struct timespec64 update)h]j)}(hVstruct timespec64 inode_set_ctime_deleg(struct inode *inode, struct timespec64 update)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jinode_set_ctime_delegsbc.inode_set_ctime_delegasbuh1hhjhhhjhM ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hinode_set_ctime_delegh]j5)}(hj+h]hinode_set_ctime_deleg}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h/(struct inode *inode, struct timespec64 update)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubh)}(hhh]j5)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j]j)c.inode_set_ctime_delegasbuh1hhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjWubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjSubj)}(hstruct timespec64 updateh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)c.inode_set_ctime_delegasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hupdateh]hupdate}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjSubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h,try to update the ctime on a delegated inodeh]h,try to update the ctime on a delegated inode}(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&]jjjjWjjWjjjuh1hhhhjehNhNubj)}(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)}(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:29: ./fs/inode.chM hj[ubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjzubj)}(hhh]h)}(hinode to updateh]hinode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM hjwubj)}(h9``struct timespec64 update`` timespec64 to set the ctime h](j)}(h``struct timespec64 update``h]j)}(hjh]hstruct timespec64 update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(htimespec64 to set the ctimeh]htimespec64 to set the ctime}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjwubeh}(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)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj[ubh)}(hThe nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that.h]hThe nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj[ubh)}(hXThis can race with concurrent updates to the inode, in which case the update is skipped.h]hXThis can race with concurrent updates to the inode, in which case the update is skipped.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj[ubh)}(hcNote that this works even when multigrain timestamps are not enabled, so it is used in either case.h]hcNote that this works even when multigrain timestamps are not enabled, so it is used in either case.}(hj7hhhNhNubah}(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&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h in_group_or_capable (C function)c.in_group_or_capablehNtauh1hhjehhhNhNubh)}(hhh](j)}(h^bool in_group_or_capable (struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h]j)}(h]bool in_group_or_capable(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h](j+)}(hj.h]hbool}(hjfhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjbhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM, ubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhjshM, 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.hjbhhhjshM, ubj)}(hE(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.in_group_or_capableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct inode *inodeh](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}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]jc.in_group_or_capableasbuh1hhjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjyhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hvfsgid_t vfsgidh](h)}(hhh]j5)}(hvfsgid_th]hvfsgid_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.in_group_or_capableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hvfsgidh]hvfsgid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjbhhhjshM, ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^hhhjshM, ubah}(h]jYah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjshM, hj[hhubjc)}(hhh]h)}(h-check whether caller is CAP_FSETID privilegedh]h-check whether caller is CAP_FSETID privileged}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM, hjhhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhjshM, ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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.chM0 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)}(hj9h]hstruct mnt_idmap *idmap}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM- hj3ubj)}(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&]uh1hhjNhM- hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM- hj0ubj)}(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. hj~ubj)}(hhh]h)}(hinode to checkh]hinode to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM. hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM. hj0ubj)}(h8``vfsgid_t vfsgid`` the new/current vfsgid of **inode** h](j)}(h``vfsgid_t vfsgid``h]j)}(hjh]hvfsgid_t vfsgid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM/ hjubj)}(hhh]h)}(h#the new/current vfsgid of **inode**h](hthe new/current vfsgid of }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhM/ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/ hj0ubeh}(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.chM1 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}(hj$hhhNhNubah}(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}(hj6hhhNhNubah}(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.chM1 hjubh)}(h **Return**h]j)}(hjQh]hReturn}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM5 hjubh)}(hubj)}(hhh](h)}(h inode to testh]h inode to test}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjZubh)}(h=Returns true if the inode in question has been marked as bad.h]h=Returns true if the inode in question has been marked as bad.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjZubeh}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhKhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet_failed (C function) c.iget_failedhNtauh1hhjehhhNhNubh)}(hhh](j)}(h&void iget_failed (struct inode *inode)h]j)}(h%void iget_failed(struct inode *inode)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(h iget_failedh]j5)}(h iget_failedh]h iget_failed}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jjsb c.iget_failedasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj6hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h7Mark an under-construction inode as dead and release ith]h7Mark an under-construction inode as dead and release it}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(h**Parameters** ``struct inode *inode`` The inode to discard **Description** Mark an under-construction inode as dead and release it.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]j)}(h-``struct inode *inode`` The inode to discard h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]h)}(hThe inode to discardh]hThe inode to discard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubh)}(h8Mark an under-construction inode as dead and release it.h]h8Mark an under-construction inode as dead and release it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubeh}(h]inode-handlingah ]h"]inode handlingah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hRegistration and Superblocksh]hRegistration and Superblocks}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK$ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$deactivate_locked_super (C function)c.deactivate_locked_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void deactivate_locked_super (struct super_block *s)h]j)}(h3void deactivate_locked_super(struct super_block *s)h](j+)}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjChhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjChhhjUhMubj/)}(hdeactivate_locked_superh]j5)}(hdeactivate_locked_superh]hdeactivate_locked_super}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjChhhjUhMubj)}(h(struct super_block *s)h]j)}(hstruct super_block *sh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjjsbc.deactivate_locked_superasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsh]hs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubah}(h]h ]h"]h$]h&]jLjMuh1jhjChhhjUhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj?hhhjUhMubah}(h]j:ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjUhMhj<hhubjc)}(hhh]h)}(h&drop an active reference to superblockh]h&drop an active reference to superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj<hhhjUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXr**Parameters** ``struct super_block *s`` superblock to deactivate Drops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired. Caller holds exclusive lock on superblock; that lock is released.h](h)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj#ubj)}(hhh]j)}(hXV``struct super_block *s`` superblock to deactivate 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](j)}(h``struct super_block *s``h]j)}(hjHh]hstruct super_block *s}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjBubj)}(hhh](h)}(hsuperblock to deactivateh]hsuperblock to deactivate}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj^ubh)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj^ubh)}(hACaller holds exclusive lock on superblock; that lock is released.h]hACaller holds exclusive lock on superblock; that lock is released.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdeactivate_super (C function)c.deactivate_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void deactivate_super (struct super_block *s)h]j)}(h,void deactivate_super(struct super_block *s)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdeactivate_superh]j5)}(hdeactivate_superh]hdeactivate_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct super_block *s)h]j)}(hstruct super_block *sh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.deactivate_superasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjIhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hjh]hs}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h&drop an active reference to superblockh]h&drop an active reference to superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj|hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct super_block *s`` superblock to deactivate Variant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]j)}(h``struct super_block *s`` superblock to deactivate 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](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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hVariant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h](h@Variant of deactivate_locked_super(), except that superblock is }(hjhhhNhNubj)}(h*not*h]hnot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhl 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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hretire_super (C function)c.retire_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h*void retire_super (struct super_block *sb)h]j)}(h)void retire_super(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj7hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM>ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhjIhM>ubj/)}(h retire_superh]j5)}(h retire_superh]h retire_super}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj7hhhjIhM>ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj^sbc.retire_superasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjtubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjpubah}(h]h ]h"]h$]h&]jLjMuh1jhj7hhhjIhM>ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj3hhhjIhM>ubah}(h]j.ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjIhM>hj0hhubjc)}(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&]uh1jbhj0hhhjIhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock to retire 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)}(hX``struct super_block *sb`` superblock to retire 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](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.chMJhj6ubj)}(hhh](h)}(hsuperblock to retireh]hsuperblock to retire}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM?hjRubh)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMAhjRubh)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMIhjRubeh}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMJhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#generic_shutdown_super (C function)c.generic_shutdown_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void generic_shutdown_super (struct super_block *sb)h]j)}(h3void generic_shutdown_super(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]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[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]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.generic_shutdown_superasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj=hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM[ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM[ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM[hjhhubjc)}(hhh]h)}(hcommon helper for ->kill_sb()h]hcommon helper for ->kill_sb()}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM[hjqhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXM**Parameters** ``struct super_block *sb`` superblock to kill 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)}(hX+``struct super_block *sb`` superblock to kill 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](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.chMehjubj)}(hhh](h)}(hsuperblock to killh]hsuperblock to kill}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM\hjubh)}(hXCgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling.h]hXCgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM^hjubh)}(hUpon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.h]hUpon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMdhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)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:hMubh)}(hhh]j5)}(h super_blockh]h super_block}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj)}j]j)}jsget_fcsb c.sget_fcasbuh1hhj)hhhj:hMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)hhhj:hMubjX)}(hj[h]h*}(hj{hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj)hhhj:hMubj/)}(hsget_fch]j5)}(hjjh]hsget_fc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj)hhhj:hMubj)}(h(struct fs_context *fc, int (*test)(struct super_block*, struct fs_context*), int (*set)(struct super_block*, struct fs_context*))h](j)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(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]jh c.sget_fcasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h4int (*test)(struct super_block*, struct fs_context*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hjh]h(}(hj3hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hj@hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htesth]htest}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjh]h)}(hj[hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h(}(hjhhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj )}(hjzh]hstruct}(hjuhhhNhNubah}(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]jh c.sget_fcasbuh1hhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjNh]h,}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(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]jh c.sget_fcasbuh1hhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h)}(hj"hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h3int (*set)(struct super_block*, struct fs_context*)h](j+)}(hinth]hint}(hj:hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj6ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubjX)}(hjh]h(}(hjVhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj6ubjX)}(hj[h]h*}(hjchhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj6ubj5)}(hseth]hset}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubjX)}(hjh]h)}(hj~hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj6ubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj6ubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(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]jh c.sget_fcasbuh1hhj6ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj6ubjX)}(hjNh]h,}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj6ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(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]jh c.sget_fcasbuh1hhj6ubjX)}(hj[h]h*}(hj8hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj6ubjX)}(hjh]h)}(hjEhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj)hhhj:hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj%hhhj:hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:hMhj"hhubjc)}(hhh]h)}(hFind or create a superblockh]hFind or create a superblock}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jbhj"hhhj:hMubeh}(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)}(hjh]h6int (*test)(struct super_block *, struct fs_context *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hComparison callbackh]hComparison callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hSetup callbackh]hSetup callback}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubeh}(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&]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.}(hjrhhhNhNubah}(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](j;-)}(hYthe namespace the filesystem context **fc** and the extant superblock's namespace differ h]h)}(hXthe namespace the filesystem context **fc** and the extant superblock's namespace differh](h%the namespace the filesystem context }(hjhhhNhNubj)}(h**fc**h]hfc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ and the extant superblock’s namespace differ}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1j:-hjubj;-)}(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 }(hj hhhNhNubj)}(h**fc**h]hfc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh? has requested that reusing an extant superblock is not allowed}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1j:-hjubeh}(h]h ]h"]h$]h&]enumtypearabicprefixjsuffixjuh1jhjubh)}(h%In both cases EBUSY will be returned.h]h%In both cases EBUSY will be returned.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.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 }(hjIhhhNhNubj)}(h**set**h]hset}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh 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.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h **Return**h]j)}(hjlh]hReturn}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]j)}(hgOn success, an extant or newly created superblock is returned. On failure an error pointer is returned.h](j)}(h4On success, an extant or newly created superblock ish]h4On success, an extant or newly created superblock is}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(h2returned. On failure an error pointer is returned.h]h2returned. 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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jsgetsbc.sgetasbuh1hhjhhhjhM)ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM)ubjX)}(hj[h]h*}(hj*hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhM)ubj/)}(hsgeth]j5)}(hjh]hsget}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM)ubj)}(h(struct file_system_type *type, int (*test)(struct super_block*, void*), int (*set)(struct super_block*, void*), int flags, void *data)h](j)}(hstruct file_system_type *typeh](j )}(hjzh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubh)}(hhh]j5)}(hfile_system_typeh]hfile_system_type}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j]jc.sgetasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjRubj5)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNubj)}(h'int (*test)(struct super_block*, void*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjh]h)}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj )}(hjzh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j]jc.sgetasbuh1hhjubjX)}(hj[h]h*}(hj`hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjNh]h,}(hjmhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNubj)}(h&int (*set)(struct super_block*, void*)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hjh]h(}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hseth]hset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h(}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]jc.sgetasbuh1hhjubjX)}(hj[h]h*}(hjUhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjNh]h,}(hjbhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hj}hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNubj)}(h int flagsh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(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&]noemphjLjMuh1jhjNubj)}(h void *datah](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdatah]hdata}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM)ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM)ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM)hjhhubjc)}(hhh]h)}(hfind or create a superblockh]hfind or create a superblock}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM)hj5 hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjP jjP 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)}(hjZ h]h Parameters}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM-hjT 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)}(hjy h]hstruct file_system_type *type}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM*hjs 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&]uh1jhjs ubeh}(h]h ]h"]h$]h&]uh1jhj hM*hjp 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+hjp 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,hjp ubj)}(h``int flags`` mount flags h](j)}(h ``int flags``h]j)}(hj$ h]h int flags}(hj& hhhNhNubah}(h]h ]h"]h$]h&]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 mount flagsh]h mount flags}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9 hM-hj: ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj9 hM-hjp ubj)}(h'``void *data`` argument to each of themh](j)}(h``void *data``h]j)}(hj] h]h void *data}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM/hjW ubj)}(hhh]h)}(hargument to each of themh]hargument to each of them}(hjv hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM.hjs ubah}(h]h ]h"]h$]h&]uh1jhjW ubeh}(h]h ]h"]h$]h&]uh1jhjr hM/hjp ubeh}(h]h ]h"]h$]h&]uh1jhjT ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h iterate_supers_type (C function)c.iterate_supers_typehNtauh1hhjhhhNhNubh)}(hhh](j)}(hlvoid iterate_supers_type (struct file_system_type *type, void (*f)(struct super_block *, void *), void *arg)h]j)}(hivoid iterate_supers_type(struct file_system_type *type, void (*f)(struct super_block*, void*), void *arg)h](j+)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj 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](j)}(hstruct file_system_type *typeh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hfile_system_typeh]hfile_system_type}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jj sbc.iterate_supers_typeasbuh1hhj ubj)}(h h]h }(hj2 hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hj@ hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(htypeh]htype}(hjM hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h%void (*f)(struct super_block*, void*)h](j+)}(hvoidh]hvoid}(hjf hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjb ubj)}(h h]h }(hjt hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb ubjX)}(hjh]h(}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjb ubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjb ubj5)}(hfh]hf}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjb ubjX)}(hjh]h)}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjb ubjX)}(hjh]h(}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjb ubj )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j. c.iterate_supers_typeasbuh1hhjb ubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjb ubjX)}(hjNh]h,}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjb ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb ubj+)}(hvoidh]hvoid}(hj( hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjb ubjX)}(hj[h]h*}(hj6 hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjb ubjX)}(hjh]h)}(hjC hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjb ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h void *argh](j+)}(hvoidh]hvoid}(hj[ hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjW ubj)}(h h]h }(hji hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW ubjX)}(hj[h]h*}(hjw hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjW ubj5)}(hargh]harg}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjW ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhj hhubjc)}(hhh]h)}(h+call function for superblocks of given typeh]h+call function for superblocks of given type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(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 Scans the superblock list and calls given function, passing it locked superblock and given argument.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubj)}(hhh](j)}(h*``struct file_system_type *type`` fs type h](j)}(h!``struct file_system_type *type``h]j)}(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.chMhj ubj)}(hhh]h)}(hfs typeh]hfs type}(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=``void (*f)(struct super_block *, void *)`` function to call h](j)}(h+``void (*f)(struct super_block *, void *)``h]j)}(hj( h]h'void (*f)(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.chMhj" ubj)}(hhh]h)}(hfunction to callh]hfunction to call}(hjA hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj= hMhj> ubah}(h]h ]h"]h$]h&]uh1jhj" ubeh}(h]h ]h"]h$]h&]uh1jhj= hMhj ubj)}(h``void *arg`` argument to pass to it Scans the superblock list and calls given function, passing it locked superblock and given argument.h](j)}(h ``void *arg``h]j)}(hja h]h void *arg}(hjc 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)}(hargument to pass to ith]hargument to pass to it}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjw ubh)}(hdScans the superblock list and calls given function, passing it locked superblock and given argument.h]hdScans the superblock list and calls given function, passing it locked superblock and given argument.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjv hMhjw ubeh}(h]h ]h"]h$]h&]uh1jhj[ ubeh}(h]h ]h"]h$]h&]uh1jhjv hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_anon_bdev (C function)c.get_anon_bdevhNtauh1hhjhhhNhNubh)}(hhh](j)}(hint get_anon_bdev (dev_t *p)h]j)}(hint get_anon_bdev(dev_t *p)h](j+)}(hinth]hint}(hj hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubj/)}(h get_anon_bdevh]j5)}(h get_anon_bdevh]h get_anon_bdev}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubj)}(h (dev_t *p)h]j)}(hdev_t *ph](h)}(hhh]j5)}(hdev_th]hdev_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jj sbc.get_anon_bdevasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj7hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hjdh]hp}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubah}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhj hhubjc)}(hhh]h)}(h=Allocate a block device for filesystems which don't have one.h]h?Allocate a block device for filesystems which don’t have one.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXc**Parameters** ``dev_t *p`` Pointer to a dev_t. **Description** Filesystems which don't use real block devices can call this function to allocate a virtual block device. **Context** Any context. Frequently called while holding sb_lock. **Return** 0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]j)}(h!``dev_t *p`` Pointer to a dev_t. h](j)}(h ``dev_t *p``h]j)}(hjh]hdev_t *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h6Any context. Frequently called while holding sb_lock.h]h6Any context. Frequently called while holding sb_lock.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h **Return**h]j)}(hj7h]hReturn}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(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.}(hjMhhhNhNubah}(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}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjhMfubh)}(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_devasbuh1hhjxhhhjhMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjhMfubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjxhhhjhMfubj/)}(hsget_devh]j5)}(hjh]hsget_dev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxhhhjhMfubj)}(h"(struct fs_context *fc, dev_t dev)h](j)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.sget_devasbuh1hhjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj@hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hfch]hfc}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h dev_t devh](h)}(hhh]j5)}(hdev_th]hdev_t}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j c.sget_devasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj5)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjxhhhjhMfubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhjhMfubah}(h]joah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMfhjqhhubjc)}(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.chMfhjhhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjhMfubeh}(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.chMjhjubj)}(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.chMghjubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h``dev_t dev`` device number h](j)}(h ``dev_t dev``h]j)}(hj9h]h dev_t dev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhhj3ubj)}(hhh]h)}(h device numberh]h device number}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhhjubeh}(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:38: ./fs/super.chMjhjubh)}(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.chMjhjubh)}(hIf an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard.h]hIf an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMmhjubh)}(hXIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.h]hXIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMphjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMvhjubj)}(hhh]j)}(hPan existing or newly created superblock on success, an error pointer on failure.h](j)}(hroot**.h](h)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj5ubj)}(hhh]j)}(h@``struct fs_context *fc`` The superblock configuration context. h](j)}(h``struct fs_context *fc``h]j)}(hjZh]hstruct fs_context *fc}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjTubj)}(hhh]h)}(h%The superblock configuration context.h]h%The superblock configuration context.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjQubah}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj5ubh)}(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.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfreeze_super (C function)c.freeze_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h[int freeze_super (struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h]j)}(hZint freeze_super(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h freeze_superh]j5)}(h freeze_superh]h freeze_super}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hJ(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j)}jjsbc.freeze_superasbuh1hhj%ubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubjX)}(hj[h]h*}(hjuhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj%ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj!ubj)}(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]jcc.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&]noemphjLjMuh1jhj!ubj)}(hconst void *freeze_ownerh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj5hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(h freeze_ownerh]h freeze_owner}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj!ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h8lock the filesystem and force it into a consistent stateh]h8lock the filesystem and force it into a consistent state}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjihhubah}(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.chMhjubj)}(hhh](j)}(h-``struct super_block *sb`` the super to lock h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hthe super to lockh]hthe super to lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``enum freeze_holder who`` context that wants to freeze h](j)}(h``enum freeze_holder who``h]j)}(hjh]henum freeze_holder who}(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)}(hjh]hconst void *freeze_owner}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(howner of the freezeh]howner of the freeze}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hSyncs the super to make sure the filesystem is consistent and calls the fs's freeze_fs. Subsequent calls to this without first thawing the fs may return -EBUSY.h]hSyncs the super to make sure the filesystem is consistent and calls the fs’s freeze_fs. Subsequent calls to this without first thawing the fs may return -EBUSY.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h**who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to freeze the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to freeze the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed.h](j)}(h**who**h]hwho}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should be: * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_USERSPACE``h]hFREEZE_HOLDER_USERSPACE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( if userspace wants to freeze the fs; * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_KERNEL``h]hFREEZE_HOLDER_KERNEL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) if the kernel wants to freeze the fs. * }(hjhhhNhNubj)}(h``FREEZE_MAY_NEST``h]hFREEZE_MAY_NEST}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 whether nesting freeze and thaw requests is allowed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hXfThe **who** argument distinguishes between the kernel and userspace trying to freeze the filesystem. Although there cannot be multiple kernel freezes or multiple userspace freezes in effect at any given time, the kernel and userspace can both hold a filesystem frozen. The filesystem remains frozen until there are no kernel or userspace freezes in effect.h](hThe }(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.chMhjubh)}(hXnA filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned.h]hXnA filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned.}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM*hjubh)}(hASB_UNFROZEN: File system is normal, all writes progress as usual.h]hASB_UNFROZEN: File system is normal, all writes progress as usual.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM,hjubh)}(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).}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM2hjubh)}(hXSB_FREEZE_FS: The file system is frozen. Now all internal sources of fs modification are blocked (e.g. XFS preallocation truncation on inode reclaim). This is usually implemented by blocking new transactions for filesystems that have them and need this additional guard. After all internal writers are finished we call ->freeze_fs() to finish filesystem freezing. Then we transition to SB_FREEZE_COMPLETE state. This state is mostly auxiliary for filesystems to verify they do not modify frozen fs.h]hXSB_FREEZE_FS: The file system is frozen. Now all internal sources of fs modification are blocked (e.g. XFS preallocation truncation on inode reclaim). This is usually implemented by blocking new transactions for filesystems that have them and need this additional guard. After all internal writers are finished we call ->freeze_fs() to finish filesystem freezing. Then we transition to SB_FREEZE_COMPLETE state. This state is mostly auxiliary for filesystems to verify they do not modify frozen fs.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM9hjubh)}(h2sb->s_writers.frozen is protected by sb->s_umount.h]h2sb->s_writers.frozen is protected by sb->s_umount.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMAhjubh)}(h **Return**h]j)}(hj^h]hReturn}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMChjubj)}(hhh]j)}(hfIf the freeze was successful zero is returned. If the freeze failed a negative error code is returned.h](j)}(h$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&]uh1jbhjs#hhhj#hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjV$jjV$jjjuh1hhhhj hNhNubj)}(h**Parameters** ``struct file_lock *waiter`` the lock which was waiting lockd/nfsd need to disconnect the lock while working on it.h](h)}(h**Parameters**h]j)}(hj`$h]h Parameters}(hjb$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^$ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjZ$ubj)}(hhh]j)}(ht``struct file_lock *waiter`` the lock which was waiting lockd/nfsd need to disconnect the lock while working on it.h](j)}(h``struct file_lock *waiter``h]j)}(hj$h]hstruct file_lock *waiter}(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.chMhjy$ubj)}(hhh](h)}(hthe lock which was waitingh]hthe lock which was waiting}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj$ubh)}(h;lockd/nfsd need to disconnect the lock while working on it.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$ubeh}(h]h ]h"]h$]h&]uh1jhjy$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjv$ubah}(h]h ]h"]h$]h&]uh1jhjZ$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](j+)}(hinth]hint}(hj$hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj$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](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hj%%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!%ubj)}(h h]h }(hj2%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!%ubh)}(hhh]j5)}(hfileh]hfile}(hjC%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjE%modnameN classnameNjj)}j]j)}jj %sbc.posix_lock_fileasbuh1hhj!%ubj)}(h h]h }(hjc%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!%ubjX)}(hj[h]h*}(hjq%hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj!%ubj5)}(hfilph]hfilp}(hj~%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj)}j]j_%c.posix_lock_fileasbuh1hhj%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubjX)}(hj[h]h*}(hj%hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj%ubj5)}(hflh]hfl}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubj)}(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]j_%c.posix_lock_fileasbuh1hhj&ubj)}(h h]h }(hjC&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubjX)}(hj[h]h*}(hjQ&hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj&ubj5)}(hconflockh]hconflock}(hj^&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj$hhhj$hMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj$hhhj$hMjubah}(h]j$ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj$hMjhj$hhubjc)}(hhh]h)}(h"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)}(hj;'h]hstruct file_lock *conflock}(hj='hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMmhj5'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.}(hjT'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP'hMmhjQ'ubah}(h]h ]h"]h$]h&]uh1jhj5'ubeh}(h]h ]h"]h$]h&]uh1jhjP'hMmhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&ubh)}(h**Description**h]j)}(hjv'h]h Description}(hjx'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt'ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.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.chMohj&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.chMshj&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](j+)}(hinth]hint}(hj'hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj'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](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubh)}(hhh]j5)}(hinodeh]hinode}(hj%(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'(modnameN classnameNjj)}j]j)}jj'sbc.__break_leaseasbuh1hhj(ubj)}(h h]h }(hjE(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubjX)}(hj[h]h*}(hjS(hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj(ubj5)}(hinodeh]hinode}(hj`(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubj)}(hunsigned int modeh](j+)}(hunsignedh]hunsigned}(hjy(hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hju(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhju(ubj+)}(hinth]hint}(hj(hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hju(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhju(ubj5)}(hmodeh]hmode}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hju(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubj)}(hunsigned int typeh](j+)}(hunsignedh]hunsigned}(hj(hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj+)}(hinth]hint}(hj(hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj(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&]noemphjLjMuh1jhj'ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj'hhhj'hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj'hhhj'hMubah}(h]j'ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj'hMhj'hhubjc)}(hhh]h)}(h%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&]jjjjD)jjD)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 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)}(hjN)h]h Parameters}(hjP)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL)ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjH)ubj)}(hhh](j)}(h8``struct inode *inode`` the inode of the file to return h](j)}(h``struct inode *inode``h]j)}(hjm)h]hstruct inode *inode}(hjo)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjg)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&]uh1jhjg)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjd)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)hMhjd)ubj)}(hXX``unsigned int type`` FL_LEASE: break leases and delegations; FL_DELEG: break only delegations 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](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)ubh)}(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 }(hj*hhhNhNubj)}(h``O_NONBLOCK``h]h O_NONBLOCK}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh to your open().}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjd)ubeh}(h]h ]h"]h$]h&]uh1jhjH)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](j+)}(hvoidh]hvoid}(hj[*hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjW*hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMpubj)}(h h]h }(hjj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW*hhhji*hMpubj/)}(hlease_get_mtimeh]j5)}(hlease_get_mtimeh]hlease_get_mtime}(hj|*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjx*ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjW*hhhji*hMpubj)}(h.(struct inode *inode, struct timespec64 *time)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubh)}(hhh]j5)}(hinodeh]hinode}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j]j)}jj~*sbc.lease_get_mtimeasbuh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubjX)}(hj[h]h*}(hj*hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj*ubj5)}(hinodeh]hinode}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubj)}(hstruct timespec64 *timeh](j )}(hjzh]hstruct}(hj +hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hj(+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*+modnameN classnameNjj)}j]j*c.lease_get_mtimeasbuh1hhj+ubj)}(h h]h }(hjF+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubjX)}(hj[h]h*}(hjT+hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj+ubj5)}(htimeh]htime}(hja+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjW*hhhji*hMpubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjS*hhhji*hMpubah}(h]jN*ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhji*hMphjP*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&]uh1jbhjP*hhhji*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&]uh1hhj,hMrhj,ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj,hMrhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+ubh)}(h**Description**h]j)}(hj@,h]h Description}(hjB,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>,ubah}(h]h ]h"]h$]h&]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.}(hjV,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMthj+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](j+)}(hinth]hint}(hj,hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj,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](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubh)}(hhh]j5)}(hfileh]hfile}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]j)}jj,sbc.generic_setleaseasbuh1hhj,ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubjX)}(hj[h]h*}(hj-hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj,ubj5)}(hfilph]hfilp}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,ubj)}(hint argh](j+)}(hinth]hint}(hj4-hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj0-ubj)}(h h]h }(hjB-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0-ubj5)}(hargh]harg}(hjP-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,ubj)}(hstruct file_lease **flph](j )}(hjzh]hstruct}(hji-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje-ubj)}(h h]h }(hjv-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhje-ubh)}(hhh]j5)}(h file_leaseh]h file_lease}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j]j,c.generic_setleaseasbuh1hhje-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhje-ubjX)}(hj[h]h*}(hj-hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhje-ubjX)}(hj[h]h*}(hj-hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhje-ubj5)}(hflph]hflp}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hje-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,ubj)}(h void **privh](j+)}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubjX)}(hj[h]h*}(hj.hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj-ubjX)}(hj[h]h*}(hj.hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj-ubj5)}(hprivh]hpriv}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj,hhhj,hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj},hhhj,hMubah}(h]jx,ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj,hMhjz,hhubjc)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hjF.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjC.hhubah}(h]h ]h"]h$]h&]uh1jbhjz,hhhj,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^.jj^.jjjuh1hhhhj hNhNubj)}(hX\**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) The (input) flp->fl_lmops->lm_break function is required by break_lease().h](h)}(h**Parameters**h]j)}(hjh.h]h Parameters}(hjj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf.ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjb.ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hj.h]hstruct file *filp}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj.ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMhj~.ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj.h]hint arg}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj.ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMhj~.ubj)}(hR``struct file_lease **flp`` input - file_lock to use, output - file_lock inserted h](j)}(h``struct file_lease **flp``h]j)}(hj.h]hstruct file_lease **flp}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj.ubj)}(hhh]h)}(h5input - file_lock to use, output - file_lock insertedh]h5input - file_lock to use, output - file_lock inserted}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj~.ubj)}(h``void **priv`` private data for lm_setup (may be NULL if lm_setup doesn't require it) The (input) flp->fl_lmops->lm_break function is required by break_lease().h](j)}(h``void **priv``h]j)}(hj2/h]h void **priv}(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.chMhj,/ubj)}(hhh](h)}(hFprivate data for lm_setup (may be NULL if lm_setup doesn't require it)h]hHprivate data for lm_setup (may be NULL if lm_setup doesn’t require it)}(hjK/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjH/ubh)}(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().}(hjZ/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjG/hMhjH/ubeh}(h]h ]h"]h$]h&]uh1jhj,/ubeh}(h]h ]h"]h$]h&]uh1jhjG/hMhj~.ubeh}(h]h ]h"]h$]h&]uh1jhjb.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_setlease (C function)c.vfs_setleasehNtauh1hhj hhhNhNubh)}(hhh](j)}(hUint vfs_setlease (struct file *filp, int arg, struct file_lease **lease, void **priv)h]j)}(hTint vfs_setlease(struct file *filp, int arg, struct file_lease **lease, void **priv)h](j+)}(hinth]hint}(hj/hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj/hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/hhhj/hMubj/)}(h vfs_setleaseh]j5)}(h vfs_setleaseh]h vfs_setlease}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj/hhhj/hMubj)}(hD(struct file *filp, int arg, struct file_lease **lease, void **priv)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubh)}(hhh]j5)}(hfileh]hfile}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j]j)}jj/sbc.vfs_setleaseasbuh1hhj/ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubjX)}(hj[h]h*}(hj#0hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj/ubj5)}(hfilph]hfilp}(hj00hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(hint argh](j+)}(hinth]hint}(hjI0hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjE0ubj)}(h h]h }(hjW0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjE0ubj5)}(hargh]harg}(hje0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjE0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(hstruct file_lease **leaseh](j )}(hjzh]hstruct}(hj~0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjz0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjz0ubh)}(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.vfs_setleaseasbuh1hhjz0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjz0ubjX)}(hj[h]h*}(hj0hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjz0ubjX)}(hj[h]h*}(hj0hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjz0ubj5)}(hleaseh]hlease}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjz0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(h void **privh](j+)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj0ubj)}(h h]h }(hj 1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubjX)}(hj[h]h*}(hj1hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj0ubjX)}(hj[h]h*}(hj$1hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj0ubj5)}(hprivh]hpriv}(hj11hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj/hhhj/hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj/hhhj/hMubah}(h]j/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj/hMhj/hhubjc)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hj[1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjX1hhubah}(h]h ]h"]h$]h&]uh1jbhj/hhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjs1jjs1jjjuh1hhhhj hNhNubj)}(hX**Parameters** ``struct file *filp`` file pointer ``int arg`` type of lease to obtain ``struct file_lease **lease`` file_lock to use when adding a lease ``void **priv`` private info for lm_setup when adding a lease (may be NULL if lm_setup doesn't require it) **Description** Call this to establish a lease on the file. The "lease" argument is not used for F_UNLCK requests and may be NULL. For commands that set or alter an existing lease, the ``(*lease)->fl_lmops->lm_break`` operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace). The "priv" pointer is passed directly to the lm_setup function as-is. It may be NULL if the lm_setup operation doesn't require it.h](h)}(h**Parameters**h]j)}(hj}1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{1ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjw1ubj)}(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)}(hC``struct file_lease **lease`` file_lock to use when adding a lease h](j)}(h``struct file_lease **lease``h]j)}(hj2h]hstruct file_lease **lease}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj2ubj)}(hhh]h)}(h$file_lock to use when adding a leaseh]h$file_lock to use when adding a lease}(hj'2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#2hMhj$2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj#2hMhj1ubj)}(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)}(hjG2h]h void **priv}(hjI2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjA2ubj)}(hhh]h)}(hZprivate info for lm_setup when adding a lease (may be NULL if lm_setup doesn't require it)h]h\private info for lm_setup when adding a lease (may be NULL if lm_setup doesn’t require it)}(hj`2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj]2ubah}(h]h ]h"]h$]h&]uh1jhjA2ubeh}(h]h ]h"]h$]h&]uh1jhj\2hMhj1ubeh}(h]h ]h"]h$]h&]uh1jhjw1ubh)}(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.chMhjw1ubh)}(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 }(hj2hhhNhNubj)}(h ``(*lease)->fl_lmops->lm_break``h]h(*lease)->fl_lmops->lm_break}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubhm operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace).}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjw1ubh)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjw1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"locks_lock_inode_wait (C function)c.locks_lock_inode_waithNtauh1hhj hhhNhNubh)}(hhh](j)}(hEint locks_lock_inode_wait (struct inode *inode, struct file_lock *fl)h]j)}(hDint locks_lock_inode_wait(struct inode *inode, struct file_lock *fl)h](j+)}(hinth]hint}(hj2hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj2hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM1ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2hhhj2hM1ubj/)}(hlocks_lock_inode_waith]j5)}(hlocks_lock_inode_waith]hlocks_lock_inode_wait}(hj 3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj2hhhj2hM1ubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj&3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"3ubj)}(h h]h }(hj33hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"3ubh)}(hhh]j5)}(hinodeh]hinode}(hjD3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjA3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjF3modnameN classnameNjj)}j]j)}jj 3sbc.locks_lock_inode_waitasbuh1hhj"3ubj)}(h h]h }(hjd3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"3ubjX)}(hj[h]h*}(hjr3hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj"3ubj5)}(hinodeh]hinode}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j`3c.locks_lock_inode_waitasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubjX)}(hj[h]h*}(hj3hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj3ubj5)}(hflh]hfl}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj2hhhj2hM1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2hhhj2hM1ubah}(h]j2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hM1hj2hhubjc)}(hhh]h)}(hApply a lock to an inodeh]hApply a lock to an inode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM1hj4hhubah}(h]h ]h"]h$]h&]uh1jbhj2hhhj2hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj14jj14jjjuh1hhhhj 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;4h]h Parameters}(hj=4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj94ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM5hj54ubj)}(hhh](j)}(h6``struct inode *inode`` inode of the file to apply to h](j)}(h``struct inode *inode``h]j)}(hjZ4h]hstruct inode *inode}(hj\4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM2hjT4ubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hjs4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjo4hM2hjp4ubah}(h]h ]h"]h$]h&]uh1jhjT4ubeh}(h]h ]h"]h$]h&]uh1jhjo4hM2hjQ4ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj4h]hstruct file_lock *fl}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM3hj4ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hM3hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM3hjQ4ubeh}(h]h ]h"]h$]h&]uh1jhj54ubh)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM5hj54ubh)}(h6Apply a POSIX or FLOCK style lock request to an inode.h]h6Apply a POSIX or FLOCK style lock request to an inode.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM5hj54ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_test_lock (C function)c.vfs_test_lockhNtauh1hhj hhhNhNubh)}(hhh](j)}(h;int vfs_test_lock (struct file *filp, struct file_lock *fl)h]j)}(h:int vfs_test_lock(struct file *filp, struct file_lock *fl)h](j+)}(hinth]hint}(hj5hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj5hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj"5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5hhhj!5hMubj/)}(h vfs_test_lockh]j5)}(h vfs_test_lockh]h vfs_test_lock}(hj45hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj05ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj5hhhj!5hMubj)}(h)(struct file *filp, struct file_lock *fl)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hjP5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL5ubj)}(h h]h }(hj]5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjL5ubh)}(hhh]j5)}(hfileh]hfile}(hjn5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjk5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjp5modnameN classnameNjj)}j]j)}jj65sbc.vfs_test_lockasbuh1hhjL5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjL5ubjX)}(hj[h]h*}(hj5hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjL5ubj5)}(hfilph]hfilp}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjL5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjH5ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j5c.vfs_test_lockasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubjX)}(hj[h]h*}(hj 6hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj5ubj5)}(hflh]hfl}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjH5ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj5hhhj!5hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj 5hhhj!5hMubah}(h]j5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!5hMhj5hhubjc)}(hhh]h)}(htest file byte range lockh]htest file byte range lock}(hjC6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj@6hhubah}(h]h ]h"]h$]h&]uh1jbhj5hhhj!5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[6jj[6jjjuh1hhhhj 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)}(hje6h]h Parameters}(hjg6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc6ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj_6ubj)}(hhh](j)}(h0``struct file *filp`` The file to test lock for h](j)}(h``struct file *filp``h]j)}(hj6h]hstruct file *filp}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj~6ubj)}(hhh]h)}(hThe file to test lock forh]hThe file to test lock for}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj~6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj{6ubj)}(hD``struct file_lock *fl`` The lock to test; also used to hold result h](j)}(h``struct file_lock *fl``h]j)}(hj6h]hstruct file_lock *fl}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj6ubj)}(hhh]h)}(h*The lock to test; also used to hold resulth]h*The lock to test; also used to hold result}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj{6ubeh}(h]h ]h"]h$]h&]uh1jhj_6ubh)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj_6ubh)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj_6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_lock_file (C function)c.vfs_lock_filehNtauh1hhj hhhNhNubh)}(hhh](j)}(heint vfs_lock_file (struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h]j)}(hdint vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h](j+)}(hinth]hint}(hj=7hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj97hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM ubj)}(h h]h }(hjL7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj97hhhjK7hM ubj/)}(h vfs_lock_fileh]j5)}(h vfs_lock_fileh]h vfs_lock_file}(hj^7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZ7ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj97hhhjK7hM ubj)}(hS(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hjz7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjv7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjv7ubh)}(hhh]j5)}(hfileh]hfile}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j)}jj`7sbc.vfs_lock_fileasbuh1hhjv7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjv7ubjX)}(hj[h]h*}(hj7hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjv7ubj5)}(hfilph]hfilp}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjv7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjr7ubj)}(hunsigned int cmdh](j+)}(hunsignedh]hunsigned}(hj7hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj+)}(hinth]hint}(hj8hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj7ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj5)}(hcmdh]hcmd}(hj$8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjr7ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hj=8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj98ubj)}(h h]h }(hjJ8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj98ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj[8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjX8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]8modnameN classnameNjj)}j]j7c.vfs_lock_fileasbuh1hhj98ubj)}(h h]h }(hjy8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj98ubjX)}(hj[h]h*}(hj8hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj98ubj5)}(hflh]hfl}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj98ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjr7ubj)}(hstruct file_lock *confh](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j7c.vfs_lock_fileasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubjX)}(hj[h]h*}(hj8hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj8ubj5)}(hconfh]hconf}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjr7ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj97hhhjK7hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj57hhhjK7hM ubah}(h]j07ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjK7hM hj27hhubjc)}(hhh]h)}(hfile byte range lockh]hfile byte range lock}(hj.9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj+9hhubah}(h]h ]h"]h$]h&]uh1jbhj27hhhjK7hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjF9jjF9jjjuh1hhhhj 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)}(hjP9h]h Parameters}(hjR9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjJ9ubj)}(hhh](j)}(h4``struct file *filp`` The file to apply the lock to h](j)}(h``struct file *filp``h]j)}(hjo9h]hstruct file *filp}(hjq9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hji9ubj)}(hhh]h)}(hThe file to apply the lock toh]hThe file to apply the lock to}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhji9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hjf9ubj)}(hH``unsigned int cmd`` type of locking operation (F_SETLK, F_GETLK, etc.) h](j)}(h``unsigned int cmd``h]j)}(hj9h]hunsigned int cmd}(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.chM hj9ubj)}(hhh]h)}(h2type of locking operation (F_SETLK, F_GETLK, etc.)h]h2type of locking operation (F_SETLK, F_GETLK, etc.)}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hjf9ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj9h]hstruct file_lock *fl}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj9ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hjf9ubj)}(hU``struct file_lock *conf`` Place to return a copy of the conflicting lock, if found. h](j)}(h``struct file_lock *conf``h]j)}(hj:h]hstruct file_lock *conf}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj:ubj)}(hhh]h)}(h9Place to return a copy of the conflicting lock, if found.h]h9Place to return a copy of the conflicting lock, if found.}(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 hjf9ubeh}(h]h ]h"]h$]h&]uh1jhjJ9ubh)}(h**Description**h]j)}(hjU:h]h Description}(hjW:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS:ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjJ9ubh)}(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.}(hjk:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjJ9ubh)}(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 }(hjz:hhhNhNubj)}(h**conf**h]hconf}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz:ubh` will be left unchanged; so a caller that cares should initialize it to some acceptable default.}(hjz:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjJ9ubh)}(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 hjJ9ubh)}(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 hjJ9ubeh}(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)}(hh]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.chM hj>ubj)}(hhh]h)}(hinode to check for locksh]hinode to check for locks}(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)}(hjP>h]h Description}(hjR>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN>ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj=ubh)}(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 }(hjf>hhhNhNubj)}(h **inode**h]hinode}(hjn>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf>ubh.}(hjf>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"posix_lock_inode_wait (C function)c.posix_lock_inode_waithNtauh1hhj hhhNhNubh)}(hhh](j)}(hEint posix_lock_inode_wait (struct inode *inode, struct file_lock *fl)h]j)}(hDint posix_lock_inode_wait(struct inode *inode, struct file_lock *fl)h](j+)}(hinth]hint}(hj>hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj>hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhj>hMubj/)}(hposix_lock_inode_waith]j5)}(hposix_lock_inode_waith]hposix_lock_inode_wait}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhj>hMubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubh)}(hhh]j5)}(hinodeh]hinode}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j]j)}jj>sbc.posix_lock_inode_waitasbuh1hhj>ubj)}(h h]h }(hj"?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubjX)}(hj[h]h*}(hj0?hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj>ubj5)}(hinodeh]hinode}(hj=?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(hstruct file_lock *flh](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)}(h file_lockh]h file_lock}(hjt?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjq?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjv?modnameN classnameNjj)}j]j?c.posix_lock_inode_waitasbuh1hhjR?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR?ubjX)}(hj[h]h*}(hj?hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjR?ubj5)}(hflh]hfl}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjR?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj>hhhj>hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj>hhhj>hMubah}(h]j>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hMhj>hhubjc)}(hhh]h)}(h"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:47: ./fs/locks.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jbhj>hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhj 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)}(hj?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj?ubj)}(hhh](j)}(hN``struct inode *inode`` inode of file to which lock request should be applied h](j)}(h``struct inode *inode``h]j)}(hj@h]hstruct inode *inode}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj@ubj)}(hhh]h)}(h5inode of file to which lock request should be appliedh]h5inode of file to which lock request should be applied}(hj1@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-@hMhj.@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj-@hMhj@ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjQ@h]hstruct file_lock *fl}(hjS@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjK@ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hjj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjf@hMhjg@ubah}(h]h ]h"]h$]h&]uh1jhjK@ubeh}(h]h ]h"]h$]h&]uh1jhjf@hMhj@ubeh}(h]h ]h"]h$]h&]uh1jhj?ubh)}(h**Description**h]j)}(hj@h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj?ubh)}(h-Apply a POSIX style lock request to an inode.h]h-Apply a POSIX style lock request to an inode.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfcntl_getlease (C function)c.fcntl_getleasehNtauh1hhj hhhNhNubh)}(hhh](j)}(h&int fcntl_getlease (struct file *filp)h]j)}(h%int fcntl_getlease(struct file *filp)h](j+)}(hinth]hint}(hj@hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj@hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhj@hMubj/)}(hfcntl_getleaseh]j5)}(hfcntl_getleaseh]hfcntl_getlease}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@hhhj@hMubj)}(h(struct file *filp)h]j)}(hstruct file *filph](j )}(hjzh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Aubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Aubh)}(hhh]j5)}(hfileh]hfile}(hj,AhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)Aubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.AmodnameN classnameNjj)}j]j)}jj@sbc.fcntl_getleaseasbuh1hhj Aubj)}(h h]h }(hjLAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj AubjX)}(hj[h]h*}(hjZAhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj Aubj5)}(hfilph]hfilp}(hjgAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Aubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAubah}(h]h ]h"]h$]h&]jLjMuh1jhj@hhhj@hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj@hhhj@hMubah}(h]j@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj@hMhj@hhubjc)}(hhh]h)}(h&Enquire what lease is currently activeh]h&Enquire what lease is currently active}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjAhhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhj hNhNubj)}(hXA**Parameters** ``struct file *filp`` the file 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)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjAubj)}(hhh]j)}(hX``struct file *filp`` the file 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](j)}(h``struct file *filp``h]j)}(hjAh]hstruct file *filp}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjAubj)}(hhh](h)}(hthe fileh]hthe file}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjAubh)}(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):}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjAubh)}(h/``F_RDLCK`` to indicate a shared lease is held.h](j)}(h ``F_RDLCK``h]hF_RDLCK}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Bubh$ to indicate a shared lease is held.}(hj BhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjAubh)}(h3``F_WRLCK`` to indicate an exclusive lease is held.h](j)}(h ``F_WRLCK``h]hF_WRLCK}(hj*BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Bubh( to indicate an exclusive lease is held.}(hj&BhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjAubh)}(h)``F_UNLCK`` to indicate no lease is held.h](j)}(h ``F_UNLCK``h]hF_UNLCK}(hjGBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCBubh to indicate no lease is held.}(hjCBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjAubh)}(h(if a lease break is pending):h]h(if a lease break is pending):}(hj`BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjAubj)}(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}(hjzBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvBubh+ to indicate an exclusive lease needs to be}(hjvBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjrBubj)}(hhh]h)}(h'changed to a shared lease (or removed).h]h'changed to a shared lease (or removed).}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjrBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjoBubah}(h]h ]h"]h$]h&]uh1jhjAubh)}(h6``F_UNLCK`` to indicate the lease needs to be removed.h](j)}(h ``F_UNLCK``h]hF_UNLCK}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh+ to indicate the lease needs to be removed.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjAubh)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjAubeh}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#check_conflicting_open (C function)c.check_conflicting_openhNtauh1hhj hhhNhNubh)}(hhh](j)}(hHint check_conflicting_open (struct file *filp, const int arg, int flags)h]j)}(hGint check_conflicting_open(struct file *filp, const int arg, int flags)h](j+)}(hinth]hint}(hjChhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjChhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hj"ChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjChhhj!ChMubj/)}(hcheck_conflicting_openh]j5)}(hcheck_conflicting_openh]hcheck_conflicting_open}(hj4ChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0Cubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjChhhj!ChMubj)}(h-(struct file *filp, const int arg, int flags)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hjPChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLCubj)}(h h]h }(hj]ChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLCubh)}(hhh]j5)}(hfileh]hfile}(hjnChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpCmodnameN classnameNjj)}j]j)}jj6Csbc.check_conflicting_openasbuh1hhjLCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLCubjX)}(hj[h]h*}(hjChhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjLCubj5)}(hfilph]hfilp}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHCubj)}(h const int argh](j )}(hjh]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj+)}(hinth]hint}(hjChhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj5)}(hargh]harg}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHCubj)}(h int flagsh](j+)}(hinth]hint}(hjDhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjDubj)}(h h]h }(hj DhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj5)}(hflagsh]hflags}(hj.DhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHCubeh}(h]h ]h"]h$]h&]jLjMuh1jhjChhhj!ChMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj Chhhj!ChMubah}(h]jCah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!ChMhjChhubjc)}(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.}(hjXDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjUDhhubah}(h]h ]h"]h$]h&]uh1jbhjChhhj!ChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpDjjpDjjjuh1hhhhj 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)}(hjzDh]h Parameters}(hj|DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxDubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjtDubj)}(hhh](j)}(h$``struct file *filp`` file to check h](j)}(h``struct file *filp``h]j)}(hjDh]hstruct file *filp}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjDubj)}(hhh]h)}(h file to checkh]h file to check}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjDubj)}(h=``const int arg`` type of lease that we're trying to acquire h](j)}(h``const int arg``h]j)}(hjDh]h const int arg}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjDubj)}(hhh]h)}(h*type of lease that we're trying to acquireh]h,type of lease that we’re trying to acquire}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjDubj)}(h!``int flags`` current lock flags h](j)}(h ``int flags``h]j)}(hj Eh]h int flags}(hj EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Eubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubj)}(hhh]h)}(hcurrent lock flagsh]hcurrent lock flags}(hj$EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj EhMhj!Eubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj EhMhjDubeh}(h]h ]h"]h$]h&]uh1jhjtDubh)}(h**Description**h]j)}(hjFEh]h Description}(hjHEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDEubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjtDubh)}(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.}(hj\EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjtDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfcntl_setlease (C function)c.fcntl_setleasehNtauh1hhj hhhNhNubh)}(hhh](j)}(h@int fcntl_setlease (unsigned int fd, struct file *filp, int arg)h]j)}(h?int fcntl_setlease(unsigned int fd, struct file *filp, int arg)h](j+)}(hinth]hint}(hjEhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjEhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEhhhjEhMubj/)}(hfcntl_setleaseh]j5)}(hfcntl_setleaseh]hfcntl_setlease}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjEhhhjEhMubj)}(h-(unsigned int fd, struct file *filp, int arg)h](j)}(hunsigned int fdh](j+)}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj+)}(hinth]hint}(hjEhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj5)}(hfdh]hfd}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubj)}(hstruct file *filph](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hj&FhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hfileh]hfile}(hj7FhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4Fubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9FmodnameN classnameNjj)}j]j)}jjEsbc.fcntl_setleaseasbuh1hhjFubj)}(h h]h }(hjWFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubjX)}(hj[h]h*}(hjeFhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjFubj5)}(hfilph]hfilp}(hjrFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubj)}(hint argh](j+)}(hinth]hint}(hjFhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj5)}(hargh]harg}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubeh}(h]h ]h"]h$]h&]jLjMuh1jhjEhhhjEhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjEhhhjEhMubah}(h]j~Eah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjEhMhjEhhubjc)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjFhhubah}(h]h ]h"]h$]h&]uh1jbhjEhhhjEhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhj hNhNubj)}(hX**Parameters** ``unsigned int fd`` open file descriptor ``struct file *filp`` file pointer ``int arg`` type of lease to obtain 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)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjFubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hjGh]hunsigned int fd}(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.chM hj Gubj)}(hhh]h)}(hopen file descriptorh]hopen file descriptor}(hj+GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'GhM hj(Gubah}(h]h ]h"]h$]h&]uh1jhj Gubeh}(h]h ]h"]h$]h&]uh1jhj'GhM hj Gubj)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hjKGh]hstruct file *filp}(hjMGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIGubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjEGubj)}(hhh]h)}(h file pointerh]h file pointer}(hjdGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`GhM hjaGubah}(h]h ]h"]h$]h&]uh1jhjEGubeh}(h]h ]h"]h$]h&]uh1jhj`GhM hj Gubj)}(h``int arg`` type of lease to obtain 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](j)}(h ``int arg``h]j)}(hjGh]hint arg}(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.chMhj~Gubj)}(hhh](h)}(htype of lease to obtainh]htype of lease to obtain}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjGubh)}(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 }(hjGhhhNhNubj)}(h ``F_SETSIG``h]hF_SETSIG}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh. to receive a signal when the lease is broken.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjGubeh}(h]h ]h"]h$]h&]uh1jhj~Gubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj Gubeh}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"flock_lock_inode_wait (C function)c.flock_lock_inode_waithNtauh1hhj hhhNhNubh)}(hhh](j)}(hEint flock_lock_inode_wait (struct inode *inode, struct file_lock *fl)h]j)}(hDint flock_lock_inode_wait(struct inode *inode, struct file_lock *fl)h](j+)}(hinth]hint}(hjGhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjGhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhj HhMubj/)}(hflock_lock_inode_waith]j5)}(hflock_lock_inode_waith]hflock_lock_inode_wait}(hj HhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhj HhMubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjUsed to translate a fl_pid into a namespace virtual pid numberh]h>Used to translate a fl_pid into a namespace virtual pid number}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjPNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubeh}(h] file-locksah ]h"] file locksah$]h&]uh1hhhhhhhhK*ubh)}(hhh](h)}(hOther Functionsh]hOther Functions}(hj OhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhhhhhK3ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmpage_readahead (C function)c.mpage_readaheadhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hKvoid mpage_readahead (struct readahead_control *rac, get_block_t get_block)h]j)}(hJvoid mpage_readahead(struct readahead_control *rac, get_block_t get_block)h](j+)}(hvoidh]hvoid}(hjGOhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjCOhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMAubj)}(h h]h }(hjVOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCOhhhjUOhMAubj/)}(hmpage_readaheadh]j5)}(hmpage_readaheadh]hmpage_readahead}(hjhOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdOubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjCOhhhjUOhMAubj)}(h6(struct readahead_control *rac, get_block_t get_block)h](j)}(hstruct readahead_control *rach](j )}(hjzh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubh)}(hhh]j5)}(hreadahead_controlh]hreadahead_control}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j)}jjjOsbc.mpage_readaheadasbuh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubjX)}(hj[h]h*}(hjOhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjOubj5)}(hrach]hrac}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|Oubj)}(hget_block_t get_blockh](h)}(hhh]j5)}(h get_block_th]h get_block_t}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]jOc.mpage_readaheadasbuh1hhjOubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj5)}(h get_blockh]h get_block}(hj%PhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|Oubeh}(h]h ]h"]h$]h&]jLjMuh1jhjCOhhhjUOhMAubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj?OhhhjUOhMAubah}(h]j:Oah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjUOhMAhjnr_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)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjSubj)}(hhh](j)}(hC``struct address_space *mapping`` address space structure to write h](j)}(h!``struct address_space *mapping``h]j)}(hjSh]hstruct address_space *mapping}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjSubj)}(hhh]h)}(h address space structure to writeh]h address space structure to write}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhjSubj)}(hb``struct writeback_control *wbc`` subtract the number of written pages from ***wbc->nr_to_write** h](j)}(h!``struct writeback_control *wbc``h]j)}(hj Th]hstruct writeback_control *wbc}(hj"ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjTubj)}(hhh]h)}(h?subtract the number of written pages from ***wbc->nr_to_write**h](h*subtract the number of written pages from }(hj9ThhhNhNubj)}(h***wbc->nr_to_write**h]h*wbc->nr_to_write}(hjAThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Tubeh}(h]h ]h"]h$]h&]uh1hhj5ThMhj6Tubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhj5ThMhjSubj)}(hB``get_block_t get_block`` the filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hjgTh]hget_block_t get_block}(hjiThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeTubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjaTubj)}(hhh]h)}(h'the filesystem's block mapper function.h]h)the filesystem’s block mapper function.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|ThMhj}Tubah}(h]h ]h"]h$]h&]uh1jhjaTubeh}(h]h ]h"]h$]h&]uh1jhj|ThMhjSubeh}(h]h ]h"]h$]h&]uh1jhjSubh)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjSubh)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_permission (C function)c.generic_permissionhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hOint generic_permission (struct mnt_idmap *idmap, struct inode *inode, int mask)h]j)}(hNint generic_permission(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j+)}(hinth]hint}(hjThhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjThhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjThMubj/)}(hgeneric_permissionh]j5)}(hgeneric_permissionh]hgeneric_permission}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjThMubj)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj$UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Uubj)}(h h]h }(hj1UhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Uubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjBUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?Uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDUmodnameN classnameNjj)}j]j)}jj Usbc.generic_permissionasbuh1hhj Uubj)}(h h]h }(hjbUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj UubjX)}(hj[h]h*}(hjpUhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj Uubj5)}(hidmaph]hidmap}(hj}UhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Uubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubh)}(hhh]j5)}(hinodeh]hinode}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]j^Uc.generic_permissionasbuh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubjX)}(hj[h]h*}(hjUhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjUubj5)}(hinodeh]hinode}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubj)}(hint maskh](j+)}(hinth]hint}(hjVhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj5)}(hmaskh]hmask}(hj"VhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubeh}(h]h ]h"]h$]h&]jLjMuh1jhjThhhjThMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjThhhjThMubah}(h]jTah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjThMhjThhubjc)}(hhh]h)}(h2check for access rights on a Posix-like filesystemh]h2check for access rights on a Posix-like filesystem}(hjLVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjIVhhubah}(h]h ]h"]h$]h&]uh1jbhjThhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdVjjdVjjjuh1hhhhjOhNhNubj)}(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)}(hjnVh]h Parameters}(hjpVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlVubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhVubj)}(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}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjVubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjVubj)}(h9``struct inode *inode`` inode to check access rights for h](j)}(h``struct inode *inode``h]j)}(hjVh]hstruct inode *inode}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjVubj)}(hhh]h)}(h inode to check access rights forh]h inode to check access rights for}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjVubj)}(hc``int mask`` right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...) h](j)}(h ``int mask``h]j)}(hjVh]hint mask}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjVubj)}(hhh]h)}(hUright to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...)h](hright to check for (}(hjWhhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hj WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh, }(hjWhhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hj2WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh, }hjWsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjDWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh, }(hjWhhhNhNubj)}(h``MAY_NOT_BLOCK``h]h MAY_NOT_BLOCK}(hjVWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh ...)}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjWubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjVubeh}(h]h ]h"]h$]h&]uh1jhjhVubh)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhVubh)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhVubh)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhVubh)}(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 }(hjWhhhNhNubj)}(h **idmap**h]hidmap}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubhB. This function will then take care to map the inode according to }(hjWhhhNhNubj)}(h **idmap**h]hidmap}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjWhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_permission (C function)c.inode_permissionhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hMint inode_permission (struct mnt_idmap *idmap, struct inode *inode, int mask)h]j)}(hLint inode_permission(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j+)}(hinth]hint}(hjXhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjXhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM-ubj)}(h h]h }(hj+XhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXhhhj*XhM-ubj/)}(hinode_permissionh]j5)}(hinode_permissionh]hinode_permission}(hj=XhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9Xubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjXhhhj*XhM-ubj)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjYXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUXubj)}(h h]h }(hjfXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUXubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjwXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjyXmodnameN classnameNjj)}j]j)}jj?Xsbc.inode_permissionasbuh1hhjUXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUXubjX)}(hj[h]h*}(hjXhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjUXubj5)}(hidmaph]hidmap}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQXubj)}(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}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]jXc.inode_permissionasbuh1hhjXubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubjX)}(hj[h]h*}(hjYhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjXubj5)}(hinodeh]hinode}(hj"YhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQXubj)}(hint maskh](j+)}(hinth]hint}(hj;YhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj7Yubj)}(h h]h }(hjIYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7Yubj5)}(hmaskh]hmask}(hjWYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7Yubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQXubeh}(h]h ]h"]h$]h&]jLjMuh1jhjXhhhj*XhM-ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjXhhhj*XhM-ubah}(h]jXah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj*XhM-hjXhhubjc)}(hhh]h)}(h(Check for access rights to a given inodeh]h(Check for access rights to a given inode}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM-hj~Yhhubah}(h]h ]h"]h$]h&]uh1jbhjXhhhj*XhM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjOhNhNubj)}(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)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM1hjYubj)}(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)}(hjYh]hstruct mnt_idmap *idmap}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM.hjYubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM.hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM.hjYubj)}(h5``struct inode *inode`` Inode to check permission on h](j)}(h``struct inode *inode``h]j)}(hjYh]hstruct inode *inode}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM/hjYubj)}(hhh]h)}(hInode to check permission onh]hInode to check permission on}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhM/hjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhM/hjYubj)}(hL``int mask`` Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``) h](j)}(h ``int mask``h]j)}(hj4Zh]hint mask}(hj6ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Zubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM0hj.Zubj)}(hhh]h)}(h>Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``)h](hRight to check for (}(hjMZhhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hjUZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMZubh, }(hjMZhhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hjgZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMZubh, }hjMZsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjyZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMZubh)}(hjMZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjIZhM0hjJZubah}(h]h ]h"]h$]h&]uh1jhj.Zubeh}(h]h ]h"]h$]h&]uh1jhjIZhM0hjYubeh}(h]h ]h"]h$]h&]uh1jhjYubh)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM2hjYubh)}(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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM2hjYubh)}(hEWhen checking for MAY_APPEND, MAY_WRITE must also be set in **mask**.h](hi_mutex.h](h)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjjubj)}(hhh](j)}(h@``struct qstr *name`` qstr storing pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjjh]hstruct qstr *name}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM~ hjjubj)}(hhh]h)}(h)qstr storing pathname component to lookuph]h)qstr storing pathname component to lookup}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhM~ hjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhM~ hjjubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjkh]hstruct dentry *base}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjjubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM hjkubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjjubeh}(h]h ]h"]h$]h&]uh1jhjjubh)}(h**Description**h]j)}(hj;kh]h Description}(hj=khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9kubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjjubh)}(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.}(hjQkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjjubh)}(h#The caller must hold base->i_mutex.h]h#The caller must hold base->i_mutex.}(hj`khhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlookup_one (C function) c.lookup_onehNtauh1hhjOhhhNhNubh)}(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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhjkhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j)}j lookup_onesb c.lookup_oneasbuh1hhjkhhhjkhM ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhjkhM ubjX)}(hj[h]h*}(hjkhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjkhhhjkhM ubj/)}(h lookup_oneh]j5)}(hjkh]h lookup_one}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjkhhhjkhM ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj lhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj'lhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)lmodnameN classnameNjj)}j]jk c.lookup_oneasbuh1hhjlubj)}(h h]h }(hjElhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubjX)}(hj[h]h*}(hjSlhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjlubj5)}(hidmaph]hidmap}(hj`lhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjylhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjulubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjulubh)}(hhh]j5)}(hqstrh]hqstr}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jk c.lookup_oneasbuh1hhjulubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjulubjX)}(hj[h]h*}(hjlhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjulubj5)}(hnameh]hname}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjulubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(hhh]j5)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj mmodnameN classnameNjj)}j]jk c.lookup_oneasbuh1hhjlubj)}(h h]h }(hj%mhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubjX)}(hj[h]h*}(hj3mhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjlubj5)}(hbaseh]hbase}(hj@mhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubeh}(h]h ]h"]h$]h&]jLjMuh1jhjkhhhjkhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkhhhjkhM ubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjkhM hjkhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjgmhhubah}(h]h ]h"]h$]h&]uh1jbhjkhhhjkhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjOhNhNubj)}(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_mutex.h](h)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjmubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjmh]hstruct mnt_idmap *idmap}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjmubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjmubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjmh]hstruct qstr *name}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjmubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjmubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjnh]hstruct dentry *base}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hj6nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2nhM hj3nubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhj2nhM hjmubeh}(h]h ]h"]h$]h&]uh1jhjmubh)}(h**Description**h]j)}(hjXnh]h Description}(hjZnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjmubh)}(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.}(hjnnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjmubh)}(h#The caller must hold base->i_mutex.h]h#The caller must hold base->i_mutex.}(hj}nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h lookup_one_unlocked (C function)c.lookup_one_unlockedhNtauh1hhjOhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnhhhjnhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j)}jlookup_one_unlockedsbc.lookup_one_unlockedasbuh1hhjnhhhjnhM ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnhhhjnhM ubjX)}(hj[h]h*}(hjnhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjnhhhjnhM ubj/)}(hlookup_one_unlockedh]j5)}(hjnh]hlookup_one_unlocked}(hj ohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjnhhhjnhM ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj&ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"oubj)}(h h]h }(hj3ohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"oubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjDohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFomodnameN classnameNjj)}j]jnc.lookup_one_unlockedasbuh1hhj"oubj)}(h h]h }(hjbohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"oubjX)}(hj[h]h*}(hjpohhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj"oubj5)}(hidmaph]hidmap}(hj}ohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"oubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubh)}(hhh]j5)}(hqstrh]hqstr}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]jnc.lookup_one_unlockedasbuh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubjX)}(hj[h]h*}(hjohhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjoubj5)}(hnameh]hname}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(hdentryh]hdentry}(hj$phhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!pubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&pmodnameN classnameNjj)}j]jnc.lookup_one_unlockedasbuh1hhjpubj)}(h h]h }(hjBphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubjX)}(hj[h]h*}(hjPphhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjpubj5)}(hbaseh]hbase}(hj]phhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubeh}(h]h ]h"]h$]h&]jLjMuh1jhjnhhhjnhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjnhhhjnhM ubah}(h]jnah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjnhM hjnhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjphhubah}(h]h ]h"]h$]h&]uh1jbhjnhhhjnhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjOhNhNubj)}(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)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjph]hstruct mnt_idmap *idmap}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphM hjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphM hjpubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjqh]hstruct qstr *name}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubj)}(hhh]h)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM hjqubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjpubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hj:qh]hstruct dentry *base}(hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCsmodnameN classnameNjj)}j]jrc.lookup_one_positive_unlockedasbuh1hhjsubj)}(h h]h }(hj_shhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubjX)}(hj[h]h*}(hjmshhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjsubj5)}(hbaseh]hbase}(hjzshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;rubeh}(h]h ]h"]h$]h&]jLjMuh1jhjqhhhjqhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjqhhhjqhM ubah}(h]jqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjqhM hjqhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjshhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjqhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from ``struct qstr *name`` qstr holding pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** This helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want. Note that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems. This can be used for in-kernel filesystem clients such as file servers. The helper should be called without i_rwsem held.h](h)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjsh]hstruct mnt_idmap *idmap}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshM hjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshM hjsubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjth]hstruct qstr *name}(hj thhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hj7thhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3thM hj4tubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhj3thM hjsubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjWth]hstruct dentry *base}(hjYthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjQtubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjpthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlthM hjmtubah}(h]h ]h"]h$]h&]uh1jhjQtubeh}(h]h ]h"]h$]h&]uh1jhjlthM hjsubeh}(h]h ]h"]h$]h&]uh1jhjsubh)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(hGThis can be used for in-kernel filesystem clients such as file servers.h]hGThis can be used for in-kernel filesystem clients such as file servers.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(h1The helper should be called without i_rwsem held.h]h1The helper should be called without i_rwsem held.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#lookup_noperm_unlocked (C function)c.lookup_noperm_unlockedhNtauh1hhjOhhhNhNubh)}(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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuhhhjuhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hj#uhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%umodnameN classnameNjj)}j]j)}jlookup_noperm_unlockedsbc.lookup_noperm_unlockedasbuh1hhjuhhhjuhM ubj)}(h h]h }(hjDuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuhhhjuhM ubjX)}(hj[h]h*}(hjRuhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjuhhhjuhM ubj/)}(hlookup_noperm_unlockedh]j5)}(hjAuh]hlookup_noperm_unlocked}(hjcuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_uubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjuhhhjuhM ubj)}(h((struct qstr *name, struct dentry *base)h](j)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hj~uhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzuubh)}(hhh]j5)}(hqstrh]hqstr}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j?uc.lookup_noperm_unlockedasbuh1hhjzuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzuubjX)}(hj[h]h*}(hjuhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjzuubj5)}(hnameh]hname}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvuubj)}(hstruct dentry *baseh](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}(hj vhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj vubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j]j?uc.lookup_noperm_unlockedasbuh1hhjuubj)}(h h]h }(hj*vhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubjX)}(hj[h]h*}(hj8vhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjuubj5)}(hbaseh]hbase}(hjEvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvuubeh}(h]h ]h"]h$]h&]jLjMuh1jhjuhhhjuhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhjuhM ubah}(h]jtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjuhM hjthhubjc)}(hhh]h)}(h5filesystem helper to lookup single pathname componenth]h5filesystem helper to lookup single pathname component}(hjovhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjlvhhubah}(h]h ]h"]h$]h&]uh1jbhjthhhjuhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjOhNhNubj)}(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.h](h)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubj)}(hhh](j)}(h3``struct qstr *name`` pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjvh]hstruct qstr *name}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubj)}(hhh]h)}(hpathname component to lookuph]hpathname component to lookup}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM hjvubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjvh]hstruct dentry *base}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM hjvubeh}(h]h ]h"]h$]h&]uh1jhjvubh)}(h**Description**h]j)}(hj$wh]h Description}(hj&whhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"wubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubh)}(hNote that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking.h]hNote that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking.}(hj:whhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubh)}(hyUnlike lookup_noperm, it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary.h]hyUnlike lookup_noperm, it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary.}(hjIwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_create (C function) c.vfs_createhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hpint vfs_create (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool want_excl)h]j)}(hoint vfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool want_excl)h](j+)}(hinth]hint}(hjxwhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjtwhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM. ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtwhhhjwhM. ubj/)}(h vfs_createh]j5)}(h vfs_createh]h vfs_create}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjtwhhhjwhM. ubj)}(ha(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool want_excl)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]j)}jjwsb c.vfs_createasbuh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubjX)}(hj[h]h*}(hjxhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjwubj5)}(hidmaph]hidmap}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hj'xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#xubj)}(h h]h }(hj4xhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#xubh)}(hhh]j5)}(hinodeh]hinode}(hjExhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGxmodnameN classnameNjj)}j]jw c.vfs_createasbuh1hhj#xubj)}(h h]h }(hjcxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#xubjX)}(hj[h]h*}(hjqxhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj#xubj5)}(hdirh]hdir}(hj~xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#xubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]jw c.vfs_createasbuh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubjX)}(hj[h]h*}(hjxhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjxubj5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj yhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ymodnameN classnameNjj)}j]jw c.vfs_createasbuh1hhjyubj)}(h h]h }(hj(yhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj5)}(hmodeh]hmode}(hj6yhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(hbool want_exclh](j+)}(hj.h]hbool}(hjOyhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjKyubj)}(h h]h }(hj\yhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKyubj5)}(h want_exclh]h want_excl}(hjjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubeh}(h]h ]h"]h$]h&]jLjMuh1jhjtwhhhjwhM. ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjpwhhhjwhM. ubah}(h]jkwah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwhM. hjmwhhubjc)}(hhh]h)}(hcreate new fileh]hcreate new file}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM. hjyhhubah}(h]h ]h"]h$]h&]uh1jbhjmwhhhjwhM. ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjOhNhNubj)}(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)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM2 hjyubj)}(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)}(hjyh]hstruct mnt_idmap *idmap}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM/ hjyubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhM/ hjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhM/ hjyubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjzh]hstruct inode *dir}(hjzhhhNhNubah}(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.chM0 hjzubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hj'zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#zhM0 hj$zubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj#zhM0 hjyubj)}(h3``struct dentry *dentry`` dentry of the child file h](j)}(h``struct dentry *dentry``h]j)}(hjGzh]hstruct dentry *dentry}(hjIzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM1 hjAzubj)}(hhh]h)}(hdentry of the child fileh]hdentry of the child file}(hj`zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\zhM1 hj]zubah}(h]h ]h"]h$]h&]uh1jhjAzubeh}(h]h ]h"]h$]h&]uh1jhj\zhM1 hjyubj)}(h(``umode_t mode`` mode of the child file h](j)}(h``umode_t mode``h]j)}(hjzh]h umode_t mode}(hjzhhhNhNubah}(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.chM2 hjzzubj)}(hhh]h)}(hmode of the child fileh]hmode of the child file}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM2 hjzubah}(h]h ]h"]h$]h&]uh1jhjzzubeh}(h]h ]h"]h$]h&]uh1jhjzhM2 hjyubj)}(h7``bool want_excl`` whether the file must not yet exist h](j)}(h``bool want_excl``h]j)}(hjzh]hbool want_excl}(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.chM3 hjzubj)}(hhh]h)}(h#whether the file must not yet existh]h#whether the file must not yet exist}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM3 hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM3 hjyubeh}(h]h ]h"]h$]h&]uh1jhjyubh)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM5 hjyubh)}(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.chM5 hjyubh)}(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}(hj3{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}(hjE{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.chM7 hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h kernel_tmpfile_open (C function)c.kernel_tmpfile_openhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hstruct file * kernel_tmpfile_open (struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred)h]j)}(hstruct file *kernel_tmpfile_open(struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred)h](j )}(hjzh]hstruct}(hj~{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjz{hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMwubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjz{hhhj{hMwubh)}(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)}jkernel_tmpfile_opensbc.kernel_tmpfile_openasbuh1hhjz{hhhj{hMwubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjz{hhhj{hMwubjX)}(hj[h]h*}(hj{hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjz{hhhj{hMwubj/)}(hkernel_tmpfile_openh]j5)}(hj{h]hkernel_tmpfile_open}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjz{hhhj{hMwubj)}(hn(struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(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.kernel_tmpfile_openasbuh1hhj{ubj)}(h h]h }(hj4|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubjX)}(hj[h]h*}(hjB|hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj{ubj5)}(hidmaph]hidmap}(hjO|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubj)}(hconst struct path *parentpathh](j )}(hjh]hconst}(hjh|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd|ubj)}(h h]h }(hju|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd|ubj )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd|ubh)}(hhh]j5)}(hpathh]hpath}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j{c.kernel_tmpfile_openasbuh1hhjd|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd|ubjX)}(hj[h]h*}(hj|hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjd|ubj5)}(h parentpathh]h parentpath}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjd|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j{c.kernel_tmpfile_openasbuh1hhj|ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj5)}(hmodeh]hmode}(hj"}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubj)}(h int open_flagh](j+)}(hinth]hint}(hj;}hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj7}ubj)}(h h]h }(hjI}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7}ubj5)}(h open_flagh]h open_flag}(hjW}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubj)}(hconst struct cred *credh](j )}(hjh]hconst}(hjp}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjl}ubj)}(h h]h }(hj}}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjl}ubj )}(hjzh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjl}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjl}ubh)}(hhh]j5)}(hcredh]hcred}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]j{c.kernel_tmpfile_openasbuh1hhjl}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjl}ubjX)}(hj[h]h*}(hj}hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjl}ubj5)}(hcredh]hcred}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjl}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjz{hhhj{hMwubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjv{hhhj{hMwubah}(h]jq{ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{hMwhjs{hhubjc)}(hhh]h)}(h&open a tmpfile for kernel internal useh]h&open a tmpfile for kernel internal use}(hj ~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMwhj ~hhubah}(h]h ]h"]h$]h&]uh1jbhjs{hhhj{hMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$~jj$~jjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct path *parentpath`` path of the base directory ``umode_t mode`` mode of the new tmpfile ``int open_flag`` flags ``const struct cred *cred`` credentials for open **Description** Create and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.h](h)}(h**Parameters**h]j)}(hj.~h]h Parameters}(hj0~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,~ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM{hj(~ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjM~h]hstruct mnt_idmap *idmap}(hjO~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMxhjG~ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjf~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjb~hMxhjc~ubah}(h]h ]h"]h$]h&]uh1jhjG~ubeh}(h]h ]h"]h$]h&]uh1jhjb~hMxhjD~ubj)}(h=``const struct path *parentpath`` path of the base directory h](j)}(h!``const struct path *parentpath``h]j)}(hj~h]hconst struct path *parentpath}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMyhj~ubj)}(hhh]h)}(hpath of the base directoryh]hpath of the base directory}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMyhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMyhjD~ubj)}(h)``umode_t mode`` mode of the new tmpfile h](j)}(h``umode_t mode``h]j)}(hj~h]h umode_t mode}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMzhj~ubj)}(hhh]h)}(hmode of the new tmpfileh]hmode of the new tmpfile}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMzhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMzhjD~ubj)}(h``int open_flag`` flags h](j)}(h``int open_flag``h]j)}(hj~h]h int open_flag}(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)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM{hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj hM{hjD~ubj)}(h1``const struct cred *cred`` credentials for open h](j)}(h``const struct cred *cred``h]j)}(hj1h]hconst struct cred *cred}(hj3hhhNhNubah}(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)}(hcredentials for openh]hcredentials for open}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM|hjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhM|hjD~ubeh}(h]h ]h"]h$]h&]uh1jhj(~ubh)}(h**Description**h]j)}(hjlh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM~hj(~ubh)}(hCreate and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.h]hCreate and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM~hj(~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_mknod (C function) c.vfs_mknodhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hjint vfs_mknod (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)h]j)}(hiint vfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMcubj/)}(h vfs_mknodh]j5)}(h vfs_mknodh]h vfs_mknod}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMcubj)}(h\(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(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 reftargetjmodnameN classnameNjj)}j]j)}jjsb c.vfs_mknodasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj:hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hidmaph]hidmap}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjmhhhNhNubah}(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 reftargetjmodnameN classnameNjj)}j]j( c.vfs_mknodasbuh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj\ubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjЀhhhNhNubah}(h]h ]jah"]h$]h&]uh1j 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_mknodasbuh1hhj̀ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj̀ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj̀ubj5)}(hdentryh]hdentry}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̀ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j( c.vfs_mknodasbuh1hhj<ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubj5)}(hmodeh]hmode}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h dev_t devh](h)}(hhh]j5)}(hdev_th]hdev_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j( c.vfs_mknodasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMcubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMcubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMchjhhubjc)}(hhh]h)}(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.chMchjށhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMghjubj)}(hhh](j)}(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.chMdhjubj)}(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&]uh1hhj7hMdhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMdhjubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMehjUubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMehjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMehjubj)}(h:``struct dentry *dentry`` dentry of the child device node h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMfhjubj)}(hhh]h)}(hdentry of the child device nodeh]hdentry of the child device node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjubj)}(h/``umode_t mode`` mode of the child device node h](j)}(h``umode_t mode``h]j)}(hj͂h]h umode_t mode}(hjςhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˂ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMghjǂubj)}(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&]uh1jhjǂubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h0``dev_t dev`` device number of device to create h](j)}(h ``dev_t dev``h]j)}(hjh]h dev_t dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhhjubj)}(hhh]h)}(h!device number of device to createh]h!device number of device to create}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMjhjubh)}(hCreate a device node or file.h]hCreate a device node or file.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMjhjubh)}(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 }(hjfhhhNhNubj)}(h **idmap**h]hidmap}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubhB. This function will then take care to map the inode according to }(hjfhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjfhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMlhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_mkdir (C function) c.vfs_mkdirhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hkstruct dentry * vfs_mkdir (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode)h]j)}(histruct dentry *vfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode)h](j )}(hjzh]hstruct}(hj˃hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjǃhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjكhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjǃhhhj؃hMubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j vfs_mkdirsb c.vfs_mkdirasbuh1hhjǃhhhj؃hMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjǃhhhj؃hMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjǃhhhj؃hMubj/)}(h vfs_mkdirh]j5)}(hjh]h vfs_mkdir}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjǃhhhj؃hMubj)}(hQ(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]j c.vfs_mkdirasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjAubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj„hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjӄhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjЄubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjՄmodnameN classnameNjj)}j]j c.vfs_mkdirasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdirh]hdir}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubh)}(hhh]j5)}(hdentryh]hdentry}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j c.vfs_mkdirasbuh1hhj!ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubjX)}(hj[h]h*}(hjohhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj!ubj5)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_mkdirasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjąhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjǃhhhj؃hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjÃhhhj؃hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj؃hMhjhhubjc)}(hhh]h)}(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&]uh1jbhjhhhj؃hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj/h]hstruct mnt_idmap *idmap}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj)ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjhh]hstruct inode *dir}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjbubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj&ubj)}(h8``struct dentry *dentry`` dentry of the child directory h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj&ubj)}(h-``umode_t mode`` mode of the child directory h](j)}(h``umode_t mode``h]j)}(hjچh]h umode_t mode}(hj܆hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj؆ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjԆubj)}(hhh]h)}(hmode of the child directoryh]hmode of the child directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԆubeh}(h]h ]h"]h$]h&]uh1jhjhMhj&ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubh)}(hCreate a directory.h]hCreate a directory.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj:hhhNhNubj)}(h **idmap**h]hidmap}(hjBhhhNhNubah}(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}(hjThhhNhNubah}(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}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubh)}(hIn the event that the filesystem does not use the ***dentry** but leaves it negative or unhashes it and possibly splices a different one returning it, the original dentry is dput() and the alternate is returned.h](h2In the event that the filesystem does not use the }(hjhhhNhNubj)}(h ***dentry**h]h*dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh but leaves it negative or unhashes it and possibly splices a different one returning it, the original dentry is dput() and the alternate is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.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.}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_rmdir (C function) c.vfs_rmdirhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hQint vfs_rmdir (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry)h]j)}(hPint vfs_rmdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry)h](j+)}(hinth]hint}(hjχhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjˇhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMIubj)}(h h]h }(hjއhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjˇhhhj݇hMIubj/)}(h vfs_rmdirh]j5)}(h vfs_rmdirh]h vfs_rmdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjˇhhhj݇hMIubj)}(hC(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]j)}jjsb c.vfs_rmdirasbuh1hhjubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjXhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hidmaph]hidmap}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jF c.vfs_rmdirasbuh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubjX)}(hj[h]h*}(hjȈhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjzubj5)}(hdirh]hdir}(hjՈhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jF c.vfs_rmdirasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj8hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjˇhhhj݇hMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjLJhhhj݇hMIubah}(h]j‡ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj݇hMIhjćhhubjc)}(hhh]h)}(hremove directoryh]hremove directory}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMIhjlhhubah}(h]h ]h"]h$]h&]uh1jbhjćhhhj݇hMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX?**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` inode of the parent directory ``struct dentry *dentry`` dentry of the child directory **Description** Remove a directory. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMMhjubj)}(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.chMJhjubj)}(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ʼnhMJhjƉubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʼnhMJhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(h8``struct dentry *dentry`` dentry of the child directory h](j)}(h``struct dentry *dentry``h]j)}(hj"h]hstruct dentry *dentry}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMLhjubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMLhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMLhjubeh}(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.chMNhjubh)}(hRemove a directory.h]hRemove a directory.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMNhjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_unlink (C function) c.vfs_unlinkhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hrint vfs_unlink (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct inode **delegated_inode)h]j)}(hqint vfs_unlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct inode **delegated_inode)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h vfs_unlinkh]j5)}(h vfs_unlinkh]h vfs_unlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hc(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct inode **delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j]j)}jj sb c.vfs_unlinkasbuh1hhj ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hjphhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(hidmaph]hidmap}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j^ c.vfs_unlinkasbuh1hhjubj)}(h h]h }(hjҋhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj)}j]j^ c.vfs_unlinkasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjPhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode **delegated_inodeh](j )}(hjzh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j^ c.vfs_unlinkasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjrubjX)}(hj[h]h*}(hj͌hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjrubj5)}(hdelegated_inodeh]hdelegated_inode}(hjڌhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjߊhhhjhMubah}(h]jڊah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj܊hhubjc)}(hhh]h)}(hunlink a filesystem objecth]hunlink a filesystem object}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj܊hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hXK**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_mutex. 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_mutex before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.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)}(hjEh]hstruct mnt_idmap *idmap}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj?ubj)}(hhh]h)}(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&]uh1hhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj<ubj)}(h'``struct inode *dir`` 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.chMhjxubj)}(hhh]h)}(hparent directoryh]hparent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<ubj)}(h!``struct dentry *dentry`` victim h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hvictimh]hvictim}(hjЍhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj̍hMhj͍ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̍hMhj<ubj)}(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&]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:56: ./fs/namei.chMhj ubh)}(h"The caller must hold dir->i_mutex.h]h"The caller must hold dir->i_mutex.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubh)}(hX)If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation on that inode and retry. Because breaking a delegation may take a long time, the caller should drop dir->i_mutex 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_mutex before doing so.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjnhhhNhNubj)}(h **idmap**h]hidmap}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubhB. This function will then take care to map the inode according to }(hjnhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjnhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_symlink (C function) c.vfs_symlinkhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hhint vfs_symlink (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname)h]j)}(hgint vfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname)h](j+)}(hinth]hint}(hjӎhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjώhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjώhhhjhM\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.hjώhhhjhM\ubj)}(hX(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]j)}jjsb c.vfs_symlinkasbuh1hhj ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hj\hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(hidmaph]hidmap}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jJ c.vfs_symlinkasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubjX)}(hj[h]h*}(hj̏hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj~ubj5)}(hdirh]hdir}(hjُhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jJ c.vfs_symlinkasbuh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj<hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *oldnameh](j )}(hjh]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubj+)}(hcharh]hchar}(hj}hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj^ubj5)}(holdnameh]holdname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjώhhhjhM\ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjˎhhhjhM\ubah}(h]jƎah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM\hjȎhhubjc)}(hhh]h)}(hcreate symlinkh]hcreate symlink}(hjАhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\hj͐hhubah}(h]h ]h"]h$]h&]uh1jbhjȎhhhjhM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM]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]hjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjJh]hstruct inode *dir}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM^hjDubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hM^hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM^hjubj)}(h;``struct dentry *dentry`` dentry of the child symlink file h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM_hj}ubj)}(hhh]h)}(h dentry of the child symlink fileh]h dentry of the child symlink file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjubj)}(h4``const char *oldname`` name of the file to link to h](j)}(h``const char *oldname``h]j)}(hjh]hconst char *oldname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM`hjubj)}(hhh]h)}(hname of the file to link toh]hname of the file to link to}(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)}(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.chMbhjubh)}(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}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMdhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_link (C function) c.vfs_linkhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hint vfs_link (struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode)h]j)}(hint vfs_link(struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj}hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}hhhjhMubj/)}(hvfs_linkh]j5)}(hvfs_linkh]hvfs_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj}hhhjhMubj)}(h(struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode)h](j)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj˒hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjܒhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjْubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjޒmodnameN classnameNjj)}j]j)}jjsb c.vfs_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(h old_dentryh]h old_dentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j c.vfs_linkasbuh1hhj,ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubjX)}(hj[h]h*}(hjzhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj,ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_linkasbuh1hhjubj)}(h h]h }(hjܓhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hdentryh]hdentry}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]j c.vfs_linkasbuh1hhj ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hjZhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(h new_dentryh]h new_dentry}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode **delegated_inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubh)}(hhh]j5)}(hinodeh]hinode}(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|ubjX)}(hj[h]h*}(hjʔhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubjX)}(hj[h]h*}(hjהhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj}hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjyhhhjhMubah}(h]jtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjvhhubjc)}(hhh]h)}(hcreate a new linkh]hcreate a new link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhjvhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjOhNhNubj)}(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_mutex 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_mutex 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)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj*ubj)}(hhh](j)}(h2``struct dentry *old_dentry`` object to be linked h](j)}(h``struct dentry *old_dentry``h]j)}(hjOh]hstruct dentry *old_dentry}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjIubj)}(hhh]h)}(hobject to be linkedh]hobject to be linked}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFubj)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(h!``struct inode *dir`` new parent 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.chMhjubj)}(hhh]h)}(h new parenth]h new parent}(hjڕhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj֕hMhjוubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֕hMhjFubj)}(h;``struct dentry *new_dentry`` where to create the new link h](j)}(h``struct dentry *new_dentry``h]j)}(hjh]hstruct dentry *new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hwhere to create the new linkh]hwhere to create the new link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(hL``struct inode **delegated_inode`` returns inode needing a delegation break h](j)}(h"``struct inode **delegated_inode``h]j)}(hj3h]hstruct inode **delegated_inode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj-ubj)}(hhh]h)}(h(returns inode needing a delegation breakh]h(returns inode needing a delegation break}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubh)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj*ubh)}(h!The caller must hold dir->i_mutexh]h!The caller must hold dir->i_mutex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj*ubh)}(hXEIf vfs_link discovers a delegation on the to-be-linked file in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_mutex 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_mutex before doing so.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj*ubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj*ubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hj˖hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(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*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_rename (C function) c.vfs_renamehNtauh1hhjOhhhNhNubh)}(hhh](j)}(h&int vfs_rename (struct renamedata *rd)h]j)}(h%int vfs_rename(struct renamedata *rd)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMbubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj$hMbubj/)}(h vfs_renameh]j5)}(h vfs_renameh]h vfs_rename}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj$hMbubj)}(h(struct renamedata *rd)h]j)}(hstruct renamedata *rdh](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 renamedatah]h renamedata}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]j)}jj9sb c.vfs_renameasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjOubj5)}(hrdh]hrd}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj$hMbubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj$hMbubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj$hMbhj hhubjc)}(hhh]h)}(hrename a filesystem objecth]hrename a filesystem object}(hj֗hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMbhjӗhhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj$hMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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_mutex 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_mutex in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_mutex 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)}(hjh]hstruct renamedata *rd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMchjubj)}(hhh]h)}(h8pointer to :c:type:`struct renamedata ` infoh](h pointer to }(hj0hhhNhNubh)}(h(:c:type:`struct renamedata `h]j)}(hj:h]hstruct renamedata}(hj<hhhNhNubah}(h]h ](xrefjc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocfilesystems/api-summary refdomainjreftypetype refexplicitrefwarnjj)}j]sb reftarget renamedatauh1hhj,hMchj0ubh info}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj,hMchj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMchjubah}(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: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()).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMehjubh)}(hXPIf vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so.h]hXPIf vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMghjubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMnhjubh)}(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.chMrhjubjQ)}(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_mutex 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_mutex in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_mutex on parents, which works but leads to some truly excessive locking].h]j)}(hhh](j;-)}(hwe can get into loop creation.h]h)}(hj֘h]hwe can get into loop creation.}(hjؘhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMvhjԘubah}(h]h ]h"]h$]h&]uh1j:-hjјubj;-)}(hrace potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story.h]h)}(hrace potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story.h]hrace potential - two innocent renames can create a loop together. That’s where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that’s another story.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMwhjubah}(h]h ]h"]h$]h&]uh1j:-hjјubj;-)}(hXjwe may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_mutex 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_mutex 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_mutex 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.chM{hjubah}(h]h ]h"]h$]h&]uh1j:-hjјubj;-)}(hXconversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_mutex in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_mutex 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_mutex in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_mutex 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_mutex in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_mutex on parents, which works but leads to some truly excessive locking].}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubah}(h]h ]h"]h$]h&]uh1j:-hjјubeh}(h]h ]h"]h$]h&]j6 loweralphaj8hj9juh1jhj͘ubah}(h]h ]h"]h$]h&]uh1jQhjhMvhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_readlink (C function)c.vfs_readlinkhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hIint vfs_readlink (struct dentry *dentry, char __user *buffer, int buflen)h]j)}(hHint vfs_readlink(struct dentry *dentry, char __user *buffer, int buflen)h](j+)}(hinth]hint}(hjdhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj`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/)}(h vfs_readlinkh]j5)}(h vfs_readlinkh]h vfs_readlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj`hhhjrhMubj)}(h8(struct dentry *dentry, char __user *buffer, int buflen)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.vfs_readlinkasbuh1hhjubj)}(h h]h }(hjߙhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hchar __user *bufferh](j+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh__user}(hjhhhNhNubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjAhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbufferh]hbuffer}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int buflenh](j+)}(hinth]hint}(hjghhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjcubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj5)}(hbuflenh]hbuflen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj`hhhjrhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj\hhhjrhMubah}(h]jWah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjrhMhjYhhubjc)}(hhh]h)}(h'copy symlink body into userspace bufferh]h'copy symlink body into userspace buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjYhhhjrhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjŚjjŚjjjuh1hhhhjOhNhNubj)}(hX **Parameters** ``struct dentry *dentry`` dentry on which to get symbolic link ``char __user *buffer`` user memory pointer ``int buflen`` size of buffer **Description** Does not touch atime. That's up to the caller if necessary Does not call security hook.h](h)}(h**Parameters**h]j)}(hjϚh]h Parameters}(hjњhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͚ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjɚubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``char __user *buffer`` user memory pointer h](j)}(h``char __user *buffer``h]j)}(hj'h]hchar __user *buffer}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj!ubj)}(hhh]h)}(huser memory pointerh]huser memory pointer}(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 buflen`` size of buffer h](j)}(h``int buflen``h]j)}(hj`h]h int buflen}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjZubj)}(hhh]h)}(hsize of bufferh]hsize of buffer}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubeh}(h]h ]h"]h$]h&]uh1jhjɚubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjɚubh)}(h;Does not touch atime. That's up to the caller if necessaryh]h=Does not touch atime. That’s up to the caller if necessary}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjɚubh)}(hDoes not call security hook.h]hDoes not call security hook.}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_get_link (C function)c.vfs_get_linkhNtauh1hhjOhhhNhNubh)}(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 ubj+)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubjX)}(hj[h]h*}(hj'hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhM ubj/)}(h vfs_get_linkh]j5)}(h vfs_get_linkh]h vfs_get_link}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h2(struct dentry *dentry, struct delayed_call *done)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubh)}(hhh]j5)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]j)}jj:sbc.vfs_get_linkasbuh1hhjPubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjPubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubj)}(hstruct delayed_call *doneh](j )}(hjzh]hstruct}(hjƜhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjœubj)}(h h]h }(hjӜhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjœubh)}(hhh]j5)}(h delayed_callh]h delayed_call}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.vfs_get_linkasbuh1hhjœubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjœubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjœubj5)}(hdoneh]hdone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjœubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(hget symlink bodyh]hget symlink body}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjDhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhjOhNhNubj)}(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)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjcubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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}(hjÝhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h,caller needs to free returned data with thish]h,caller needs to free returned data with this}(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&]uh1jhjcubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjcubh)}(h?Calls security hook and i_op->get_link() on the supplied inode.h]h?Calls security hook and i_op->get_link() on the supplied inode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjcubh)}(h?It does not touch atime. That's up to the caller if necessary.h]hAIt does not touch atime. That’s up to the caller if necessary.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjcubh)}(h6Does not work on "special" symlinks like /proc/$$/fd/Nh]h:Does not work on “special” symlinks like /proc/$$/fd/N}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpage_get_link (C function)c.page_get_linkhNtauh1hhjOhhhNhNubh)}(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 hj[hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMBubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[hhhjlhMBubj+)}(hcharh]hchar}(hj{hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj[hhhjlhMBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[hhhjlhMBubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj[hhhjlhMBubj/)}(h page_get_linkh]j5)}(h page_get_linkh]h page_get_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj[hhhjlhMBubj)}(hK(struct dentry *dentry, struct inode *inode, struct delayed_call *callback)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjĞhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjўhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjߞubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.page_get_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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]jc.page_get_linkasbuh1hhj2ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj2ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct delayed_call *callbackh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h delayed_callh]h delayed_call}(hjğhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƟmodnameN classnameNjj)}j]jc.page_get_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hcallbackh]hcallback}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj[hhhjlhMBubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjWhhhjlhMBubah}(h]jRah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjlhMBhjThhubjc)}(hhh]h)}(h2An implementation of the get_link inode_operation.h]h2An implementation of the get_link inode_operation.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMBhj$hhubah}(h]h ]h"]h$]h&]uh1jbhjThhhjlhMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjOhNhNubj)}(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)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMFhjCubj)}(hhh](j)}(hD``struct dentry *dentry`` The directory entry which is the symlink. h](j)}(h``struct dentry *dentry``h]j)}(hjhh]hstruct dentry *dentry}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMChjbubj)}(hhh]h)}(h)The directory entry which is the symlink.h]h)The directory entry which is the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMChj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMChj_ubj)}(h3``struct inode *inode`` The inode for the symlink. h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMDhjubj)}(hhh]h)}(hThe inode for the symlink.h]hThe inode for the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhj_ubj)}(hM``struct delayed_call *callback`` Used to drop the reference to the symlink. h](j)}(h!``struct delayed_call *callback``h]j)}(hjڠh]hstruct delayed_call *callback}(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.chMEhjԠubj)}(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&]uh1hhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjԠubeh}(h]h ]h"]h$]h&]uh1jhjhMEhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMGhjCubh)}(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.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMGhjCubh)}(h **Return**h]j)}(hj<h]hReturn}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMJhjCubh)}(h(A pointer to the NUL-terminated symlink.h]h(A pointer to the NUL-terminated symlink.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMJhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpage_put_link (C function)c.page_put_linkhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hvoid page_put_link (void *arg)h]j)}(hvoid page_put_link(void *arg)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj}hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMXubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}hhhjhMXubj/)}(h page_put_linkh]j5)}(h page_put_linkh]h page_put_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj}hhhjhMXubj)}(h (void *arg)h]j)}(h void *argh](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj̡hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjڡhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hargh]harg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj}hhhjhMXubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjyhhhjhMXubah}(h]jtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMXhjvhhubjc)}(hhh]h)}(h"Drop the reference to the symlink.h]h"Drop the reference to the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jbhjvhhhjhMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjOhNhNubj)}(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)}(hj3h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\hj-ubj)}(hhh]j)}(h4``void *arg`` The folio which contains the symlink. h](j)}(h ``void *arg``h]j)}(hjRh]h void *arg}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMYhjLubj)}(hhh]h)}(h%The folio which contains the symlink.h]h%The folio which contains the symlink.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMYhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMYhjIubah}(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.chM[hj-ubh)}(hThis is used internally by page_get_link(). It is exported for use by filesystems which need to implement a variant of page_get_link() themselves. Despite the apparent symmetry, filesystems which use page_get_link() do not need to call page_put_link().h]hThis is used internally by page_get_link(). It is exported for use by filesystems which need to implement a variant of page_get_link() themselves. Despite the apparent symmetry, filesystems which use page_get_link() do not need to call page_put_link().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[hj-ubh)}(hThe argument, while it has a void pointer type, must be a pointer to the folio which was retrieved from the page cache. The delayed_call infrastructure is used to drop the reference count once the caller is done with the symlink.h]hThe argument, while it has a void pointer type, must be a pointer to the folio which was retrieved from the page cache. The delayed_call infrastructure is used to drop the reference count once the caller is done with the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM`hj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_reset (C function) c.bio_resethNtauh1hhjOhhhNhNubh)}(hhh](j)}(hJvoid bio_reset (struct bio *bio, struct block_device *bdev, blk_opf_t opf)h]j)}(hIvoid bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjݢhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM"ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݢhhhjhM"ubj/)}(h bio_reseth]j5)}(h bio_reseth]h bio_reset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjݢhhhjhM"ubj)}(h;(struct bio *bio, struct block_device *bdev, blk_opf_t opf)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj)}j]j)}jjsb c.bio_resetasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbioh]hbio}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jX c.bio_resetasbuh1hhjubj)}(h h]h }(hj̣hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjڣhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h blk_opf_t opfh](h)}(hhh]j5)}(h blk_opf_th]h blk_opf_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jX c.bio_resetasbuh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hopfh]hopf}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjݢhhhjhM"ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj٢hhhjhM"ubah}(h]jԢah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM"hj֢hhubjc)}(hhh]h)}(hreinitialize a bioh]hreinitialize a bio}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM"hjVhhubah}(h]h ]h"]h$]h&]uh1jbhj֢hhhjhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjOhNhNubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM&hjuubj)}(hhh](j)}(h!``struct bio *bio`` bio to reset h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM#hjubj)}(hhh]h)}(h bio to reseth]h bio to reset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h>``struct block_device *bdev`` block device to use the bio for h](j)}(h``struct block_device *bdev``h]j)}(hjӤh]hstruct block_device *bdev}(hjդhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѤubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM$hjͤubj)}(hhh]h)}(hblock device to use the bio forh]hblock device to use the bio for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjͤubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubj)}(h.``blk_opf_t opf`` operation and flags for bio h](j)}(h``blk_opf_t opf``h]j)}(hj h]h blk_opf_t opf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM%hjubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hM%hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hM%hjubeh}(h]h ]h"]h$]h&]uh1jhjuubh)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM'hjuubjQ)}(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(), }(hjahhhNhNubj)}(h**bio**h]hbio}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh 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.}(hjahhhNhNubeh}(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&]uh1jQhjhM'hjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_chain (C function) c.bio_chainhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h4void bio_chain (struct bio *bio, struct bio *parent)h]j)}(h3void bio_chain(struct bio *bio, struct bio *parent)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMIubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMIubj/)}(h bio_chainh]j5)}(h bio_chainh]h bio_chain}(hjɥhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjťubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMIubj)}(h%(struct bio *bio, struct bio *parent)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj˥sb c.bio_chainasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj1hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbioh]hbio}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjݥubj)}(hstruct bio *parenth](j )}(hjzh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(hbioh]hbio}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]j c.bio_chainasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjSubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjݥubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMIubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMIhjhhubjc)}(hhh]h)}(hchain bio completionsh]hchain bio completions}(hjئhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMIhjզhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(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.chMJhjubj)}(hhh]h)}(hthe target bioh]hthe target bio}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMJhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMJhjubj)}(h1``struct bio *parent`` the parent bio of **bio** h](j)}(h``struct bio *parent``h]j)}(hjRh]hstruct bio *parent}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMKhjLubj)}(hhh]h)}(hthe parent bio of **bio**h](hthe parent bio of }(hjkhhhNhNubj)}(h**bio**h]hbio}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1hhjghMKhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMKhjubeh}(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.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 }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh completes - instead, }(hjhhhNhNubj)}(h **parent**h]hparent}(hj˧hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh,’s bi_end_io won’t be called until both }(hjhhhNhNubj)}(h **parent**h]hparent}(hjݧhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF have completed; the chained bio will also be freed when it completes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMMhjubh)}(h;The caller must not set bi_private or bi_end_io in **bio**.h](h3The caller must not set bi_private or bi_end_io in }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMQhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_alloc_bioset (C function)c.bio_alloc_biosethNtauh1hhjOhhhNhNubh)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEhhhjVhMubh)}(hhh]j5)}(hbioh]hbio}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]j)}jbio_alloc_biosetsbc.bio_alloc_biosetasbuh1hhjEhhhjVhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEhhhjVhMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjEhhhjVhMubj/)}(hbio_alloc_bioseth]j5)}(hjh]hbio_alloc_bioset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjEhhhjVhMubj)}(hf(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask, struct bio_set *bs)h](j)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjèhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjШhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjިubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bio_alloc_biosetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned short nr_vecsh](j+)}(hunsignedh]hunsigned}(hj3hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj/ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj+)}(hshorth]hshort}(hjOhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj/ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj5)}(hnr_vecsh]hnr_vecs}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h blk_opf_t opfh](h)}(hhh]j5)}(h blk_opf_th]h blk_opf_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bio_alloc_biosetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hopfh]hopf}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjϩhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̩ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjѩmodnameN classnameNjj)}j]jc.bio_alloc_biosetasbuh1hhjȩ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&]noemphjLjMuh1jhjubj)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbio_seth]hbio_set}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]jc.bio_alloc_biosetasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj^hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbsh]hbs}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjEhhhjVhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjAhhhjVhMubah}(h]j<ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjVhMhj>hhubjc)}(hhh]h)}(hallocate a bio for I/Oh]hallocate a bio for I/O}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj>hhhjVhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct block_device *bdev`` block device to allocate the bio for (can be ``NULL``) ``unsigned short nr_vecs`` number of bvecs to pre-allocate ``blk_opf_t opf`` operation and flags for bio ``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator ``struct bio_set *bs`` the bio_set to allocate from. **Description** Allocate a bio from the mempools in **bs**. If ``__GFP_DIRECT_RECLAIM`` is set then bio_alloc will always be able to allocate a bio. This is due to the mempool guarantees. To make this work, callers must never allocate more than 1 bio at a time from the general pool. Callers that need to allocate more than 1 bio must always submit the previously allocated bio for IO before attempting to allocate a new one. Failure to do so can cause deadlocks under memory pressure. Note that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows. This would normally mean allocating multiple bios under submit_bio_noacct() would be susceptible to deadlocks, but we have deadlock avoidance code that resubmits any blocked bios from a rescuer thread. However, we do not guarantee forward progress for allocations from other mempools. Doing multiple allocations from the same mempool under submit_bio_noacct() should be avoided - instead, use bio_set's front_pad for per bio allocations. **Return** Pointer to new bio on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh](j)}(hU``struct block_device *bdev`` block device to allocate the bio for (can be ``NULL``) h](j)}(h``struct block_device *bdev``h]j)}(hj֪h]hstruct block_device *bdev}(hjتhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԪubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjЪubj)}(hhh]h)}(h6block device to allocate the bio for (can be ``NULL``)h](h-block device to allocate the bio for (can be }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjЪubeh}(h]h ]h"]h$]h&]uh1jhjhMhjͪubj)}(h;``unsigned short nr_vecs`` number of bvecs to pre-allocate h](j)}(h``unsigned short nr_vecs``h]j)}(hj!h]hunsigned short nr_vecs}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(hnumber of bvecs to pre-allocateh]hnumber of bvecs to pre-allocate}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjͪubj)}(h.``blk_opf_t opf`` operation and flags for bio h](j)}(h``blk_opf_t opf``h]j)}(hjZh]h blk_opf_t opf}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjTubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjͪubj)}(h>``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h*the GFP_* mask given to the slab allocatorh]h*the GFP_* mask given to the slab allocator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjͪubj)}(h5``struct bio_set *bs`` the bio_set to allocate from. h](j)}(h``struct bio_set *bs``h]j)}(hj̫h]hstruct bio_set *bs}(hjΫhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʫubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjƫubj)}(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&]uh1jhjƫubeh}(h]h ]h"]h$]h&]uh1jhjhMhjͪubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(h+Allocate a bio from the mempools in **bs**.h](h$Allocate a bio from the mempools in }(hjhhhNhNubj)}(h**bs**h]hbs}(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.chMhjubh)}(hXIf ``__GFP_DIRECT_RECLAIM`` is set then bio_alloc will always be able to allocate a bio. This is due to the mempool guarantees. To make this work, callers must never allocate more than 1 bio at a time from the general pool. Callers that need to allocate more than 1 bio must always submit the previously allocated bio for IO before attempting to allocate a new one. Failure to do so can cause deadlocks under memory pressure.h](hIf }(hj>hhhNhNubj)}(h``__GFP_DIRECT_RECLAIM``h]h__GFP_DIRECT_RECLAIM}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubhX 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.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(hNote that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows.h]hNote that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(hThis would normally mean allocating multiple bios under submit_bio_noacct() would be susceptible to deadlocks, but we have deadlock avoidance code that resubmits any blocked bios from a rescuer thread.h]hThis would normally mean allocating multiple bios under submit_bio_noacct() would be susceptible to deadlocks, but we have deadlock avoidance code that resubmits any blocked bios from a rescuer thread.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(hHowever, we do not guarantee forward progress for allocations from other mempools. Doing multiple allocations from the same mempool under submit_bio_noacct() should be avoided - instead, use bio_set's front_pad for per bio allocations.h]hHowever, we do not guarantee forward progress for allocations from other mempools. Doing multiple allocations from the same mempool under submit_bio_noacct() should be avoided - instead, use bio_set’s front_pad for per bio allocations.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(h/Pointer to new bio on success, NULL on failure.h]h/Pointer to new bio on success, NULL on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_kmalloc (C function) c.bio_kmallochNtauh1hhjOhhhNhNubh)}(hhh](j)}(hAstruct bio * bio_kmalloc (unsigned short nr_vecs, gfp_t gfp_mask)h]j)}(h?struct bio *bio_kmalloc(unsigned short nr_vecs, gfp_t gfp_mask)h](j )}(hjzh]hstruct}(hjӬhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϬhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjϬhhhjhMTubh)}(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_kmallocasbuh1hhjϬhhhjhMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjϬhhhjhMTubjX)}(hj[h]h*}(hj!hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjϬhhhjhMTubj/)}(h bio_kmalloch]j5)}(hjh]h bio_kmalloc}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjϬhhhjhMTubj)}(h((unsigned short nr_vecs, gfp_t gfp_mask)h](j)}(hunsigned short nr_vecsh](j+)}(hunsignedh]hunsigned}(hjMhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjIubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj+)}(hshorth]hshort}(hjihhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjIubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj5)}(hnr_vecsh]hnr_vecs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubj)}(hgfp_t gfp_maskh](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bio_kmallocasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfp_maskh]hgfp_mask}(hjͭhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubeh}(h]h ]h"]h$]h&]jLjMuh1jhjϬhhhjhMTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjˬhhhjhMTubah}(h]jƬah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMThjȬhhubjc)}(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&]uh1jbhjȬhhhjhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``unsigned short nr_vecs`` number of bio_vecs to allocate ``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator **Description** Use kmalloc to allocate a bio (including bvecs). The bio must be initialized using bio_init() before use. To free a bio returned from this function use kfree() after calling bio_uninit(). A bio returned from this function can be reused by calling bio_uninit() before calling bio_init() again. Note that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path. **Return** Pointer to new bio on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXhjubj)}(hhh](j)}(h:``unsigned short nr_vecs`` number of bio_vecs to allocate h](j)}(h``unsigned short nr_vecs``h]j)}(hj8h]hunsigned short nr_vecs}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMUhj2ubj)}(hhh]h)}(hnumber of bio_vecs to allocateh]hnumber of bio_vecs to allocate}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMUhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMUhj/ubj)}(h>``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator h](j)}(h``gfp_t gfp_mask``h]j)}(hjqh]hgfp_t gfp_mask}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMVhjkubj)}(hhh]h)}(h*the GFP_* mask given to the slab allocatorh]h*the GFP_* mask given to the slab allocator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMVhj/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.chMXhjubh)}(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.}(hj®hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXhjubh)}(hNote that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path.h]hNote that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path.}(hjѮhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM]hjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMahjubh)}(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.chMahjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_put (C function) c.bio_puthNtauh1hhjOhhhNhNubh)}(hhh](j)}(hvoid bio_put (struct bio *bio)h]j)}(hvoid bio_put(struct bio *bio)h](j+)}(hvoidh]hvoid}(hj'hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj#hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhj5hM%ubj/)}(hbio_puth]j5)}(hbio_puth]hbio_put}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#hhhj5hM%ubj)}(h(struct bio *bio)h]j)}(hstruct bio *bioh](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)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjJsb c.bio_putasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj`ubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubah}(h]h ]h"]h$]h&]jLjMuh1jhj#hhhj5hM%ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj5hM%ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hM%hjhhubjc)}(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&]uh1jbhjhhhj5hM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM)hjubj)}(hhh]j)}(h0``struct bio *bio`` bio to release reference to h](j)}(h``struct bio *bio``h]j)}(hj(h]hstruct bio *bio}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM&hj"ubj)}(hhh]h)}(hbio to release reference toh]hbio to release reference to}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hM&hj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hM&hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM(hjubjQ)}(hPut a reference to a :c:type:`struct bio `, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.h]h)}(hPut a reference to a :c:type:`struct bio `, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.h](hPut a reference to a }(hj}hhhNhNubh)}(h:c:type:`struct bio `h]j)}(hjh]h struct bio}(hjhhhNhNubah}(h]h ](jFjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjR refdomainjreftypetype refexplicitrefwarnjjXj[biouh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM(hj}ubhh, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM(hjyubah}(h]h ]h"]h$]h&]uh1jQhjhM(hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_alloc_clone (C function)c.bio_alloc_clonehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hlstruct bio * bio_alloc_clone (struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h]j)}(hjstruct bio *bio_alloc_clone(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h](j )}(hjzh]hstruct}(hjհhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjѰhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMRubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjѰhhhjhMRubh)}(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_cloneasbuh1hhjѰhhhjhMRubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjѰhhhjhMRubjX)}(hj[h]h*}(hj#hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjѰhhhjhMRubj/)}(hbio_alloc_cloneh]j5)}(hjh]hbio_alloc_clone}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjѰhhhjhMRubj)}(hO(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h](j)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]jc.bio_alloc_cloneasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjKubj5)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGubj)}(hstruct bio *bio_srch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj̱hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjݱhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjڱubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj߱modnameN classnameNjj)}j]jc.bio_alloc_cloneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbio_srch]hbio_src}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]jc.bio_alloc_cloneasbuh1hhj+ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj5)}(hgfph]hgfp}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGubj)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(hhh]j5)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bio_alloc_cloneasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjsubj5)}(hbsh]hbs}(hjβhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGubeh}(h]h ]h"]h$]h&]jLjMuh1jhjѰhhhjhMRubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjͰhhhjhMRubah}(h]jȰah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMRhjʰhhubjc)}(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&]uh1jbhjʰhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct block_device *bdev`` block_device to clone onto ``struct bio *bio_src`` bio to clone from ``gfp_t gfp`` allocation priority ``struct bio_set *bs`` bio_set to allocate from **Description** Allocate a new bio that is a clone of **bio_src**. The caller owns the returned bio, but not the actual data it points to. The caller must ensure that the return bio is not freed before **bio_src**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(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.chMVhjubj)}(hhh](j)}(h9``struct block_device *bdev`` block_device to clone onto h](j)}(h``struct block_device *bdev``h]j)}(hj9h]hstruct block_device *bdev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMShj3ubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMShjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMShj0ubj)}(h*``struct bio *bio_src`` bio to clone from h](j)}(h``struct bio *bio_src``h]j)}(hjrh]hstruct bio *bio_src}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMThjlubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMThj0ubj)}(h"``gfp_t gfp`` allocation priority h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMUhjubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjijhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhj0ubj)}(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.chMVhj޳ubj)}(hhh]h)}(hbio_set to allocate fromh]hbio_set to allocate from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhj޳ubeh}(h]h ]h"]h$]h&]uh1jhjhMVhj0ubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXhjubh)}(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 }(hj5hhhNhNubj)}(h **bio_src**h]hbio_src}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubhI. The caller owns the returned bio, but not the actual data it points to.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXhjubh)}(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 }(hjVhhhNhNubj)}(h **bio_src**h]hbio_src}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM[hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_init_clone (C function)c.bio_init_clonehNtauh1hhjOhhhNhNubh)}(hhh](j)}(h_int bio_init_clone (struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp)h]j)}(h^int bio_init_clone(struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMqubj/)}(hbio_init_cloneh]j5)}(hbio_init_cloneh]hbio_init_clone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMqubj)}(hL(struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp)h](j)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjԴhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjдubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjдubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bio_init_cloneasbuh1hhjдubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjдubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjдubj5)}(hbdevh]hbdev}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjдubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj̴ubj)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(hbioh]hbio}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]jc.bio_init_cloneasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjBubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj̴ubj)}(hstruct bio *bio_srch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjõhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjԵhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjѵubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjֵmodnameN classnameNjj)}j]jc.bio_init_cloneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbio_srch]hbio_src}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj̴ubj)}(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.bio_init_cloneasbuh1hhj"ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubj5)}(hgfph]hgfp}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj̴ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMqubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMqubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMqhjhhubjc)}(hhh]h)}(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.chMqhj|hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct block_device *bdev`` block_device to clone onto ``struct bio *bio`` bio to clone into ``struct bio *bio_src`` bio to clone from ``gfp_t gfp`` allocation priority **Description** Initialize a new bio in caller provided memory that is a clone of **bio_src**. The caller owns the returned bio, but not the actual data it points to. The caller must ensure that **bio_src** is not freed before **bio**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMuhjubj)}(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}(hj¶hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMrhjubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjٶhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjնhMrhjֶubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjնhMrhjubj)}(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}(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)}(hj2h]hstruct bio *bio_src}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMthjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMthjubj)}(h"``gfp_t gfp`` allocation priority h](j)}(h ``gfp_t gfp``h]j)}(hjkh]h gfp_t gfp}(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.chMuhjeubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubeh}(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.chMwhjubh)}(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}(hjķhhhNhNubah}(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.chMwhjubh)}(hDThe caller must ensure that **bio_src** is not freed before **bio**.h](hThe caller must ensure that }(hjݷhhhNhNubj)}(h **bio_src**h]hbio_src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݷubh is not freed before }(hjݷhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݷubh.}(hjݷhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMzhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__bio_add_page (C function)c.__bio_add_pagehNtauh1hhjOhhhNhNubh)}(hhh](j)}(h\void __bio_add_page (struct bio *bio, struct page *page, unsigned int len, unsigned int off)h]j)}(h[void __bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int off)h](j+)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj,hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,hhhj>hMubj/)}(h__bio_add_pageh]j5)}(h__bio_add_pageh]h__bio_add_page}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhj>hMubj)}(hH(struct bio *bio, struct page *page, unsigned int len, unsigned int off)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjSsbc.__bio_add_pageasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjiubj5)}(hbioh]hbio}(hjƸhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hstruct page *pageh](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)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.__bio_add_pageasbuh1hhj۸ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj۸ubjX)}(hj[h]h*}(hj)hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj۸ubj5)}(hpageh]hpage}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj۸ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hunsigned int lenh](j+)}(hunsignedh]hunsigned}(hjOhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjKubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj+)}(hinth]hint}(hjkhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjKubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hunsigned int offh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjʹhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffh]hoff}(hjعhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubeh}(h]h ]h"]h$]h&]jLjMuh1jhj,hhhj>hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj(hhhj>hMubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hMhj%hhubjc)}(hhh]h)}(h%add page(s) to a bio in a new segmenth]h%add page(s) to a bio in a new segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj%hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct bio *bio`` destination bio ``struct page *page`` start page to add ``unsigned int len`` length of the data to add, may cross pages ``unsigned int off`` offset of the data relative to **page**, may cross pages **Description** Add the data at **page** + **off** to **bio** as a new bvec. The caller must ensure that **bio** has space for another bvec.h](h)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjCh]hstruct bio *bio}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj=ubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubj)}(h(``struct page *page`` start page to add h](j)}(h``struct page *page``h]j)}(hj|h]hstruct page *page}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjvubj)}(hhh]h)}(hstart page to addh]hstart page to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhj:ubj)}(h@``unsigned int len`` length of the data to add, may cross pages h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h*length of the data to add, may cross pagesh]h*length of the data to add, may cross pages}(hjκhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjʺhMhj˺ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʺhMhj:ubj)}(hN``unsigned int off`` offset of the data relative to **page**, may cross pages h](j)}(h``unsigned int off``h]j)}(hjh]hunsigned int off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h8offset of the data relative to **page**, may cross pagesh](hoffset of the data relative to }(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&]uh1jhj9ubah}(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 }(hjQhhhNhNubj)}(h**page**h]hpage}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh + }(hjQhhhNhNubj)}(h**off**h]hoff}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh to }(hjQhhhNhNubj)}(h**bio**h]hbio}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh- as a new bvec. The caller must ensure that }(hjQhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh has space for another bvec.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h bio_add_virt_nofail (C function)c.bio_add_virt_nofailhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hEvoid bio_add_virt_nofail (struct bio *bio, void *vaddr, unsigned len)h]j)}(hDvoid bio_add_virt_nofail(struct bio *bio, void *vaddr, unsigned len)h](j+)}(hvoidh]hvoid}(hjȻhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjĻhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hj׻hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjĻhhhjֻhMubj/)}(hbio_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.hjĻhhhjֻhMubj)}(h,(struct bio *bio, void *vaddr, unsigned len)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj)}j]j)}jjsbc.bio_add_virt_nofailasbuh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjQhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbioh]hbio}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *vaddrh](j+)}(hvoidh]hvoid}(hjwhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjsubj5)}(hvaddrh]hvaddr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h unsigned lenh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjǼhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjռhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjĻhhhjֻhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjֻhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjֻhMhjhhubjc)}(hhh]h)}(h.add data in the direct kernel mapping to a bioh]h.add data in the direct kernel mapping to a bio}(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&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hXK**Parameters** ``struct bio *bio`` destination bio ``void *vaddr`` data to add ``unsigned len`` length of the data to add, may cross pages **Description** Add the data at **vaddr** to **bio**. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.h](h)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]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)}(hj@h]hstruct bio *bio}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj:ubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubj)}(h``void *vaddr`` data to add h](j)}(h``void *vaddr``h]j)}(hjyh]h void *vaddr}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjsubj)}(hhh]h)}(h data to addh]h data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubj)}(h<``unsigned len`` length of the data to add, may cross pages h](j)}(h``unsigned len``h]j)}(hjh]h unsigned len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h*length of the data to add, may cross pagesh]h*length of the data to add, may cross pages}(hj˽hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjǽhMhjȽubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǽhMhj7ubeh}(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}(hj hhhNhNubah}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_page (C function)c.bio_add_pagehNtauh1hhjOhhhNhNubh)}(hhh](j)}(h\int bio_add_page (struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h]j)}(h[int bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h](j+)}(hinth]hint}(hjVhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjRhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRhhhjdhMubj/)}(h bio_add_pageh]j5)}(h bio_add_pageh]h bio_add_page}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjRhhhjdhMubj)}(hK(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjysbc.bio_add_pageasbuh1hhjubj)}(h h]h }(hjѾhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj߾hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct page *pageh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpageh]hpage}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj)}j]j;c.bio_add_pageasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjOhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpageh]hpage}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int lenh](j+)}(hunsignedh]hunsigned}(hjuhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*Fhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int offseth](j+)}(hunsignedh]hunsigned}(hjƿhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj¿ubj)}(h h]h }(hjԿhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj¿ubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj¿ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj¿ubj5)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj¿ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjRhhhjdhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjNhhhjdhMubah}(h]jIah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjdhMhjKhhubjc)}(hhh]h)}(hattempt to add page(s) to bioh]hattempt to add page(s) to bio}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj%hhubah}(h]h ]h"]h$]h&]uh1jbhjKhhhjdhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhjOhNhNubj)}(hXu**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 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)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjDubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjih]hstruct bio *bio}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjcubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj`ubj)}(h(``struct page *page`` start page to add h](j)}(h``struct page *page``h]j)}(hjh]hstruct page *page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(hstart page to addh]hstart page to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj`ubj)}(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)}(h``unsigned int offset`` vec entry offset relative to **page**, may cross pages 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](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 }(hj-hhhNhNubj)}(h**page**h]hpage}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh, may cross pages}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj*ubh)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMhj*ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj`ubeh}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_folio (C function)c.bio_add_foliohNtauh1hhjOhhhNhNubh)}(hhh](j)}(hQbool bio_add_folio (struct bio *bio, struct folio *folio, size_t len, size_t off)h]j)}(hPbool bio_add_folio(struct bio *bio, struct folio *folio, size_t len, size_t off)h](j+)}(hj.h]hbool}(hjhhhNhNubah}(h]h ]j7ah"]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&]uh1jhjhhhjhMubj/)}(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.hjhhhjhMubj)}(h>(struct bio *bio, struct folio *folio, size_t len, size_t off)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]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&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbioh]hbio}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct folio *folioh](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)}(hfolioh]hfolio}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]jc.bio_add_folioasbuh1hhj8ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj8ubj5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bio_add_folioasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t offh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bio_add_folioasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffh]hoff}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h(Attempt to add part of a folio to a bio.h]h(Attempt to add part of a folio to a bio.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjJhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhjOhNhNubj)}(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)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjiubj)}(hhh](j)}(h#``struct bio *bio`` BIO to add to. h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(hBIO to add to.h]hBIO to add to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]h)}(h Folio to add.h]h Folio to add.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``size_t off`` First byte in this folio to add. h](j)}(h``size_t off``h]j)}(hj9h]h size_t off}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj3ubj)}(hhh]h)}(h First byte in this folio to add.h]h First byte in this folio to add.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubeh}(h]h ]h"]h$]h&]uh1jhjiubh)}(h**Description**h]j)}(hjth]h Description}(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 hjiubh)}(hXFilesystems that use folios can call this function instead of calling bio_add_page() for each page in the folio. If **off** is bigger than PAGE_SIZE, this function can create a bio_vec that starts in a page after the bv_page. BIOs do not support folios that are 4GiB or larger.h](huFilesystems that use folios can call this function instead of calling bio_add_page() for each page in the folio. If }(hjhhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is bigger than PAGE_SIZE, this function can create a bio_vec that starts in a page after the bv_page. BIOs do not support folios that are 4GiB or larger.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM hjiubh)}(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%hjiubh)}(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%hjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"bio_add_vmalloc_chunk (C function)c.bio_add_vmalloc_chunkhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hOunsigned int bio_add_vmalloc_chunk (struct bio *bio, void *vaddr, unsigned len)h]j)}(hNunsigned int bio_add_vmalloc_chunk(struct bio *bio, void *vaddr, unsigned len)h](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM3ubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhjhM3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM3ubj/)}(hbio_add_vmalloc_chunkh]j5)}(hbio_add_vmalloc_chunkh]hbio_add_vmalloc_chunk}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM3ubj)}(h,(struct bio *bio, void *vaddr, unsigned len)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubh)}(hhh]j5)}(hbioh]hbio}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j)}jj1sbc.bio_add_vmalloc_chunkasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjGubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubj)}(h void *vaddrh](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvaddrh]hvaddr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubj)}(h unsigned lenh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM3ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM3ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM3hjhhubjc)}(hhh]h)}(hadd a vmalloc chunk to a bioh]hadd a vmalloc chunk to a bio}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM3hjBhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhjOhNhNubj)}(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)}(hjgh]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM7hjaubj)}(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.chM4hjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hj}ubj)}(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.chM5hjubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hj}ubj)}(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.chM6hjubj)}(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&]uh1hhj hM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM6hj}ubeh}(h]h ]h"]h$]h&]uh1jhjaubh)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM8hjaubh)}(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 }(hjIhhhNhNubj)}(h **vaddr**h]hvaddr}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh to }(hjIhhhNhNubj)}(h**bio**h]hbio}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh 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 }(hjIhhhNhNubj)}(h**bio**h]hbio}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM8hjaubh)}(hThis helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.h]hThis helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM<hjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_vmalloc (C function)c.bio_add_vmallochNtauh1hhjOhhhNhNubh)}(hhh](j)}(hEbool bio_add_vmalloc (struct bio *bio, void *vaddr, unsigned int len)h]j)}(hDbool bio_add_vmalloc(struct bio *bio, void *vaddr, unsigned int len)h](j+)}(hj.h]hbool}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMNubj/)}(hbio_add_vmalloch]j5)}(hbio_add_vmalloch]hbio_add_vmalloc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMNubj)}(h0(struct bio *bio, void *vaddr, unsigned int len)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bio_add_vmallocasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjEhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbioh]hbio}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *vaddrh](j+)}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjgubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjgubj5)}(hvaddrh]hvaddr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int lenh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMNubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMNubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMNhjhhubjc)}(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.chMNhj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjOhNhNubj)}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMRhj+ubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjPh]hstruct bio *bio}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMOhjJubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMOhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMOhjGubj)}(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.chMPhjubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjGubj)}(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.chMQhjubj)}(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&]uh1hhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjGubeh}(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.chMShj+ubh)}(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}(hj-hhhNhNubah}(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}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if }(hjhhhNhNubj)}(h**bio**h]hbio}(hjchhhNhNubah}(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.chMShj+ubh)}(hThis helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.h]hThis helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMVhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#bio_iov_iter_get_pages (C function)c.bio_iov_iter_get_pageshNtauh1hhjOhhhNhNubh)}(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](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]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&]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](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bio_iov_iter_get_pagesasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj4hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbioh]hbio}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct iov_iter *iterh](j )}(hjzh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(hhh]j5)}(hiov_iterh]hiov_iter}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j]j"c.bio_iov_iter_get_pagesasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjVubj5)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h!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&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(hI``struct iov_iter *iter`` iov iterator describing the region to be added h](j)}(h``struct iov_iter *iter``h]j)}(hjUh]hstruct iov_iter *iter}(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.iov iterator describing the region to be addedh]h.iov iterator describing the region to be added}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsubmit_bio_wait (C function)c.submit_bio_waithNtauh1hhjOhhhNhNubh)}(hhh](j)}(h%int submit_bio_wait (struct bio *bio)h]j)}(h$int submit_bio_wait(struct bio *bio)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM?ubj/)}(hsubmit_bio_waith]j5)}(hsubmit_bio_waith]hsubmit_bio_wait}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM?ubj)}(h(struct bio *bio)h]j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hj3hhhNhNubah}(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}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]j)}jjsbc.submit_bio_waitasbuh1hhj/ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj/ubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM?ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM?ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM?hjhhubjc)}(hhh]h)}(h)submit a bio, and wait until it completesh]h)submit a bio, and wait until it completes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM?hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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.chMChjubj)}(hhh]j)}(hK``struct bio *bio`` The :c:type:`struct bio ` which describes the I/O h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM@hjubj)}(hhh]h)}(h6The :c:type:`struct bio ` which describes the I/Oh](hThe }(hjhhhNhNubh)}(h:c:type:`struct bio `h]j)}(hjh]h struct bio}(hjhhhNhNubah}(h]h ](jFjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjR refdomainjreftypetype refexplicitrefwarnjjXj[biouh1hhj hM@hjubh which describes the I/O}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hM@hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM@hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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.chMBhjubh)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMBhjubh)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMEhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbdev_rw_virt (C function)c.bdev_rw_virthNtauh1hhjOhhhNhNubh)}(hhh](j)}(heint bdev_rw_virt (struct block_device *bdev, sector_t sector, void *data, size_t len, enum req_op op)h]j)}(hdint bdev_rw_virt(struct block_device *bdev, sector_t sector, void *data, size_t len, enum req_op op)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMYubj/)}(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.hjhhhjhMYubj)}(hT(struct block_device *bdev, sector_t sector, void *data, size_t len, enum req_op op)h](j)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bdev_rw_virtasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj2hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbdevh]hbdev}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsector_t sectorh](h)}(hhh]j5)}(hsector_th]hsector_t}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j]j c.bdev_rw_virtasbuh1hhjTubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj5)}(hsectorh]hsector}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bdev_rw_virtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(henum req_op oph](j )}(hjh]henum}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hreq_oph]hreq_op}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]j c.bdev_rw_virtasbuh1hhj&ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj5)}(hoph]hop}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMYubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMYubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMYhjhhubjc)}(hhh]h)}(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.chMYhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct block_device *bdev`` block device to access ``sector_t sector`` sector to access ``void *data`` data to read/write ``size_t len`` length in byte to read/write ``enum req_op op`` operation (e.g. REQ_OP_READ/REQ_OP_WRITE) **Description** Performs synchronous I/O to **bdev** for **data**/**len**. **data** must be in the kernel direct mapping and not a vmalloc address.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM]hjubj)}(hhh](j)}(h5``struct block_device *bdev`` block device to access h](j)}(h``struct block_device *bdev``h]j)}(hjh]hstruct block_device *bdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMZhjubj)}(hhh]h)}(hblock device to accessh]hblock device to access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(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.chM[hjubj)}(hhh]h)}(hsector to accessh]hsector to access}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hM[hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hM[hjubj)}(h"``void *data`` data to read/write h](j)}(h``void *data``h]j)}(hjQh]h void *data}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM\hjKubj)}(hhh]h)}(hdata to read/writeh]hdata to read/write}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhM\hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhM\hjubj)}(h,``size_t len`` length in byte to read/write h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM]hjubj)}(hhh]h)}(hlength in byte to read/writeh]hlength in byte to read/write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h=``enum req_op op`` operation (e.g. REQ_OP_READ/REQ_OP_WRITE) h](j)}(h``enum req_op op``h]j)}(hjh]henum req_op op}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM^hjubj)}(hhh]h)}(h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)h]h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM`hjubh)}(hPerforms synchronous I/O to **bdev** for **data**/**len**. **data** must be in the kernel direct mapping and not a vmalloc address.h](hPerforms synchronous I/O to }(hjhhhNhNubj)}(h**bdev**h]hbdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for }(hjhhhNhNubj)}(h**data**h]hdata}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/}(hjhhhNhNubj)}(h**len**h]hlen}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h**data**h]hdata}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh@ must be in the kernel direct mapping and not a vmalloc address.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM`hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_copy_data (C function)c.bio_copy_datahNtauh1hhjOhhhNhNubh)}(hhh](j)}(h5void bio_copy_data (struct bio *dst, struct bio *src)h]j)}(h4void bio_copy_data(struct bio *dst, struct bio *src)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]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&]uh1jhjhhhjhMubj/)}(h bio_copy_datah]j5)}(h bio_copy_datah]h bio_copy_data}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h"(struct bio *dst, struct bio *src)h](j)}(hstruct bio *dsth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bio_copy_dataasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdsth]hdst}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio *srch](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)}(hbioh]hbio}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]jc.bio_copy_dataasbuh1hhj6ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj6ubj5)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h5copy contents of data buffers from one bio to anotherh]h5copy contents of data buffers from one bio to another}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(hj5h]hstruct 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.chMhj/ubj)}(hhh]h)}(h source bioh]h source bio}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjph]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(hStops when it reaches the end of either **src** or **dst** - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).h](h(Stops when it reaches the end of either }(hjhhhNhNubj)}(h**src**h]hsrc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h**dst**h]hdst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh_ - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_endio (C function) c.bio_endiohNtauh1hhjOhhhNhNubh)}(hhh](j)}(h void bio_endio (struct bio *bio)h]j)}(hvoid bio_endio(struct bio *bio)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM6ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM6ubj/)}(h bio_endioh]j5)}(h bio_endioh]h bio_endio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM6ubj)}(h(struct bio *bio)h]j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j)}jjsb c.bio_endioasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjbhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbioh]hbio}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM6ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM6ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM6hjhhubjc)}(hhh]h)}(hend I/O on a bioh]hend I/O on a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.c hM6hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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.chM7hjubj)}(hhh]h)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubah}(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.chM9hjubjQ)}(hXlbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function. bio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h](h)}(hbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function.h]hbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM9hj+ubh)}(hbio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h]hbio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM=hj+ubeh}(h]h ]h"]h$]h&]uh1jQhj=hM9hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_split (C function) c.bio_splithNtauh1hhjOhhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhjhMrubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j bio_splitsb c.bio_splitasbuh1hhjohhhjhMrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhjhMrubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjohhhjhMrubj/)}(h bio_splith]j5)}(hjh]h bio_split}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjohhhjhMrubj)}(h=(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j c.bio_splitasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj7hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbioh]hbio}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int sectorsh](j+)}(hinth]hint}(hj]hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjYubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj5)}(hsectorsh]hsectors}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bio_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bio_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj$hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbsh]hbs}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjohhhjhMrubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkhhhjhMrubah}(h]jfah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMrhjhhhubjc)}(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.chMrhjXhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhhjhMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjOhNhNubj)}(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)}(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.chMvhjwubj)}(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.chMshjubj)}(hhh]h)}(h bio to splith]h bio to split}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(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.chMthjubj)}(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&]uh1hhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubj)}(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.chMuhjubj)}(hhh]h)}(hgfp maskh]hgfp mask}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMuhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMuhjubj)}(h0``struct bio_set *bs`` bio set to allocate from h](j)}(h``struct bio_set *bs``h]j)}(hjUh]hstruct bio_set *bs}(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.chMvhjOubj)}(hhh]h)}(hbio set to allocate fromh]hbio set to allocate from}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMvhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMvhjubeh}(h]h ]h"]h$]h&]uh1jhjwubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMxhjwubh)}(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.chMxhjwubh)}(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.chM{hjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_trim (C function) c.bio_trimhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h?void bio_trim (struct bio *bio, sector_t offset, sector_t size)h]j)}(h>void bio_trim(struct bio *bio, sector_t offset, sector_t size)h](j+)}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjLhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLhhhj^hMubj/)}(hbio_trimh]j5)}(hbio_trimh]hbio_trim}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjLhhhj^hMubj)}(h1(struct bio *bio, sector_t offset, sector_t size)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjssb c.bio_trimasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsector_t offseth](h)}(hhh]j5)}(hsector_th]hsector_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bio_trimasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffseth]hoffset}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h sector_t sizeh](h)}(hhh]j5)}(hsector_th]hsector_t}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j]j c.bio_trimasbuh1hhjCubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj5)}(hsizeh]hsize}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjLhhhj^hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHhhhj^hMubah}(h]jCah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj^hMhjEhhubjc)}(hhh]h)}(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&]uh1jbhjEhhhj^hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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 }(hj3hhhNhNubj)}(h**bio**h]hbio}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h>``sector_t size`` size we want to trim **bio** to, in sectors h](j)}(h``sector_t size``h]j)}(hjah]h sector_t size}(hjchhhNhNubah}(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)}(h+size we want to trim **bio** to, in sectorsh](hsize we want to trim }(hjzhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh to, in sectors}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbioset_init (C function) c.bioset_inithNtauh1hhjOhhhNhNubh)}(hhh](j)}(h_int bioset_init (struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags)h]j)}(h^int bioset_init(struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]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&]uh1jhjhhhjhMubj/)}(h bioset_inith]j5)}(h bioset_inith]h bioset_init}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hO(struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags)h](j)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubh)}(hhh]j5)}(hbio_seth]hbio_set}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j)}jjsb c.bioset_initasbuh1hhj,ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubjX)}(hj[h]h*}(hj|hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj,ubj5)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubj)}(hunsigned int pool_sizeh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h pool_sizeh]h pool_size}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubj)}(hunsigned int front_padh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h front_padh]h front_pad}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubj)}(h int flagsh](j+)}(hinth]hint}(hjDhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj@ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj5)}(hflagsh]hflags}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hInitialize a bio_seth]hInitialize a bio_set}(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&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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.chMhj7ubj)}(hhh]h)}(h8Number of bytes to allocate in front of the returned bioh]h8Number of bytes to allocate in front of the returned bio}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubj)}(hd``int flags`` Flags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER`` h](j)}(h ``int flags``h]j)}(hjvh]h int flags}(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)}(hUFlags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER``h](h$Flags to modify behavior, currently }(hjhhhNhNubj)}(h``BIOSET_NEED_BVECS``h]hBIOSET_NEED_BVECS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``BIOSET_NEED_RESCUER``h]hBIOSET_NEED_RESCUER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(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.chMhjubjQ)}(hXSet up a bio_set to be used with **bio_alloc_bioset**. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If ``BIOSET_NEED_BVECS`` is set in **flags**, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If ``BIOSET_NEED_RESCUER`` is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.h]h)}(hXSet up a bio_set to be used with **bio_alloc_bioset**. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If ``BIOSET_NEED_BVECS`` is set in **flags**, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If ``BIOSET_NEED_RESCUER`` is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.h](h!Set up a bio_set to be used with }(hjhhhNhNubj)}(h**bio_alloc_bioset**h]hbio_alloc_bioset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX?. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If }(hjhhhNhNubj)}(h``BIOSET_NEED_BVECS``h]hBIOSET_NEED_BVECS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is set in }(hjhhhNhNubj)}(h **flags**h]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhr, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If }(hjhhhNhNubj)}(h``BIOSET_NEED_RESCUER``h]hBIOSET_NEED_RESCUER}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhq is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubah}(h]h ]h"]h$]h&]uh1jQhjBhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_open (C function) c.seq_openhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hAint seq_open (struct file *file, const struct seq_operations *op)h]j)}(h@int seq_open(struct file *file, const struct seq_operations *op)h](j+)}(hinth]hint}(hjihhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjehhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK*ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjehhhjwhK*ubj/)}(hseq_openh]j5)}(hseq_openh]hseq_open}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjehhhjwhK*ubj)}(h4(struct file *file, const struct seq_operations *op)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.seq_openasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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}(hj3hhhNhNubah}(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}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]j c.seq_openasbuh1hhjubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj}hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hoph]hop}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjehhhjwhK*ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjahhhjwhK*ubah}(h]j\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwhK*hj^hhubjc)}(hhh]h)}(hinitialize sequential fileh]hinitialize sequential file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK*hjhhubah}(h]h ]h"]h$]h&]uh1jbhj^hhhjwhK*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hXJ**Parameters** ``struct file *file`` file we initialize ``const struct seq_operations *op`` method table describing the sequence 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&]uh1hhj hK+hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hK+hjubj)}(hXl``const struct seq_operations *op`` method table describing the sequence 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](j)}(h#``const struct seq_operations *op``h]j)}(hj.h]hconst struct seq_operations *op}(hj0hhhNhNubah}(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.chK5hj(ubj)}(hhh](h)}(h$method table describing the sequenceh]h$method table describing the sequence}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK,hjDubh)}(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 }(hjVhhhNhNubj)}(h**file**h]hfile}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh., associating it with a sequence described by }(hjVhhhNhNubj)}(h**op**h]hop}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh. }(hjVhhhNhNubj)}(h**op->start\(\)**h]h op->start()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubhA sets the iterator up and returns the first element of sequence. }(hjVhhhNhNubj)}(h**op->stop\(\)**h]h op->stop()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh shuts it down. }(hjVhhhNhNubj)}(h**op->next\(\)**h]h op->next()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh( returns the next element of sequence. }(hjVhhhNhNubj)}(h**op->show\(\)**h]h op->show()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return }(hjVhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means “discard this element and move on”.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK.hjDubeh}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChK5hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(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.chK7hjubj)}(hhh]j)}(hseq_open() will allocate a struct seq_file and store its pointer in **file->private_data**. This pointer should not be modified.h](j)}(h8seq_open() will allocate a struct seq_file and store itsh]h8seq_open() will allocate a struct seq_file and store its}(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}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh&. This pointer should not be modified.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK7hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hK6hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_read (C function) c.seq_readhNtauh1hhjOhhhNhNubh)}(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}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNjj)}j]j)}jseq_readsb c.seq_readasbuh1hhjuhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuhhhjhKubj/)}(hseq_readh]j5)}(hjh]hseq_read}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjuhhhjhKubj)}(h@(struct file *file, char __user *buf, size_t size, loff_t *ppos)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hfileh]hfile}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hchar __user *bufh](j+)}(hcharh]hchar}(hj;hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj7ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh__user}(hj7hhhNhNubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubjX)}(hj[h]h*}(hjihhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj7ubj5)}(hbufh]hbuf}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjuhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjqhhhjhKubah}(h]jlah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjnhhubjc)}(hhh]h)}(h%->read() method for sequential files.h]h%->read() method for sequential files.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhj:hhubah}(h]h ]h"]h$]h&]uh1jbhjnhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhjOhNhNubj)}(h**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 Ready-made ->f_op->read()h](h)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(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.chKhjYubj)}(hhh](j)}(h,``struct file *file`` the file to read from h](j)}(h``struct file *file``h]j)}(hj~h]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjxubj)}(hhh]h)}(hthe file to read fromh]hthe file to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhKhjuubj)}(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&]uh1jhjhKhjuubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjuubj)}(hL``loff_t *ppos`` the current position in the file Ready-made ->f_op->read()h](j)}(h``loff_t *ppos``h]j)}(hj)h]h loff_t *ppos}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhj#ubj)}(hhh](h)}(h the current position in the fileh]h the current position in the file}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhj?ubh)}(hReady-made ->f_op->read()h]hReady-made ->f_op->read()}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hKhjuubeh}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_lseek (C function) c.seq_lseekhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h?loff_t seq_lseek (struct file *file, loff_t offset, int whence)h]j)}(h>loff_t seq_lseek(struct file *file, loff_t offset, int whence)h](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j seq_lseeksb c.seq_lseekasbuh1hhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM-ubj/)}(h seq_lseekh]j5)}(hjh]h seq_lseek}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM-ubj)}(h.(struct file *file, loff_t offset, int whence)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.seq_lseekasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj.hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hfileh]hfile}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t offseth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]j c.seq_lseekasbuh1hhjPubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj5)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int whenceh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwhenceh]hwhence}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM-ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM-ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM-hjhhubjc)}(hhh]h)}(h'->llseek() method for sequential files.h]h'->llseek() method for sequential files.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM-hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(h**Parameters** ``struct file *file`` the file in question ``loff_t offset`` new position ``int whence`` 0 for absolute, 1 for relative position Ready-made ->f_op->llseek()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.chM1hjubj)}(hhh](j)}(h+``struct file *file`` the file in question h](j)}(h``struct file *file``h]j)}(hj#h]hstruct file *file}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM.hjubj)}(hhh]h)}(hthe file in questionh]hthe file in question}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hM.hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM.hjubj)}(h``loff_t offset`` new position h](j)}(h``loff_t offset``h]j)}(hj\h]h loff_t offset}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM/hjVubj)}(hhh]h)}(h new positionh]h new position}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM/hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM/hjubj)}(hS``int whence`` 0 for absolute, 1 for relative position Ready-made ->f_op->llseek()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.chM1hjubj)}(hhh](h)}(h'0 for absolute, 1 for relative positionh]h'0 for absolute, 1 for relative position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM0hjubh)}(hReady-made ->f_op->llseek()h]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.chM2hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_release (C function) c.seq_releasehNtauh1hhjOhhhNhNubh)}(hhh](j)}(h8int seq_release (struct inode *inode, struct file *file)h]j)}(h7int seq_release(struct inode *inode, struct file *file)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMYubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMYubj/)}(h seq_releaseh]j5)}(h seq_releaseh]h seq_release}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMYubj)}(h((struct inode *inode, struct file *file)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(hinodeh]hinode}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj)}j]j)}jj!sb c.seq_releaseasbuh1hhj7ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj7ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubj)}(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]ju c.seq_releaseasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hMYubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMYubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMYhjhhubjc)}(hhh]h)}(h4free the structures associated with sequential file.h]h4free the structures associated with sequential file.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMYhj+hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjOhNhNubj)}(h**Parameters** ``struct inode *inode`` its inode ``struct file *file`` file in question 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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM]hjJubj)}(hhh](j)}(h"``struct inode *inode`` its inode h](j)}(h``struct inode *inode``h]j)}(hjoh]hstruct inode *inode}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMZhjiubj)}(hhh]h)}(h its inodeh]h its inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjfubj)}(h``struct file *file`` file in question Frees the structures associated with sequential file; can be used as ->f_op->release() if you don't have private data to destroy.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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM[hjubh)}(hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don't have private data to destroy.h]hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don’t have private data to destroy.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM]hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjfubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_escape_mem (C function)c.seq_escape_memhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hjvoid seq_escape_mem (struct seq_file *m, const char *src, size_t len, unsigned int flags, const char *esc)h]j)}(hivoid seq_escape_mem(struct seq_file *m, const char *src, size_t len, unsigned int flags, const char *esc)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhMjubj/)}(hseq_escape_memh]j5)}(hseq_escape_memh]hseq_escape_mem}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhMjubj)}(hV(struct seq_file *m, const char *src, size_t len, unsigned int flags, const char *esc)h](j)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j]j)}jj3sbc.seq_escape_memasbuh1hhjIubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjIubj5)}(hmh]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubj)}(hconst char *srch](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubj)}(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 reftargetj!modnameN classnameNjj)}j]jc.seq_escape_memasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubj)}(hunsigned int flagsh](j+)}(hunsignedh]hunsigned}(hjdhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj`ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubj)}(hconst char *esch](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hesch]hesc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMjubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMjhjhhubjc)}(hhh]h)}(h0print data into buffer, escaping some charactersh]h0print data into buffer, escaping some characters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMjhj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjOhNhNubj)}(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)}(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.chMnhj?ubj)}(hhh](j)}(h%``struct seq_file *m`` target buffer h](j)}(h``struct seq_file *m``h]j)}(hjdh]hstruct seq_file *m}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMkhj^ubj)}(hhh]h)}(h target bufferh]h target buffer}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMkhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMkhj[ubj)}(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&]uh1jhjhMlhj[ubj)}(h%``size_t len`` size of source buffer h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMmhjubj)}(hhh]h)}(hsize of source bufferh]hsize of source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhj[ubj)}(h<``unsigned int flags`` flags to pass to string_escape_mem() h](j)}(h``unsigned int flags``h]j)}(hjh]hunsigned int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMnhj ubj)}(hhh]h)}(h$flags to pass to string_escape_mem()h]h$flags to pass to string_escape_mem()}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMnhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMnhj[ubj)}(h9``const char *esc`` set of characters that need escaping h](j)}(h``const char *esc``h]j)}(hjHh]hconst char *esc}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMohjBubj)}(hhh]h)}(h$set of characters that need escapingh]h$set of characters that need escaping}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMohj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMohj[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.chMqhj?ubh)}(hPuts data into buffer, replacing each occurrence of character from given class (defined by **flags** and **esc**) with printable escaped sequence.h](h[Puts data into buffer, replacing each occurrence of character from given class (defined by }(hjhhhNhNubj)}(h **flags**h]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**esc**h]hesc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh") with printable escaped sequence.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMqhj?ubh)}(h-Use seq_has_overflowed() to check for errors.h]h-Use seq_has_overflowed() to check for errors.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMthj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmangle_path (C function) c.mangle_pathhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h(struct seq_file *m, const struct path *path, const char *esc)h](j)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.seq_pathasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj=hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hjh]hm}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct path *pathh](j )}(hjh]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubj )}(hjzh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubh)}(hhh]j5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j+ c.seq_pathasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj^ubj5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *esch](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj$hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hesch]hesc}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h&seq_file interface to print a pathnameh]h&seq_file interface to print a pathname}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjOhNhNubj)}(hX***Parameters** ``struct seq_file *m`` the seq_file handle ``const struct path *path`` the struct path to print ``const char *esc`` set of characters to escape in the output **Description** return the absolute path of 'path', as represented by the dentry / mnt pair in the path parameter.h](h)}(h**Parameters**h]j)}(hj}h]h Parameters}(hjhhhNhNubah}(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.chMhjwubj)}(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)}(h5``const struct path *path`` the struct path to print h](j)}(h``const struct path *path``h]j)}(hjh]hconst struct path *path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe struct path to printh]hthe struct path to print}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhj ubah}(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}(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&]uh1jhjwubh)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjwubh)}(hbreturn the absolute path of 'path', as represented by the dentry / mnt pair in the path parameter.h]hfreturn the absolute path of ‘path’, as represented by the dentry / mnt pair in the path parameter.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_file_path (C function)c.seq_file_pathhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hJint seq_file_path (struct seq_file *m, struct file *file, const char *esc)h]j)}(hIint seq_file_path(struct seq_file *m, struct file *file, const char *esc)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]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&]uh1jhjhhhjhMubj/)}(h seq_file_pathh]j5)}(h seq_file_pathh]h seq_file_path}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h8(struct seq_file *m, struct file *file, const char *esc)h](j)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.seq_file_pathasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hjh]hm}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(hfileh]hfile}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]jc.seq_file_pathasbuh1hhj8ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj8ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *esch](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hesch]hesc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h0seq_file interface to print a pathname of a fileh]h0seq_file interface to print a pathname of a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhjOhNhNubj)}(h**Parameters** ``struct seq_file *m`` the seq_file handle ``struct file *file`` the struct file to print ``const char *esc`` set of characters to escape in the output **Description** return the absolute path to the file.h](h)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj6ubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjUubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjRubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjRubj)}(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&]uh1jhjhMhjRubeh}(h]h ]h"]h$]h&]uh1jhj6ubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj6ubh)}(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.chMhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_write (C function) c.seq_writehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hBint seq_write (struct seq_file *seq, const void *data, size_t len)h]j)}(hAint seq_write(struct seq_file *seq, const void *data, size_t len)h](j+)}(hinth]hint}(hjMhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjIhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM0ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIhhhj[hM0ubj/)}(h seq_writeh]j5)}(h seq_writeh]h seq_write}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjIhhhj[hM0ubj)}(h4(struct seq_file *seq, const void *data, size_t len)h](j)}(hstruct seq_file *seqh](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)}jjpsb c.seq_writeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hseqh]hseq}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst void *datah](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj3hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdatah]hdata}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j]j c.seq_writeasbuh1hhjUubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjIhhhj[hM0ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjEhhhj[hM0ubah}(h]j@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj[hM0hjBhhubjc)}(hhh]h)}(hwrite arbitrary data to bufferh]hwrite arbitrary data to buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM0hjhhubah}(h]h ]h"]h$]h&]uh1jbhjBhhhj[hM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(h**Parameters** ``struct seq_file *seq`` seq_file identifying the buffer to which data should be written ``const void *data`` data address ``size_t len`` number of bytes **Description** Return 0 on success, non-zero otherwise.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM4hjubj)}(hhh](j)}(hY``struct seq_file *seq`` seq_file identifying the buffer to which data should be written h](j)}(h``struct seq_file *seq``h]j)}(hjh]hstruct seq_file *seq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM1hjubj)}(hhh]h)}(h?seq_file identifying the buffer to which data should be writtenh]h?seq_file identifying the buffer to which data should be written}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM1hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(h"``const void *data`` data address h](j)}(h``const void *data``h]j)}(hj,h]hconst void *data}(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.chM2hj&ubj)}(hhh]h)}(h data addressh]h data address}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM2hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM2hjubj)}(h``size_t len`` number of bytes h](j)}(h``size_t len``h]j)}(hjeh]h size_t len}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM3hj_ubj)}(hhh]h)}(hnumber of bytesh]hnumber of bytes}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM3hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM3hjubeh}(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.chM5hjubh)}(h(Return 0 on success, non-zero otherwise.h]h(Return 0 on success, non-zero otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM5hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_pad (C function) c.seq_padhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h)void seq_pad (struct seq_file *m, char c)h]j)}(h(void seq_pad(struct seq_file *m, char c)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMDubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMDubj/)}(hseq_padh]j5)}(hseq_padh]hseq_pad}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMDubj)}(h(struct seq_file *m, char c)h](j)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(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}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]j)}jjsb c.seq_padasbuh1hhjubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjnhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hjh]hm}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hchar ch](j+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hjh]hc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMDubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMDubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMDhjhhubjc)}(hhh]h)}(hwrite padding spaces to bufferh]hwrite padding spaces to buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMDhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(h**Parameters** ``struct seq_file *m`` seq_file identifying the buffer to which data should be written ``char c`` the byte to append after padding if non-zeroh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMHhjubj)}(hhh](j)}(hW``struct seq_file *m`` seq_file identifying the buffer to which data should be written h](j)}(h``struct seq_file *m``h]j)}(hjh]hstruct seq_file *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMEhjubj)}(hhh]h)}(h?seq_file identifying the buffer to which data should be writtenh]h?seq_file identifying the buffer to which data should be written}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMEhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMEhjubj)}(h7``char c`` the byte to append after padding if non-zeroh](j)}(h ``char c``h]j)}(hjRh]hchar c}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMGhjLubj)}(hhh]h)}(h,the byte to append after padding if non-zeroh]h,the byte to append after padding if non-zero}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMFhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMGhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_start (C function)c.seq_hlist_starthNtauh1hhjOhhhNhNubh)}(hhh](j)}(hIstruct hlist_node * seq_hlist_start (struct hlist_head *head, loff_t pos)h]j)}(hGstruct hlist_node *seq_hlist_start(struct hlist_head *head, loff_t pos)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j 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_startsbc.seq_hlist_startasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhMubj/)}(hseq_hlist_starth]j5)}(hjh]hseq_hlist_start}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j]jc.seq_hlist_startasbuh1hhj"ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubjX)}(hj[h]h*}(hjphhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj"ubj5)}(hheadh]hhead}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.seq_hlist_startasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hposh]hpos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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.chMhj ubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hj0h]hstruct hlist_head *head}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj*ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjih]h loff_t pos}(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.chMhjcubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj ubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!seq_hlist_start_head (C function)c.seq_hlist_start_headhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hNstruct hlist_node * seq_hlist_start_head (struct hlist_head *head, loff_t pos)h]j)}(hLstruct hlist_node *seq_hlist_start_head(struct hlist_head *head, loff_t pos)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jseq_hlist_start_headsbc.seq_hlist_start_headasbuh1hhjhhhjhMubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubjX)}(hj[h]h*}(hj7hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhMubj/)}(hseq_hlist_start_headh]j5)}(hj&h]hseq_hlist_start_head}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j$c.seq_hlist_start_headasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj_ubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj[ubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j$c.seq_hlist_start_headasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hposh]hpos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj[ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjOhNhNubj)}(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)}(hjNh]h Parameters}(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.chMhjHubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjmh]hstruct hlist_head *head}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjgubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjh]h loff_t pos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubeh}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjHubh)}(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.chMhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_next (C function)c.seq_hlist_nexthNtauh1hhjOhhhNhNubh)}(hhh](j)}(hSstruct hlist_node * seq_hlist_next (void *v, struct hlist_head *head, loff_t *ppos)h]j)}(hQstruct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, loff_t *ppos)h](j )}(hjzh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"hhhj3hMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]j)}jseq_hlist_nextsbc.seq_hlist_nextasbuh1hhj"hhhj3hMubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"hhhj3hMubjX)}(hj[h]h*}(hjthhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj"hhhj3hMubj/)}(hseq_hlist_nexth]j5)}(hjch]hseq_hlist_next}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj"hhhj3hMubj)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](j)}(hvoid *vh](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvh]hv}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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]jac.seq_hlist_nextasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj,hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hheadh]hhead}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]jac.seq_hlist_nextasbuh1hhjNubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjNubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj"hhhj3hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj3hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj3hMhjhhubjc)}(hhh]h)}(h&move to the next position of the hlisth]h&move to the next position of the hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(h**Parameters** ``void *v`` the current iterator ``struct hlist_head *head`` the head of the hlist ``loff_t *ppos`` the current position **Description** Called at seq_file->op->next().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh](j)}(h!``void *v`` the current iterator h](j)}(h ``void *v``h]j)}(hjh]hvoid *v}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe current iteratorh]hthe current iterator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hj2h]hstruct hlist_head *head}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj,ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(h&``loff_t *ppos`` the current position h](j)}(h``loff_t *ppos``h]j)}(hjkh]h loff_t *ppos}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjeubj)}(hhh]h)}(hthe current positionh]hthe current position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h seq_hlist_start_rcu (C function)c.seq_hlist_start_rcuhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hMstruct hlist_node * seq_hlist_start_rcu (struct hlist_head *head, loff_t pos)h]j)}(hKstruct hlist_node *seq_hlist_start_rcu(struct hlist_head *head, loff_t pos)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jseq_hlist_start_rcusbc.seq_hlist_start_rcuasbuh1hhjhhhjhMubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubjX)}(hj[h]h*}(hj9hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhMubj/)}(hseq_hlist_start_rcuh]j5)}(hj(h]hseq_hlist_start_rcu}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j&c.seq_hlist_start_rcuasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjaubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j&c.seq_hlist_start_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hposh]hpos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h.start an iteration of a hlist protected by RCUh]h.start an iteration of a hlist protected by RCU}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj+hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjOhNhNubj)}(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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjJubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjoh]hstruct hlist_head *head}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjiubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjh]h loff_t pos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubeh}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjJubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjJubh)}(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.chMhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%seq_hlist_start_head_rcu (C function)c.seq_hlist_start_head_rcuhNtauh1hhjOhhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3hhhjDhMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]j)}jseq_hlist_start_head_rcusbc.seq_hlist_start_head_rcuasbuh1hhj3hhhjDhMubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3hhhjDhMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj3hhhjDhMubj/)}(hseq_hlist_start_head_rcuh]j5)}(hjth]hseq_hlist_start_head_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj3hhhjDhMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jrc.seq_hlist_start_head_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj)}j]jrc.seq_hlist_start_head_rcuasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hposh]hpos}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj3hhhjDhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj/hhhjDhMubah}(h]j*ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjDhMhj,hhubjc)}(hhh]h)}(h.start an iteration of a hlist protected by RCUh]h.start an iteration of a hlist protected by RCU}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jbhj,hhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(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&]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}(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.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.}(hjEhhhNhNubah}(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().}(hjThhhNhNubah}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_next_rcu (C function)c.seq_hlist_next_rcuhNtauh1hhjOhhhNhNubh)}(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}(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_next_rcusbc.seq_hlist_next_rcuasbuh1hhjhhhjhM%ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM%ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhM%ubj/)}(hseq_hlist_next_rcuh]j5)}(hjh]hseq_hlist_next_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM%ubj)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](j)}(hvoid *vh](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hjh]hv}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct hlist_head *headh](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)}(h hlist_headh]h hlist_head}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j]jc.seq_hlist_next_rcuasbuh1hhj:ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.seq_hlist_next_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM%ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj{hhhjhM%ubah}(h]jvah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM%hjxhhubjc)}(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&]uh1jbhjxhhhjhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj, jj, jjjuh1hhhhjOhNhNubj)}(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)}(hj6 h]h Parameters}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM)hj0 ubj)}(hhh](j)}(h!``void *v`` the current iterator h](j)}(h ``void *v``h]j)}(hjU h]hvoid *v}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM&hjO ubj)}(hhh]h)}(hthe current iteratorh]hthe current iterator}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjj hM&hjk ubah}(h]h ]h"]h$]h&]uh1jhjO ubeh}(h]h ]h"]h$]h&]uh1jhjj hM&hjL ubj)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hj h]hstruct hlist_head *head}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM'hj ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM'hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM'hjL ubj)}(h&``loff_t *ppos`` the current position h](j)}(h``loff_t *ppos``h]j)}(hj h]h loff_t *ppos}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM(hj ubj)}(hhh]h)}(hthe current positionh]hthe current position}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM(hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM(hjL ubeh}(h]h ]h"]h$]h&]uh1jhj0 ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM*hj0 ubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM*hj0 ubh)}(hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h]hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM,hj0 ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#seq_hlist_start_percpu (C function)c.seq_hlist_start_percpuhNtauh1hhjOhhhNhNubh)}(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}(hjV hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM?ubj)}(h h]h }(hjd hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR hhhjc hM?ubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hju hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjr ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjw modnameN classnameNjj)}j]j)}jseq_hlist_start_percpusbc.seq_hlist_start_percpuasbuh1hhjR hhhjc hM?ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR hhhjc hM?ubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjR hhhjc hM?ubj/)}(hseq_hlist_start_percpuh]j5)}(hj h]hseq_hlist_start_percpu}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjR hhhjc hM?ubj)}(h8(struct hlist_head __percpu *head, int *cpu, loff_t pos)h](j)}(h struct hlist_head __percpu *headh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j c.seq_hlist_start_percpuasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh__percpu}(hj hhhNhNubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hj, hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(hheadh]hhead}(hj9 hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hint *cpuh](j+)}(hinth]hint}(hjR hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjN ubj)}(h h]h }(hj` hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjN ubjX)}(hj[h]h*}(hjn hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjN ubj5)}(hcpuh]hcpu}(hj{ hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjN ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j c.seq_hlist_start_percpuasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hposh]hpos}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjR hhhjc hM?ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjN hhhjc hM?ubah}(h]jI ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjc hM?hjK hhubjc)}(hhh]h)}(h*start an iteration of a percpu hlist arrayh]h*start an iteration of a percpu hlist array}(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&]uh1jbhjK hhhjc hM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjOhNhNubj)}(h**Parameters** ``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads ``int *cpu`` pointer to cpu "cursor" ``loff_t pos`` start position of sequence **Description** Called at seq_file->op->start().h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMChj ubj)}(hhh](j)}(hS``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads h](j)}(h$``struct hlist_head __percpu *head``h]j)}(hj. h]h struct hlist_head __percpu *head}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj, ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM@hj( ubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC hM@hjD ubah}(h]h ]h"]h$]h&]uh1jhj( ubeh}(h]h ]h"]h$]h&]uh1jhjC hM@hj% ubj)}(h%``int *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hjg h]hint *cpu}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMAhja ubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj| hMAhj} ubah}(h]h ]h"]h$]h&]uh1jhja ubeh}(h]h ]h"]h$]h&]uh1jhj| hMAhj% ubj)}(h*``loff_t pos`` start position of sequence h](j)}(h``loff_t pos``h]j)}(hj h]h loff_t pos}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMBhj ubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMBhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMBhj% ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(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.chMDhj ubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMDhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"seq_hlist_next_percpu (C function)c.seq_hlist_next_percpuhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hlstruct hlist_node * seq_hlist_next_percpu (void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)h]j)}(hjstruct hlist_node *seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)h](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMVubj)}(h h]h }(hj. hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj- hMVubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hj? hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj< ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjA modnameN classnameNjj)}j]j)}jseq_hlist_next_percpusbc.seq_hlist_next_percpuasbuh1hhj hhhj- hMVubj)}(h h]h }(hj` hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj- hMVubjX)}(hj[h]h*}(hjn hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj hhhj- hMVubj/)}(hseq_hlist_next_percpuh]j5)}(hj] h]hseq_hlist_next_percpu}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj- hMVubj)}(hB(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)h](j)}(hvoid *vh](j+)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(hjh]hv}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h struct hlist_head __percpu *headh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j[ c.seq_hlist_next_percpuasbuh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh__percpu}(hj hhhNhNubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hj7hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(hheadh]hhead}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hint *cpuh](j+)}(hinth]hint}(hj]hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjYubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubjX)}(hj[h]h*}(hjyhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjYubj5)}(hcpuh]hcpu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h loff_t *posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j[ c.seq_hlist_next_percpuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hposh]hpos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj- hMVubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj- hMVubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj- hMVhj hhubjc)}(hhh]h)}(h3move to the next position of the percpu hlist arrayh]h3move to the next position of the percpu hlist array}(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&]uh1jbhj hhhj- hMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(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.chMZhj!ubj)}(hhh](j)}(h*``void *v`` pointer to current hlist_node h](j)}(h ``void *v``h]j)}(hjFh]hvoid *v}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMWhj@ubj)}(hhh]h)}(hpointer to current hlist_nodeh]hpointer to current hlist_node}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMWhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMWhj=ubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMXhjyubj)}(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&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMXhj=ubj)}(h%``int *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hjh]hint *cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMYhjubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhj=ubj)}(h+``loff_t *pos`` start position of sequence h](j)}(h``loff_t *pos``h]j)}(hjh]h loff_t *pos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMZhjubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubh)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM\hj!ubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hjBhhhNhNubah}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h register_filesystem (C function)c.register_filesystemhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h6int register_filesystem (struct file_system_type * fs)h]j)}(h4int register_filesystem(struct file_system_type *fs)h](j+)}(hinth]hint}(hjqhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjmhhhX/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)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK@hjMubj)}(hhh]j)}(hX``struct file_system_type * fs`` the file system structure Adds 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](j)}(h ``struct file_system_type * fs``h]j)}(hjrh]hstruct file_system_type * fs}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKDhjlubj)}(hhh](h)}(hthe file system structureh]hthe file system structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK=hjubh)}(hAdds the file system passed to the list of file systems the kernel is aware of for mount and other syscalls. Returns 0 on success, or a negative errno code on an error.h]hAdds the file system passed to the list of file systems the kernel is aware of for mount and other syscalls. Returns 0 on success, or a negative errno code on an error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK?hjubh)}(hThe :c:type:`struct file_system_type ` that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.h](hThe }(hjhhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hjh]hstruct file_system_type}(hjhhhNhNubah}(h]h ](jFjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjR refdomainjreftypetype refexplicitrefwarnjjXj[file_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKChjubhw that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKChjubeh}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKDhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"unregister_filesystem (C function)c.unregister_filesystemhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h8int unregister_filesystem (struct file_system_type * fs)h]j)}(h6int unregister_filesystem(struct file_system_type *fs)h](j+)}(hinth]hint}(hj hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhKaubj/)}(hunregister_filesystemh]j5)}(hunregister_filesystemh]hunregister_filesystem}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhKaubj)}(h(struct file_system_type *fs)h]j)}(hstruct file_system_type *fsh](j )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hfile_system_typeh]hfile_system_type}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]j)}jj0sbc.unregister_filesystemasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjFubj5)}(hfsh]hfs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjBubah}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKaubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKahjhhubjc)}(hhh]h)}(hunregister a file systemh]hunregister a file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKahjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hXy**Parameters** ``struct file_system_type * fs`` filesystem to unregister 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)}(hX]``struct file_system_type * fs`` filesystem to unregister 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](j)}(h ``struct file_system_type * fs``h]j)}(hjh]hstruct file_system_type * fs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKhhjubj)}(hhh](h)}(hfilesystem to unregisterh]hfilesystem to unregister}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKbhj$ubh)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKdhj$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 }(hjEhhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hjOh]hstruct file_system_type}(hjQhhhNhNubah}(h]h ](jFjc-typeeh"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]refdocjR refdomainjreftypetype refexplicitrefwarnjjXj[file_system_typeuh1hhj#hKhhjEubh" structure may be freed or reused.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj#hKhhj$ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hKhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(wbc_attach_fdatawrite_inode (C function)c.wbc_attach_fdatawrite_inodehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hUvoid wbc_attach_fdatawrite_inode (struct writeback_control *wbc, struct inode *inode)h]j)}(hTvoid wbc_attach_fdatawrite_inode(struct writeback_control *wbc, struct inode *inode)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhY/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_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.hjhhhjhMubj)}(h4(struct writeback_control *wbc, struct inode *inode)h](j)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(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 }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj1hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hwbch]hwbc}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(hinodeh]hinode}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]jc.wbc_attach_fdatawrite_inodeasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjSubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h&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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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}(hj2hhhNhNubah}(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)}(hjRh]hstruct inode *inode}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjLubj)}(hhh]h)}(h target inodeh]h target inode}(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&]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 }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh7 is associated with a bdi_writeback and attaches it to }(hjhhhNhNubj)}(h**wbc**h]hwbc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hwbc_detach_inode (C function)c.wbc_detach_inodehNtauh1hhjOhhhNhNubh)}(hhh](j)}(h5void wbc_detach_inode (struct writeback_control *wbc)h]j)}(h4void wbc_detach_inode(struct writeback_control *wbc)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhY/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]j)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]j)}jjsbc.wbc_detach_inodeasbuh1hhj/ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj/ubj5)}(hwbch]hwbc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(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&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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&]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)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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.}(hjHhhhNhNubah}(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).}(hjWhhhNhNubah}(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.}(hjfhhhNhNubah}(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, }(hjuhhhNhNubj)}(h**wbc**h]hwbc}(hj}hhhNhNubah}(h]h ]h"]}h$]h&]uh1jhjuubhX 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.}(hjuhhhNhNubeh}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM0hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%wbc_account_cgroup_owner (C function)c.wbc_account_cgroup_ownerhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h`void wbc_account_cgroup_owner (struct writeback_control *wbc, struct folio *folio, size_t bytes)h]j)}(h_void wbc_account_cgroup_owner(struct writeback_control *wbc, struct folio *folio, size_t bytes)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hwbc_account_cgroup_ownerh]j5)}(hwbc_account_cgroup_ownerh]hwbc_account_cgroup_owner}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hB(struct writeback_control *wbc, struct folio *folio, size_t bytes)h](j)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj)}j]j)}jjsbc.wbc_account_cgroup_ownerasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjNhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hwbch]hwbc}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct folio *folioh](j )}(hjzh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j<c.wbc_account_cgroup_ownerasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjpubj5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t bytesh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j<c.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&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h2account writeback to update inode cgroup ownershiph]h2account writeback to update inode cgroup ownership}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhj:hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhjOhNhNubj)}(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}(hjahhhNhNubah}(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.chMhjYubj)}(hhh](j)}(hQ``struct writeback_control *wbc`` writeback_control of the writeback in progress h](j)}(h!``struct writeback_control *wbc``h]j)}(hj~h]hstruct writeback_control *wbc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjxubj)}(hhh]h)}(h.writeback_control of the writeback in progressh]h.writeback_control of the writeback in progress}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h0``struct folio *folio`` folio being written out h](j)}(h``struct folio *folio``h]j)}(hjh]hstruct folio *folio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjubj)}(hhh]h)}(hfolio being written outh]hfolio being written out}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubeh}(h]h ]h"]h$]h&]uh1jhjYubh)}(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.chMhjYubh)}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh from }(hjAhhhNhNubj)}(h **folio**h]hfolio}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh= are about to written out during the writeback controlled by }(hjAhhhNhNubj)}(h**wbc**h]hwbc}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubhF. Keep the book for foreign inode detection. See wbc_detach_inode().}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mark_inode_dirty (C function)c.__mark_inode_dirtyhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h8void __mark_inode_dirty (struct inode *inode, int flags)h]j)}(h7void __mark_inode_dirty(struct inode *inode, int flags)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(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.hjhhhjhM ubj)}(h (struct inode *inode, int flags)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.__mark_inode_dirtyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj+hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int flagsh](j+)}(hinth]hint}(hjQhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj5)}(hflagsh]hflags}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h(internal function to mark an inode dirtyh]h(internal function to mark an inode dirty}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjubj)}(hhh](j)}(h&``struct inode *inode`` inode to mark h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(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.chM hjubj)}(hhh]h)}(h inode to markh]h inode to mark}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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)}(hjh]h int flags}(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.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 hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjubh)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjubh)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjubh)}(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.}(hjhhhNhNubah}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#writeback_inodes_sb_nr (C function)c.writeback_inodes_sb_nrhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h]void writeback_inodes_sb_nr (struct super_block *sb, unsigned long nr, enum wb_reason reason)h]j)}(h\void writeback_inodes_sb_nr(struct super_block *sb, unsigned long nr, enum wb_reason reason)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hwriteback_inodes_sb_nrh]j5)}(hwriteback_inodes_sb_nrh]hwriteback_inodes_sb_nr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(hA(struct super_block *sb, unsigned long nr, enum wb_reason reason)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j 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.writeback_inodes_sb_nrasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjWhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long nrh](j+)}(hunsignedh]hunsigned}(hj}hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj+)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj5)}(hnrh]hnr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(henum wb_reason reasonh](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 wb_reasonh]h wb_reason}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jEc.writeback_inodes_sb_nrasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h-writeback dirty inodes from given super_blockh]h-writeback dirty inodes from given super_block}(hjBhhhNhNubah}(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&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjOhNhNubj)}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(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)}(hjh]hstruct super_block *sb}(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.chM hj}ubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjzubj)}(h2``unsigned long nr`` the number of pages to write h](j)}(h``unsigned long nr``h]j)}(hjh]hunsigned long nr}(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.chM hjubj)}(hhh]h)}(hthe number of pages to writeh]hthe number of pages to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjzubj)}(hC``enum wb_reason reason`` reason why some writeback work initiated h](j)}(h``enum wb_reason reason``h]j)}(hjh]henum wb_reason reason}(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.chM hjubj)}(hhh]h)}(h(reason why some writeback work initiatedh]h(reason why some writeback work initiated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubh)}(h**Description**h]j)}(hj0h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]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.}(hjFhhhNhNubah}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h writeback_inodes_sb (C function)c.writeback_inodes_sbhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hHvoid writeback_inodes_sb (struct super_block *sb, enum wb_reason reason)h]j)}(hGvoid writeback_inodes_sb(struct super_block *sb, enum wb_reason reason)h](j+)}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjqhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqhhhjhM ubj/)}(hwriteback_inodes_sbh]j5)}(hwriteback_inodes_sbh]hwriteback_inodes_sb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjqhhhjhM ubj)}(h/(struct super_block *sb, enum wb_reason reason)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.writeback_inodes_sbasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(henum wb_reason reasonh](j )}(hjh]henum}(hj$ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj1 hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h wb_reasonh]h wb_reason}(hjB hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj? ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD modnameN classnameNjj)}j]jc.writeback_inodes_sbasbuh1hhj ubj)}(h h]h }(hj` hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hreasonh]hreason}(hjn hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjqhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjmhhhjhM ubah}(h]jhah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjjhhubjc)}(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&]uh1jbhjjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjOhNhNubj)}(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)}(hjM!h]h Description}(hjO!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK!ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(hjc!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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'try_to_writeback_inodes_sb (C function)c.try_to_writeback_inodes_sbhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hOvoid try_to_writeback_inodes_sb (struct super_block *sb, enum wb_reason reason)h]j)}(hNvoid try_to_writeback_inodes_sb(struct super_block *sb, enum wb_reason reason)h](j+)}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj!hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!hhhj!hM ubj/)}(htry_to_writeback_inodes_sbh]j5)}(htry_to_writeback_inodes_sbh]htry_to_writeback_inodes_sb}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!hhhj!hM ubj)}(h/(struct super_block *sb, enum wb_reason reason)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j]j)}jj!sbc.try_to_writeback_inodes_sbasbuh1hhj!ubj)}(h h]h }(hj "hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubjX)}(hj[h]h*}(hj"hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj!ubj5)}(hsbh]hsb}(hj("hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj!ubj)}(henum wb_reason reasonh](j )}(hjh]henum}(hjA"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj="ubj)}(h h]h }(hjN"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj="ubh)}(hhh]j5)}(h wb_reasonh]h wb_reason}(hj_"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetja"modnameN classnameNjj)}j]j "c.try_to_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&]noemphjLjMuh1jhj!ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj!hhhj!hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj!hhhj!hM ubah}(h]j!ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!hM hj!hhubjc)}(hhh]h)}(h'try to start writeback if none underwayh]h'try to start writeback if none underway}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj"hhubah}(h]h ]h"]h$]h&]uh1jbhj!hhhj!hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjOhNhNubj)}(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}(hj1#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}(hjH#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjD#hM hjE#ubah}(h]h ]h"]h$]h&]uh1jhj)#ubeh}(h]h ]h"]h$]h&]uh1jhjD#hM hj"ubeh}(h]h ]h"]h$]h&]uh1jhj"ubh)}(h**Description**h]j)}(hjj#h]h Description}(hjl#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh#ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj"ubh)}(hFInvoke __writeback_inodes_sb_nr if no writeback is currently underway.h]hFInvoke __writeback_inodes_sb_nr if no writeback is currently underway.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsync_inodes_sb (C function)c.sync_inodes_sbhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h,void sync_inodes_sb (struct super_block *sb)h]j)}(h+void sync_inodes_sb(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj#hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhj#hM ubj/)}(hsync_inodes_sbh]j5)}(hsync_inodes_sbh]hsync_inodes_sb}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#hhhj#hM ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj $hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj $modnameN classnameNjj)}j]j)}jj#sbc.sync_inodes_sbasbuh1hhj#ubj)}(h h]h }(hj*$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubjX)}(hj[h]h*}(hj8$hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj#ubj5)}(hsbh]hsb}(hjE$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubah}(h]h ]h"]h$]h&]jLjMuh1jhj#hhhj#hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#hhhj#hM ubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj#hM hj#hhubjc)}(hhh]h)}(hsync sb inode pagesh]hsync sb inode pages}(hjo$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjl$hhubah}(h]h ]h"]h$]h&]uh1jbhj#hhhj#hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjOhNhNubj)}(h**Parameters** ``struct super_block *sb`` the superblock **Description** This function writes and waits on any dirty inode belonging to this super_block.h](h)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj$ubj)}(hhh]j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hj$h]hstruct super_block *sb}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj$ubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hM hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubh)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj$ubh)}(hPThis function writes and waits on any dirty inode belonging to this super_block.h]hPThis function writes and waits on any dirty inode belonging to this super_block.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hwrite_inode_now (C function)c.write_inode_nowhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h3int write_inode_now (struct inode *inode, int sync)h]j)}(h2int write_inode_now(struct inode *inode, int sync)h](j+)}(hinth]hint}(hj0%hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj,%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}(hjQ%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjM%ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,%hhhj>%hM ubj)}(h(struct inode *inode, int sync)h](j)}(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]j)}jjS%sbc.write_inode_nowasbuh1hhji%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji%ubjX)}(hj[h]h*}(hj%hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhji%ubj5)}(hinodeh]hinode}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhje%ubj)}(hint synch](j+)}(hinth]hint}(hj%hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj%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&]noemphjLjMuh1jhje%ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj,%hhhj>%hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj(%hhhj>%hM ubah}(h]j#%ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>%hM hj%%hhubjc)}(hhh]h)}(hwrite an inode to diskh]hwrite an inode to disk}(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=&jjjuh1hhhhjOhNhNubj)}(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)}(hjG&h]h Parameters}(hjI&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE&ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjA&ubj)}(hhh](j)}(h/``struct inode *inode`` inode to write to disk h](j)}(h``struct inode *inode``h]j)}(hjf&h]hstruct inode *inode}(hjh&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd&ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj`&ubj)}(hhh]h)}(hinode to write to diskh]hinode to write to disk}(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 sync`` whether the write should be synchronous or not h](j)}(h ``int sync``h]j)}(hj&h]hint sync}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj&ubj)}(hhh]h)}(h.whether the write should be synchronous or noth]h.whether the write should be synchronous or not}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hM hj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM hj]&ubeh}(h]h ]h"]h$]h&]uh1jhjA&ubh)}(h**Description**h]j)}(hj&h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjA&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 hjA&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 hjA&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sync_inode_metadata (C function)c.sync_inode_metadatahNtauh1hhjOhhhNhNubh)}(hhh](j)}(h7int sync_inode_metadata (struct inode *inode, int wait)h]j)}(h6int sync_inode_metadata(struct inode *inode, int wait)h](j+)}(hinth]hint}(hj.'hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj*'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}(hjO'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjK'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj*'hhhj<'hM4 ubj)}(h(struct inode *inode, int wait)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjk'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjg'ubj)}(h h]h }(hjx'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjg'ubh)}(hhh]j5)}(hinodeh]hinode}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]j)}jjQ'sbc.sync_inode_metadataasbuh1hhjg'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjg'ubjX)}(hj[h]h*}(hj'hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjg'ubj5)}(hinodeh]hinode}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjg'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjc'ubj)}(hint waith](j+)}(hinth]hint}(hj'hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj'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&]noemphjLjMuh1jhjc'ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj*'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;(jjjuh1hhhhjOhNhNubj)}(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)}(hjE(h]h Parameters}(hjG(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC(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)}(hjd(h]hstruct inode *inode}(hjf(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb(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}(hj}(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjy(hM5 hjz(ubah}(h]h ]h"]h$]h&]uh1jhj^(ubeh}(h]h ]h"]h$]h&]uh1jhjy(hM5 hj[(ubj)}(h'``int wait`` wait for I/O to complete. h](j)}(h ``int wait``h]j)}(hj(h]hint wait}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM6 hj(ubj)}(hhh]h)}(hwait for I/O to complete.h]hwait for I/O to complete.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hM6 hj(ubah}(h]h ]h"]h$]h&]uh1jhj(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.chM8 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.chM: 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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hanon_inode_getfile (C function)c.anon_inode_getfilehNtauh1hhjOhhhNhNubh)}(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}(hjD)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 }(hjR)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@)hhhjQ)hKubh)}(hhh]j5)}(hfileh]hfile}(hjc)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetje)modnameN classnameNjj)}j]j)}janon_inode_getfilesbc.anon_inode_getfileasbuh1hhj@)hhhjQ)hKubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@)hhhjQ)hKubjX)}(hj[h]h*}(hj)hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj@)hhhjQ)hKubj/)}(hanon_inode_getfileh]j5)}(hj)h]hanon_inode_getfile}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@)hhhjQ)hKubj)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](j)}(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)ubj+)}(hcharh]hchar}(hj)hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubjX)}(hj[h]h*}(hj)hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj)ubj5)}(hnameh]hname}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubj)}(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}(hj6*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj)}(h h]h }(hjC*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjT*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQ*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjV*modnameN classnameNjj)}j]j)c.anon_inode_getfileasbuh1hhj*ubj)}(h h]h }(hjr*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubjX)}(hj[h]h*}(hj*hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj*ubj5)}(hfopsh]hfops}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubj)}(h void *privh](j+)}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubjX)}(hj[h]h*}(hj*hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj*ubj5)}(hprivh]hpriv}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubj)}(h int flagsh](j+)}(hinth]hint}(hj*hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubj5)}(hflagsh]hflags}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj@)hhhjQ)hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj<)hhhjQ)hKubah}(h]j7)ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjQ)hKhj9)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&]uh1jbhj9)hhhjQ)hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjF+jjF+jjjuh1hhhhjOhNhNubj)}(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)}(hjP+h]h Parameters}(hjR+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN+ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjJ+ubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hjo+h]hconst char *name}(hjq+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm+ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhji+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+hKhj+ubah}(h]h ]h"]h$]h&]uh1jhji+ubeh}(h]h ]h"]h$]h&]uh1jhj+hKhjf+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.chKhj+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+hKhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hKhjf+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.chKhj+ubj)}(hhh]h)}(hC[in] private data for the new file (will be file's private_data)h]hE[in] private data for the new file (will be file’s private_data)}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hKhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hKhjf+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.chKhj,ubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hj3,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/,hKhj0,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj/,hKhjf+ubeh}(h]h ]h"]h$]h&]uh1jhjJ+ubh)}(h**Description**h]j)}(hjU,h]h Description}(hjW,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS,ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjJ+ubh)}(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.}(hjk,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjJ+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%anon_inode_getfile_fmode (C function)c.anon_inode_getfile_fmodehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hstruct file * anon_inode_getfile_fmode (const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h]j)}(hstruct file *anon_inode_getfile_fmode(const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h](j )}(hjzh]hstruct}(hj,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 reftargetj,modnameN classnameNjj)}j]j)}janon_inode_getfile_fmodesbc.anon_inode_getfile_fmodeasbuh1hhj,hhhj,hKubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,hhhj,hKubjX)}(hj[h]h*}(hj,hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj,hhhj,hKubj/)}(hanon_inode_getfile_fmodeh]j5)}(hj,h]hanon_inode_getfile_fmode}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhj,hKubj)}(h](const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(h h]h }(hj!-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj+)}(hcharh]hchar}(hj/-hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj-ubj)}(h h]h }(hj=-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubjX)}(hj[h]h*}(hjK-hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj-ubj5)}(hnameh]hname}(hjX-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj -ubj)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjq-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm-ubj)}(h h]h }(hj~-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjm-ubj )}(hjzh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjm-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,c.anon_inode_getfile_fmodeasbuh1hhjm-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjm-ubjX)}(hj[h]h*}(hj-hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjm-ubj5)}(hfopsh]hfops}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjm-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj -ubj)}(h void *privh](j+)}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj-ubj)}(h h]h }(hj .hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubjX)}(hj[h]h*}(hj.hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj-ubj5)}(hprivh]hpriv}(hj%.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj -ubj)}(h int flagsh](j+)}(hinth]hint}(hj>.hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj:.ubj)}(h h]h }(hjL.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:.ubj5)}(hflagsh]hflags}(hjZ.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj -ubj)}(hfmode_t f_modeh](h)}(hhh]j5)}(hfmode_th]hfmode_t}(hjv.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjs.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx.modnameN classnameNjj)}j]j,c.anon_inode_getfile_fmodeasbuh1hhjo.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjo.ubj5)}(hf_modeh]hf_mode}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjo.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj -ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj,hhhj,hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj,hhhj,hKubah}(h]j,ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj,hKhj,hhubjc)}(hhh]h)}(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&]jjjj.jj.jjjuh1hhhhjOhNhNubj)}(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)}(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.chKhj.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.chKhj/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"/hKhj#/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj"/hKhj/ubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjF/h]h"const struct file_operations *fops}(hjH/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD/ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj@/ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(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)}(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.chKhjy/ubj)}(hhh]h)}(hC[in] private data for the new file (will be file's private_data)h]hE[in] private data for the new file (will be file’s private_data)}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hKhj/ubah}(h]h ]h"]h$]h&]uh1jhjy/ubeh}(h]h ]h"]h$]h&]uh1jhj/hKhj/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.chKhj/ubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(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!``fmode_t f_mode`` [in] fmode h](j)}(h``fmode_t f_mode``h]j)}(hj/h]hfmode_t f_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:71: ./fs/anon_inodes.chKhj/ubj)}(hhh]h)}(h [in] fmodeh]h [in] fmode}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hKhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hKhj/ubeh}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h**Description**h]j)}(hj,0h]h Description}(hj.0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*0ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj.ubh)}(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.}(hjB0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&anon_inode_create_getfile (C function)c.anon_inode_create_getfilehNtauh1hhjOhhhNhNubh)}(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}(hjq0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm0hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjm0hhhj~0hKubh)}(hhh]j5)}(hfileh]hfile}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]j)}janon_inode_create_getfilesbc.anon_inode_create_getfileasbuh1hhjm0hhhj~0hKubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjm0hhhj~0hKubjX)}(hj[h]h*}(hj0hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjm0hhhj~0hKubj/)}(hanon_inode_create_getfileh]j5)}(hj0h]hanon_inode_create_getfile}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjm0hhhj~0hKubj)}(hp(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj+)}(hcharh]hchar}(hj1hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj0ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubjX)}(hj[h]h*}(hj"1hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj0ubj5)}(hnameh]hname}(hj/1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubj)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjH1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD1ubj)}(h h]h }(hjU1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjD1ubj )}(hjzh]hstruct}(hjc1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD1ubj)}(h h]h }(hjp1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjD1ubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj)}j]j0c.anon_inode_create_getfileasbuh1hhjD1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjD1ubjX)}(hj[h]h*}(hj1hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjD1ubj5)}(hfopsh]hfops}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjD1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubj)}(h void *privh](j+)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubjX)}(hj[h]h*}(hj1hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj1ubj5)}(hprivh]hpriv}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubj)}(h int flagsh](j+)}(hinth]hint}(hj2hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj2ubj)}(h h]h }(hj#2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj5)}(hflagsh]hflags}(hj12hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubj)}(h!const struct inode *context_inodeh](j )}(hjh]hconst}(hjJ2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF2ubj)}(h h]h }(hjW2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjF2ubj )}(hjzh]hstruct}(hje2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF2ubj)}(h h]h }(hjr2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjF2ubh)}(hhh]j5)}(hinodeh]hinode}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j0c.anon_inode_create_getfileasbuh1hhjF2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjF2ubjX)}(hj[h]h*}(hj2hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjF2ubj5)}(h context_inodeh]h context_inode}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjF2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjm0hhhj~0hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhji0hhhj~0hKubah}(h]jd0ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~0hKhjf0hhubjc)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj2hhubah}(h]h ]h"]h$]h&]uh1jbhjf0hhhj~0hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhjOhNhNubj)}(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)}(hj3h]h Parameters}(hj 3hhhNhNubah}(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)}(hj'3h]hconst char *name}(hj)3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%3ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj!3ubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj@3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<3hKhj=3ubah}(h]h ]h"]h$]h&]uh1jhj!3ubeh}(h]h ]h"]h$]h&]uh1jhj<3hKhj3ubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hj`3h]h"const struct file_operations *fops}(hjb3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^3ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjZ3ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjy3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhju3hKhjv3ubah}(h]h ]h"]h$]h&]uh1jhjZ3ubeh}(h]h ]h"]h$]h&]uh1jhju3hKhj3ubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hj3h]h void *priv}(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)}(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)}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hKhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hKhj3ubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hj3h]h int flags}(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] flagsh]h [in] flags}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hKhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hKhj3ubj)}(he``const struct inode *context_inode`` [in] the logical relationship with the new inode (optional) h](j)}(h%``const struct inode *context_inode``h]j)}(hj 4h]h!const struct inode *context_inode}(hj 4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 4ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj4ubj)}(hhh]h)}(h>[in] the logical relationship with the new inode (optional)h]h>[in] the logical relationship with the new inode (optional)}(hj$4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 4hKhj!4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj 4hKhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hjF4h]h Description}(hjH4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD4ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj3ubh)}(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\4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj3ubj6-)}(hhh](j;-)}(hifor the inode to have its own security context, so that LSMs can enforce policy on the inode's creation; h]h)}(hhfor the inode to have its own security context, so that LSMs can enforce policy on the inode's creation;h]hjfor the inode to have its own security context, so that LSMs can enforce policy on the inode’s creation;}(hjr4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjn4ubah}(h]h ]h"]h$]h&]uh1j:-hjk4ubj;-)}(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()}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj4ubah}(h]h ]h"]h$]h&]uh1j:-hjk4ubeh}(h]h ]h"]h$]h&]j-jouh1j5-hj4hKhj3ubh)}(hcThe LSM may use **context_inode** in inode_init_security_anon(), but a reference to it is not held.h](hThe LSM may use }(hj4hhhNhNubj)}(h**context_inode**h]h context_inode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubhB in inode_init_security_anon(), but a reference to it is not held.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj3ubh)}(h4Returns the newly created file* or an error pointer.h]h4Returns the newly created file* or an error pointer.}(hj4hhhNhNubah}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hanon_inode_getfd (C function)c.anon_inode_getfdhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hbint anon_inode_getfd (const char *name, const struct file_operations *fops, void *priv, int flags)h]j)}(haint anon_inode_getfd(const char *name, const struct file_operations *fops, void *priv, int flags)h](j+)}(hinth]hint}(hj4hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj4hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM&ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4hhhj5hM&ubj/)}(hanon_inode_getfdh]j5)}(hanon_inode_getfdh]hanon_inode_getfd}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4hhhj5hM&ubj)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hj35hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/5ubj)}(h h]h }(hj@5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/5ubj+)}(hcharh]hchar}(hjN5hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj/5ubj)}(h h]h }(hj\5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/5ubjX)}(hj[h]h*}(hjj5hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj/5ubj5)}(hnameh]hname}(hjw5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+5ubj)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj )}(hjzh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}jj5sbc.anon_inode_getfdasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubjX)}(hj[h]h*}(hj5hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj5ubj5)}(hfopsh]hfops}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+5ubj)}(h void *privh](j+)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj6ubj)}(h h]h }(hj+6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubjX)}(hj[h]h*}(hj96hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj6ubj5)}(hprivh]hpriv}(hjF6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+5ubj)}(h int flagsh](j+)}(hinth]hint}(hj_6hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj[6ubj)}(h h]h }(hjm6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[6ubj5)}(hflagsh]hflags}(hj{6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+5ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj4hhhj5hM&ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj4hhhj5hM&ubah}(h]j4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hM&hj4hhubjc)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM&hj6hhubah}(h]h ]h"]h$]h&]uh1jbhj4hhhj5hM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjOhNhNubj)}(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)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM*hj6ubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hj6h]hconst char *name}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM*hj6ubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hM*hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM*hj6ubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hj7h]h"const struct file_operations *fops}(hj!7hhhNhNubah}(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.chM+hj7ubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hj87hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj47hM+hj57ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj47hM+hj6ubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hjX7h]h void *priv}(hjZ7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV7ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM,hjR7ubj)}(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)}(hjq7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjm7hM,hjn7ubah}(h]h ]h"]h$]h&]uh1jhjR7ubeh}(h]h ]h"]h$]h&]uh1jhjm7hM,hj6ubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hj7h]h int flags}(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.chM-hj7ubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hM-hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM-hj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubh)}(h**Description**h]j)}(hj7h]h Description}(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.chM/hj6ubh)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM/hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%setattr_should_drop_sgid (C function)c.setattr_should_drop_sgidhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hQint setattr_should_drop_sgid (struct mnt_idmap *idmap, const struct inode *inode)h]j)}(hPint setattr_should_drop_sgid(struct mnt_idmap *idmap, const struct inode *inode)h](j+)}(hinth]hint}(hj8hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj 8hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKubj)}(h h]h }(hj 8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 8hhhj8hKubj/)}(hsetattr_should_drop_sgidh]j5)}(hsetattr_should_drop_sgidh]hsetattr_should_drop_sgid}(hj28hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj 8hhhj8hKubj)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjN8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ8ubj)}(h h]h }(hj[8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJ8ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjl8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjn8modnameN classnameNjj)}j]j)}jj48sbc.setattr_should_drop_sgidasbuh1hhjJ8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJ8ubjX)}(hj[h]h*}(hj8hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjJ8ubj5)}(hidmaph]hidmap}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJ8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjF8ubj)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(hinodeh]hinode}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j8c.setattr_should_drop_sgidasbuh1hhj8ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubjX)}(hj[h]h*}(hj%9hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj8ubj5)}(hinodeh]hinode}(hj29hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjF8ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj 8hhhj8hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj 8hhhj8hKubah}(h]j8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj8hKhj8hhubjc)}(hhh]h)}(h4determine whether the setgid bit needs to be removedh]h4determine whether the setgid bit needs to be removed}(hj\9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjY9hhubah}(h]h ]h"]h$]h&]uh1jbhj8hhhj8hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjt9jjt9jjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``const struct inode *inode`` inode to check **Description** This function determines whether the setgid bit needs to be removed. We retain backwards compatibility and require setgid bit to be removed unconditionally if S_IXGRP is set. Otherwise we have the exact same requirements as setattr_prepare() and setattr_copy(). **Return** ATTR_KILL_SGID if setgid bit needs to be removed, 0 otherwise.h](h)}(h**Parameters**h]j)}(hj~9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|9ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjx9ubj)}(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}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj9ubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hj9hhhNhNubj)}(h **inode**h]hinode}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh was found from}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhj9ubj)}(h-``const struct inode *inode`` inode to check h](j)}(h``const struct inode *inode``h]j)}(hj9h]hconst struct inode *inode}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj9ubj)}(hhh]h)}(hinode to checkh]hinode to check}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhj9ubeh}(h]h ]h"]h$]h&]uh1jhjx9ubh)}(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.chKhjx9ubh)}(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().}(hj9:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjx9ubh)}(h **Return**h]j)}(hjJ:h]hReturn}(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.chKhjx9ubh)}(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.chKhjx9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(setattr_should_drop_suidgid (C function)c.setattr_should_drop_suidgidhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hNint setattr_should_drop_suidgid (struct mnt_idmap *idmap, struct inode *inode)h]j)}(hMint setattr_should_drop_suidgid(struct mnt_idmap *idmap, struct inode *inode)h](j+)}(hinth]hint}(hj:hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj:hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK1ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:hhhj:hK1ubj/)}(hsetattr_should_drop_suidgidh]j5)}(hsetattr_should_drop_suidgidh]hsetattr_should_drop_suidgid}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj:hhhj:hK1ubj)}(h.(struct mnt_idmap *idmap, struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(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:ubjX)}(hj[h]h*}(hj;hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubj5)}(hidmaph]hidmap}(hj%;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:ubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj>;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:;ubj)}(h h]h }(hjK;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:;ubh)}(hhh]j5)}(hinodeh]hinode}(hj\;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjY;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^;modnameN classnameNjj)}j]j;c.setattr_should_drop_suidgidasbuh1hhj:;ubj)}(h h]h }(hjz;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:;ubjX)}(hj[h]h*}(hj;hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:;ubj5)}(hinodeh]hinode}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj:hhhj:hK1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhj:hK1ubah}(h]j:ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:hK1hj: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&]uh1jbhj:hhhj:hK1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjOhNhNubj)}(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)}(hjK<h]hstruct inode *inode}(hjM<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI<ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK4hjE<ubj)}(hhh]h)}(hinode to checkh]hinode to check}(hjd<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`<hK4hja<ubah}(h]h ]h"]h$]h&]uh1jhjE<ubeh}(h]h ]h"]h$]h&]uh1jhj`<hK4hj;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubh)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK6hj;ubh)}(hX)This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned.h]hX)This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK6hj;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.chKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj >ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj >ubh)}(hhh]j5)}(hiattrh]hiattr}(hj/>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1>modnameN classnameNjj)}j]ji=c.setattr_prepareasbuh1hhj >ubj)}(h h]h }(hjM>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj >ubjX)}(hj[h]h*}(hj[>hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj >ubj5)}(hattrh]hattr}(hjh>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj >ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'=ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj<hhhj=hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj<hhhj=hKubah}(h]j<ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj=hKhj<hhubjc)}(hhh]h)}(h2check if attribute changes to a dentry are allowedh]h2check if attribute changes to a dentry are allowed}(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>jjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct dentry *dentry`` dentry to check ``struct iattr *attr`` attributes to change **Description** Check if we are allowed to change the attributes contained in **attr** in the given dentry. This includes the normal unix access permission checks, as well as checks for rlimits and others. The function also clears SGID bit from mode if user is not allowed to set it. Also file capabilities and IMA extended attributes are cleared if ATTR_KILL_PRIV is set. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**. Should be called as the first thing in ->setattr implementations, possibly after taking additional locks.h](h)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj>ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj>h]hstruct mnt_idmap *idmap}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj>ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hKhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hKhj>ubj)}(h*``struct dentry *dentry`` dentry to check h](j)}(h``struct dentry *dentry``h]j)}(hj ?h]hstruct dentry *dentry}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ?ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj?ubj)}(hhh]h)}(hdentry to checkh]hdentry to check}(hj%?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!?hKhj"?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj!?hKhj>ubj)}(h,``struct iattr *attr`` attributes to change h](j)}(h``struct iattr *attr``h]j)}(hjE?h]hstruct iattr *attr}(hjG?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC?ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj??ubj)}(hhh]h)}(hattributes to changeh]hattributes to change}(hj^?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZ?hKhj[?ubah}(h]h ]h"]h$]h&]uh1jhj??ubeh}(h]h ]h"]h$]h&]uh1jhjZ?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&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj>ubh)}(hXeCheck if we are allowed to change the attributes contained in **attr** in the given dentry. This includes the normal unix access permission checks, as well as checks for rlimits and others. The function also clears SGID bit from mode if user is not allowed to set it. Also file capabilities and IMA extended attributes are cleared if ATTR_KILL_PRIV is set.h](h>Check if we are allowed to change the attributes contained in }(hj?hhhNhNubj)}(h**attr**h]hattr}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubhX in the given dentry. This includes the normal unix access permission checks, as well as checks for rlimits and others. The function also clears SGID bit from mode if user is not allowed to set it. Also file capabilities and IMA extended attributes are cleared if ATTR_KILL_PRIV is set.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj>ubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj?hhhNhNubj)}(h **idmap**h]hidmap}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubhB. This function will then take care to map the inode according to }(hj?hhhNhNubj)}(h **idmap**h]hidmap}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj?hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj>ubh)}(hiShould be called as the first thing in ->setattr implementations, possibly after taking additional locks.h]hiShould be called as the first thing in ->setattr implementations, possibly after taking additional locks.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_newsize_ok (C function)c.inode_newsize_okhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h?int inode_newsize_ok (const struct inode *inode, loff_t offset)h]j)}(h>int inode_newsize_ok(const struct inode *inode, loff_t offset)h](j+)}(hinth]hint}(hj+@hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj'@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'@hhhj9@hKubj/)}(hinode_newsize_okh]j5)}(hinode_newsize_okh]hinode_newsize_ok}(hjL@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjH@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'@hhhj9@hKubj)}(h*(const struct inode *inode, loff_t offset)h](j)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjh@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd@ubj)}(h h]h }(hju@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd@ubj )}(hjzh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd@ubh)}(hhh]j5)}(hinodeh]hinode}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj)}j]j)}jjN@sbc.inode_newsize_okasbuh1hhjd@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd@ubjX)}(hj[h]h*}(hj@hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjd@ubj5)}(hinodeh]hinode}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjd@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`@ubj)}(h loff_t offseth](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.inode_newsize_okasbuh1hhj@ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj5)}(hoffseth]hoffset}(hj$AhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`@ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj'@hhhj9@hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#@hhhj9@hKubah}(h]j@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9@hKhj @hhubjc)}(hhh]h)}(h+may this inode be truncated to a given sizeh]h+may this inode be truncated to a given size}(hjNAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjKAhhubah}(h]h ]h"]h$]h&]uh1jbhj @hhhj9@hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfAjjfAjjjuh1hhhhjOhNhNubj)}(hXq**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_mutex held. 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)}(hjpAh]h Parameters}(hjrAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnAubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjjAubj)}(hhh](j)}(h8``const struct inode *inode`` the inode to be truncated h](j)}(h``const struct inode *inode``h]j)}(hjAh]hconst struct 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.chKhjAubj)}(hhh]h)}(hthe inode to be truncatedh]hthe inode to be truncated}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhKhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhKhjAubj)}(h6``loff_t offset`` the new size to assign to the inode h](j)}(h``loff_t offset``h]j)}(hjAh]h loff_t offset}(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.chKhjAubj)}(hhh]h)}(h#the new size to assign to the inodeh]h#the new size to assign to the inode}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhKhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhKhjAubeh}(h]h ]h"]h$]h&]uh1jhjjAubh)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjjAubh)}(h2inode_newsize_ok must be called with i_mutex held.h]h2inode_newsize_ok must be called with i_mutex held.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjjAubh)}(hXxinode_newsize_ok will check filesystem limits and ulimits to check that the new inode size is within limits. inode_newsize_ok will also send SIGXFSZ when necessary. Caller must not proceed with inode size change if failure is returned. **inode** must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).h](hinode_newsize_ok will check filesystem limits and ulimits to check that the new inode size is within limits. inode_newsize_ok will also send SIGXFSZ when necessary. Caller must not proceed with inode size change if failure is returned. }(hj(BhhhNhNubj)}(h **inode**h]hinode}(hj0BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(Bubh must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).}(hj(BhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjjAubh)}(h **Return**h]j)}(hjKBh]hReturn}(hjMBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIBubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjjAubh)}(h"0 on success, -ve errno on failureh]h"0 on success, -ve errno on failure}(hjaBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsetattr_copy (C function)c.setattr_copyhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hZvoid setattr_copy (struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h]j)}(hYvoid setattr_copy(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h](j+)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjBhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM<ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBhhhjBhM<ubj/)}(h setattr_copyh]j5)}(h setattr_copyh]h setattr_copy}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjBhhhjBhM<ubj)}(hH(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]j)}jjBsbc.setattr_copyasbuh1hhjBubj)}(h h]h }(hj ChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubjX)}(hj[h]h*}(hjChhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjBubj5)}(hidmaph]hidmap}(hj&ChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjBubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj?ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;Cubj)}(h h]h }(hjLChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;Cubh)}(hhh]j5)}(hinodeh]hinode}(hj]ChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_CmodnameN classnameNjj)}j]jCc.setattr_copyasbuh1hhj;Cubj)}(h h]h }(hj{ChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;CubjX)}(hj[h]h*}(hjChhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj;Cubj5)}(hinodeh]hinode}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;Cubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjBubj)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj )}(hjzh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(hiattrh]hiattr}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]jCc.setattr_copyasbuh1hhjCubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubjX)}(hj[h]h*}(hjDhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjCubj5)}(hattrh]hattr}(hj!DhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjBubeh}(h]h ]h"]h$]h&]jLjMuh1jhjBhhhjBhM<ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjBhhhjBhM<ubah}(h]jBah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjBhM<hjBhhubjc)}(hhh]h)}(h3copy simple metadata updates into the generic inodeh]h3copy simple metadata updates into the generic inode}(hjKDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM<hjHDhhubah}(h]h ]h"]h$]h&]uh1jbhjBhhhjBhM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcDjjcDjjjuh1hhhhjOhNhNubj)}(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_mutex held. 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)}(hjmDh]h Parameters}(hjoDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkDubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM@hjgDubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjDh]hstruct mnt_idmap *idmap}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM=hjDubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhM=hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhM=hjDubj)}(h0``struct inode *inode`` the inode to be updated h](j)}(h``struct inode *inode``h]j)}(hjDh]hstruct inode *inode}(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.chM>hjDubj)}(hhh]h)}(hthe inode to be updatedh]hthe inode to be updated}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhM>hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhM>hjDubj)}(h0``const struct iattr *attr`` the new attributes h](j)}(h``const struct iattr *attr``h]j)}(hjDh]hconst struct iattr *attr}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM?hjDubj)}(hhh]h)}(hthe new attributesh]hthe new attributes}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhM?hjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjEhM?hjDubeh}(h]h ]h"]h$]h&]uh1jhjgDubh)}(h**Description**h]j)}(hj9Eh]h Description}(hj;EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Eubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMAhjgDubh)}(h.setattr_copy must be called with i_mutex held.h]h.setattr_copy must be called with i_mutex held.}(hjOEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMAhjgDubh)}(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^EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMChjgDubh)}(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 }(hjmEhhhNhNubj)}(h **idmap**h]hidmap}(hjuEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmEubhB. This function will then take care to map the inode according to }(hjmEhhhNhNubj)}(h **idmap**h]hidmap}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmEubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjmEhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmEubh.}(hjmEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMJhjgDubh)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMPhjgDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnotify_change (C function)c.notify_changehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hvint notify_change (struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct inode **delegated_inode)h]j)}(huint notify_change(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct inode **delegated_inode)h](j+)}(hinth]hint}(hjEhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjEhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEhhhjEhMubj/)}(h notify_changeh]j5)}(h notify_changeh]h notify_change}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjEhhhjEhMubj)}(hd(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct inode **delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hj+FhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjFmodnameN classnameNjj)}j]j)}jjFsbc.notify_changeasbuh1hhjFubj)}(h h]h }(hj\FhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubjX)}(hj[h]h*}(hjjFhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjFubj5)}(hidmaph]hidmap}(hjwFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hdentryh]hdentry}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j]jXFc.notify_changeasbuh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubjX)}(hj[h]h*}(hjFhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjFubj5)}(hdentryh]hdentry}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(hstruct iattr *attrh](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hj GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hiattrh]hiattr}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj GmodnameN classnameNjj)}j]jXFc.notify_changeasbuh1hhjFubj)}(h h]h }(hjchar * d_path (const struct path *path, char *buf, int buflen)h]j)}(h 1 ``loff_t start`` Starting offset. Page containing 'start' is included. ``loff_t end`` End offset. Page containing 'end' is included. If 'end' is LLONG_MAX, pages from 'start' till the end of file are included. **Description** DAX requires ZONE_DEVICE mapped pages. These pages are never 'onlined' to the page allocator so they are considered idle when page->count == 1. A filesystem uses this interface to determine if any page in the mapping is busy, i.e. for DMA, or other get_user_pages() usages. It is expected that the filesystem is holding locks to block the establishment of new mappings in this address_space. I.e. it expects to be able to run unmap_mapping_range() and subsequently not race mapping_mapped() becoming true.h](h)}(h**Parameters**h]j)}(hj8Nh]h Parameters}(hj:NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Nubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj2Nubj)}(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)}(hjWNh]hstruct address_space *mapping}(hjYNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjQNubj)}(hhh]h)}(h3address space to scan for a page with ref count > 1h]h3address space to scan for a page with ref count > 1}(hjpNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlNhMhjmNubah}(h]h ]h"]h$]h&]uh1jhjQNubeh}(h]h ]h"]h$]h&]uh1jhjlNhMhjNNubj)}(hG``loff_t start`` Starting offset. Page containing 'start' is included. h](j)}(h``loff_t start``h]j)}(hjNh]h loff_t start}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjNubj)}(hhh]h)}(h5Starting offset. Page containing 'start' is included.h]h9Starting offset. Page containing ‘start’ is included.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNNubj)}(h``loff_t end`` End offset. Page containing 'end' is included. If 'end' is LLONG_MAX, pages from 'start' till the end of file are included. h](j)}(h``loff_t end``h]j)}(hjNh]h loff_t end}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjNubj)}(hhh]h)}(h{End offset. Page containing 'end' is included. If 'end' is LLONG_MAX, pages from 'start' till the end of file are included.h]hEnd offset. Page containing ‘end’ is included. If ‘end’ is LLONG_MAX, pages from ‘start’ till the end of file are included.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNNubeh}(h]h ]h"]h$]h&]uh1jhj2Nubh)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj2Nubh)}(hXDAX requires ZONE_DEVICE mapped pages. These pages are never 'onlined' to the page allocator so they are considered idle when page->count == 1. A filesystem uses this interface to determine if any page in the mapping is busy, i.e. for DMA, or other get_user_pages() usages.h]hXDAX requires ZONE_DEVICE mapped pages. These pages are never ‘onlined’ to the page allocator so they are considered idle when page->count == 1. A filesystem uses this interface to determine if any page in the mapping is busy, i.e. for DMA, or other get_user_pages() usages.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj2Nubh)}(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.}(hj*OhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj2Nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdax_iomap_rw (C function)c.dax_iomap_rwhNtauh1hhjOhhhNhNubh)}(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\OhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^OmodnameN classnameNjj)}j]j)}j dax_iomap_rwsbc.dax_iomap_rwasbuh1hhjUOhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMubj)}(h h]h }(hj~OhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUOhhhj}OhMubj/)}(h dax_iomap_rwh]j5)}(hjzOh]h dax_iomap_rw}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjUOhhhj}OhMubj)}(hH(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)h](j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]jxOc.dax_iomap_rwasbuh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubjX)}(hj[h]h*}(hjOhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjOubj5)}(hiocbh]hiocb}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubj)}(hstruct iov_iter *iterh](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)}(hiov_iterh]hiov_iter}(hj9PhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6Pubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;PmodnameN classnameNjj)}j]jxOc.dax_iomap_rwasbuh1hhjPubj)}(h h]h }(hjWPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubjX)}(hj[h]h*}(hjePhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjPubj5)}(hiterh]hiter}(hjrPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubj)}(hconst struct iomap_ops *opsh](j )}(hjh]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj )}(hjzh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubh)}(hhh]j5)}(h iomap_opsh]h iomap_ops}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]jxOc.dax_iomap_rwasbuh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubjX)}(hj[h]h*}(hjPhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjPubj5)}(hopsh]hops}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubeh}(h]h ]h"]h$]h&]jLjMuh1jhjUOhhhj}OhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjQOhhhj}OhMubah}(h]jLOah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj}OhMhjNOhhubjc)}(hhh]h)}(hPerform I/O to a DAX fileh]hPerform I/O to a DAX file}(hj'QhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj$Qhhubah}(h]h ]h"]h$]h&]uh1jbhjNOhhhj}OhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?Qjj?Qjjjuh1hhhhjOhNhNubj)}(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)}(hjIQh]h Parameters}(hjKQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGQubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjCQubj)}(hhh](j)}(h6``struct kiocb *iocb`` The control block for this I/O h](j)}(h``struct kiocb *iocb``h]j)}(hjhQh]hstruct kiocb *iocb}(hjjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfQubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjbQubj)}(hhh]h)}(hThe control block for this I/Oh]hThe control block for this I/O}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}QhMhj~Qubah}(h]h ]h"]h$]h&]uh1jhjbQubeh}(h]h ]h"]h$]h&]uh1jhj}QhMhj_Qubj)}(h=``struct iov_iter *iter`` The addresses to do I/O from or to h](j)}(h``struct iov_iter *iter``h]j)}(hjQh]hstruct iov_iter *iter}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjQubj)}(hhh]h)}(h"The addresses to do I/O from or toh]h"The addresses to do I/O from or to}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj_Qubj)}(hF``const struct iomap_ops *ops`` iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjQh]hconst struct iomap_ops *ops}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjQubj)}(hhh]h)}(h%iomap ops passed from the file systemh]h%iomap ops passed from the file system}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj_Qubeh}(h]h ]h"]h$]h&]uh1jhjCQubh)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjCQubh)}(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.}(hj+RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjCQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdax_iomap_fault (C function)c.dax_iomap_faulthNtauh1hhjOhhhNhNubh)}(hhh](j)}(hvm_fault_t dax_iomap_fault (struct vm_fault *vmf, unsigned int order, pfn_t *pfnp, int *iomap_errp, const struct iomap_ops *ops)h]j)}(hvm_fault_t dax_iomap_fault(struct vm_fault *vmf, unsigned int order, pfn_t *pfnp, int *iomap_errp, const struct iomap_ops *ops)h](h)}(hhh]j5)}(h vm_fault_th]h vm_fault_t}(hj]RhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_RmodnameN classnameNjj)}j]j)}jdax_iomap_faultsbc.dax_iomap_faultasbuh1hhjVRhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM5ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVRhhhj~RhM5ubj/)}(hdax_iomap_faulth]j5)}(hj{Rh]hdax_iomap_fault}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVRhhhj~RhM5ubj)}(he(struct vm_fault *vmf, unsigned int order, pfn_t *pfnp, int *iomap_errp, const struct iomap_ops *ops)h](j)}(hstruct vm_fault *vmfh](j )}(hjzh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubh)}(hhh]j5)}(hvm_faulth]hvm_fault}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNjj)}j]jyRc.dax_iomap_faultasbuh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubjX)}(hj[h]h*}(hjRhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjRubj5)}(hvmfh]hvmf}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubj)}(hunsigned int orderh](j+)}(hunsignedh]hunsigned}(hjShhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjSubj)}(h h]h }(hj*ShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj+)}(hinth]hint}(hj8ShhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjSubj)}(h h]h }(hjFShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj5)}(horderh]horder}(hjTShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubj)}(h pfn_t *pfnph](h)}(hhh]j5)}(hpfn_th]hpfn_t}(hjpShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrSmodnameN classnameNjj)}j]jyRc.dax_iomap_faultasbuh1hhjiSubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiSubjX)}(hj[h]h*}(hjShhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjiSubj5)}(hpfnph]hpfnp}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubj)}(hint *iomap_errph](j+)}(hinth]hint}(hjShhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubjX)}(hj[h]h*}(hjShhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjSubj5)}(h iomap_errph]h iomap_errp}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubj)}(hconst struct iomap_ops *opsh](j )}(hjh]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj )}(hjzh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hj,ThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubh)}(hhh]j5)}(h iomap_opsh]h iomap_ops}(hj=ThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:Tubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?TmodnameN classnameNjj)}j]jyRc.dax_iomap_faultasbuh1hhjTubj)}(h h]h }(hj[ThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubjX)}(hj[h]h*}(hjiThhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjTubj5)}(hopsh]hops}(hjvThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubeh}(h]h ]h"]h$]h&]jLjMuh1jhjVRhhhj~RhM5ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjRRhhhj~RhM5ubah}(h]jMRah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~RhM5hjORhhubjc)}(hhh]h)}(h!handle a page fault on a DAX fileh]h!handle a page fault on a DAX file}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM5hjThhubah}(h]h ]h"]h$]h&]uh1jbhjORhhhj~RhM5ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjOhNhNubj)}(hX@**Parameters** ``struct vm_fault *vmf`` The description of the fault ``unsigned int order`` Order of the page to fault in ``pfn_t *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)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM9hjTubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hjTh]hstruct vm_fault *vmf}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM6hjTubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThM6hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM6hjTubj)}(h5``unsigned int order`` Order of the page to fault in h](j)}(h``unsigned int order``h]j)}(hjUh]hunsigned int order}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM7hjUubj)}(hhh]h)}(hOrder of the page to fault inh]hOrder of the page to fault in}(hj3UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/UhM7hj0Uubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhj/UhM7hjTubj)}(hJ``pfn_t *pfnp`` PFN to insert for synchronous faults if fsync is required h](j)}(h``pfn_t *pfnp``h]j)}(hjSUh]h pfn_t *pfnp}(hjUUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQUubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM8hjMUubj)}(hhh]h)}(h9PFN to insert for synchronous faults if fsync is requiredh]h9PFN to insert for synchronous faults if fsync is required}(hjlUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhUhM8hjiUubah}(h]h ]h"]h$]h&]uh1jhjMUubeh}(h]h ]h"]h$]h&]uh1jhjhUhM8hjTubj)}(hE``int *iomap_errp`` Storage for detailed error code in case of error h](j)}(h``int *iomap_errp``h]j)}(hjUh]hint *iomap_errp}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM9hjUubj)}(hhh]h)}(h0Storage for detailed error code in case of errorh]h0Storage for detailed error code in case of error}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhM9hjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhM9hjTubj)}(hF``const struct iomap_ops *ops`` Iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjUh]hconst struct iomap_ops *ops}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM:hjUubj)}(hhh]h)}(h%Iomap ops passed from the file systemh]h%Iomap ops passed from the file system}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhM:hjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhM:hjTubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM<hjTubh)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM<hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dax_finish_sync_fault (C function)c.dax_finish_sync_faulthNtauh1hhjOhhhNhNubh)}(hhh](j)}(hVvm_fault_t dax_finish_sync_fault (struct vm_fault *vmf, unsigned int order, pfn_t pfn)h]j)}(hUvm_fault_t dax_finish_sync_fault(struct vm_fault *vmf, unsigned int order, pfn_t pfn)h](h)}(hhh]j5)}(h vm_fault_th]h vm_fault_t}(hjHVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJVmodnameN classnameNjj)}j]j)}jdax_finish_sync_faultsbc.dax_finish_sync_faultasbuh1hhjAVhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM~ubj)}(h h]h }(hjjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAVhhhjiVhM~ubj/)}(hdax_finish_sync_faulth]j5)}(hjfVh]hdax_finish_sync_fault}(hj|VhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxVubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjAVhhhjiVhM~ubj)}(h5(struct vm_fault *vmf, unsigned int order, pfn_t pfn)h](j)}(hstruct vm_fault *vmfh](j )}(hjzh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(hhh]j5)}(hvm_faulth]hvm_fault}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j]jdVc.dax_finish_sync_faultasbuh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubjX)}(hj[h]h*}(hjVhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjVubj5)}(hvmfh]hvmf}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubj)}(hunsigned int orderh](j+)}(hunsignedh]hunsigned}(hjWhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj+)}(hinth]hint}(hj#WhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjWubj)}(h h]h }(hj1WhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj5)}(horderh]horder}(hj?WhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubj)}(h pfn_t pfnh](h)}(hhh]j5)}(hpfn_th]hpfn_t}(hj[WhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]WmodnameN classnameNjj)}j]jdVc.dax_finish_sync_faultasbuh1hhjTWubj)}(h h]h }(hjyWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTWubj5)}(hpfnh]hpfn}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubeh}(h]h ]h"]h$]h&]jLjMuh1jhjAVhhhjiVhM~ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=VhhhjiVhM~ubah}(h]j8Vah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjiVhM~hj:Vhhubjc)}(hhh]h)}(hfinish synchronous page faulth]hfinish synchronous page fault}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM~hjWhhubah}(h]h ]h"]h$]h&]uh1jbhj:VhhhjiVhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjWjjWjjjuh1hhhhjOhNhNubj)}(hXO**Parameters** ``struct vm_fault *vmf`` The description of the fault ``unsigned int order`` Order of entry to be inserted ``pfn_t 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)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjWubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hjWh]hstruct vm_fault *vmf}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjWubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hj XhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjWubj)}(h5``unsigned int order`` Order of entry to be inserted h](j)}(h``unsigned int order``h]j)}(hj+Xh]hunsigned int order}(hj-XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Xubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj%Xubj)}(hhh]h)}(hOrder of entry to be insertedh]hOrder of entry to be inserted}(hjDXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@XhMhjAXubah}(h]h ]h"]h$]h&]uh1jhj%Xubeh}(h]h ]h"]h$]h&]uh1jhj@XhMhjWubj)}(h``pfn_t pfn`` PFN to insert h](j)}(h ``pfn_t pfn``h]j)}(hjdXh]h pfn_t pfn}(hjfXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbXubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj^Xubj)}(hhh]h)}(h PFN to inserth]h PFN to insert}(hj}XhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyXhMhjzXubah}(h]h ]h"]h$]h&]uh1jhj^Xubeh}(h]h ]h"]h$]h&]uh1jhjyXhMhjWubeh}(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&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjWubh)}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$simple_rename_timestamp (C function)c.simple_rename_timestamphNtauh1hhjOhhhNhNubh)}(hhh](j)}(hvoid simple_rename_timestamp (struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h]j)}(hvoid simple_rename_timestamp(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h](j+)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjXhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXhhhjXhMubj/)}(hsimple_rename_timestamph]j5)}(hsimple_rename_timestamph]hsimple_rename_timestamp}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjXhhhjXhMubj)}(hd(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h](j)}(hstruct inode *old_dirh](j )}(hjzh]hstruct}(hj!YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj)}(h h]h }(hj.YhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubh)}(hhh]j5)}(hinodeh]hinode}(hj?YhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsetattr 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)}(hjF^h]h Parameters}(hjH^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD^ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMlhj@^ubj)}(hhh](j)}(h6``struct mnt_idmap *idmap`` idmap of the target mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hje^h]hstruct mnt_idmap *idmap}(hjg^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc^ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMihj_^ubj)}(hhh]h)}(hidmap of the target mounth]hidmap of the target mount}(hj~^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjz^hMihj{^ubah}(h]h ]h"]h$]h&]uh1jhj_^ubeh}(h]h ]h"]h$]h&]uh1jhjz^hMihj\^ubj)}(h!``struct dentry *dentry`` dentry 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:83: ./fs/libfs.chMjhj^ubj)}(hhh]h)}(hdentryh]hdentry}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMjhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMjhj\^ubj)}(h(``struct iattr *iattr`` iattr structure h](j)}(h``struct iattr *iattr``h]j)}(hj^h]hstruct iattr *iattr}(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.chMkhj^ubj)}(hhh]h)}(hiattr structureh]hiattr structure}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMkhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMkhj\^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.chMmhj@^ubh)}(h(Returns 0 on success, -error on failure.h]h(Returns 0 on success, -error on failure.}(hj(_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMmhj@^ubh)}(hdsimple_setattr is a simple ->setattr implementation without a proper implementation of size changes.h]hdsimple_setattr is a simple ->setattr implementation without a proper implementation of size changes.}(hj7_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMohj@^ubh)}(hIt can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.h]hIt can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.}(hjF_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMrhj@^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$simple_read_from_buffer (C function)c.simple_read_from_bufferhNtauh1hhjOhhhNhNubh)}(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}(hjx_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hju_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjz_modnameN classnameNjj)}j]j)}jsimple_read_from_buffersbc.simple_read_from_bufferasbuh1hhjq_hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMIubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjq_hhhj_hMIubj/)}(hsimple_read_from_bufferh]j5)}(hj_h]hsimple_read_from_buffer}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjq_hhhj_hMIubj)}(hQ(void __user *to, size_t count, loff_t *ppos, const void *from, size_t available)h](j)}(hvoid __user *toh](j+)}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj_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_ubjX)}(hj[h]h*}(hj_hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj_ubj5)}(htoh]hto}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_ubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj `modnameN classnameNjj)}j]j_c.simple_read_from_bufferasbuh1hhj`ubj)}(h h]h }(hj<`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj5)}(hcounth]hcount}(hjJ`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjf`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjc`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjh`modnameN classnameNjj)}j]j_c.simple_read_from_bufferasbuh1hhj_`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_`ubjX)}(hj[h]h*}(hj`hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj_`ubj5)}(hpposh]hppos}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_ubj)}(hconst void *fromh](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+)}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubjX)}(hj[h]h*}(hj`hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj`ubj5)}(hfromh]hfrom}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_ubj)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j]j_c.simple_read_from_bufferasbuh1hhjaubj)}(h h]h }(hj6ahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj5)}(h availableh]h available}(hjDahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjq_hhhj_hMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjm_hhhj_hMIubah}(h]jh_ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj_hMIhjj_hhubjc)}(hhh]h)}(h'copy data from the buffer to user spaceh]h'copy data from the buffer to user space}(hjnahhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMIhjkahhubah}(h]h ]h"]h$]h&]uh1jbhjj_hhhj_hMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjOhNhNubj)}(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)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMMhjaubj)}(hhh](j)}(h5``void __user *to`` the user space buffer to read to h](j)}(h``void __user *to``h]j)}(hjah]hvoid __user *to}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMJhjaubj)}(hhh]h)}(h the user space buffer to read toh]h the user space buffer to read to}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMJhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMJhjaubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjah]h size_t count}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMKhjaubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMKhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMKhjaubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hj!bh]h loff_t *ppos}(hj#bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMLhjbubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hj:bhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6bhMLhj7bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj6bhMLhjaubj)}(h-``const void *from`` the buffer to read from h](j)}(h``const void *from``h]j)}(hjZbh]hconst void *from}(hj\bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMMhjTbubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hjsbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjobhMMhjpbubah}(h]h ]h"]h$]h&]uh1jhjTbubeh}(h]h ]h"]h$]h&]uh1jhjobhMMhjaubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjbh]hsize_t available}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMNhjbubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMNhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMNhjaubeh}(h]h ]h"]h$]h&]uh1jhjaubh)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMPhjaubh)}(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 }(hjbhhhNhNubj)}(h **count**h]hcount}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh bytes from the buffer }(hjbhhhNhNubj)}(h**from**h]hfrom}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh at offset }(hjbhhhNhNubj)}(h**ppos**h]hppos}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh) into the user space address starting at }(hjbhhhNhNubj)}(h**to**h]hto}(hj"chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMPhjaubh)}(hOn success, the number of bytes read is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](h@On success, the number of bytes read is returned and the offset }(hj;chhhNhNubj)}(h**ppos**h]hppos}(hjCchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;cubhD is advanced by this number, or negative value is returned on error.}(hj;chhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMShjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#simple_write_to_buffer (C function)c.simple_write_to_bufferhNtauh1hhjOhhhNhNubh)}(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}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]j)}jsimple_write_to_buffersbc.simple_write_to_bufferasbuh1hhjxchhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMlubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxchhhjchMlubj/)}(hsimple_write_to_bufferh]j5)}(hjch]hsimple_write_to_buffer}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxchhhjchMlubj)}(hQ(void *to, size_t available, loff_t *ppos, const void __user *from, size_t count)h](j)}(hvoid *toh](j+)}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubjX)}(hj[h]h*}(hjchhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjcubj5)}(htoh]hto}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjcubj)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j]jcc.simple_write_to_bufferasbuh1hhj dubj)}(h h]h }(hj1dhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj dubj5)}(h availableh]h available}(hj?dhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj dubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjcubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj[dhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]dmodnameN classnameNjj)}j]jcc.simple_write_to_bufferasbuh1hhjTdubj)}(h h]h }(hjydhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTdubjX)}(hj[h]h*}(hjdhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjTdubj5)}(hpposh]hppos}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjcubj)}(hconst void __user *fromh](j )}(hjh]hconst}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj+)}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubh__user}(hjdhhhNhNubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubjX)}(hj[h]h*}(hjdhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjdubj5)}(hfromh]hfrom}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjcubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!emodnameN classnameNjj)}j]jcc.simple_write_to_bufferasbuh1hhjeubj)}(h h]h }(hj=ehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj5)}(hcounth]hcount}(hjKehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjcubeh}(h]h ]h"]h$]h&]jLjMuh1jhjxchhhjchMlubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjtchhhjchMlubah}(h]jocah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjchMlhjqchhubjc)}(hhh]h)}(h'copy data from user space to the bufferh]h'copy data from user space to the buffer}(hjuehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMlhjrehhubah}(h]h ]h"]h$]h&]uh1jbhjqchhhjchMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhjOhNhNubj)}(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)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMphjeubj)}(hhh](j)}(h$``void *to`` the buffer to write to h](j)}(h ``void *to``h]j)}(hjeh]hvoid *to}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMmhjeubj)}(hhh]h)}(hthe buffer to write toh]hthe buffer to write to}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMmhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehMmhjeubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjeh]hsize_t available}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMnhjeubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMnhjfubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjfhMnhjeubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hj(fh]h loff_t *ppos}(hj*fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&fubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMohj"fubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjAfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=fhMohj>fubah}(h]h ]h"]h$]h&]uh1jhj"fubeh}(h]h ]h"]h$]h&]uh1jhj=fhMohjeubj)}(h?``const void __user *from`` the user space buffer to read from h](j)}(h``const void __user *from``h]j)}(hjafh]hconst void __user *from}(hjcfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_fubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMphj[fubj)}(hhh]h)}(h"the user space buffer to read fromh]h"the user space buffer to read from}(hjzfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvfhMphjwfubah}(h]h ]h"]h$]h&]uh1jhj[fubeh}(h]h ]h"]h$]h&]uh1jhjvfhMphjeubj)}(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.chMqhjfubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMqhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMqhjeubeh}(h]h ]h"]h$]h&]uh1jhjeubh)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMshjeubh)}(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 }(hjfhhhNhNubj)}(h **count**h]hcount}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh/ bytes from the user space address starting at }(hjfhhhNhNubj)}(h**from**h]hfrom}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh into the buffer }(hjfhhhNhNubj)}(h**to**h]hto}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh at offset }(hjfhhhNhNubj)}(h**ppos**h]hppos}(hj)ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMshjeubh)}(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 }(hjBghhhNhNubj)}(h**ppos**h]hppos}(hjJghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBgubhD is advanced by this number, or negative value is returned on error.}(hjBghhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMvhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$memory_read_from_buffer (C function)c.memory_read_from_bufferhNtauh1hhjOhhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j)}jmemory_read_from_buffersbc.memory_read_from_bufferasbuh1hhjghhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjghhhjghMubj/)}(hmemory_read_from_bufferh]j5)}(hjgh]hmemory_read_from_buffer}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjghhhjghMubj)}(hJ(void *to, size_t count, loff_t *ppos, const void *from, size_t available)h](j)}(hvoid *toh](j+)}(hvoidh]hvoid}(hjghhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubjX)}(hj[h]h*}(hjghhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjgubj5)}(htoh]hto}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]jgc.memory_read_from_bufferasbuh1hhjhubj)}(h h]h }(hj8hhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj5)}(hcounth]hcount}(hjFhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjbhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_hubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdhmodnameN classnameNjj)}j]jgc.memory_read_from_bufferasbuh1hhj[hubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[hubjX)}(hj[h]h*}(hjhhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj[hubj5)}(hpposh]hppos}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[hubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hconst void *fromh](j )}(hjh]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj+)}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubjX)}(hj[h]h*}(hjhhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhubj5)}(hfromh]hfrom}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]jgc.memory_read_from_bufferasbuh1hhj iubj)}(h h]h }(hj2ihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj iubj5)}(h availableh]h available}(hj@ihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj iubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubeh}(h]h ]h"]h$]h&]jLjMuh1jhjghhhjghMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj{ghhhjghMubah}(h]jvgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjghMhjxghhubjc)}(hhh]h)}(hcopy data from the bufferh]hcopy data from the buffer}(hjjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjgihhubah}(h]h ]h"]h$]h&]uh1jbhjxghhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjOhNhNubj)}(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)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjiubj)}(hhh](j)}(h0``void *to`` the kernel space buffer to read to h](j)}(h ``void *to``h]j)}(hjih]hvoid *to}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjiubj)}(hhh]h)}(h"the kernel space buffer to read toh]h"the kernel space buffer to read to}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjih]h size_t count}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjiubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hjjh]h loff_t *ppos}(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.chMhjjubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hj6jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2jhMhj3jubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhj2jhMhjiubj)}(h-``const void *from`` the buffer to read from h](j)}(h``const void *from``h]j)}(hjVjh]hconst void *from}(hjXjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjPjubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hjojhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkjhMhjljubah}(h]h ]h"]h$]h&]uh1jhjPjubeh}(h]h ]h"]h$]h&]uh1jhjkjhMhjiubj)}(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.chMhjjubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjiubeh}(h]h ]h"]h$]h&]uh1jhjiubh)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjiubh)}(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 }(hjjhhhNhNubj)}(h **count**h]hcount}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh bytes from the buffer }(hjjhhhNhNubj)}(h**from**h]hfrom}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh at offset }(hjjhhhNhNubj)}(h**ppos**h]hppos}(hj khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh+ into the kernel space address starting at }(hjjhhhNhNubj)}(h**to**h]hto}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjiubh)}(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 }(hj7khhhNhNubj)}(h**ppos**h]hppos}(hj?khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7kubhD is advanced by this number, or negative value is returned on error.}(hj7khhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$generic_encode_ino32_fh (C function)c.generic_encode_ino32_fhhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h`int generic_encode_ino32_fh (struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h]j)}(h_int generic_encode_ino32_fh(struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h](j+)}(hinth]hint}(hjxkhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjtkhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMzubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtkhhhjkhMzubj/)}(hgeneric_encode_ino32_fhh]j5)}(hgeneric_encode_ino32_fhh]hgeneric_encode_ino32_fh}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjtkhhhjkhMzubj)}(hD(struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h](j)}(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.generic_encode_ino32_fhasbuh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubjX)}(hj[h]h*}(hjlhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjkubj5)}(hinodeh]hinode}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkubj)}(h __u32 *fhh](h)}(hhh]j5)}(h__u32h]h__u32}(hj*lhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,lmodnameN classnameNjj)}j]jkc.generic_encode_ino32_fhasbuh1hhj#lubj)}(h h]h }(hjHlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#lubjX)}(hj[h]h*}(hjVlhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj#lubj5)}(hfhh]hfh}(hjclhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#lubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkubj)}(h int *max_lenh](j+)}(hinth]hint}(hj|lhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjxlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxlubjX)}(hj[h]h*}(hjlhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjxlubj5)v}(hmax_lenh]hmax_len}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkubj)}(hstruct inode *parenth](j )}(hjzh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(hhh]j5)}(hinodeh]hinode}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jkc.generic_encode_ino32_fhasbuh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubjX)}(hj[h]h*}(hjmhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjlubj5)}(hparenth]hparent}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkubeh}(h]h ]h"]h$]h&]jLjMuh1jhjtkhhhjkhMzubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjpkhhhjkhMzubah}(h]jkkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjkhMzhjmkhhubjc)}(hhh]h)}(h-generic export_operations->encode_fh functionh]h-generic export_operations->encode_fh function}(hj?mhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMzhjgeneric 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&]uh1jbhjY|hhhjr|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjOhNhNubj)}(h**Parameters** ``struct file *file`` file to synchronize ``loff_t start`` start offset in bytes ``loff_t end`` end offset in bytes (inclusive) ``int datasync`` only synchronize essential metadata if trueh](h)}(h**Parameters**h]j)}(hj ~h]h Parameters}(hj ~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ~ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj~ubj)}(hhh](j)}(h*``struct file *file`` file to synchronize h](j)}(h``struct file *file``h]j)}(hj*~h]hstruct file *file}(hj,~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj$~ubj)}(hhh]h)}(hfile to synchronizeh]hfile to synchronize}(hjC~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?~hMhj@~ubah}(h]h ]h"]h$]h&]uh1jhj$~ubeh}(h]h ]h"]h$]h&]uh1jhj?~hMhj!~ubj)}(h'``loff_t start`` start offset in bytes h](j)}(h``loff_t start``h]j)}(hjc~h]h loff_t start}(hje~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj]~ubj)}(hhh]h)}(hstart offset in bytesh]hstart offset in bytes}(hj|~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjx~hMhjy~ubah}(h]h ]h"]h$]h&]uh1jhj]~ubeh}(h]h ]h"]h$]h&]uh1jhjx~hMhj!~ubj)}(h/``loff_t end`` end offset in bytes (inclusive) h](j)}(h``loff_t end``h]j)}(hj~h]h loff_t end}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj~ubj)}(hhh]h)}(hend offset in bytes (inclusive)h]hend offset in bytes (inclusive)}(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 datasync`` only synchronize essential metadata if trueh](j)}(h``int datasync``h]j)}(hj~h]h int datasync}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj~ubj)}(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.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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&generic_check_addressable (C function)c.generic_check_addressablehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hGint generic_check_addressable (unsigned blocksize_bits, u64 num_blocks)h]j)}(hFint generic_check_addressable(unsigned blocksize_bits, u64 num_blocks)h](j+)}(hinth]hint}(hj/hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj+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/)}(hgeneric_check_addressableh]j5)}(hgeneric_check_addressableh]hgeneric_check_addressable}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj+hhhj=hM'ubj)}(h)(unsigned blocksize_bits, u64 num_blocks)h](j)}(hunsigned blocksize_bitsh](j+)}(hunsignedh]hunsigned}(hjlhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj5)}(hblocksize_bitsh]hblocksize_bits}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjdubj)}(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)}jjRsbc.generic_check_addressableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h num_blocksh]h num_blocks}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjdubeh}(h]h ]h"]h$]h&]jLjMuh1jhj+hhhj=hM'ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj'hhhj=hM'ubah}(h]j"ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj=hM'hj$hhubjc)}(hhh]h)}(h#Check addressability of file systemh]h#Check addressability of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM'hjhhubah}(h]h ]h"]h$]h&]uh1jbhj$hhhj=hM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM+hjubj)}(hhh](j)}(h:``unsigned blocksize_bits`` log of file system block size h](j)}(h``unsigned blocksize_bits``h]j)}(hj=h]hunsigned blocksize_bits}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM(hj7ubj)}(hhh]h)}(hlog of file system block sizeh]hlog of file system block size}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM(hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM(hj4ubj)}(h3``u64 num_blocks`` number of blocks in file system h](j)}(h``u64 num_blocks``h]j)}(hjvh]hu64 num_blocks}(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)}(hnumber of blocks in file systemh]hnumber of blocks in file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM)hj4ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM+hjubh)}(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 }(hjǀhhhNhNubj)}(h**num_blocks**h]h num_blocks}(hjπhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǀubh 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.}(hjǀhhhNhNubeh}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_nosetlease (C function)c.simple_nosetleasehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hXint simple_nosetlease (struct file *filp, int arg, struct file_lease **flp, void **priv)h]j)}(hWint simple_nosetlease(struct file *filp, int arg, struct file_lease **flp, void **priv)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/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}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hB(struct file *filp, int arg, struct file_lease **flp, void **priv)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubh)}(hhh]j5)}(hfileh]hfile}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]j)}jj+sbc.simple_nosetleaseasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjAubj5)}(hfilph]hfilp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubj)}(hint argh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjŁhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hargh]harg}(hjӁhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubj)}(hstruct file_lease **flph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h file_leaseh]h file_lease}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.simple_nosetleaseasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj6hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjChhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hflph]hflp}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubj)}(h void **privh](j+)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjeubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjeubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjeubj5)}(hprivh]hpriv}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj=ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h%generic helper for prohibiting leasesh]h%generic helper for prohibiting leases}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hXf**Parameters** ``struct file *filp`` file pointer ``int arg`` type of lease to obtain ``struct file_lease **flp`` new lease supplied for insertion ``void **priv`` private data for lm_setup operation **Description** Generic helper for filesystems that do not wish to allow leases to be set. All arguments are ignored and it just returns -EINVAL.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hj h]hstruct file *filp}(hj hhhNhNubah}(h]h ]h"]h$]h&]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}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hjCh]hint arg}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj=ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjubj)}(h=``struct file_lease **flp`` new lease supplied for insertion h](j)}(h``struct file_lease **flp``h]j)}(hj|h]hstruct file_lease **flp}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjvubj)}(hhh]h)}(h new lease supplied for insertionh]h new lease supplied for insertion}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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:83: ./fs/libfs.chMhjubh)}(hGeneric helper for filesystems that do not wish to allow leases to be set. All arguments are ignored and it just returns -EINVAL.h]hGeneric helper for filesystems that do not wish to allow leases to be set. All arguments are ignored and it just returns -EINVAL.(}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_get_link (C function)c.simple_get_linkhNtauh1hhjOhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjBhMubj+)}(hcharh]hchar}(hjQhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj1hhhjBhMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjBhMubjX)}(hj[h]h*}(hjmhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj1hhhjBhMubj/)}(hsimple_get_linkh]j5)}(hsimple_get_linkh]hsimple_get_link}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhjBhMubj)}(hG(struct dentry *dentry, struct inode *inode, struct delayed_call *done)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.simple_get_linkasbuh1hhjubj)}(h h]h }(hj؄hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]jԄc.simple_get_linkasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjVhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct delayed_call *doneh](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 delayed_callh]h delayed_call}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jԄc.simple_get_linkasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubjX)}(hj[h]h*}(hjƅhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjxubj5)}(hdoneh]hdone}(hjӅhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj1hhhjBhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhjBhMubah}(h]j(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjBhMhj*hhubjc)}(hhh]h)}(h3generic helper to get the target of "fast" symlinksh]h7generic helper to get the target of “fast” symlinks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj*hhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh](j)}(h(``struct dentry *dentry`` not used here 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:83: ./fs/libfs.chMhj8ubj)}(hhh]h)}(h not used hereh]h not used here}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubj)}(h*``struct inode *inode`` the symlink inode h](j)}(h``struct inode *inode``h]j)}(hjwh]hstruct inode *inode}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjqubj)}(hhh]h)}(hthe symlink inodeh]hthe symlink inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(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}(hjɆhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjņhMhjƆubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjņhMhj5ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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.}(hjhhhNhNubah}(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}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_ci_d_compare (C function)c.generic_ci_d_comparehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hrint generic_ci_d_compare (const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name)h]j)}(hqint generic_ci_d_compare(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name)h](j+)}(hinth]hint}(hjWhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjShhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjShhhjehMubj/)}(hgeneric_ci_d_compareh]j5)}(hgeneric_ci_d_compareh]hgeneric_ci_d_compare}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjShhhjehMubj)}(hY(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name)h](j)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj͇hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjʇubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjχmodnameN classnameNjj)}j]j)}jjzsbc.generic_ci_d_compareasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int lenh](j+)}(hunsignedh]hunsigned}(hj!hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hinth]hint}(hj=hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *strh](j )}(hjh]hconst}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjnubj5)}(hstrh]hstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct qstr *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ˈ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)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.generic_ci_d_compareasbuh1hhjˈubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjˈubjX)}(hj[h]h*}(hj4hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjˈubj5)}(hnameh]hname}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjˈubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjShhhjehMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjOhhhjehMubah}(h]jJah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjehMhjLhhubjc)}(hhh]h)}(hubj)}(hhh](j)}(h?``const struct dentry *dentry`` dentry of the parent directory h](j)}(h``const struct dentry *dentry``h]j)}(hjch]hconst struct dentry *dentry}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM,hj]ubj)}(hhh]h)}(hdentry of the parent directoryh]hdentry of the parent directory}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhM,hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM,hjZubj)}(h?``struct qstr *str`` qstr of name whose hash we should fill in h](j)}(h``struct qstr *str``h]j)}(hjh]hstruct qstr *str}(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)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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjZubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM/hj>ubh)}(h;0 if hash was successful or unchanged, and -EINVAL on errorh]h;0 if hash was successful or unchanged, and -EINVAL on error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM/hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_ci_match (C function)c.generic_ci_matchhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hint generic_ci_match (const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h]j)}(hint generic_ci_match(const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMKubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj*hMKubj/)}(hgeneric_ci_matchh]j5)}(hgeneric_ci_matchh]hgeneric_ci_match}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj*hMKubj)}(hy(const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h](j)}(hconst struct inode *parenth](j )}(hjh]hconst}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj )}(hjzh]hstruct}(hjthhhNhNubah}(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]j)}jj?sbc.generic_ci_matchasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjUubj5)}(hparenth]hparent}(hj͍hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j]jc.generic_ci_matchasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjKhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hnameh]hname}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQubj)}(hconst struct qstr *folded_nameh](j )}(hjh]hconst}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]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)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.generic_ci_matchasbuh1hhjmubj)}(h h]h }(hjȎhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubjX)}(hj[h]h*}(hj֎hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjmubj5)}(h folded_nameh]h folded_name}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQubj)}(hconst u8 *de_nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.generic_ci_matchasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjFhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hde_nameh]hde_name}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQubj)}(hu32 de_name_lenh](h)}(hhh]j5)}(hu32h]hu32}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]jc.generic_ci_matchasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj5)}(h de_name_lenh]h de_name_len}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj*hMKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj*hMKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj*hMKhjhhubjc)}(hhh]h)}(hMatch a name (case-insensitively) with a dirent. This is a filesystem helper for comparison with directory entries. generic_ci_d_compare should be used in VFS' ->d_compare instead.h]hMatch a name (case-insensitively) with a dirent. This is a filesystem helper for comparison with directory entries. generic_ci_d_compare should be used in VFS’ ->d_compare instead.}(hjŏhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj*hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjݏjjݏjjjuh1hhhhjOhNhNubj)}(hXQ**Parameters** ``const struct inode *parent`` Inode of the parent of the dirent under comparison ``const struct qstr *name`` name under lookup. ``const struct qstr *folded_name`` Optional pre-folded name under lookup ``const u8 *de_name`` Dirent name. ``u32 de_name_len`` dirent name length. **Description** Test whether a case-insensitive directory entry matches the filename being searched. If **folded_name** is provided, it is used instead of recalculating the casefold of **name**. **Return** > 0 if the directory entry matches, 0 if it doesn't match, or < 0 on error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMOhjubj)}(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.chMOhjubj)}(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&]uh1hhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h/``const struct qstr *name`` name under lookup. h](j)}(h``const struct qstr *name``h]j)}(hj?h]hconst struct qstr *name}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMPhj9ubj)}(hhh]h)}(hname under lookup.h]hname under lookup.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMPhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMPhjubj)}(hI``const struct qstr *folded_name`` Optional pre-folded name under lookup h](j)}(h"``const struct qstr *folded_name``h]j)}(hjxh]hconst struct qstr *folded_name}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMQhjrubj)}(hhh]h)}(h%Optional pre-folded name under lookuph]h%Optional pre-folded name under lookup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(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.chMRhjubj)}(hhh]h)}(h Dirent name.h]h Dirent name.}(hjʐhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjƐhMRhjǐubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƐhMRhjubj)}(h(``u32 de_name_len`` dirent name length. h](j)}(h``u32 de_name_len``h]j)}(hjh]hu32 de_name_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMShjubj)}(hhh]h)}(hdirent name length.h]hdirent name length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj%h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMUhjubh)}(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 }(hj;hhhNhNubj)}(h**folded_name**h]h folded_name}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubhB is provided, it is used instead of recalculating the casefold of }(hj;hhhNhNubj)}(h**name**h]hname}(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:83: ./fs/libfs.chMUhjubh)}(h **Return**h]j)}(hjph]hReturn}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMYhjubh)}(hK> 0 if the directory entry matches, 0 if it doesn't match, or < 0 on error.h]hM> 0 if the directory entry matches, 0 if it doesn’t match, or < 0 on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMYhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_set_sb_d_ops (C function)c.generic_set_sb_d_opshNtauh1hhjOhhhNhNubh)}(hhh](j)}(h2void generic_set_sb_d_ops (struct super_block *sb)h]j)}(h1void generic_set_sb_d_ops(struct super_block *sb)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjđhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjÑhMubj/)}(hgeneric_set_sb_d_opsh]j5)}(hgeneric_set_sb_d_opsh]hgeneric_set_sb_d_ops}(hj֑hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjґubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjÑhMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjؑsbc.generic_set_sb_d_opsasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj>hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hsbh]hsb}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjÑhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjÑhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjÑhMhjhhubjc)}(hhh]h)}(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}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjÑhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hXn**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 sb->s_d_op to best set of dentry operations required for the enabled features. The helper must be called after these have been configured, but before the root dentry is created.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(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)}(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}(hjϒhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj˒hMhj̒ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˒hMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubh)}(hXFilesystems supporting casefolding and/or fscrypt can call this helper at mount-time to configure sb->s_d_op to 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]hXFilesystems supporting casefolding and/or fscrypt can call this helper at mount-time to configure sb->s_d_op to 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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%inode_maybe_inc_iversion (C function)c.inode_maybe_inc_iversionhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h?bool inode_maybe_inc_iversion (struct inode *inode, bool force)h]j)}(h>bool inode_maybe_inc_iversion(struct inode *inode, bool force)h](j+)}(hj.h]hbool}(hj6hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj2hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2hhhjChMubj/)}(hinode_maybe_inc_iversionh]j5)}(hinode_maybe_inc_iversionh]hinode_maybe_inc_iversion}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj2hhhjChMubj)}(h!(struct inode *inode, bool force)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjXsbc.inode_maybe_inc_iversionasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjnubj5)}(hinodeh]hinode}(hj˓hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(h bool forceh](j+)}(hj.h]hbool}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hforceh]hforce}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj2hhhjChMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj.hhhjChMubah}(h]j)ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChMhj+hhubjc)}(hhh]h)}(hincrements i_versionh]hincrements i_version}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj&hhubah}(h]h ]h"]h$]h&]uh1jbhj+hhhjChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjOhNhNubj)}(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)}(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:83: ./fs/libfs.chMhjEubj)}(hhh](j)}(hH``struct inode *inode`` inode with the i_version that should be updated h](j)}(h``struct inode *inode``h]j)}(hjjh]hstruct inode *inode}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjdubj)}(hhh]h)}(h/inode with the i_version that should be updatedh]h/inode with the i_version that should be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubj)}(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.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubeh}(h]h ]h"]h$]h&]uh1jhjEubh)}(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.chMhjEubh)}(hcEvery time the inode is modified, the i_version field must be seen to have changed by any observer.h]hcEvery time the inode is modified, the i_version field must be seen to have changed by any observer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjEubh)}(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.chMhjEubh)}(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.chMhjEubh)}(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.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!inode_query_iversion (C function)c.inode_query_iversionhNtauh1hhjOhhhNhNubh)}(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}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]j)}jinode_query_iversionsbc.inode_query_iversionasbuh1hhjLhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLhhhjthMubj/)}(hinode_query_iversionh]j5)}(hjqh]hinode_query_iversion}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjLhhhjthMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj•modnameN classnameNjj)}j]joc.inode_query_iversionasbuh1hhjubj)}(h h]h }(hjޕhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjLhhhjthMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHhhhjthMubah}(h]jCah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthMhjEhhubjc)}(hhh]h)}(hread i_version for later useh]hread i_version for later use}(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&]uh1jbhjEhhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjOhNhNubj)}(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)}(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:83: ./fs/libfs.chMhj?ubj)}(hhh]j)}(hB``struct inode *inode`` inode from which i_version should be read 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: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&]uh1hhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj[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:83: ./fs/libfs.chMhj?ubh)}(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.chMhj?ubh)}(hIn this implementation, we fetch the current value, set the QUERIED flag and then try to swap it into place with a cmpxchg, if it wasn't already set. If that fails, we try again with the newly fetched value from the cmpxchg.h]hIn this implementation, we fetch the current value, set the QUERIED flag and then try to swap it into place with a cmpxchg, if it wasn’t already set. If that fails, we try again with the newly fetched value from the cmpxchg.}(hjĖhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!simple_inode_init_ts (C function)c.simple_inode_init_tshNtauh1hhjOhhhNhNubh)}(hhh](j)}(hhjubh)}(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.}(hjshhhNhNubah}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hposix_acl_chmod (C function)c.posix_acl_chmodhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hSint posix_acl_chmod (struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h]j)}(hQint posix_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMOubj/)}(hposix_acl_chmodh]j5)}(hposix_acl_chmodh]hposix_acl_chmod}(hjØhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMOubj)}(h>(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjߘhhhNhNubah}(h]h ]jah"]h$]h&]uh1j 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)}jjŘsbc.posix_acl_chmodasbuh1hhjۘubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjۘubjX)}(hj[h]h*}(hj+hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjۘubj5)}(hidmaph]hidmap}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjۘubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjטubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubh)}(hhh]j5)}(hdentryh]hdentry}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]jc.posix_acl_chmodasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjMubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjטubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjęhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƙmodnameN classnameNjj)}j]jc.posix_acl_chmodasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjטubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMOubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMOubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMOhjhhubjc)}(hhh]h)}(hchmod a posix aclh]hchmod a posix acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.cChMOhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhjOhNhNubj)}(hX#**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``struct dentry *dentry`` dentry to check permissions on ``umode_t mode`` the new mode of **inode** **Description** If the dentry has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj<h]h Parameters}(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.chMShj6ubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMQhjUubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjthhhNhNubj)}(h **inode**h]hinode}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh was found from}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjphMQhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMQhjRubj)}(h9``struct dentry *dentry`` dentry to check permissions on h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMRhjubj)}(hhh]h)}(hdentry to check permissions onh]hdentry to check permissions on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjRubj)}(h+``umode_t mode`` the new mode of **inode** h](j)}(h``umode_t mode``h]j)}(hjߚh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݚubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMShjٚubj)}(hhh]h)}(hthe new mode of **inode**h](hthe new mode of }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjٚubeh}(h]h ]h"]h$]h&]uh1jhjhMShjRubeh}(h]h ]h"]h$]h&]uh1jhj6ubh)}(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.chMUhj6ubh)}(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 }(hj>hhhNhNubj)}(h **idmap**h]hidmap}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubhB. This function will then take care to map the inode according to }(hj>hhhNhNubj)}(h **idmap**h]hidmap}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj>hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMUhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"posix_acl_update_mode (C function)c.posix_acl_update_modehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hqint posix_acl_update_mode (struct mnt_idmap *idmap, struct inode *inode, umode_t *mode_p, struct posix_acl **acl)h]j)}(hpint posix_acl_update_mode(struct mnt_idmap *idmap, struct inode *inode, umode_t *mode_p, struct posix_acl **acl)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hposix_acl_update_modeh]j5)}(hposix_acl_update_modeh]hposix_acl_update_mode}(hjěhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hW(struct mnt_idmap *idmap, struct inode *inode, umode_t *mode_p, struct posix_acl **acl)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j 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)}jjƛsbc.posix_acl_update_modeasbuh1hhjܛubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjܛubjX)}(hj[h]h*}(hj,hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjܛubj5)}(hidmaph]hidmap}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjܛubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj؛ubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubh)}(hhh]j5)}(hinodeh]hinode}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]jc.posix_acl_update_modeasbuh1hhjNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjNubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj؛ubj)}(humode_t *mode_ph](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]jc.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hmode_ph]hmode_p}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj؛ubj)}(hstruct posix_acl **aclh](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 posix_aclh]h posix_acl}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]jc.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjahhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjnhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(haclh]hacl}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj؛ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(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.chMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh was found from}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjݝubj)}(h%``struct inode *inode`` target inode h](j)}(h``struct inode *inode``h]j)}(hj1h]hstruct inode *inode}(hj3hhhNhNubah}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjݝubj)}(h.``umode_t *mode_p`` mode (pointer) for update h](j)}(h``umode_t *mode_p``h]j)}(hjjh]humode_t *mode_p}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjdubj)}(hhh]h)}(hmode (pointer) for updateh]hmode (pointer) for update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjݝubj)}(h'``struct posix_acl **acl`` acl pointer h](j)}(h``struct posix_acl **acl``h]j)}(hjh]hstruct posix_acl **acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h acl pointerh]h acl pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjݝubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjޞh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjܞubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubh)}(hUpdate the file mode when setting an ACL: compute the new file permission bits based on the ACL. In addition, if the ACL is equivalent to the new file mode, set ***acl** to NULL to indicate that no ACL should be set.h](hUpdate the file mode when setting an ACL: compute the new file permission bits based on the ACL. In addition, if the ACL is equivalent to the new file mode, set }(hjhhhNhNubj)}(h***acl**h]h*acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ to NULL to indicate that no ACL should be set.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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 }(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}(hjPhhhNhNubah}(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.chMhjubh)}(h%Called from set_acl inode operations.h]h%Called from set_acl inode operations.}(hjihhhNhNubah}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!posix_acl_from_xattr (C function)c.posix_acl_from_xattrhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hgstruct posix_acl * posix_acl_from_xattr (struct user_namespace *userns, const void *value, size_t size)h]j)}(hestruct posix_acl *posix_acl_from_xattr(struct user_namespace *userns, const void *value, size_t size)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(h posix_aclh]h posix_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jposix_acl_from_xattrsbc.posix_acl_from_xattrasbuh1hhjhhhjhMubj)}(h h]h }(hj؟hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhMubj/)}(hposix_acl_from_xattrh]j5)}(hj՟h]hposix_acl_from_xattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h?(struct user_namespace *userns, const void *value, size_t size)h](j)}(hstruct user_namespace *usernsh](j )}(hjzh]hstruct}(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}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]jӟc.posix_acl_from_xattrasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj\hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(husernsh]huserns}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst void *valueh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj~ubj5)}(hvalueh]hvalue}(hjƠhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjߠubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jӟc.posix_acl_from_xattrasbuh1hhj۠ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj۠ubj5)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj۠ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h3convert POSIX ACLs from backing store to VFS formath]h3convert POSIX ACLs from backing store to VFS format}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj5hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhjOhNhNubj)}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjTubj)}(hhh](j)}(h=``struct user_namespace *userns`` the filesystem's idmapping h](j)}(h!``struct user_namespace *userns``h]j)}(hjyh]hstruct user_namespace *userns}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjsubj)}(hhh]h)}(hthe filesystem's idmappingh]hthe filesystem’s idmapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(h<``const void *value`` the uapi representation of POSIX ACLs h](j)}(h``const void *value``h]j)}(hjh]hconst void *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h%the uapi representation of POSIX ACLsh]h%the uapi representation of POSIX ACLs}(hjˡhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjǡhMhjȡubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǡhMhjpubj)}(h%``size_t size`` the size of **void** h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(hthe size of **void**h](h the size of }(hjhhhNhNubj)}(h**void**h]hvoid}(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&]uh1jhjhMhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjTubh)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjTubh)}(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 }(hjYhhhNhNubj)}(h **userns**h]huserns}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh.}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjTubh)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjTubh)}(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.chMhjTubj)}(hhh]j)}(hAllocated struct posix_acl on success, NULL for a valid header but without actual POSIX ACL entries, or ERR_PTR() encoded error code.h](j)}(hBAllocated struct posix_acl on success, NULL for a valid header buth]hBAllocated struct posix_acl on success, NULL for a valid header but}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(hBwithout actual POSIX ACL entries, or ERR_PTR() encoded error code.h]hBwithout 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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_set_acl (C function) c.vfs_set_aclhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hnint vfs_set_acl (struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h]j)}(hmint vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM5ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hM5ubj/)}(h vfs_set_aclh]j5)}(h vfs_set_aclh]h vfs_set_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hM5ubj)}(h^(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]j)}jjsb c.vfs_set_aclasbuh1hhj4ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj4ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjȣhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjţubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjʣmodnameN classnameNjj)}j]jr c.vfs_set_aclasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubj)}(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&]uh1jhjubj+)}(hcharh]hchar}(hj5hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjQhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hacl_nameh]hacl_name}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubj)}(hstruct posix_acl *kaclh](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(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]jr c.vfs_set_aclasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjsubj5)}(hkaclh]hkacl}(hjΤhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hM5ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hM5ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hM5hjhhubjc)}(hhh]h)}(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&]uh1jbhjhhhj hM5ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *dentry`` the dentry based on which to set the posix acls ``const char *acl_name`` the name of the posix acl ``struct posix_acl *kacl`` the posix acls in the appropriate VFS format **Description** This function sets **kacl**. The caller must all posix_acl_release() on **kacl** afterwards. **Return** On success 0, on error negative errno.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM9hjubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(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.chM6hj3ubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhM6hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM6hj0ubj)}(hJ``struct dentry *dentry`` the dentry based on which to set the posix acls h](j)}(h``struct dentry *dentry``h]j)}(hjrh]hstruct dentry *dentry}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM7hjlubj)}(hhh]h)}(h/the dentry based on which to set the posix aclsh]h/the dentry based on which to set the posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM7hj0ubj)}(h3``const char *acl_name`` the name of the posix acl h](j)}(h``const char *acl_name``h]j)}(hjh]hconst char *acl_name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM8hjubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjĥhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hj0ubj)}(hH``struct posix_acl *kacl`` the posix acls in the appropriate VFS format h](j)}(h``struct posix_acl *kacl``h]j)}(hjh]hstruct posix_acl *kacl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM9hjޥubj)}(hhh]h)}(h,the posix acls in the appropriate VFS formath]h,the posix acls in the appropriate VFS format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjޥubeh}(h]h ]h"]h$]h&]uh1jhjhM9hj0ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM;hjubh)}(h\This function sets **kacl**. The caller must all posix_acl_release() on **kacl** afterwards.h](hThis function sets }(hj5hhhNhNubj)}(h**kacl**h]hkacl}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh-. The caller must all posix_acl_release() on }(hj5hhhNhNubj)}(h**kacl**h]hkacl}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh afterwards.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM;hjubh)}(h **Return**h]j)}(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.chM>hjubh)}(h&On success 0, on error negative errno.h]h&On success 0, on error negative errno.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM>hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_get_acl (C function) c.vfs_get_aclhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hestruct posix_acl * vfs_get_acl (struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h]j)}(hcstruct posix_acl *vfs_get_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(h posix_aclh]h posix_acl}(hjΦhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj˦ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjЦmodnameN classnameNjj)}j]j)}j vfs_get_aclsb c.vfs_get_aclasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhMubj/)}(h vfs_get_aclh]j5)}(hjh]h vfs_get_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j c.vfs_get_aclasbuh1hhj%ubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubjX)}(hj[h]h*}(hjshhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj%ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj!ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_get_aclasbuh1hhjubj)}(h h]h }(hjէhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj!ubj)}(hconst char *acl_nameh](j )}(hjh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hj$hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj@hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hacl_nameh]hacl_name}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj!ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hget posix aclsh]hget posix acls}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjthhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *dentry`` the dentry based on which to retrieve the posix acls ``const char *acl_name`` the name of the posix acl **Description** This function retrieves **kacl** from the filesystem. The caller must all posix_acl_release() on **kacl**. **Return** On success POSIX ACLs in VFS format, on error negative errno.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjѨhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjͨhMhjΨubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͨhMhjubj)}(hO``struct dentry *dentry`` the dentry based on which to retrieve the posix acls h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h4the dentry based on which to retrieve the posix aclsh]h4the dentry based on which to retrieve the posix acls}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``const char *acl_name`` the name of the posix acl h](j)}(h``const char *acl_name``h]j)}(hj*h]hconst char *acl_name}(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}(hjChhhNhNubah}(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)}(hjeh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubh)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubhA from the filesystem. The caller must all posix_acl_release() on }(hj{hhhNhNubj)}(h**kacl**h]hkacl}(hjhhhNhNubah}(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.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubh)}(h=On success POSIX ACLs in VFS format, on error negative errno.h]h=On success POSIX ACLs in VFS format, on error negative errno.}(hjƩhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_remove_acl (C function)c.vfs_remove_aclhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hYint vfs_remove_acl (struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h]j)}(hXint vfs_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hvfs_remove_aclh]j5)}(hvfs_remove_aclh]hvfs_remove_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNjj)}j]j)}jjsbc.vfs_remove_aclasbuh1hhj.ubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubjX)}(hj[h]h*}(hj~hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj.ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjªhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjĪmodnameN classnameNjj)}j]jlc.vfs_remove_aclasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubj)}(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&]uh1jhjubj+)}(hcharh]hchar}(hj/hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjKhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hacl_nameh]hacl_name}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hremove posix aclsh]hremove posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX0**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *dentry`` the dentry based on which to retrieve the posix acls ``const char *acl_name`` the name of the posix acl **Description** This function removes posix acls. **Return** On success 0, on error negative errno.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjëh]hstruct mnt_idmap *idmap}(hjūhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjܫhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjثhMhj٫ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjثhMhjubj)}(hO``struct dentry *dentry`` the dentry based on which to retrieve the posix acls h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h4the dentry based on which to retrieve the posix aclsh]h4the dentry based on which to retrieve the posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``const char *acl_name`` the name of the posix acl h](j)}(h``const char *acl_name``h]j)}(hj5h]hconst char *acl_name}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(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}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjph]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubh)}(h!This function removes posix acls.h]h!This function removes posix acls.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubh)}(h&On success 0, on error negative errno.h]h&On success 0, on error negative errno.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfill_mg_cmtime (C function)c.fill_mg_cmtimehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hOvoid fill_mg_cmtime (struct kstat *stat, u32 request_mask, struct inode *inode)h]j)}(hNvoid fill_mg_cmtime(struct kstat *stat, u32 request_mask, struct inode *inode)h](j+)}(hvoidh]hvoid}(hjܬhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjجhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjجhhhjhK ubj/)}(hfill_mg_cmtimeh]j5)}(hfill_mg_cmtimeh]hfill_mg_cmtime}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjجhhhjhK ubj)}(h;(struct kstat *stat, u32 request_mask, struct inode *inode)h](j)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkstath]hkstat}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]j)}jjsbc.fill_mg_cmtimeasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjehhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hstath]hstat}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hu32 request_maskh](h)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jSc.fill_mg_cmtimeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjӭhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϭubj)}(h h]h }(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]jSc.fill_mg_cmtimeasbuh1hhjϭubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjϭubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjϭubj5)}(hinodeh]hinode}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjϭubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjجhhhjhK ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjԬhhhjhK ubah}(h]jϬah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhK hjѬhhubjc)}(hhh]h)}(h5Fill in the mtime and ctime and flag ctime as QUERIEDh]h5Fill in the mtime and ctime and flag ctime as QUERIED}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK hjQhhubah}(h]h ]h"]h$]h&]uh1jbhjѬhhhjhK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjOhNhNubj)}(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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK$hjpubj)}(hhh](j)}(h;``struct kstat *stat`` where to store the resulting values h](j)}(h``struct kstat *stat``h]j)}(hjh]hstruct kstat *stat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK!hjubj)}(hhh]h)}(h#where to store the resulting valuesh]h#where to store the resulting values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK!hjubj)}(h.``u32 request_mask`` STATX_* values requested h](j)}(h``u32 request_mask``h]j)}(hjήh]hu32 request_mask}(hjЮhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̮ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK"hjȮubj)}(hhh]h)}(hSTATX_* values requestedh]hSTATX_* values requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK"hjubah}(h]h ]h"]h$]h&]uh1jhjȮubeh}(h]h ]h"]h$]h&]uh1jhjhK"hjubj)}(h=``struct inode *inode`` inode from which to grab the c/mtime h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(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.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&]uh1hhjhK#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK#hjubeh}(h]h ]h"]h$]h&]uh1jhjpubh)}(h**Description**h]j)}(hjBh]h Description}(hjDhhhNhNubah}(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%hjpubh)}(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 }(hjXhhhNhNubj)}(h **inode**h]hinode}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh=, grab the ctime and mtime out if it and store the result in }(hjXhhhNhNubj)}(h**stat**h]hstat}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubhr. When fetching the value, flag it as QUERIED (if not already) so the next write will record a distinct timestamp.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK%hjpubh)}(hNB: The QUERIED flag is tracked in the ctime, but we set it there even if only the mtime was requested, as that ensures that the next mtime change will be distinct.h]hNB: The QUERIED flag is tracked in the ctime, but we set it there even if only the mtime was requested, as that ensures that the next mtime change will be distinct.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK)hjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_fillattr (C function)c.generic_fillattrhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hjvoid generic_fillattr (struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat)h]j)}(hivoid generic_fillattr(struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKBubj)}(h h]h }(hjɯhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjȯhKBubj/)}(hgeneric_fillattrh]j5)}(hgeneric_fillattrh]hgeneric_fillattr}(hjۯhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjׯubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjȯhKBubj)}(hT(struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjݯsbc.generic_fillattrasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjChhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hidmaph]hidmap}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hu32 request_maskh](h)}(hhh]j5)}(hu32h]hu32}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j1c.generic_fillattrasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj5)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjϰhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̰ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjѰmodnameN classnameNjj)}j]j1c.generic_fillattrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(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 reftargetjAmodnameN classnameNjj)}j]j1c.generic_fillattrasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjkhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hstath]hstat}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjȯhKBubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjȯhKBubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjȯhKBhjhhubjc)}(hhh]h)}(h2Fill in the basic attributes from the inode structh]h2Fill in the basic attributes from the inode struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKBhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjȯhKBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX **Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``u32 request_mask`` statx request_mask ``struct inode *inode`` Inode to use as the source ``struct kstat *stat`` Where to fill in the attributes **Description** Fill in the basic attributes in the kstat structure from data that's to be found on the VFS inode structure. This is the default if no getattr inode operation is supplied. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before filling in the uid and gid filds. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjıh]h Parameters}(hjƱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj±ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKFhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKChjݱubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKChjubah}(h]h ]h"]h$]h&]uh1jhjݱubeh}(h]h ]h"]h$]h&]uh1jhjhKChjڱubj)}(h(``u32 request_mask`` statx request_mask h](j)}(h``u32 request_mask``h]j)}(hjh]hu32 request_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKDhjubj)}(hhh]h)}(hstatx request_maskh]hstatx request_mask}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hKDhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hKDhjڱubj)}(h3``struct inode *inode`` Inode to use as the source h](j)}(h``struct inode *inode``h]j)}(hjUh]hstruct inode *inode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKEhjOubj)}(hhh]h)}(hInode to use as the sourceh]hInode to use as the source}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhKEhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhKEhjڱubj)}(h7``struct kstat *stat`` Where to fill in the attributes h](j)}(h``struct kstat *stat``h]j)}(hjh]hstruct kstat *stat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKFhjubj)}(hhh]h)}(hWhere to fill in the attributesh]hWhere to fill in the attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKFhjڱubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjɲh]h Description}(hj˲hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDzubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKHhjubh)}(hFill in the basic attributes in the kstat structure from data that's to be found on the VFS inode structure. This is the default if no getattr inode operation is supplied.h]hFill in the basic attributes in the kstat structure from data that’s to be found on the VFS inode structure. This is the default if no getattr inode operation is supplied.}(hj߲hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKHhjubh)}(hXXIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before filling in the uid and gid filds. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before filling in the uid and gid filds. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKLhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$generic_fill_statx_attr (C function)c.generic_fill_statx_attrhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hFvoid generic_fill_statx_attr (struct inode *inode, struct kstat *stat)h]j)}(hEvoid generic_fill_statx_attr(struct inode *inode, struct kstat *stat)h](j+)}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjOhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKuubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOhhhjahKuubj/)}(hgeneric_fill_statx_attrh]j5)}(hgeneric_fill_statx_attrh]hgeneric_fill_statx_attr}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjOhhhjahKuubj)}(h)(struct inode *inode, struct kstat *stat)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjvsbc.generic_fill_statx_attrasbuh1hhjubj)}(h h]h }(hjγhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjܳhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkstath]hkstat}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj)}j]jʳc.generic_fill_statx_attrasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjLhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hstath]hstat}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjOhhhjahKuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjKhhhjahKuubah}(h]jFah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjahKuhjHhhubjc)}(hhh]h)}(h1Fill in the statx attributes from the inode flagsh]h1Fill in the statx attributes from the inode flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKuhjhhubah}(h]h ]h"]h$]h&]uh1jbhjHhhhjahKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct inode *inode`` Inode to use as the source ``struct kstat *stat`` Where to fill in the attribute flags **Description** Fill in the STATX_ATTR_* flags in the kstat structure for properties of the inode that are published on i_flags and enforced by the VFS.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKyhjubj)}(hhh](j)}(h3``struct inode *inode`` Inode to use as the source h](j)}(h``struct inode *inode``h]j)}(hjĴh]hstruct inode *inode}(hjƴhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj´ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKvhjubj)}(hhh]h)}(hInode to use as the sourceh]hInode to use as the source}(hjݴhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjٴhKvhjڴubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjٴhKvhjubj)}(h<``struct kstat *stat`` Where to fill in the attribute flags h](j)}(h``struct kstat *stat``h]j)}(hjh]hstruct kstat *stat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKwhjubj)}(hhh]h)}(h$Where to fill in the attribute flagsh]h$Where to fill in the attribute flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKwhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKyhjubh)}(hFill in the STATX_ATTR_* flags in the kstat structure for properties of the inode that are published on i_flags and enforced by the VFS.h]hFill in the STATX_ATTR_* flags in the kstat structure for properties of the inode that are published on i_flags and enforced by the VFS.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKyhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-generic_fill_statx_atomic_writes (C function)"c.generic_fill_statx_atomic_writeshNtauh1hhjOhhhNhNubh)}(hhh](j)}(hvoid generic_fill_statx_atomic_writes (struct kstat *stat, unsigned int unit_min, unsigned int unit_max, unsigned int unit_max_opt)h]j)}(hvoid generic_fill_statx_atomic_writes(struct kstat *stat, unsigned int unit_min, unsigned int unit_max, unsigned int unit_max_opt)h](j+)}(hvoidh]hvoid}(hj}hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjyhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyhhhjhKubj/)}(h generic_fill_statx_atomic_writesh]j5)}(h generic_fill_statx_atomic_writesh]h generic_fill_statx_atomic_writes}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjyhhhjhKubj)}(h](struct kstat *stat, unsigned int unit_min, unsigned int unit_max, unsigned int unit_max_opt)h](j)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjǵhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkstath]hkstat}(hjصhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjյubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjڵmodnameN classnameNjj)}j]j)}jjsb"c.generic_fill_statx_atomic_writesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hstath]hstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int unit_minh](j+)}(hunsignedh]hunsigned}(hj,hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj(ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj+)}(hinth]hint}(hjHhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj(ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj5)}(hunit_minh]hunit_min}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int unit_maxh](j+)}(hunsignedh]hunsigned}(hj}hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj5)}(hunit_maxh]hunit_max}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int unit_max_opth](j+)}(hunsignedh]hunsigned}(hjζhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjʶubj)}(h h]h }(hjܶhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjʶubj+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjʶubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjʶubj5)}(h unit_max_opth]h unit_max_opt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjʶubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjyhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjuhhhjhKubah}(h]jpah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjrhhubjc)}(hhh]h)}(h&Fill in atomic writes statx attributesh]h&Fill in atomic writes statx attributes}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhj-hhubah}(h]h ]h"]h$]h&]uh1jbhjrhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjOhNhNubj)}(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)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjLubj)}(hhh](j)}(h<``struct kstat *stat`` Where to fill in the attribute flags h](j)}(h``struct kstat *stat``h]j)}(hjqh]hstruct kstat *stat}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjkubj)}(hhh]h)}(h$Where to fill in the attribute flagsh]h$Where to fill in the attribute flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhKhjhubj)}(hI``unsigned int unit_min`` Minimum supported atomic write length in bytes h](j)}(h``unsigned int unit_min``h]j)}(hjh]hunsigned int unit_min}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubj)}(hhh]h)}(h.Minimum supported atomic write length in bytesh]h.Minimum supported atomic write length in bytes}(hj÷hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjhubj)}(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.chKhjݷubj)}(hhh]h)}(h.Maximum supported atomic write length in bytesh]h.Maximum supported atomic write length in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjݷubeh}(h]h ]h"]h$]h&]uh1jhjhKhjhubj)}(hW``unsigned int unit_max_opt`` Optimised maximum supported atomic write length in bytes h](j)}(h``unsigned int unit_max_opt``h]j)}(hjh]hunsigned int unit_max_opt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubj)}(hhh]h)}(h8Optimised maximum supported atomic write length in bytesh]h8Optimised maximum supported atomic write length in bytes}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hKhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hKhjhubeh}(h]h ]h"]h$]h&]uh1jhjLubh)}(h**Description**h]j)}(hjWh]h Description}(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.chKhjLubh)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_getattr_nosec (C function)c.vfs_getattr_nosechNtauh1hhjOhhhNhNubh)}(hhh](j)}(hoint vfs_getattr_nosec (const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags)h]j)}(hnint vfs_getattr_nosec(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hvfs_getattr_nosech]j5)}(hvfs_getattr_nosech]hvfs_getattr_nosec}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(hY(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags)h](j)}(hconst struct path *pathh](j )}(hjh]hconst}(hjٸhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjոubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjոubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjոubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjոubh)}(hhh]j5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.vfs_getattr_nosecasbuh1hhjոubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjոubjX)}(hj[h]h*}(hj@hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjոubj5)}(hpathh]hpath}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjոubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjѸubj)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j.c.vfs_getattr_nosecasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjbubj5)}(hstath]hstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjѸubj)}(hu32 request_maskh](h)}(hhh]j5)}(hu32h]hu32}(hjٹhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjֹubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj۹modnameN classnameNjj)}j]j.c.vfs_getattr_nosecasbuh1hhjҹubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjҹubj5)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjҹubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjѸubj)}(hunsigned int query_flagsh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hinth]hint}(hj:hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h query_flagsh]h query_flags}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjѸubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(hgetattr without security checksh]hgetattr without security checks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhj}hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX(**Parameters** ``const struct path *path`` file to get attributes from ``struct kstat *stat`` structure to return attributes in ``u32 request_mask`` STATX_xxx flags indicating what the caller wants ``unsigned int query_flags`` Query mode (AT_STATX_SYNC_TYPE) **Description** Get attributes without calling security_inode_getattr. Currently the only caller other than vfs_getattr is internal to the filehandle lookup code, which uses only the inode number and returns no attributes to any user. Any other code probably wants vfs_getattr.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubj)}(hhh](j)}(h8``const struct path *path`` file to get attributes from h](j)}(h``const struct path *path``h]j)}(hjh]hconst struct path *path}(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)}(hfile to get attributes fromh]hfile to get attributes from}(hjںhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjֺhKhj׺ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjֺhKhjubj)}(h9``struct kstat *stat`` structure to return attributes in h](j)}(h``struct kstat *stat``h]j)}(hjh]hstruct kstat *stat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubj)}(hhh]h)}(h!structure to return attributes inh]h!structure to return attributes in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hF``u32 request_mask`` STATX_xxx flags indicating what the caller wants h](j)}(h``u32 request_mask``h]j)}(hj3h]hu32 request_mask}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhj-ubj)}(hhh]h)}(h0STATX_xxx flags indicating what the caller wantsh]h0STATX_xxx flags indicating what the caller wants}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhKhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhKhjubj)}(h=``unsigned int query_flags`` Query mode (AT_STATX_SYNC_TYPE) h](j)}(h``unsigned int query_flags``h]j)}(hjlh]hunsigned int query_flags}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjfubj)}(hhh]h)}(hQuery mode (AT_STATX_SYNC_TYPE)h]hQuery mode (AT_STATX_SYNC_TYPE)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubh)}(h6Get attributes without calling security_inode_getattr.h]h6Get attributes without calling security_inode_getattr.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubh)}(hCurrently the only caller other than vfs_getattr is internal to the filehandle lookup code, which uses only the inode number and returns no attributes to any user. Any other code probably wants vfs_getattr.h]hCurrently the only caller other than vfs_getattr is internal to the filehandle lookup code, which uses only the inode number and returns no attributes to any user. Any other code probably wants vfs_getattr.}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_fsync_range (C function)c.vfs_fsync_rangehNtauh1hhjOhhhNhNubh)}(hhh](j)}(hOint vfs_fsync_range (struct file *file, loff_t start, loff_t end, int datasync)h]j)}(hNint vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hKubj/)}(hvfs_fsync_rangeh]j5)}(hvfs_fsync_rangeh]hvfs_fsync_range}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hKubj)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh)}(hhh]j5)}(hfileh]hfile}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]j)}jjsbc.vfs_fsync_rangeasbuh1hhj4ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj4ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubj)}(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]jrc.vfs_fsync_rangeasbuh1hhjubj)}(h h]h }(hj˼hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hstarth]hstart}(hjټhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubj)}(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]jrc.vfs_fsync_rangeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hendh]hend}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubj)}(h int datasynch](j+)}(hinth]hint}(hj:hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj6ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj5)}(hdatasynch]hdatasync}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj0ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hKhjhhubjc)}(hhh]h)}(h1helper to sync a range of data & metadata to diskh]h1helper to sync a range of data & metadata to disk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhj}hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``struct file *file`` file to sync ``loff_t start`` offset in bytes of the beginning of data range to sync ``loff_t end`` offset in bytes of the end of data range (inclusive) ``int datasync`` perform only datasync **Description** Write back data in range **start**..**end** and metadata for **file** to disk. If **datasync** is set only metadata needed to access modified file data is written.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjubj)}(hhh](j)}(h#``struct file *file`` file to sync h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(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)}(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)}(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&]uh1jhjhKhjubj)}(hD``loff_t end`` offset in bytes of the end of data range (inclusive) h](j)}(h``loff_t end``h]j)}(hj3h]h loff_t end}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhj-ubj)}(hhh]h)}(h4offset in bytes of the end of data range (inclusive)h]h4offset in bytes of the end of data range (inclusive)}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhKhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhKhjubj)}(h'``int datasync`` perform only datasync h](j)}(h``int datasync``h]j)}(hjlh]h int datasync}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjfubj)}(hhh]h)}(hperform only datasynch]hperform only datasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjubh)}(hWrite back data in range **start**..**end** and metadata for **file** to disk. If **datasync** is set only metadata needed to access modified file data is written.h](hWrite back data in range }(hjhhhNhNubj)}(h **start**h]hstart}(hjžhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh..**end** and metadata for }(hjhhhNhNubj)}(h**file**h]hfile}(hj׾hhhNhNubah}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_fsync (C function) c.vfs_fsynchNtauh1hhjOhhhNhNubh)}(hhh](j)}(h/int vfs_fsync (struct file *file, int datasync)h]j)}(h.int vfs_fsync(struct file *file, int datasync)h](j+)}(hinth]hint}(hj"hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj0hKubj/)}(h vfs_fsynch]j5)}(h vfs_fsynch]h vfs_fsync}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj0hKubj)}(h!(struct file *file, int datasync)h](j)}(hstruct file *fileh](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)}(hfileh]hfile}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjEsb c.vfs_fsyncasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj[ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjWubj)}(h int datasynch](j+)}(hinth]hint}(hjѿhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjͿubj)}(h h]h }(hj߿hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjͿubj5)}(hdatasynch]hdatasync}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjͿubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjWubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj0hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj0hKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj0hKhjhhubjc)}(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&]uh1jbhjhhhj0hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjOhNhNubj)}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhj3ubj)}(hhh](j)}(h#``struct file *file`` file to sync h](j)}(h``struct file *file``h]j)}(hjXh]hstruct file *file}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjRubj)}(hhh]h)}(h file to synch]h file to sync}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhKhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhKhjOubj)}(h4``int datasync`` only perform a fdatasync operation h](j)}(h``int datasync``h]j)}(hjh]h int datasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjubj)}(hhh]h)}(h"only perform a fdatasync operationh]h"only perform a fdatasync operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhj3ubh)}(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.chKhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"__vfs_setxattr_locked (C function)c.__vfs_setxattr_lockedhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hint __vfs_setxattr_locked (struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags, struct inode **delegated_inode)h]j)}(hint __vfs_setxattr_locked(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags, struct inode **delegated_inode)h](j+)}(hinth]hint}(hj5hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj1hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjChMubj/)}(h__vfs_setxattr_lockedh]j5)}(h__vfs_setxattr_lockedh]h__vfs_setxattr_locked}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhjChMubj)}(h(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags, struct inode **delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjXsbc.__vfs_setxattr_lockedasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjnubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.__vfs_setxattr_lockedasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj.hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdentryh]hdentry}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hconst char *nameh](j )}(hjh]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj+)}(hcharh]hchar}(hjohhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjPubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjPubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hconst void *valueh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.__vfs_setxattr_lockedasbuh1hhj ubj)}(h h]h }(hj/hhhNhNubah}(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&]noemphjLjMuh1jhjjubj)}(h int flagsh](j+)}(hinth]hint}(hjVhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubj5)}(hflagsh]hflags}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hstruct inode **delegated_inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.__vfs_setxattr_lockedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj1hhhjChMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhjChMubah}(h]j(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChMhj*hhubjc)}(hhh]h)}(h6set an extended attribute while holding the inode lockh]h6set an extended attribute while holding the inode lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj*hhhjChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjOhNhNubj)}(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)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hj5ubj)}(hhh](j)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjZh]hstruct mnt_idmap *idmap}(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.chM hjTubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM hjQubj)}(h8``struct dentry *dentry`` object to perform setxattr on h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjubj)}(hhh]h)}(hobject to perform setxattr onh]hobject to perform setxattr on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjQubj)}(h'``const char *name`` xattr name to set h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjubj)}(hhh]h)}(hxattr name to seth]hxattr name to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjQubj)}(h/``const void *value`` value to set **name** to h](j)}(h``const void *value``h]j)}(hjh]hconst void *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjubj)}(hhh]h)}(hvalue to set **name** toh](h value to set }(hjhhhNhNubj)}(h**name**h]hname}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjQubj)}(h"``size_t size`` size of **value** h](j)}(h``size_t size``h]j)}(hjPh]h size_t size}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjJubj)}(hhh]h)}(hsize of **value**h](hsize of }(hjihhhNhNubj)}(h **value**h]hvalue}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1hhjehM hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM hjQubj)}(h7``int flags`` flags to pass into filesystem operations h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubj)}(hhh]h)}(h(flags to pass into filesystem operationsh]h(flags to pass into filesystem operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjQubj)}(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&]uh1jhjhMhjQubeh}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_listxattr (C function)c.vfs_listxattrhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hFssize_t vfs_listxattr (struct dentry *dentry, char *list, size_t size)h]j)}(hEssize_t vfs_listxattr(struct dentry *dentry, char *list, size_t size)h](h)}(hhh]j5)}(hssize_th]hssize_t}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNjj)}j]j)}j vfs_listxattrsbc.vfs_listxattrasbuh1hhj%hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%hhhjMhMubj/)}(h vfs_listxattrh]j5)}(hjJh]h vfs_listxattr}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj%hhhjMhMubj)}(h0(struct dentry *dentry, char *list, size_t size)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jHc.vfs_listxattrasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjwubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubj)}(h char *listh](j+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubj)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]jHc.vfs_listxattrasbuh1hhj)ubj)}(h h]h }(hjNhhhNhNubah}(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&]noemphjLjMuh1jhjsubeh}(h]h ]h"]h$]h&]jLjMuh1jhj%hhhjMhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj!hhhjMhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhMhjhhubjc)}(hhh]h)}(h)retrieve \0 separated list of xattr namesh]h)retrieve 0 separated list of xattr names}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjMhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX8**Parameters** ``struct dentry *dentry`` the dentry from whose inode the xattr names are retrieved ``char *list`` buffer to store xattr names into ``size_t size`` size of the buffer **Description** This function returns the names of all xattrs associated with the inode of **dentry**. Note, for legacy reasons the vfs_listxattr() function lists POSIX ACLs as well. Since POSIX ACLs are decoupled from IOP_XATTR the vfs_listxattr() function doesn't check for this flag since a filesystem could implement POSIX ACLs without implementing any other xattrs. However, since all codepaths that remove IOP_XATTR also assign of inode operations that either don't implement or implement a stub ->listxattr() operation. **Return** On success, the size of the buffer that was used. On error a negative error code.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubj)}(hhh](j)}(hT``struct dentry *dentry`` the dentry from whose inode the xattr names are retrieved h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubj)}(hhh]h)}(h9the dentry from whose inode the xattr names are retrievedh]h9the dentry from whose inode the xattr names are retrieved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``char *list`` buffer to store xattr names into h](j)}(h``char *list``h]j)}(hjh]h char *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubj)}(hhh]h)}(h buffer to store xattr names intoh]h buffer to store xattr names into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``size_t size`` size of the buffer h](j)}(h``size_t size``h]j)}(hj9h]h size_t size}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhj3ubj)}(hhh]h)}(hsize of the bufferh]hsize of the buffer}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubeh}(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:95: ./fs/xattr.chMhjubh)}(hVThis function returns the names of all xattrs associated with the inode of **dentry**.h](hKThis function returns the names of all xattrs associated with the inode of }(hjhhhNhNubj)}(h **dentry**h]hdentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubh)}(hX Note, for legacy reasons the vfs_listxattr() function lists POSIX ACLs as well. Since POSIX ACLs are decoupled from IOP_XATTR the vfs_listxattr() function doesn't check for this flag since a filesystem could implement POSIX ACLs without implementing any other xattrs.h]hX Note, for legacy reasons the vfs_listxattr() function lists POSIX ACLs as well. Since POSIX ACLs are decoupled from IOP_XATTR the vfs_listxattr() function doesn’t check for this flag since a filesystem could implement POSIX ACLs without implementing any other xattrs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubh)}(hHowever, since all codepaths that remove IOP_XATTR also assign of inode operations that either don't implement or implement a stub ->listxattr() operation.h]hHowever, since all codepaths that remove IOP_XATTR also assign of inode operations that either don’t implement or implement a stub ->listxattr() operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubj)}(hhh]j)}(hQOn success, the size of the buffer that was used. On error a negative error code.h](j)}(hubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMkhjubj)}(h``char *buffer`` result buffer h](j)}(h``char *buffer``h]j)}(hjah]h char *buffer}(hjchhhNhNubah}(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.chMlhj[ubj)}(hhh]h)}(h result bufferh]h result buffer}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMlhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMlhjubj)}(h*``size_t buffer_size`` size of **buffer** h](j)}(h``size_t buffer_size``h]j)}(hjh]hsize_t buffer_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.chMmhjubj)}(hhh]h)}(hsize of **buffer**h](hsize of }(hjhhhNhNubj)}(h **buffer**h]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMohjubh)}(h`Combine the results of the list() operation from every xattr_handler in the xattr_handler stack.h]h`Combine the results of the list() operation from every xattr_handler in the xattr_handler stack.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMohjubh)}(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.chMrhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxattr_full_name (C function)c.xattr_full_namehNtauh1hhjOhhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3hhhjDhMubj+)}(hcharh]hchar}(hjShhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj3hhhjDhMubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3hhhjDhMubjX)}(hj[h]h*}(hjohhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj3hhhjDhMubj/)}(hxattr_full_nameh]j5)}(hxattr_full_nameh]hxattr_full_name}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj3hhhjDhMubj)}(h7(const struct xattr_handler *handler, const char *name)h](j)}(h#const struct xattr_handler *handlerh](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 xattr_handlerh]h xattr_handler}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.xattr_full_nameasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hhandlerh]hhandler}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *nameh](j )}(hjh]hconst}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj+)}(hcharh]hchar}(hjDhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj%ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubjX)}(hj[h]h*}(hj`hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj%ubj5)}(hnameh]hname}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj3hhhjDhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj/hhhjDhMubah}(h]j*ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjDhMhj,hhubjc)}(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&]uh1jbhj,hhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``const struct xattr_handler *handler`` handler of the xattr_handler operation ``const char *name`` name passed to the xattr_handler operation **Description** The get and set xattr handler operations are called with the remainder of the attribute name after skipping the handler's prefix: for example, "foo" is passed to the get operation of a handler with prefix "user." to get attribute "user.foo". The full name is still "there" in the name though. **Note** the list xattr handler operation when called from the vfs is passed a NULL name; some file systems use this operation internally, with varying semantics.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubj)}(hhh](j)}(hO``const struct xattr_handler *handler`` handler of the xattr_handler operation h](j)}(h'``const struct xattr_handler *handler``h]j)}(hjh]h#const struct xattr_handler *handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubj)}(hhh]h)}(h&handler of the xattr_handler operationh]h&handler of the xattr_handler operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``const char *name`` name passed to the xattr_handler operation h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhj ubj)}(hhh]h)}(h*name passed to the xattr_handler operationh]h*name passed to the xattr_handler operation}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubh)}(hX%The get and set xattr handler operations are called with the remainder of the attribute name after skipping the handler's prefix: for example, "foo" is passed to the get operation of a handler with prefix "user." to get attribute "user.foo". The full name is still "there" in the name though.h]hX7The get and set xattr handler operations are called with the remainder of the attribute name after skipping the handler’s prefix: for example, “foo” is passed to the get operation of a handler with prefix “user.” to get attribute “user.foo”. The full name is still “there” in the name though.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubh)}(h**Note**h]j)}(hjsh]hNote}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubh)}(hthe list xattr handler operation when called from the vfs is passed a NULL name; some file systems use this operation internally, with varying semantics.h]hthe list xattr handler operation when called from the vfs is passed a NULL name; some file systems use this operation internally, with varying semantics.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mnt_get_write_access (C function)c.mnt_get_write_accesshNtauh1hhjOhhhNhNubh)}(hhh](j)}(h-int mnt_get_write_access (struct vfsmount *m)h]j)}(h,int mnt_get_write_access(struct vfsmount *m)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]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&]uh1jhjhhhjhMubj/)}(hmnt_get_write_accessh]j5)}(hmnt_get_write_accessh]hmnt_get_write_access}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct vfsmount *m)h]j)}(hstruct vfsmount *mh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.mnt_get_write_accessasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjAhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hjh]hm}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h5get write access to a mount without freeze protectionh]h5get write access to a mount without freeze protection}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjthhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(hhh]j)}(h:``struct vfsmount *m`` the mount on which to take a write h](j)}(h``struct vfsmount *m``h]j)}(hjh]hstruct vfsmount *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(hhh]h)}(h"the mount on which to take a writeh]h"the mount on which to take a write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]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)}(hXSThis tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mnt it read-write) before returning success. This operation does not protect against filesystem being frozen. When the write operation is finished, mnt_put_write_access() must be called. This is effectively a refcount.h]hXSThis tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mnt it read-write) before returning success. This operation does not protect against filesystem being frozen. When the write operation is finished, mnt_put_write_access() must be called. This is effectively a refcount.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_want_write (C function)c.mnt_want_writehNtauh1hhjOhhhNhNubh)}(hhh](j)}(h'int mnt_want_write (struct vfsmount *m)h]j)}(h&int mnt_want_write(struct vfsmount *m)h](j+)}(hinth]hint}(hj8hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj4hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM!ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4hhhjFhM!ubj/)}(hmnt_want_writeh]j5)}(hmnt_want_writeh]hmnt_want_write}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4hhhjFhM!ubj)}(h(struct vfsmount *m)h]j)}(hstruct vfsmount *mh](j )}(hjzh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj[sbc.mnt_want_writeasbuh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjqubj5)}(hjh]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmubah}(h]h ]h"]h$]h&]jLjMuh1jhj4hhhjFhM!ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0hhhjFhM!ubah}(h]j+ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjFhM!hj-hhubjc)}(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!hjhhubah}(h]h ]h"]h$]h&]uh1jbhj-hhhjFhM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(hj8h]hstruct vfsmount *m}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM"hj2ubj)}(hhh]h)}(h"the mount on which to take a writeh]h"the mount on which to take a write}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhM"hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM"hj/ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mnt_want_write_file (C function)c.mnt_want_write_filehNtauh1hhjOhhhNhNubh)}(hhh](j)}(h+int mnt_want_write_file (struct file *file)h]j)}(h*int mnt_want_write_file(struct file *file)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMMubj/)}(hmnt_want_write_fileh]j5)}(hmnt_want_write_fileh]hmnt_want_write_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMMubj)}(h(struct file *file)h]j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.mnt_want_write_fileasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjAhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hfileh]hfile}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMMhjhhubjc)}(hhh]h)}(h"get write access to a file's mounth]h$get write access to a file’s mount}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMMhjuhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(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.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)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMNhjubj)}(hhh]h)}(h-the file who's mount on which to take a writeh]h/the file who’s mount on which to take a write}(hjhhhNhNubah}(h]h ]h"]h$]h&]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&]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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mnt_put_write_access (C function)c.mnt_put_write_accesshNtauh1hhjOhhhNhNubh)}(hhh](j)}(h0void mnt_put_write_access (struct vfsmount *mnt)h]j)}(h/void mnt_put_write_access(struct vfsmount *mnt)h](j+)}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj5hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMbubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5hhhjGhMbubj/)}(hmnt_put_write_accessh]j5)}(hmnt_put_write_accessh]hmnt_put_write_access}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj5hhhjGhMbubj)}(h(struct vfsmount *mnt)h]j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj\sbc.mnt_put_write_accessasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjrubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubah}(h]h ]h"]h$]h&]jLjMuh1jhj5hhhjGhMbubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj1hhhjGhMbubah}(h]j,ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjGhMbhj.hhubjc)}(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.chMbhjhhubah}(h]h ]h"]h$]h&]uh1jbhj.hhhjGhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(hj:h]hstruct vfsmount *mnt}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMchj4ubj)}(hhh]h)}(h*the mount on which to give up write accessh]h*the mount on which to give up write access}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMchjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMchj1ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.chMehjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_drop_write (C function)c.mnt_drop_writehNtauh1hhjOhhhNhNubh)}(hhh](j)}(h*void mnt_drop_write (struct vfsmount *mnt)h]j)}(h)void mnt_drop_write(struct vfsmount *mnt)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMrubj/)}(hmnt_drop_writeh]j5)}(hmnt_drop_writeh]hmnt_drop_write}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMrubj)}(h(struct vfsmount *mnt)h]j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.mnt_drop_writeasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjChhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hmnth]hmnt}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMrubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMrubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMrhjhhubjc)}(hhh]h)}(hgive up write access to a mounth]hgive up write access to a mount}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMrhjwhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(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.chMvhjubj)}(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.chMshjubj)}(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&]uh1hhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubah}(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.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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_create_mount (C function)c.vfs_create_mounthNtauh1hhjOhhhNhNubh)}(hhh](j)}(h:struct vfsmount * vfs_create_mount (struct fs_context *fc)h]j)}(h8struct vfsmount *vfs_create_mount(struct fs_context *fc)h](j )}(hjzh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhjHhMubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]j)}jvfs_create_mountsbc.vfs_create_mountasbuh1hhj7hhhjHhMubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhjHhMubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj7hhhjHhMubj/)}(hvfs_create_mounth]j5)}(hjxh]hvfs_create_mount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj7hhhjHhMubj)}(h(struct fs_context *fc)h]j)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jvc.vfs_create_mountasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hfch]hfc}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj7hhhjHhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj3hhhjHhMubah}(h]j.ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjHhMhj0hhubjc)}(hhh]h)}(h*Create a mount for a configured superblockh]h*Create a mount for a configured superblock}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhj3hhubah}(h]h ]h"]h$]h&]uh1jbhj0hhhjHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjOhNhNubj)}(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)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjRubj)}(hhh]j)}(hQ``struct fs_context *fc`` The configuration context with the superblock attached h](j)}(h``struct fs_context *fc``h]j)}(hjwh]hstruct fs_context *fc}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjqubj)}(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&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubah}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjRubh)}(hCreate a mount to an already configured superblock. If necessary, the caller should invoke vfs_get_tree() before calling this.h]hCreate a mount to an already configured superblock. If necessary, the caller should invoke vfs_get_tree() before calling this.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjRubh)}(h5Note that this does not attach the mount to anything.h]h5Note that this does not attach the mount to anything.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpath_is_mountpoint (C function)c.path_is_mountpointhNtauh1hhjOhhhNhNubh)}(hhh](j)}(h1bool path_is_mountpoint (const struct path *path)h]j)}(h0bool path_is_mountpoint(const struct path *path)h](j+)}(hj.h]hbool}(hjhhhNhNubah}(h]h ]j7ah"]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&]uh1jhjhhhjhMubj/)}(hpath_is_mountpointh]j5)}(hpath_is_mountpointh]hpath_is_mountpoint}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(const struct path *path)h]j)}(hconst struct path *pathh](j )}(hjh]hconst}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj )}(hjzh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubh)}(hhh]j5)}(hpathh]hpath}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]j)}jj(sbc.path_is_mountpointasbuh1hhj>ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj>ubj5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h2Check if path is a mount in the current namespace.h]h2Check if path is a mount in the current namespace.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``const struct path *path`` path to check 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)}(hX``const struct path *path`` path to check 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](j)}(h``const struct path *path``h]j)}(hj!h]hconst struct path *path}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM hjubj)}(hhh](h)}(h path to checkh]h path to check}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhj7ubh)}(hX\d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace and that common case is handled inline. d_mountpoint() isn't aware of the possibility there may be multiple mounts using a given dentry in a different namespace. This function checks if the passed in path is a mountpoint rather than the dentry alone.h]hX^d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace and that common case is handled inline. d_mountpoint() isn’t aware of the possibility there may be multiple mounts using a given dentry in a different namespace. This function checks if the passed in path is a mountpoint rather than the dentry alone.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhj7ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmay_umount_tree (C function)c.may_umount_treehNtauh1hhjOhhhNhNubh)}(hhh](j)}(h(int may_umount_tree (struct vfsmount *m)h]j)}(h'int may_umount_tree(struct vfsmount *m)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]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&]uh1jhjhhhjhMubj/)}(hmay_umount_treeh]j5)}(hmay_umount_treeh]hmay_umount_tree}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct vfsmount *m)h]j)}(hstruct vfsmount *mh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.may_umount_treeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hjh]hm}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j}ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hcheck if a mount tree is busyh]hcheck if a mount tree is busy}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjFhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjOhNhNubj)}(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)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjeubj)}(hhh]j)}(h*``struct vfsmount *m`` root of mount tree h](j)}(h``struct vfsmount *m``h]j)}(hjh]hstruct vfsmount *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(hhh]h)}(hroot of mount treeh]hroot of mount tree}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjeubh)}(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.chMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmay_umount (C function) c.may_umounthNtauh1hhjOhhhNhNubh)}(hhh](j)}(h%int may_umount (struct vfsmount *mnt)h]j)}(h$int may_umount(struct vfsmount *mnt)h](j+)}(hinth]hint}(hj hhhNhNubah}(h]h ]j7ah"]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&]uh1jhjhhhjhMubj/)}(h may_umounth]j5)}(h may_umounth]h may_umount}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct vfsmount *mnt)h]j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j)}jj-sb c.may_umountasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjCubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj?ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hcheck if a mount point is busyh]hcheck if a mount point is busy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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)}(hj h]hstruct vfsmount *mnt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(hhh]h)}(h root of mounth]h root of mount}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubh)}(hThis is called to check if a mount point has any open files, pwds, chroots or sub mounts. If the mount has sub mounts this will return busy regardless of whether the sub mounts are busy.h]hThis is called to check if a mount point has any open files, pwds, chroots or sub mounts. If the mount has sub mounts this will return busy regardless of whether the sub mounts are busy.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h clone_private_mount (C function)c.clone_private_mounthNtauh1hhjOhhhNhNubh)}(hhh](j)}(h?struct vfsmount * clone_private_mount (const struct path *path)h]j)}(h=struct vfsmount *clone_private_mount(const struct path *path)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jclone_private_mountsbc.clone_private_mountasbuh1hhjhhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhM ubj/)}(hclone_private_mounth]j5)}(hjh]hclone_private_mount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h(const struct path *path)h]j)}(hconst struct path *pathh](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}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]jc.clone_private_mountasbuh1hhjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjyhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h create a private clone of a pathh]h create a private clone of a path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(hX**Parameters** ``const struct path *path`` path to clone **Description** This creates a new vfsmount, which will be the clone of **path**. The new mount will not be attached anywhere in the namespace and will be private (i.e. changes to the originating mount won't be propagated into this). This assumes caller has called or done the equivalent of may_mount(). Release with mntput().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM hjubj)}(hhh]j)}(h*``const struct path *path`` path to clone h](j)}(h``const struct path *path``h]j)}(hjh]hconst struct path *path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM hjubj)}(hhh]h)}(h path to cloneh]h path to clone}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM hjubh)}(hThis creates a new vfsmount, which will be the clone of **path**. The new mount will not be attached anywhere in the namespace and will be private (i.e. changes to the originating mount won't be propagated into this).h](h8This creates a new vfsmount, which will be the clone of }(hjBhhhNhNubj)}(h**path**h]hpath}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh. 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).}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM hjubh)}(hEThis assumes caller has called or done the equivalent of may_mount().h]hEThis assumes caller has called or done the equivalent of may_mount().}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM hjubh)}(hRelease with mntput().h]hRelease with mntput().}(hjrhhhNhNubah}(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&]uh1jhjOhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_set_expiry (C function)c.mnt_set_expiryhNtauh1hhjOhhhNhNubh)}(hhh](j)}(hIvoid mnt_set_expiry (struct vfsmount *mnt, struct list_head *expiry_list)h]j)}(hHvoid mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMsubj/)}(hmnt_set_expiryh]j5)}(hmnt_set_expiryh]hmnt_set_expiry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMsubj)}(h5(struct vfsmount *mnt, struct list_head *expiry_list)h](j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.mnt_set_expiryasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj*hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hmnth]hmnt}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct list_head *expiry_listh](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 list_headh]h list_head}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j]jc.mnt_set_expiryasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjLubj5)}(h expiry_listh]h expiry_list}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMsubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMsubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMshjhhubjc)}(hhh]h)}(h!Put a mount on an expiration listh]h!Put a mount on an expiration list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMshjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjOhNhNubj)}(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.chMwhjubj)}(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.chMthj ubj)}(hhh]h)}(hThe mount to list.h]hThe mount to list.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMthj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMthj ubj)}(h?``struct list_head *expiry_list`` The list to add the mount to.h](j)}(h!``struct list_head *expiry_list``h]j)}(hjKh]hstruct list_head *expiry_list}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMvhjEubj)}(hhh]h)}(hThe list to add the mount to.h]hThe list to add the mount to.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMuhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMvhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjOhhhNhNubeh}(h]other-functionsah ]h"]other functionsah$]h&]uh1hhhhhhhhK3ubeh}(h] the-linux-vfsah ]h"] the linux vfsah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hThe proc filesystemh]hThe proc filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKfubh)}(hhh](h)}(hsysctl interfaceh]hsysctl interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKiubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dostring (C function)c.proc_dostringhNtauh1hhjhhhNhNubh)}(hhh](j)}(hfint proc_dostring (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(heint proc_dostring(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(h proc_dostringh]j5)}(h proc_dostringh]h proc_dostring}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j)}jjsbc.proc_dostringasbuh1hhjubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj{hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h int writeh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(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&]noemphjLjMuh1jhj ubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(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]jic.proc_dostringasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjGhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hlenph]hlenp}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]jic.proc_dostringasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjiubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(hread a string sysctlh]hread a string sysctl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXi**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes a string from/to the user buffer. If the kernel buffer provided is not large enough to hold the string, the string is truncated. The copied string is ``NULL-terminated``. If the string is being read by the user process, it is copied and a newline '\n' is added. It is truncated if the buffer is not large enough. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjh]hconst struct ctl_table *table}(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}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hKhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hKhj ubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjMh]h int write}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjGubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh& if this is a write to the sysctl file}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjbhKhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhKhj ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjh]h void *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjh]h size_t *lenp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjh]h loff_t *ppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.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&]uh1jhjhKhj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]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 }(hjWhhhNhNubj)}(h``NULL-terminated``h]hNULL-terminated}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh. 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.}(hjWhhhNhNubeh}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dobool (C function) c.proc_doboolhNtauh1hhjhhhNhNubh)}(hhh](j)}(hdint proc_dobool (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hcint proc_dobool(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhX/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_doboolh]j5)}(h proc_doboolh]h proc_dobool}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(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)}(h ctl_tableh]h ctl_table}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.proc_doboolasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjKhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htableh]htable}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int writeh](j+)}(hinth]hint}(hjqhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj5)}(hwriteh]hwrite}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j9 c.proc_doboolasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hlenph]hlenp}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]j9 c.proc_doboolasbuh1hhj9ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubjX)}(hj[h]h*}(hjlhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj9ubj5)}(hpposh]hppos}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hread/write a boolh]hread/write a bool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes one integer value from/to the user buffer, treated as an ASCII string. table->data must point to a bool variable and table->maxlen must be sizeof(bool). Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjh]hconst struct ctl_table *table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh& if this is a write to the sysctl file}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjdh]h void *buffer}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(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&]uh1hhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubj)}(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)}(hSReads/writes one integer value from/to the user buffer, treated as an ASCII string.h]hSReads/writes one integer value from/to the user buffer, treated as an ASCII string.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(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).}(hj6hhhNhNubah}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dointvec (C function)c.proc_dointvechNtauh1hhjhhhNhNubh)}(hhh](j)}(hfint proc_dointvec (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(heint proc_dointvec(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hjthhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjphhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjhMubj/)}(h proc_dointvech]j5)}(h proc_dointvech]h proc_dointvec}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjphhhjhMubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(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_dointvecasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htableh]htable}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int writeh](j+)}(hinth]hint}(hj>hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj:ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj5)}(hwriteh]hwrite}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjoubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_dointvecasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_dointvecasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj9hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjphhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlhhhjhMubah}(h]jgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjihhubjc)}(hhh]h)}(hread a vector of integersh]hread a vector of integers}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jbhjihhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjh]hconst struct ctl_table *table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& if this is a write to the sysctl file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj1h]h void *buffer}(hj3hhhNhNubah}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjjh]h size_t *lenp}(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)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(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)}(hReturns 0 on success.h]hReturns 0 on success.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_douintvec (C function)c.proc_douintvechNtauh1hhjhhhNhNubh)}(hhh](j)}(hgint proc_douintvec (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hfint proc_douintvec(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hj2hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj.hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.hhhj@hMubj/)}(hproc_douintvech]j5)}(hproc_douintvech]hproc_douintvec}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj.hhhj@hMubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjUsbc.proc_douintvecasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjkubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(h int writeh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(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&]noemphjLjMuh1jhjgubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj-ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubjX)}(hj[h]h*}(hjMhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj-ubj5)}(hbufferh]hbuffer}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]jc.proc_douintvecasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjoubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_douintvecasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubeh}(h]h ]h"]h$]h&]jLjMuh1jhj.hhhj@hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj*hhhj@hMubah}(h]j%ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj@hMhj'hhubjc)}(hhh]h)}(h"read a vector of unsigned integersh]h"read a vector of unsigned integers}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj+hhubah}(h]h ]h"]h$]h&]uh1jbhj'hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjhNhNubj)}(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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjJubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjoh]hconst struct ctl_table *table}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjiubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(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&]uh1jhjhMhjfubj)}(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&]uh1jhjhMhjfubj)}(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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjfubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjah]h loff_t *ppos}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj[ubj)}(hhh]h)}(h file positionh]h file position}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjfubeh}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjJubh)}(hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string.h]hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjJubh)}(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.chMhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!proc_dointvec_minmax (C function)c.proc_dointvec_minmaxhNtauh1hhjhhhNhNubh)}(hhh](j)}(hmint proc_dointvec_minmax (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hlint proc_dointvec_minmax(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM7ubj/)}(hproc_dointvec_minmaxh]j5)}(hproc_dointvec_minmaxh]hproc_dointvec_minmax}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM7ubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]j)}jjsbc.proc_dointvec_minmaxasbuh1hhj)ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj)ubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubj)}(h int writeh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(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&]noemphjLjMuh1jhj%ubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]jc.proc_dointvec_minmaxasbuh1hhj-ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubjX)}(hj[h]h*}(hj`hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj-ubj5)}(hlenph]hlenp}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_dointvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM7ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM7ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM7hjhhubjc)}(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.chM7hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX@**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. This routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). Returns 0 on success or -EINVAL on write when the range check fails.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM;hjubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(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.chM8hj'ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM8hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM8hj$ubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjfh]h int write}(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.chM9hj`ubj)}(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{hM9hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM9hj$ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjh]h void *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM:hjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hj$ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjh]h size_t *lenp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM;hjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hj$ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjh]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.chM<hjubj)}(hhh]h)}(h file positionh]h file position}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hM<hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM<hj$ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM>hjubh)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM>hjubh)}(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.chMAhjubh)}(hDReturns 0 on success or -EINVAL on write when the range check fails.h]hDReturns 0 on success or -EINVAL on write when the range check fails.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMDhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"proc_douintvec_minmax (C function)c.proc_douintvec_minmaxhNtauh1hhjhhhNhNubh)}(hhh](j)}(hnint proc_douintvec_minmax (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hmint proc_douintvec_minmax(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMyubj/)}(hproc_douintvec_minmaxh]j5)}(hproc_douintvec_minmaxh]hproc_douintvec_minmax}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMyubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(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 }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}jjsbc.proc_douintvec_minmaxasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjahhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htableh]htable}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int writeh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jOc.proc_douintvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj-hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hlenph]hlenp}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]jOc.proc_douintvec_minmaxasbuh1hhjOubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjOubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMyubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMyubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMyhjhhubjc)}(hhh]h)}(h2read a vector of unsigned ints with min/max valuesh]h2read a vector of unsigned ints with min/max values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMyhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed. This routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). There is a final sanity check for UINT_MAX to avoid having to support wrap around uses from userspace. Returns 0 on success or -ERANGE on write when the range check fails.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM}hjubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjh]hconst struct ctl_table *table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMzhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hj3h]h int write}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(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}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh& if this is a write to the sysctl file}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjHhM{hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM{hjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjzh]h void *buffer}(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.chM|hjtubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjh]h size_t *lenp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM}hjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjh]h loff_t *ppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM~hjubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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)}(hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.h]hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(hThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). There is a final sanity check for UINT_MAX to avoid having to support wrap around uses from userspace.h]hThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). There is a final sanity check for UINT_MAX to avoid having to support wrap around uses from userspace.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(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.}(hj[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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h proc_dou8vec_minmax (C function)c.proc_dou8vec_minmaxhNtauh1hhjhhhNhNubh)}(hhh](j)}(hlint proc_dou8vec_minmax (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hkint proc_dou8vec_minmax(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhX/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_dou8vec_minmaxh]j5)}(hproc_dou8vec_minmaxh]hproc_dou8vec_minmax}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(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_dou8vec_minmaxasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj.hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htableh]htable}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int writeh](j+)}(hinth]hint}(hjThhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjPubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj5)}(hwriteh]hwrite}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_dou8vec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj)}j]jc.proc_dou8vec_minmaxasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjOhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j}ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h3read a vector of unsigned chars with min/max valuesh]h3read a vector of unsigned chars with min/max values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX`**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(u8) unsigned chars values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed. This routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). Returns 0 on success or an error on write when the range check fails.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjh]hconst struct ctl_table *table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& if this is a write to the sysctl file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjGh]h void *buffer}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjAubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(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)}(hjh]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.chMhjzubj)}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjh]h loff_t *ppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(hReads/writes up to table->maxlen/sizeof(u8) unsigned chars values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.h]hReads/writes up to table->maxlen/sizeof(u8) unsigned chars values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.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)}(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.}(hj(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#proc_doulongvec_minmax (C function)c.proc_doulongvec_minmaxhNtauh1hhjhhhNhNubh)}(hhh](j)}(hoint proc_doulongvec_minmax (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hnint proc_doulongvec_minmax(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hjWhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjShhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM2ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjShhhjehM2ubj/)}(hproc_doulongvec_minmaxh]j5)}(hproc_doulongvec_minmaxh]hproc_doulongvec_minmax}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjShhhjehM2ubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(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)}jjzsbc.proc_doulongvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int writeh](j+)}(hinth]hint}(hj!hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hjVhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubjX)}(hj[h]h*}(hjrhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjRubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_doulongvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_doulongvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjShhhjehM2ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjOhhhjehM2ubah}(h]jJah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjehM2hjLhhubjc)}(hhh]h)}(h2read a vector of long integers with min/max valuesh]h2read a vector of long integers with min/max values}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM2hjPhhubah}(h]h ]h"]h$]h&]uh1jbhjLhhhjehM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjhNhNubj)}(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)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM6hjoubj)}(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.chM3hjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(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.chM4hjubj)}(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&]uh1hhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(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.chM5hjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hM5hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM5hjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjMh]h size_t *lenp}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM6hjGubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM6hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM6hjubj)}(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.chM7hjubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubeh}(h]h ]h"]h$]h&]uh1jhjoubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM9hjoubh)}(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.chM9hjoubh)}(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.chM<hjoubh)}(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.chM?hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.proc_doulongvec_ms_jiffies_minmax (C function)#c.proc_doulongvec_ms_jiffies_minmaxhNtauh1hhjhhhNhNubh)}(hhh](j)}(hzint proc_doulongvec_ms_jiffies_minmax (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hyint proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hj$hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMHubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj2hMHubj/)}(h!proc_doulongvec_ms_jiffies_minmaxh]j5)}(h!proc_doulongvec_ms_jiffies_minmaxh]h!proc_doulongvec_ms_jiffies_minmax}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj2hMHubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjGsb#c.proc_doulongvec_ms_jiffies_minmaxasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj]ubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(h int writeh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwriteh]hwrite}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj?hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbufferh]hbuffer}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]j#c.proc_doulongvec_ms_jiffies_minmaxasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjaubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j#c.proc_doulongvec_ms_jiffies_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj2hMHubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj2hMHubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hMHhjhhubjc)}(hhh]h)}(h7read a vector of millisecond values with min/max valuesh]h7read a vector of millisecond values with min/max values}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMHhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj2hMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjhNhNubj)}(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)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMLhj<ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjah]hconst struct ctl_table *table}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMIhj[ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMIhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMIhjXubj)}(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.chMJhjubj)}(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&]uh1hhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjXubj)}(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.chMKhjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjXubj)}(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.chMLhjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMLhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMLhjXubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjSh]h loff_t *ppos}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMMhjMubj)}(hhh]h)}(h file positionh]h file position}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMMhjXubeh}(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.chMOhj<ubh)}(hReads/writes up to table->maxlen/sizeof(unsigned long) unsigned long values from/to the user buffer, treated as an ASCII string. The values are treated as milliseconds, and converted to jiffies when they are stored.h]hReads/writes up to table->maxlen/sizeof(unsigned long) unsigned long values from/to the user buffer, treated as an ASCII string. The values are treated as milliseconds, and converted to jiffies when they are stored.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMOhj<ubh)}(hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).h]hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMShj<ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMVhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"proc_dointvec_jiffies (C function)c.proc_dointvec_jiffieshNtauh1hhjhhhNhNubh)}(hhh](j)}(hnint proc_dointvec_jiffies (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hmint proc_dointvec_jiffies(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhX/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_jiffiesh]j5)}(hproc_dointvec_jiffiesh]hproc_dointvec_jiffies}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]j)}jjsbc.proc_dointvec_jiffiesasbuh1hhj*ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj*ubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubj)}(h int writeh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(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&]noemphjLjMuh1jhj&ubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]jc.proc_dointvec_jiffiesasbuh1hhj.ubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubjX)}(hj[h]h*}(hjahhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj.ubj5)}(hlenph]hlenp}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_dointvec_jiffiesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h$read a vector of integers as secondsh]h$read a vector of integers as seconds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in seconds, and are converted into jiffies. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj.h]hconst struct ctl_table *table}(hj0hhhNhNubah}(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}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhj%ubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjgh]h int write}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjaubj)}(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|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj%ubj)}(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&]uh1jhjhMhj%ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjh]h size_t *lenp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj%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}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5 hMhj6 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj5 hMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hj[ h]h Description}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY ubah}(h]h ]h"]h$]h&]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 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.}(hjq hhhNhNubah}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)proc_dointvec_userhz_jiffies (C function)c.proc_dointvec_userhz_jiffieshNtauh1hhjhhhNhNubh)}(hhh](j)}(huint proc_dointvec_userhz_jiffies (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(htint proc_dointvec_userhz_jiffies(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hj hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubj/)}(hproc_dointvec_userhz_jiffiesh]j5)}(hproc_dointvec_userhz_jiffiesh]hproc_dointvec_userhz_jiffies}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(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_userhz_jiffiesasbuh1hhj ubj)}(h h]h }(hjE hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hjS hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(htableh]htable}(hj` hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h int writeh](j+)}(hinth]hint}(hjy hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hju ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhju ubj5)}(hwriteh]hwrite}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hju ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(hbufferh]hbuffer}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jA c.proc_dointvec_userhz_jiffiesasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(hlenph]hlenp}(hj, hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjH hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjE ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJ modnameN classnameNjj)}j]jA c.proc_dointvec_userhz_jiffiesasbuh1hhjA ubj)}(h h]h }(hjf hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjA ubjX)}(hj[h]h*}(hjt hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjA ubj5)}(hpposh]hppos}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjA ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhj hhubjc)}(hhh]h)}(h.read a vector of integers as 1/USER_HZ secondsh]h.read a vector of integers as 1/USER_HZ seconds}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj h]hconst struct ctl_table *table}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hj% h]h int write}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj# ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjB hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj> ubh& if this is a write to the sysctl file}(hj> hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj: hMhj; ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj: hMhj ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjl h]h void *buffer}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjf ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjf 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`` pointer to the 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)}(hpointer to the file positionh]hpointer to the file position}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubh)}(hReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in 1/USER_HZ seconds, and are converted into jiffies.h]hReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in 1/USER_HZ seconds, and are converted into jiffies.}(hj/ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%proc_dointvec_ms_jiffies (C function)c.proc_dointvec_ms_jiffieshNtauh1hhjhhhNhNubh)}(hhh](j)}(hqint proc_dointvec_ms_jiffies (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hpint proc_dointvec_ms_jiffies(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hjm hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hji hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hj| hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji hhhj{ hMubj/)}(hproc_dointvec_ms_jiffiesh]j5)}(hproc_dointvec_ms_jiffiesh]hproc_dointvec_ms_jiffies}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hji hhhj{ hMubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(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_ms_jiffiesasbuh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h int writeh](j+)}(hinth]hint}(hj7hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj3ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj5)}(hwriteh]hwrite}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(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_ms_jiffiesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.proc_dointvec_ms_jiffiesasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj2hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhji hhhj{ hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhje hhhj{ hMubah}(h]j` ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{ hMhjb hhubjc)}(hhh]h)}(h+read a vector of integers as 1 millisecondsh]h+read a vector of integers as 1 milliseconds}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jbhjb hhhj{ hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int write`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` the current position in the file **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. The values read are assumed to be in 1/1000 seconds, and are converted into jiffies. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjh]hconst struct ctl_table *table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``int write`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int write``h]j)}(hjh]h int write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& if this is a write to the sysctl file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj*h]h void *buffer}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj$ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(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)}(hjch]h size_t *lenp}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj]ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjubj)}(h2``loff_t *ppos`` the current position in the file h](j)}(h``loff_t *ppos``h]j)}(hjh]h loff_t *ppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(h the current position in the fileh]h the current position in the file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(hReads/writes up to table->maxlen/sizeof(unsigned int) 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.chMhjubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!proc_do_large_bitmap (C function)c.proc_do_large_bitmaphNtauh1hhjhhhNhNubh)}(hhh](j)}(hmint proc_do_large_bitmap (const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hlint proc_do_large_bitmap(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j+)}(hinth]hint}(hj+hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj'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'hhhj9hM&ubj/)}(hproc_do_large_bitmaph]j5)}(hproc_do_large_bitmaph]hproc_do_large_bitmap}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'hhhj9hM&ubj)}(hT(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjNsbc.proc_do_large_bitmapasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjdubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubj)}(h int writeh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(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&]noemphjLjMuh1jhj`ubj)}(h void *bufferh](j+)}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj&ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubjX)}(hj[h]h*}(hjFhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj&ubj5)}(hbufferh]hbuffer}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]jc.proc_do_large_bitmapasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.proc_do_large_bitmapasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj'hhhj9hM&ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#hhhj9hM&ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9hM&hj hhubjc)}(hhh]h)}(h!read/write from/to a large bitmaph]h!read/write from/to a large bitmap}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM&hj$hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj9hM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjhNhNubj)}(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)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM*hjCubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjhh]hconst struct ctl_table *table}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM'hjbubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM'hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM'hj_ubj)}(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(hj_ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjh]h void *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM)hjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM*hjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hM*hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM*hj_ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjZh]h loff_t *ppos}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM+hjTubj)}(hhh]h)}(h file positionh]h file position}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM+hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM+hj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM-hjCubh)}(hUThe bitmap is stored at table->data and the bitmap length (in bits) in table->maxlen.h]hUThe bitmap is stored at table->data and the bitmap length (in bits) in table->maxlen.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM-hjCubh)}(hWe use a range comma separated format (e.g. 1,3-4,10-10) so that large bitmaps may be represented in a compact manner. Writing into the file will clear the bitmap then update it with the given input.h]hWe use a range comma separated format (e.g. 1,3-4,10-10) so that large bitmaps may be represented in a compact manner. Writing into the file will clear the bitmap then update it with the given input.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chM0hjCubh)}(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.chM4hjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]sysctl-interfaceah ]h"]sysctl interfaceah$]h&]uh1hhjhhhhhKiubh)}(hhh](h)}(hproc filesystem interfaceh]hproc filesystem interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKoubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_flush_pid (C function)c.proc_flush_pidhNtauh1hhjhhhNhNubh)}(hhh](j)}(h%void proc_flush_pid (struct pid *pid)h]j)}(h$void proc_flush_pid(struct pid *pid)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhM ubj/)}(hproc_flush_pidh]j5)}(hproc_flush_pidh]hproc_flush_pid}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhM ubj)}(h(struct pid *pid)h]j)}(hstruct pid *pidh](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)}(hpidh]hpid}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j)}jj4sbc.proc_flush_pidasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjJubj5)}(hpidh]hpid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubah}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h8Remove dcache entries for **pid** from the /proc dcache.h](hRemove dcache entries for }(hjhhhNhNubj)}(h**pid**h]hpid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh from the /proc dcache.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct pid *pid`` pid that should be flushed. **Description** This function walks a list of inodes (that belong to any proc filesystem) that are attached to the pid and flushes them from the dentry cache. It is safe and reasonable to cache /proc entries for a task until that task exits. After that they just clog up the dcache with useless entries, possibly causing useful dcache entries to be flushed instead. This routine is provided to flush those useless dcache entries when a process is reaped. **NOTE** This routine is just an optimization so it does not guarantee that no dcache entries will exist after a process is reaped it just makes it very unlikely that any will persist.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubj)}(hhh]j)}(h0``struct pid *pid`` pid that should be flushed. h](j)}(h``struct pid *pid``h]j)}(hj$h]hstruct pid *pid}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubj)}(hhh]h)}(hpid that should be flushed.h]hpid that should be flushed.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hM hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]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.}(hjuhhhNhNubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubh)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubj)}(hhh]j)}(hThis routine is just an optimization so it does not guarantee that no dcache entries will exist after a process is reaped it just makes it very unlikely that any will persist.h](j)}(h=This routine is just an optimization so it does not guaranteeh]h=This routine is just an optimization so it does not guarantee}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hjubj)}(hhh]h)}(hqthat no dcache entries will exist after a process is reaped it just makes it very unlikely that any will persist.h]hqthat no dcache entries will exist after a process is reaped it just makes it very unlikely that any will persist.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]proc-filesystem-interfaceah ]h"]proc filesystem interfaceah$]h&]uh1hhjhhhhhKoubeh}(h]the-proc-filesystemah ]h"]the proc filesystemah$]h&]uh1hhhhhhhhKfubh)}(hhh](h)}(h Events based on file descriptorsh]h Events based on file descriptors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKuubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eventfd_signal_mask (C function)c.eventfd_signal_maskhNtauh1hhjhhhNhNubh)}(hhh](j)}(hAvoid eventfd_signal_mask (struct eventfd_ctx *ctx, __poll_t mask)h]j)}(h@void eventfd_signal_mask(struct eventfd_ctx *ctx, __poll_t mask)h](j+)}(hvoidh]hvoid}(hj%hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj!hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK/ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!hhhj3hK/ubj/)}(heventfd_signal_maskh]j5)}(heventfd_signal_maskh]heventfd_signal_mask}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!hhhj3hK/ubj)}(h((struct eventfd_ctx *ctx, __poll_t mask)h](j)}(hstruct eventfd_ctx *ctxh](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubh)}(hhh]j5)}(h eventfd_ctxh]h eventfd_ctx}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjHsbc.eventfd_signal_maskasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj^ubj5)}(hctxh]hctx}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubj)}(h __poll_t maskh](h)}(hhh]j5)}(h__poll_th]h__poll_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.eventfd_signal_maskasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubeh}(h]h ]h"]h$]h&]jLjMuh1jhj!hhhj3hK/ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj3hK/ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj3hK/hjhhubjc)}(hhh]h)}(hIncrement the event counterh]hIncrement the event counter}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK/hj*hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj3hK/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjhNhNubj)}(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)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK3hjIubj)}(hhh](j)}(hA``struct eventfd_ctx *ctx`` [in] Pointer to the eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hjnh]hstruct eventfd_ctx *ctx}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK0hjhubj)}(hhh]h)}(h$[in] Pointer to the eventfd context.h]h$[in] Pointer to the eventfd context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK0hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhK0hjeubj)}(h!``__poll_t mask`` [in] poll mask h](j)}(h``__poll_t mask``h]j)}(hjh]h __poll_t mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK1hjubj)}(hhh]h)}(h[in] poll maskh]h[in] poll mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK1hjeubeh}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK3hjIubh)}(hThis function is supposed to be called by the kernel in paths that do not allow sleeping. In this function we allow the counter to reach the ULLONG_MAX value, and we signal this as overflow condition by returning a EPOLLERR to poll(2).h]hThis function is supposed to be called by the kernel in paths that do not allow sleeping. In this function we allow the counter to reach the ULLONG_MAX value, and we signal this as overflow condition by returning a EPOLLERR to poll(2).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK3hjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heventfd_ctx_put (C function)c.eventfd_ctx_puthNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void eventfd_ctx_put (struct eventfd_ctx *ctx)h]j)}(h-void eventfd_ctx_put(struct eventfd_ctx *ctx)h](j+)}(hvoidh]hvoid}(hj'hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj#hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKaubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhj5hKaubj/)}(heventfd_ctx_puth]j5)}(heventfd_ctx_puth]heventfd_ctx_put}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#hhhj5hKaubj)}(h(struct eventfd_ctx *ctx)h]j)}(hstruct eventfd_ctx *ctxh](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 eventfd_ctxh]h eventfd_ctx}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjJsbc.eventfd_ctx_putasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj`ubj5)}(hctxh]hctx}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubah}(h]h ]h"]h$]h&]jLjMuh1jhj#hhhj5hKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj5hKaubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hKahjhhubjc)}(hhh]h)}(h5Releases a reference to the internal eventfd context.h]h5Releases a reference to the internal eventfd context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKahjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj5hKaubeh}(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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKehjubj)}(hhh]j)}(h=``struct eventfd_ctx *ctx`` [in] Pointer to eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hj(h]hstruct eventfd_ctx *ctx}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKbhj"ubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hKbhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hKbhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]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().}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKdhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*eventfd_ctx_remove_wait_queue (C function)c.eventfd_ctx_remove_wait_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(haint eventfd_ctx_remove_wait_queue (struct eventfd_ctx *ctx, wait_queue_entry_t *wait, __u64 *cnt)h]j)}(h`int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, __u64 *cnt)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(heventfd_ctx_remove_wait_queueh]j5)}(heventfd_ctx_remove_wait_queueh]heventfd_ctx_remove_wait_queue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h?(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, __u64 *cnt)h](j)}(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)}jjsbc.eventfd_ctx_remove_wait_queueasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj1hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hctxh]hctx}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hwait_queue_entry_t *waith](h)}(hhh]j5)}(hwait_queue_entry_th]hwait_queue_entry_t}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]jc.eventfd_ctx_remove_wait_queueasbuh1hhjSubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjSubj5)}(hwaith]hwait}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h __u64 *cnth](h)}(hhh]j5)}(h__u64h]h__u64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.eventfd_ctx_remove_wait_queueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hcnth]hcnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h0Read the current counter and removes wait queue.h]h0Read the current counter and removes wait queue.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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)}(hjSh]hstruct eventfd_ctx *ctx}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhjMubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhKhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhKhjJubj)}(h<``wait_queue_entry_t *wait`` [in] Wait queue to be removed. h](j)}(h``wait_queue_entry_t *wait``h]j)}(hjh]hwait_queue_entry_t *wait}(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.chKhjubj)}(hhh]h)}(h[in] Wait queue to be removed.h]h[in] Wait queue to be removed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjJubj)}(h:``__u64 *cnt`` [out] Pointer to the 64-bit counter value. h](j)}(h``__u64 *cnt``h]j)}(hjh]h __u64 *cnt}(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.chKhjubj)}(hhh]h)}(h*[out] Pointer to the 64-bit counter value.h]h*[out] Pointer to the 64-bit counter value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj.ubh)}(h:Returns ``0`` if successful, or the following error codes:h](hReturns }(hjhhhNhNubj)}(h``0``h]h0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh- if successful, or the following error codes:}(hjhhhNhNubeh}(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}hjNsbah}(h]h ]h"]h$]h&]uh1jLhjHubhoption_argument)}(hAGAINh]hAGAIN}(hj^hhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1j\hjHubeh}(h]h ]h"]h$]h&]uh1jFhjCubah}(h]h ]h"]h$]h&]uh1jAhj>ubh description)}(h$: The operation would have blocked. h]h)}(h#: The operation would have blocked.h]h#: The operation would have blocked.}(hjhhhNhNubah}(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&]uh1jyhj>ubeh}(h]h ]h"]h$]h&]uh1j<hj9ubah}(h]h ]h"]h$]h&]uh1j7hjhKhj.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.}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM:ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM:ubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j eventfd_fgetsbc.eventfd_fgetasbuh1hhjhhhjhM:ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM:ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhjhM: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.hjhhhjhM:ubj)}(h(int fd)h]j)}(hint fdh](j+)}(hinth]hint}(hjIhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjEubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj5)}(hfdh]hfd}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM:ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM:ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM:hjhhubjc)}(hhh]h)}(h2Acquire a reference of an eventfd file descriptor.h]h2Acquire a reference of an eventfd file descriptor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM:hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chM>hjubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hjh]hint fd}(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.chM;hjubj)}(hhh]h)}(h[in] Eventfd file descriptor.h]h[in] Eventfd file descriptor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM=hjubh)}(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=hjubj8)}(hhh](j=)}(hhh](jB)}(hhh]jG)}(h-EBADFh](jM)}(h-Eh]h-E}hj=sbah}(h]h ]h"]h$]h&]uh1jLhj9ubj])}(hBADFh]hBADF}(hjKhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1j\hj9ubeh}(h]h ]h"]h$]h&]uh1jFhj6ubah}(h]h ]h"]h$]h&]uh1jAhj3ubjz)}(h!: Invalid **fd** file descriptor.h]h)}(hjhh](h : Invalid }(hjjhhhNhNubj)}(h**fd**h]hfd}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh file descriptor.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM@hjfubah}(h]h ]h"]h$]h&]uh1jyhj3ubeh}(h]h ]h"]h$]h&]uh1j<hj0ubj=)}(hhh](jB)}(hhh]jG)}(h-EINVALh](jM)}(h-Eh]h-E}hjsbah}(h]h ]h"]h$]h&]uh1jLhjubj])}(hINVALh]hINVAL}(hjhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1j\hjubeh}(h]h ]h"]h$]h&]uh1jFhjubah}(h]h ]h"]h$]h&]uh1jAhjubjz)}(h4: The **fd** file descriptor is not an eventfd file.h]h)}(hjh](h: The }(hjhhhNhNubj)}(h**fd**h]hfd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( file descriptor is not an eventfd file.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMAhjubah}(h]h ]h"]h$]h&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1j<hj0ubeh}(h]h ]h"]h$]h&]uh1j7hjhM@hjubeh}(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, hMTubjX)}(hj[h]h*}(hjm hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj hhhj, hMTubj/)}(heventfd_ctx_fdgeth]j5)}(hj\ h]heventfd_ctx_fdget}(hj~ hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjz ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj, hMTubj)}(h(int fd)h]j)}(hint fdh](j+)}(hinth]hint}(hj hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hfdh]hfd}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubah}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj, hMTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj, hMTubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj, hMThj hhubjc)}(hhh]h)}(h5Acquires a reference to the internal eventfd context.h]h5Acquires a reference to the internal eventfd context.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMThj hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj, hMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(h**Parameters** ``int fd`` [in] Eventfd file descriptor. **Description** Returns a pointer to the internal eventfd context, otherwise the error pointers returned by the following functions: eventfd_fgeth](h)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMXhj ubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hj !h]hint fd}(hj"!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMUhj!ubj)}(hhh]h)}(h[in] Eventfd file descriptor.h]h[in] Eventfd file descriptor.}(hj9!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5!hMUhj6!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj5!hMUhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hj[!h]h Description}(hj]!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY!ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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:}(hjq!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMWhj 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.chMZhj 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)}(ha value different than ``zero`` if ready events are available,h](ha value different than }(hjI%hhhNhNubj)}(h``zero``h]hzero}(hjQ%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI%ubh if ready events are available,}(hjI%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjE%ubj)}(hhh]h)}(hor ``zero`` otherwise.h](hor }(hjm%hhhNhNubj)}(h``zero``h]hzero}(hju%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm%ubh otherwise.}(hjm%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjj%ubah}(h]h ]h"]h$]h&]uh1jhjE%ubeh}(h]h ]h"]h$]h&]uh1jhji%hMhjB%ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!busy_loop_ep_timeout (C function)c.busy_loop_ep_timeouthNtauh1hhj#hhhNhNubh)}(hhh](j)}(hJbool busy_loop_ep_timeout (unsigned long start_time, struct eventpoll *ep)h]j)}(hIbool busy_loop_ep_timeout(unsigned long start_time, struct eventpoll *ep)h](j+)}(hj.h]hbool}(hj%hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj%hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%hhhj%hMubj/)}(hbusy_loop_ep_timeouth]j5)}(hbusy_loop_ep_timeouth]hbusy_loop_ep_timeout}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj%hhhj%hMubj)}(h0(unsigned long start_time, struct eventpoll *ep)h](j)}(hunsigned long start_timeh](j+)}(hunsignedh]hunsigned}(hj%hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj%ubj)}(h h]h }(hj &hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj+)}(hlongh]hlong}(hj&hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj%ubj)}(h h]h }(hj&&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj5)}(h start_timeh]h start_time}(hj4&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubj)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hjM&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI&ubj)}(h h]h }(hjZ&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjI&ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hjk&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjh&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjm&modnameN classnameNjj)}j]j)}jj%sbc.busy_loop_ep_timeoutasbuh1hhjI&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjI&ubjX)}(hj[h]h*}(hj&hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjI&ubj5)}(heph]hep}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjI&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj%hhhj%hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj%hhhj%hMubah}(h]j%ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj%hMhj%hhubjc)}(hhh]h)}(hcheck if busy poll has timed out. The timeout value from the epoll instance ep is preferred, but if it is not set fallback to the system-wide global via busy_loop_timeout.h]hcheck if busy poll has timed out. The timeout value from the epoll instance ep is preferred, but if it is not set fallback to the system-wide global via busy_loop_timeout.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj&hhubah}(h]h ]h"]h$]h&]uh1jbhj%hhhj%hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhj#hNhNubj)}(h**Parameters** ``unsigned long start_time`` The start time used to compute the remaining time until timeout. ``struct eventpoll *ep`` Pointer to the eventpoll context. **Return** true if the timeout has expired, false otherwise.h](h)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj&ubj)}(hhh](j)}(h^``unsigned long start_time`` The start time used to compute the remaining time until timeout. h](j)}(h``unsigned long start_time``h]j)}(hj'h]hunsigned long start_time}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj 'ubj)}(hhh]h)}(h@The start time used to compute the remaining time until timeout.h]h@The start time used to compute the remaining time until timeout.}(hj*'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&'hMhj''ubah}(h]h ]h"]h$]h&]uh1jhj 'ubeh}(h]h ]h"]h$]h&]uh1jhj&'hMhj'ubj)}(h;``struct eventpoll *ep`` Pointer to the eventpoll context. h](j)}(h``struct eventpoll *ep``h]j)}(hjJ'h]hstruct eventpoll *ep}(hjL'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH'ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjD'ubj)}(hhh]h)}(h!Pointer to the eventpoll context.h]h!Pointer to the eventpoll context.}(hjc'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_'hMhj`'ubah}(h]h ]h"]h$]h&]uh1jhjD'ubeh}(h]h ]h"]h$]h&]uh1jhj_'hMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj&ubh)}(h **Return**h]j)}(hj'h]hReturn}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj&ubh)}(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.chMhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hreverse_path_check (C function)c.reverse_path_checkhNtauh1hhj#hhhNhNubh)}(hhh](j)}(hint reverse_path_check (void)h]j)}(hint reverse_path_check(void)h](j+)}(hinth]hint}(hj'hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj'hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'hhhj'hMubj/)}(hreverse_path_checkh]j5)}(hreverse_path_checkh]hreverse_path_check}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'hhhj'hMubj)}(h(void)h]j)}(hvoidh]j+)}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj(ubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubah}(h]h ]h"]h$]h&]jLjMuh1jhj'hhhj'hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj'hhhj'hMubah}(h]j'ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj'hMhj'hhubjc)}(hhh]h)}(hThe tfile_check_list is list of epitem_head, which have links that are proposed to be newly added. We need to make sure that those added links don't add too many paths such that we will spend all our time waking up eventpoll objects.h]hThe tfile_check_list is list of epitem_head, which have links that are proposed to be newly added. We need to make sure that those added links don’t add too many paths such that we will spend all our time waking up eventpoll objects.}(hj1(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj.(hhubah}(h]h ]h"]h$]h&]uh1jbhj'hhhj'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjI(jjI(jjjuh1hhhhj#hNhNubj)}(h**Parameters** ``void`` no arguments **Return** ``zero`` if the proposed links don't create too many paths, ``-1`` otherwise.h](h)}(h**Parameters**h]j)}(hjS(h]h Parameters}(hjU(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ(ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjM(ubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjr(h]hvoid}(hjt(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp(ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chKhjl(ubj)}(hhh]h)}(h no argumentsh]h no arguments}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hKhj(ubah}(h]h ]h"]h$]h&]uh1jhjl(ubeh}(h]h ]h"]h$]h&]uh1jhj(hKhji(ubah}(h]h ]h"]h$]h&]uh1jhjM(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.chKhjM(ubj)}(hhh]j)}(hM``zero`` if the proposed links don't create too many paths, ``-1`` otherwise.h](j)}(h;``zero`` if the proposed links don't create too many paths,h](j)}(h``zero``h]hzero}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh5 if the proposed links don’t create too many paths,}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj(ubj)}(hhh]h)}(h``-1`` otherwise.h](j)}(h``-1``h]h-1}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh otherwise.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhjM(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_poll (C function) c.ep_pollhNtauh1hhj#hhhNhNubh)}(hhh](j)}(hpint ep_poll (struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h]j)}(hoint ep_poll(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h](j+)}(hinth]hint}(hj9)hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj5)hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMubj)}(h h]h }(hjH)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5)hhhjG)hMubj/)}(hep_pollh]j5)}(hep_pollh]hep_poll}(hjZ)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjV)ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj5)hhhjG)hMubj)}(hd(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h](j)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hjv)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjr)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjr)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_pollasbuh1hhjr)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjr)ubjX)}(hj[h]h*}(hj)hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjr)ubj5)}(heph]hep}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjr)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjn)ubj)}(h!struct epoll_event __user *eventsh](j )}(hjzh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubh)}(hhh]j5)}(h epoll_eventh]h epoll_event}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j]j) c.ep_pollasbuh1hhj)ubj)}(h h]h }(hj$*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubh__user}(hj)hhhNhNubj)}(h h]h }(hj6*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubjX)}(hj[h]h*}(hjD*hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj)ubj5)}(heventsh]hevents}(hjQ*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjn)ubj)}(h int maxeventsh](j+)}(hinth]hint}(hjj*hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjf*ubj)}(h h]h }(hjx*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjf*ubj5)}(h maxeventsh]h maxevents}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjf*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjn)ubj)}(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 }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubjX)}(hj[h]h*}(hj*hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj*ubj5)}(htimeouth]htimeout}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjn)ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj5)hhhjG)hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj1)hhhjG)hMubah}(h]j,)ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjG)hMhj.)hhubjc)}(hhh]h)}(hNRetrieves ready events, and delivers them to the caller-supplied event buffer.h]hNRetrieves ready events, and delivers them to the caller-supplied event buffer.}(hj +hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj+hhubah}(h]h ]h"]h$]h&]uh1jbhj.)hhhjG)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8+jj8+jjjuh1hhhhj#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)}(hjB+h]h Parameters}(hjD+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@+ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj<+ubj)}(hhh](j)}(h;``struct eventpoll *ep`` Pointer to the eventpoll context. h](j)}(h``struct eventpoll *ep``h]j)}(hja+h]hstruct eventpoll *ep}(hjc+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_+ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj[+ubj)}(hhh]h)}(h!Pointer to the eventpoll context.h]h!Pointer to the eventpoll context.}(hjz+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjv+hMhjw+ubah}(h]h ]h"]h$]h&]uh1jhj[+ubeh}(h]h ]h"]h$]h&]uh1jhjv+hMhjX+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+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjX+ubj)}(hR``int maxevents`` Size (in terms of number of events) of the caller event buffer. h](j)}(h``int maxevents``h]j)}(hj+h]h int maxevents}(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?Size (in terms of number of events) of the caller event buffer.h]h?Size (in terms of number of events) of the caller event buffer.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjX+ubj)}(hX``struct timespec64 *timeout`` Maximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the **timeout** ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred). h](j)}(h``struct timespec64 *timeout``h]j)}(hj ,h]hstruct timespec64 *timeout}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ,ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj,ubj)}(hhh]h)}(hMaximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the **timeout** ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred).h](hMaximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the }(hj&,hhhNhNubj)}(h **timeout**h]htimeout}(hj.,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&,ubhi ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred).}(hj&,hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj#,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj",hMhjX+ubeh}(h]h ]h"]h$]h&]uh1jhj<+ubh)}(h **Return**h]j)}(hj[,h]hReturn}(hj],hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY,ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj<+ubj)}(hhh]j)}(hWthe number of ready events which have been fetched, or an error code, in case of error.h](j)}(h9the number of ready events which have been fetched, or anh]h9the number of ready events which have been fetched, or an}(hjx,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjt,ubj)}(hhh]h)}(herror code, in case of error.h]herror code, in case of error.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj,ubah}(h]h ]h"]h$]h&]uh1jhjt,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjq,ubah}(h]h ]h"]h$]h&]uh1jhj<+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_loop_check_proc (C function)c.ep_loop_check_prochNtauh1hhj#hhhNhNubh)}(hhh](j)}(h8int ep_loop_check_proc (struct eventpoll *ep, int depth)h]j)}(h7int ep_loop_check_proc(struct eventpoll *ep, int depth)h](j+)}(hinth]hint}(hj,hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj,hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMaubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,hhhj,hMaubj/)}(hep_loop_check_proch]j5)}(hep_loop_check_proch]hep_loop_check_proc}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhj,hMaubj)}(h!(struct eventpoll *ep, int depth)h](j)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj&-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(-modnameN classnameNjj)}j]j)}jj,sbc.ep_loop_check_procasbuh1hhj-ubj)}(h h]h }(hjF-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubjX)}(hj[h]h*}(hjT-hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj-ubj5)}(heph]hep}(hja-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-ubj)}(h int depthh](j+)}(hinth]hint}(hjz-hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjv-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjv-ubj5)}(hdepthh]hdepth}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjv-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj,hhhj,hMaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj,hhhj,hMaubah}(h]j,ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj,hMahj,hhubjc)}(hhh]h)}(hverify that adding an epoll file inside another epoll structure does not violate the constraints, in terms of closed loops, or too deep chains (which can result in excessive stack usage).h]hverify that adding an epoll file inside another epoll structure does not violate the constraints, in terms of closed loops, or too deep chains (which can result in excessive stack usage).}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMahj-hhubah}(h]h ]h"]h$]h&]uh1jbhj,hhhj,hMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhj#hNhNubj)}(hXA**Parameters** ``struct eventpoll *ep`` the :c:type:`struct eventpoll ` to be currently checked. ``int depth`` Current depth of the path being checked. **Return** ``zero`` if adding the epoll **file** inside current epoll structure **ep** does not violate the constraints, or ``-1`` otherwise.h](h)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMehj-ubj)}(hhh](j)}(h]``struct eventpoll *ep`` the :c:type:`struct eventpoll ` to be currently checked. 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.chMfhj-ubj)}(hhh]h)}(hCthe :c:type:`struct eventpoll ` to be currently checked.h](hthe }(hj.hhhNhNubh)}(h&:c:type:`struct eventpoll `h]j)}(hj$.h]hstruct eventpoll}(hj&.hhhNhNubah}(h]h ](jFjc-typeeh"]h$]h&]uh1jhj".ubah}(h]h ]h"]h$]h&]refdocjR refdomainjreftypetype refexplicitrefwarnjjXj[ eventpolluh1hhj.hMfhj.ubh to be currently checked.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj.hMfhj.ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj.hMfhj-ubj)}(h7``int depth`` Current depth of the path being checked. h](j)}(h ``int depth``h]j)}(hj].h]h int depth}(hj_.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[.ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMghjW.ubj)}(hhh]h)}(h(Current depth of the path being checked.h]h(Current depth of the path being checked.}(hjv.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjr.hMghjs.ubah}(h]h ]h"]h$]h&]uh1jhjW.ubeh}(h]h ]h"]h$]h&]uh1jhjr.hMghj-ubeh}(h]h ]h"]h$]h&]uh1jhj-ubh)}(h **Return**h]j)}(hj.h]hReturn}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMihj-ubj)}(hhh]j)}(h``zero`` if adding the epoll **file** inside current epoll structure **ep** does not violate the constraints, or ``-1`` otherwise.h](j)}(h:``zero`` if adding the epoll **file** inside current epollh](j)}(h``zero``h]hzero}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh if adding the epoll }(hj.hhhNhNubj)}(h**file**h]hfile}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh inside current epoll}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMihj.ubj)}(hhh]h)}(hGstructure **ep** does not violate the constraints, or ``-1`` otherwise.h](h structure }(hj.hhhNhNubj)}(h**ep**h]hep}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh& does not violate the constraints, or }(hj.hhhNhNubj)}(h``-1``h]h-1}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh otherwise.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMjhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMihj.ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_loop_check (C function)c.ep_loop_checkhNtauh1hhj#hhhNhNubh)}(hhh](j)}(h>int ep_loop_check (struct eventpoll *ep, struct eventpoll *to)h]j)}(h=int ep_loop_check(struct eventpoll *ep, struct eventpoll *to)h](j+)}(hinth]hint}(hjL/hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjH/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&]uh1jhjH/hhhjZ/hMubj/)}(h ep_loop_checkh]j5)}(h ep_loop_checkh]h ep_loop_check}(hjm/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji/ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjH/hhhjZ/hMubj)}(h,(struct eventpoll *ep, struct eventpoll *to)h](j)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j]j)}jjo/sbc.ep_loop_checkasbuh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubjX)}(hj[h]h*}(hj/hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj/ubj5)}(heph]hep}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(hstruct eventpoll *toh](j )}(hjzh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]j/c.ep_loop_checkasbuh1hhj/ubj)}(h h]h }(hj70hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubjX)}(hj[h]h*}(hjE0hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj/ubj5)}(htoh]hto}(hjR0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjH/hhhjZ/hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjD/hhhjZ/hMubah}(h]j?/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZ/hMhjA/hhubjc)}(hhh]h)}(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 (}(hj|0hhhNhNubj)}(h**to**h]hto}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|0ubh*) into another epoll file (represented by }(hj|0hhhNhNubj)}(h**ep**h]hep}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|0ubh2) does not create closed loops or too deep chains.}(hj|0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjy0hhubah}(h]h ]h"]h$]h&]uh1jbhjA/hhhjZ/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhj#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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj0ubj)}(hhh](j)}(hE``struct eventpoll *ep`` Pointer to the epoll we are inserting into. h](j)}(h``struct eventpoll *ep``h]j)}(hj0h]hstruct eventpoll *ep}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj0ubj)}(hhh]h)}(h+Pointer to the epoll we are inserting into.h]h+Pointer to the epoll we are inserting into.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(h>``struct eventpoll *to`` Pointer to the epoll to be inserted. h](j)}(h``struct eventpoll *to``h]j)}(hj1h]hstruct eventpoll *to}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj1ubj)}(hhh]h)}(h$Pointer to the epoll to be inserted.h]h$Pointer to the epoll to be inserted.}(hj31hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/1hMhj01ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj/1hMhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h **Return**h]j)}(hjU1h]hReturn}(hjW1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS1ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj0ubh)}(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}(hjo1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk1ubh if adding the epoll }(hjk1hhhNhNubj)}(h**to**h]hto}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk1ubh inside the epoll }(hjk1hhhNhNubj)}(h**from**h]hfrom}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk1ubh& does not violate the constraints, or }(hjk1hhhNhNubj)}(h``-1``h]h-1}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk1ubh otherwise.}(hjk1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sysfs_create_file_ns (C function)c.sysfs_create_file_nshNtauh1hhj1hhhNhNubh)}(hhh](j)}(h]int sysfs_create_file_ns (struct kobject *kobj, const struct attribute *attr, const void *ns)h]j)}(h\int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns)h](j+)}(hinth]hint}(hj1hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj1hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMsubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhj2hMsubj/)}(hsysfs_create_file_nsh]j5)}(hsysfs_create_file_nsh]hsysfs_create_file_ns}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhj2hMsubj)}(hD(struct kobject *kobj, const struct attribute *attr, const void *ns)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj42hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj02ubj)}(h h]h }(hjA2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj02ubh)}(hhh]j5)}(hkobjecth]hkobject}(hjR2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjO2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT2modnameN classnameNjj)}j]j)}jj2sbc.sysfs_create_file_nsasbuh1hhj02ubj)}(h h]h }(hjr2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj02ubjX)}(hj[h]h*}(hj2hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj02ubj5)}(hkobjh]hkobj}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj02ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,2ubj)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj )}(hjzh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(h attributeh]h attribute}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]jn2c.sysfs_create_file_nsasbuh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubjX)}(hj[h]h*}(hj 3hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj2ubj5)}(hattrh]hattr}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,2ubj)}(hconst void *nsh](j )}(hjh]hconst}(hj13hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-3ubj)}(h h]h }(hj>3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-3ubj+)}(hvoidh]hvoid}(hjL3hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj-3ubj)}(h h]h }(hjZ3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-3ubjX)}(hj[h]h*}(hjh3hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj-3ubj5)}(hnsh]hns}(hju3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,2ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj1hhhj2hMsubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj1hhhj2hMsubah}(h]j1ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hMshj1hhubjc)}(hhh]h)}(h5create an attribute file for an object with custom nsh]h5create an attribute file for an object with custom ns}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMshj3hhubah}(h]h ]h"]h$]h&]uh1jbhj1hhhj2hMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhj1hNhNubj)}(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)}(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:131: ./fs/sysfs/file.chMwhj3ubj)}(hhh](j)}(h3``struct kobject *kobj`` object we're creating for h](j)}(h``struct kobject *kobj``h]j)}(hj3h]hstruct kobject *kobj}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMthj3ubj)}(hhh]h)}(hobject we're creating forh]hobject we’re creating for}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMthj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMthj3ubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hj4h]hconst struct attribute *attr}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMuhj4ubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hj24hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.4hMuhj/4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj.4hMuhj3ubj)}(h:``const void *ns`` namespace the new file should belong toh](j)}(h``const void *ns``h]j)}(hjR4h]hconst void *ns}(hjT4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP4ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMwhjL4ubj)}(hhh]h)}(h'namespace the new file should belong toh]h'namespace the new file should belong to}(hjk4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMvhjh4ubah}(h]h ]h"]h$]h&]uh1jhjL4ubeh}(h]h ]h"]h$]h&]uh1jhjg4hMwhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$sysfs_add_file_to_group (C function)c.sysfs_add_file_to_grouphNtauh1hhj1hhhNhNubh)}(hhh](j)}(hcint sysfs_add_file_to_group (struct kobject *kobj, const struct attribute *attr, const char *group)h]j)}(hbint sysfs_add_file_to_group(struct kobject *kobj, const struct attribute *attr, const char *group)h](j+)}(hinth]hint}(hj4hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj4hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4hhhj4hMubj/)}(hsysfs_add_file_to_grouph]j5)}(hsysfs_add_file_to_grouph]hsysfs_add_file_to_group}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4hhhj4hMubj)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh)}(hhh]j5)}(hkobjecth]hkobject}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj 5modnameN classnameNjj)}j]j)}jj4sbc.sysfs_add_file_to_groupasbuh1hhj4ubj)}(h h]h }(hj'5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubjX)}(hj[h]h*}(hj55hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj4ubj5)}(hkobjh]hkobj}(hjB5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubj)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hj[5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW5ubj)}(h h]h }(hjh5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW5ubj )}(hjzh]hstruct}(hjv5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW5ubh)}(hhh]j5)}(h attributeh]h attribute}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j#5c.sysfs_add_file_to_groupasbuh1hhjW5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW5ubjX)}(hj[h]h*}(hj5hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjW5ubj5)}(hattrh]hattr}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjW5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubj)}(hconst char *grouph](j )}(hjh]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj+)}(hcharh]hchar}(hj6hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj5ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubjX)}(hj[h]h*}(hj6hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj5ubj5)}(hgrouph]hgroup}(hj*6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj4hhhj4hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj4hhhj4hMubah}(h]j4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj4hMhj4hhubjc)}(hhh]h)}(h.add an attribute file to a pre-existing group.h]h.add an attribute file to a pre-existing group.}(hjT6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjQ6hhubah}(h]h ]h"]h$]h&]uh1jbhj4hhhj4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjl6jjl6jjjuh1hhhhj1hNhNubj)}(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)}(hjv6h]h Parameters}(hjx6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt6ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjp6ubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hj6h]hstruct kobject *kobj}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj6ubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj6ubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hj6h]hconst struct attribute *attr}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj6ubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj6ubj)}(h!``const char *group`` group name.h](j)}(h``const char *group``h]j)}(hj7h]hconst char *group}(hj 7hhhNhNubah}(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.chMhj7ubj)}(hhh]h)}(h group name.h]h group name.}(hj 7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj6ubeh}(h]h ]h"]h$]h&]uh1jhjp6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_chmod_file (C function)c.sysfs_chmod_filehNtauh1hhj1hhhNhNubh)}(hhh](j)}(hWint sysfs_chmod_file (struct kobject *kobj, const struct attribute *attr, umode_t mode)h]j)}(hVint sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, umode_t mode)h](j+)}(hinth]hint}(hja7hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj]7hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjp7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]7hhhjo7hMubj/)}(hsysfs_chmod_fileh]j5)}(hsysfs_chmod_fileh]hsysfs_chmod_file}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~7ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj]7hhhjo7hMubj)}(hB(struct kobject *kobj, const struct attribute *attr, umode_t mode)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(hkobjecth]hkobject}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j)}jj7sbc.sysfs_chmod_fileasbuh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubjX)}(hj[h]h*}(hj7hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj7ubj5)}(hkobjh]hkobj}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj7ubj)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 8ubj )}(hjzh]hstruct}(hj+8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 8ubj)}(h h]h }(hj88hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 8ubh)}(hhh]j5)}(h attributeh]h attribute}(hjI8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjF8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjK8modnameN classnameNjj)}j]j7c.sysfs_chmod_fileasbuh1hhj 8ubj)}(h h]h }(hjg8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj 8ubjX)}(hj[h]h*}(hju8hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj 8ubj5)}(hattrh]hattr}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj 8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj7ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j7c.sysfs_chmod_fileasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj5)}(hmodeh]hmode}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj7ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj]7hhhjo7hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjY7hhhjo7hMubah}(h]jT7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjo7hMhjV7hhubjc)}(hhh]h)}(h6update the modified mode value on an object attribute.h]h6update the modified mode value on an object attribute.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj8hhubah}(h]h ]h"]h$]h&]uh1jbhjV7hhhjo7hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj 9jj 9jjjuh1hhhhj1hNhNubj)}(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)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj9ubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hj59h]hstruct kobject *kobj}(hj79hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj39ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj/9ubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjN9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJ9hMhjK9ubah}(h]h ]h"]h$]h&]uh1jhj/9ubeh}(h]h ]h"]h$]h&]uh1jhjJ9hMhj,9ubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hjn9h]hconst struct attribute *attr}(hjp9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjh9ubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjh9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj,9ubj)}(h"``umode_t mode`` file permissions.h](j)}(h``umode_t mode``h]j)}(hj9h]h umode_t mode}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj9ubj)}(hhh]h)}(hfile permissions.h]hfile permissions.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj,9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sysfs_break_active_protection (C function)c.sysfs_break_active_protectionhNtauh1hhj1hhhNhNubh)}(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 hj9hhhX/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&]uh1jhj9hhhj: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_protectionasbuh1hhj9hhhj:hMubj)}(h h]h }(hjA:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9hhhj:hMubjX)}(hj[h]h*}(hjO:hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj9hhhj:hMubj/)}(hsysfs_break_active_protectionh]j5)}(hj>:h]hsysfs_break_active_protection}(hj`:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\:ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj9hhhj:hMubj)}(h4(struct kobject *kobj, const struct attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj{:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j 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<:c.sysfs_break_active_protectionasbuh1hhjw:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjw:ubjX)}(hj[h]h*}(hj:hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjw:ubj5)}(hkobjh]hkobj}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjw:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjs:ubj)}(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 }(hjB;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubjX)}(hj[h]h*}(hjP;hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubj5)}(hattrh]hattr}(hj];hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjs:ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj9hhhj:hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj9hhhj:hMubah}(h]j9ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:hMhj9hhubjc)}(hhh]h)}(hbreak "active" protectionh]hbreak “active” protection}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj;hhubah}(h]h ]h"]h$]h&]uh1jbhj9hhhj:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhj1hNhNubj)}(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)}(hjN<h]h Description}(hjP<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL<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.}(hjd<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&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,sysfs_unbreak_active_protection (C function)!c.sysfs_unbreak_active_protectionhNtauh1hhj1hhhNhNubh)}(hhh](j)}(h=void sysfs_unbreak_active_protection (struct kernfs_node *kn)h]j)}(hhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj">hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj5>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj">hhhj4>hMubj/)}(hsysfs_remove_file_nsh]j5)}(hsysfs_remove_file_nsh]hsysfs_remove_file_ns}(hjG>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjC>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj">hhhj4>hMubj)}(hD(struct kobject *kobj, const struct attribute *attr, const void *ns)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjc>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_>ubj)}(h h]h }(hjp>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)}jjI>sbc.sysfs_remove_file_nsasbuh1hhj_>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_>ubjX)}(hj[h]h*}(hj>hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj_>ubj5)}(hkobjh]hkobj}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj[>ubj)}(hconst struct attribute *attrh](j )}(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_remove_file_nsasbuh1hhj>ubj)}(h h]h }(hj,?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubjX)}(hj[h]h*}(hj:?hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj>ubj5)}(hattrh]hattr}(hjG?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj[>ubj)}(hconst void *nsh](j )}(hjh]hconst}(hj`?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\?ubj)}(h h]h }(hjm?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\?ubj+)}(hvoidh]hvoid}(hj{?hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj\?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\?ubjX)}(hj[h]h*}(hj?hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj\?ubj5)}(hnsh]hns}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj[>ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj">hhhj4>hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj>hhhj4>hMubah}(h]j>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj4>hMhj>hhubjc)}(hhh]h)}(h/remove an object attribute with a custom ns tagh]h/remove an object attribute with a custom ns tag}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jbhj>hhhj4>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhj1hNhNubj)}(hX**Parameters** ``struct kobject *kobj`` object we're acting for ``const struct attribute *attr`` attribute descriptor ``const void *ns`` namespace tag of the file to remove **Description** Hash the attribute name and namespace tag and kill the victim.h](h)}(h**Parameters**h]j)}(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)}(h1``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 forh]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)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hjH@h]hconst struct attribute *attr}(hjJ@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF@ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjB@ubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hja@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]@hMhj^@ubah}(h]h ]h"]h$]h&]uh1jhjB@ubeh}(h]h ]h"]h$]h&]uh1jhj]@hMhj@ubj)}(h7``const void *ns`` namespace tag of the file to remove h](j)}(h``const void *ns``h]j)}(hj@h]hconst void *ns}(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#namespace tag of the file to removeh]h#namespace tag of the file to remove}(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)}(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.}(hj@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&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sysfs_remove_file_self (C function)c.sysfs_remove_file_selfhNtauh1hhj1hhhNhNubh)}(hhh](j)}(hPbool sysfs_remove_file_self (struct kobject *kobj, const struct attribute *attr)h]j)}(hObool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr)h](j+)}(hj.h]hbool}(hjAhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj@hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhjAhMubj/)}(hsysfs_remove_file_selfh]j5)}(hsysfs_remove_file_selfh]hsysfs_remove_file_self}(hj!AhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@hhhjAhMubj)}(h4(struct kobject *kobj, const struct attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj=AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9Aubj)}(h h]h }(hjJAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9Aubh)}(hhh]j5)}(hkobjecth]hkobject}(hj[AhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]AmodnameN classnameNjj)}j]j)}jj#Asbc.sysfs_remove_file_selfasbuh1hhj9Aubj)}(h h]h }(hj{AhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9AubjX)}(hj[h]h*}(hjAhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj9Aubj5)}(hkobjh]hkobj}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9Aubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5Aubj)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj )}(hjzh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubh)}(hhh]j5)}(h attributeh]h attribute}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]jwAc.sysfs_remove_file_selfasbuh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubjX)}(hj[h]h*}(hjBhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjAubj5)}(hattrh]hattr}(hj!BhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5Aubeh}(h]h ]h"]h$]h&]jLjMuh1jhj@hhhjAhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj@hhhjAhMubah}(h]j@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjAhMhj@hhubjc)}(hhh]h)}(h.remove an object attribute from its own methodh]h.remove an object attribute from its own method}(hjKBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjHBhhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhjAhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcBjjcBjjjuh1hhhhj1hNhNubj)}(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)}(hjmBh]h Parameters}(hjoBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkBubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjgBubj)}(hhh](j)}(h1``struct kobject *kobj`` object we're acting for h](j)}(h``struct kobject *kobj``h]j)}(hjBh]hstruct kobject *kobj}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjBubj)}(hhh]h)}(hobject we're acting forh]hobject we’re acting for}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hjBh]hconst struct attribute *attr}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjBubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubeh}(h]h ]h"]h$]h&]uh1jhjgBubh)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjgBubh)}(h%See kernfs_remove_self() for details.h]h%See kernfs_remove_self() for details.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjgBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sysfs_remove_file_from_group (C function)c.sysfs_remove_file_from_grouphNtauh1hhj1hhhNhNubh)}(hhh](j)}(hivoid sysfs_remove_file_from_group (struct kobject *kobj, const struct attribute *attr, const char *group)h]j)}(hhvoid sysfs_remove_file_from_group(struct kobject *kobj, const struct attribute *attr, const char *group)h](j+)}(hvoidh]hvoid}(hjEChhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjAChhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM2ubj)}(h h]h }(hjTChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAChhhjSChM2ubj/)}(hsysfs_remove_file_from_grouph]j5)}(hsysfs_remove_file_from_grouph]hsysfs_remove_file_from_group}(hjfChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjAChhhjSChM2ubj)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~Cubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~Cubh)}(hhh]j5)}(hkobjecth]hkobject}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]j)}jjhCsbc.sysfs_remove_file_from_groupasbuh1hhj~Cubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~CubjX)}(hj[h]h*}(hjChhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj~Cubj5)}(hkobjh]hkobj}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~Cubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzCubj)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj )}(hjzh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(h attributeh]h attribute}(hj-DhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*Dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/DmodnameN classnameNjj)}j]jCc.sysfs_remove_file_from_groupasbuh1hhjCubj)}(h h]h }(hjKDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubjX)}(hj[h]h*}(hjYDhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjCubj5)}(hattrh]hattr}(hjfDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzCubj)}(hconst char *grouph](j )}(hjh]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{Dubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{Dubj+)}(hcharh]hchar}(hjDhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj{Dubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{DubjX)}(hj[h]h*}(hjDhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj{Dubj5)}(hgrouph]hgroup}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{Dubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzCubeh}(h]h ]h"]h$]h&]jLjMuh1jhjAChhhjSChM2ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=ChhhjSChM2ubah}(h]j8Cah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjSChM2hj:Chhubjc)}(hhh]h)}(h&remove an attribute file from a group.h]h&remove an attribute file from a group.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM2hjDhhubah}(h]h ]h"]h$]h&]uh1jbhj:ChhhjSChM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhj1hNhNubj)}(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)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Eubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM6hj Eubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hj.Eh]hstruct kobject *kobj}(hj0EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Eubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM3hj(Eubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjGEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCEhM3hjDEubah}(h]h ]h"]h$]h&]uh1jhj(Eubeh}(h]h ]h"]h$]h&]uh1jhjCEhM3hj%Eubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hjgEh]hconst struct attribute *attr}(hjiEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM4hjaEubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|EhM4hj}Eubah}(h]h ]h"]h$]h&]uh1jhjaEubeh}(h]h ]h"]h$]h&]uh1jhj|EhM4hj%Eubj)}(h!``const char *group`` group name.h](j)}(h``const char *group``h]j)}(hjEh]hconst char *group}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM6hjEubj)}(hhh]h)}(h group name.h]h group name.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM5hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM6hj%Eubeh}(h]h ]h"]h$]h&]uh1jhj Eubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sysfs_create_bin_file (C function)c.sysfs_create_bin_filehNtauh1hhj1hhhNhNubh)}(hhh](j)}(hRint sysfs_create_bin_file (struct kobject *kobj, const struct bin_attribute *attr)h]j)}(hQint sysfs_create_bin_file(struct kobject *kobj, const struct bin_attribute *attr)h](j+)}(hinth]hint}(hjEhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjEhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMKubj)}(h h]h }(hj FhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEhhhjFhMKubj/)}(hsysfs_create_bin_fileh]j5)}(hsysfs_create_bin_fileh]hsysfs_create_bin_file}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjEhhhjFhMKubj)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj7FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3Fubj)}(h h]h }(hjDFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3Fubh)}(hhh]j5)}(hkobjecth]hkobject}(hjUFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWFmodnameN classnameNjj)}j]j)}jjFsbc.sysfs_create_bin_fileasbuh1hhj3Fubj)}(h h]h }(hjuFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3FubjX)}(hj[h]h*}(hjFhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj3Fubj5)}(hkobjh]hkobj}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3Fubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/Fubj)}(h const struct bin_attribute *attrh](j )}(hjh]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(h bin_attributeh]h bin_attribute}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j]jqFc.sysfs_create_bin_fileasbuh1hhjFubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubjX)}(hj[h]h*}(hjGhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjFubj5)}(hattrh]hattr}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/Fubeh}(h]h ]h"]h$]h&]jLjMuh1jhjEhhhjFhMKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjEhhhjFhMKubah}(h]jEah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjFhMKhjEhhubjc)}(hhh]h)}(hcreate binary file for object.h]hcreate binary file for object.}(hjEGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMKhjBGhhubah}(h]h ]h"]h$]h&]uh1jbhjEhhhjFhMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]Gjj]Gjjjuh1hhhhj1hNhNubj)}(hp**Parameters** ``struct kobject *kobj`` object. ``const struct bin_attribute *attr`` attribute descriptor.h](h)}(h**Parameters**h]j)}(hjgGh]h Parameters}(hjiGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeGubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMOhjaGubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjGh]hstruct kobject *kobj}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMLhjGubj)}(hhh]h)}(hobject.h]hobject.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMLhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMLhj}Gubj)}(h:``const struct bin_attribute *attr`` attribute descriptor.h](j)}(h$``const struct bin_attribute *attr``h]j)}(hjGh]h const struct bin_attribute *attr}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMNhjGubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMMhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMNhj}Gubeh}(h]h ]h"]h$]h&]uh1jhjaGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sysfs_remove_bin_file (C function)c.sysfs_remove_bin_filehNtauh1hhj1hhhNhNubh)}(hhh](j)}(hSvoid sysfs_remove_bin_file (struct kobject *kobj, const struct bin_attribute *attr)h]j)}(hRvoid sysfs_remove_bin_file(struct kobject *kobj, const struct bin_attribute *attr)h](j+)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjHhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM_ubj)}(h h]h }(hj(HhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhj'HhM_ubj/)}(hsysfs_remove_bin_fileh]j5)}(hsysfs_remove_bin_fileh]hsysfs_remove_bin_file}(hj:HhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6Hubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhj'HhM_ubj)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjVHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRHubj)}(h h]h }(hjcHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRHubh)}(hhh]j5)}(hkobjecth]hkobject}(hjtHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvHmodnameN classnameNjj)}j]j)}jjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(h kuid_t kuidh](h)}(hhh]j5)}(hkuid_th]hkuid_t}(hjZNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\NmodnameN classnameNjj)}j]jNc.sysfs_change_ownerasbuh1hhjSNubj)}(h h]h }(hjxNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSNubj5)}(hkuidh]hkuid}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(h kgid_t kgidh](h)}(hhh]j5)}(hkgid_th]hkgid_t}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj)}j]jNc.sysfs_change_ownerasbuh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj5)}(hkgidh]hkgid}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubeh}(h]h ]h"]h$]h&]jLjMuh1jhjMhhhjMhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjMhhhjMhMubah}(h]jMah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhMhjMhhubjc)}(hhh]h)}(h!change owner of the given object.h]h!change owner of the given object.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjMhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhj1hNhNubj)}(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)}(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)}(hj9Oh]hstruct kobject *kobj}(hj;OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Oubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj3Oubj)}(hhh]h)}(hobject.h]hobject.}(hjROhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNOhMhjOOubah}(h]h ]h"]h$]h&]uh1jhj3Oubeh}(h]h ]h"]h$]h&]uh1jhjNOhMhj0Oubj)}(h!``kuid_t kuid`` new owner's kuid h](j)}(h``kuid_t kuid``h]j)}(hjrOh]h kuid_t kuid}(hjtOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpOubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjlOubj)}(hhh]h)}(hnew owner's kuidh]hnew owner’s kuid}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjlOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj0Oubj)}(h!``kgid_t kgid`` new owner's kgid h](j)}(h``kgid_t kgid``h]j)}(hjOh]h kgid_t kgid}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjOubj)}(hhh]h)}(hnew owner's kgidh]hnew owner’s kgid}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj0Oubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjOubh)}(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 }(hjOhhhNhNubj)}(h**kobj**h]hkobj}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh to }(hjOhhhNhNubj)}(h**kuid**h]hkuid}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh/}(hjOhhhNhNubj)}(h**kgid**h]hkgid}(hj(PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh. 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 }(hjOhhhNhNubj)}(h**kobj**h]hkobj}(hj:PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh6, the default attributes associated with the ktype of }(hjOhhhNhNubj)}(h**kobj**h]hkobj}(hjLPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh9 and the default attributes associated with the ktype of }(hjOhhhNhNubj)}(h**kobj**h]hkobj}(hj^PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh. 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.}(hjOhhhNhNubeh}(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.}(hjwPhhhNhNubah}(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&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_emit (C function) c.sysfs_emithNtauh1hhj1hhhNhNubh)}(hhh](j)}(h0int sysfs_emit (char *buf, const char *fmt, ...)h]j)}(h/int sysfs_emit(char *buf, const char *fmt, ...)h](j+)}(hinth]hint}(hjPhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjPhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPhhhjPhMubj/)}(h sysfs_emith]j5)}(h sysfs_emith]h sysfs_emit}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjPhhhjPhMubj)}(h!(char *buf, const char *fmt, ...)h](j)}(h char *bufh](j+)}(hcharh]hchar}(hjPhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubjX)}(hj[h]h*}(hjPhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjPubj5)}(hbufh]hbuf}(hj QhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(hconst char *fmth](j )}(hjh]hconst}(hj%QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!Qubj)}(h h]h }(hj2QhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!Qubj+)}(hcharh]hchar}(hj@QhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj!Qubj)}(h h]h }(hjNQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!QubjX)}(hj[h]h*}(hj\QhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj!Qubj5)}(hfmth]hfmt}(hjiQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!Qubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(h...h]jX)}(h...h]h...}(hjQhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj~Qubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubeh}(h]h ]h"]h$]h&]jLjMuh1jhjPhhhjPhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjPhMubah}(h]jPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMhjPhhubjc)}(hhh]h)}(h0scnprintf equivalent, aware of PAGE_SIZE buffer.h]h0scnprintf equivalent, aware of PAGE_SIZE buffer.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jbhjPhhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhj1hNhNubj)}(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)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjQubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hjQh]h char *buf}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjQubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjQubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hj&Rh]hconst char *fmt}(hj(RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Rubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj Rubj)}(hhh]h)}(hformath]hformat}(hj?RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;RhMhj= 0 && < PAGE_SIZE ``const char *fmt`` format ``...`` optional arguments to **fmt** **Description** Returns number of characters written starting at &**buf**[**at**].h](h)}(h**Parameters**h]j)}(hj[Th]h Parameters}(hj]ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYTubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjUTubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hjzTh]h char *buf}(hj|ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxTubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM hjtTubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThM hjTubah}(h]h ]h"]h$]h&]uh1jhjtTubeh}(h]h ]h"]h$]h&]uh1jhjThM hjqTubj)}(hX``int at`` offset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZE h](j)}(h ``int at``h]j)}(hjTh]hint at}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjTubj)}(hhh]h)}(hLoffset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZEh](h offset in }(hjThhhNhNubj)}(h**buf**h]hbuf}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh to start write in bytes }(hjThhhNhNubj)}(h**at**h]hat}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh must be >= 0 && < PAGE_SIZE}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjqTubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hjUh]hconst char *fmt}(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.chMhj Uubj)}(hhh]h)}(hformath]hformat}(hj*UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&UhMhj'Uubah}(h]h ]h"]h$]h&]uh1jhj Uubeh}(h]h ]h"]h$]h&]uh1jhj&UhMhjqTubj)}(h&``...`` optional arguments to **fmt** h](j)}(h``...``h]j)}(hjJUh]h...}(hjLUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHUubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjDUubj)}(hhh]h)}(hoptional arguments to **fmt**h](hoptional arguments to }(hjcUhhhNhNubj)}(h**fmt**h]hfmt}(hjkUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcUubeh}(h]h ]h"]h$]h&]uh1hhj_UhMhj`Uubah}(h]h ]h"]h$]h&]uh1jhjDUubeh}(h]h ]h"]h$]h&]uh1jhj_UhMhjqTubeh}(h]h ]h"]h$]h&]uh1jhjUTubh)}(h**Description**h]j)}(hjUh]h Description}(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.chMhjUTubh)}(hBReturns number of characters written starting at &**buf**[**at**].h](h:Returns number of characters written starting at &**buf**[}(hjUhhhNhNubj)}(h**at**h]hat}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh].}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjUTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'sysfs_bin_attr_simple_read (C function)c.sysfs_bin_attr_simple_readhNtauh1hhj1hhhNhNubh)}(hhh](j)}(hssize_t sysfs_bin_attr_simple_read (struct file *file, struct kobject *kobj, const struct bin_attribute *attr, char *buf, loff_t off, size_t count)h]j)}(hssize_t sysfs_bin_attr_simple_read(struct file *file, struct kobject *kobj, const struct bin_attribute *attr, char *buf, loff_t off, size_t count)h](h)}(hhh]j5)}(hssize_th]hssize_t}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]j)}jsysfs_bin_attr_simple_readsbc.sysfs_bin_attr_simple_readasbuh1hhjUhhhX/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&]uh1jhjUhhhjVhM(ubj/)}(hsysfs_bin_attr_simple_readh]j5)}(hj Vh]hsysfs_bin_attr_simple_read}(hj!VhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjUhhhjVhM(ubj)}(hp(struct file *file, struct kobject *kobj, const struct bin_attribute *attr, char *buf, loff_t off, size_t count)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjread() callback for bin_attributes backed by a buffer in memory. The **private** and **size** members in struct bin_attribute must be set to the buffer's location and size before the bin_attribute is created in sysfs. 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)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM,hjXubj)}(hhh](j)}(h:``struct file *file`` attribute file which is being read. h](j)}(h``struct file *file``h]j)}(hjXh]hstruct file *file}(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.chM)hjXubj)}(hhh]h)}(h#attribute file which is being read.h]h#attribute file which is being read.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhM)hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhM)hjXubj)}(h@``struct kobject *kobj`` object to which the attribute belongs. h](j)}(h``struct kobject *kobj``h]j)}(hjYh]hstruct kobject *kobj}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM*hjXubj)}(hhh]h)}(h&object to which the attribute belongs.h]h&object to which the attribute belongs.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM*hjYubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjYhM*hjXubj)}(h;``const struct bin_attribute *attr`` attribute descriptor. h](j)}(h$``const struct bin_attribute *attr``h]j)}(hj=Yh]h const struct bin_attribute *attr}(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.chM+hj7Yubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjVYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRYhM+hjSYubah}(h]h ]h"]h$]h&]uh1jhj7Yubeh}(h]h ]h"]h$]h&]uh1jhjRYhM+hjXubj)}(h"``char *buf`` destination buffer. h](j)}(h ``char *buf``h]j)}(hjvYh]h char *buf}(hjxYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtYubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM,hjpYubj)}(hhh]h)}(hdestination buffer.h]hdestination buffer.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM,hjYubah}(h]h ]h"]h$]h&]uh1jhjpYubeh}(h]h ]h"]h$]h&]uh1jhjYhM,hjXubj)}(h3``loff_t off`` offset in bytes from which to read. h](j)}(h``loff_t off``h]j)}(hjYh]h loff_t off}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM-hjYubj)}(hhh]h)}(h#offset in bytes from which to read.h]h#offset in bytes from which to read.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM-hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM-hjXubj)}(h2``size_t count`` maximum number of bytes to read. h](j)}(h``size_t count``h]j)}(hjYh]h size_t count}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM.hjYubj)}(hhh]h)}(h maximum number of bytes to read.h]h maximum number of bytes to read.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM.hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM.hjXubeh}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hj#Zh]h Description}(hj%ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Zubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM0hjXubh)}(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 }(hj9ZhhhNhNubj)}(h **private**h]hprivate}(hjAZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Zubh and }(hj9ZhhhNhNubj)}(h**size**h]hsize}(hjSZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Zubh~ members in struct bin_attribute must be set to the buffer’s location and size before the bin_attribute is created in sysfs.}(hj9ZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM0hjXubh)}(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 }(hjlZhhhNhNubj)}(h**off**h]hoff}(hjtZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlZubh and }(hjlZhhhNhNubj)}(h **count**h]hcount}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlZubh: is done in sysfs_kf_bin_read(). Negative value check for }(hjlZhhhNhNubj)}(h**off**h]hoff}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlZubh. is done in vfs_setpos() and default_llseek().}(hjlZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM4hjXubh)}(h+Returns number of bytes written to **buf**.h](h#Returns number of bytes written to }(hjZhhhNhNubj)}(h**buf**h]hbuf}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM7hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_create_link (C function)c.sysfs_create_linkhNtauh1hhj1hhhNhNubh)}(hhh](j)}(hVint sysfs_create_link (struct kobject *kobj, struct kobject *target, const char *name)h]j)}(hUint sysfs_create_link(struct kobject *kobj, struct kobject *target, const char *name)h](j+)}(hinth]hint}(hjZhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjZhhh[/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&]uh1jhjZhhhj[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.hjZhhhj[hKTubj)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj/[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+[ubj)}(h h]h }(hj<[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+[ubh)}(hhh]j5)}(hkobjecth]hkobject}(hjM[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJ[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjO[modnameN classnameNjj)}j]j)}jj[sbc.sysfs_create_linkasbuh1hhj+[ubj)}(h h]h }(hjm[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+[ubjX)}(hj[h]h*}(hj{[hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj+[ubj5)}(hkobjh]hkobj}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'[ubj)}(hstruct kobject *targeth](j )}(hjzh]hstruct}(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]ji[c.sysfs_create_linkasbuh1hhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubjX)}(hj[h]h*}(hj[hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj[ubj5)}(htargeth]htarget}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'[ubj)}(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 \ubj+)}(hcharh]hchar}(hj,\hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj \ubj)}(h h]h }(hj:\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj \ubjX)}(hj[h]h*}(hjH\hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj \ubj5)}(hnameh]hname}(hjU\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj \ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'[ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjZhhhj[hKTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjZhhhj[hKTubah}(h]jZah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj[hKThjZhhubjc)}(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.chKThj|\hhubah}(h]h ]h"]h$]h&]uh1jbhjZhhhj[hKTubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhj1hNhNubj)}(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.chKXhj\ubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(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)}(hj2]h]hconst char *name}(hj4]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0]ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKXhj,]ubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hjK]hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKWhjH]ubah}(h]h ]h"]h$]h&]uh1jhj,]ubeh}(h]h ]h"]h$]h&]uh1jhjG]hKXhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%sysfs_create_link_nowarn (C function)c.sysfs_create_link_nowarnhNtauh1hhj1hhhNhNubh)}(hhh](j)}(h]int sysfs_create_link_nowarn (struct kobject *kobj, struct kobject *target, const char *name)h]j)}(h\int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, const char *name)h](j+)}(hinth]hint}(hj]hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj]hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKaubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]hhhj]hKaubj/)}(hsysfs_create_link_nowarnh]j5)}(hsysfs_create_link_nowarnh]hsysfs_create_link_nowarn}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj]hhhj]hKaubj)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(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_link_nowarnasbuh1hhj]ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubjX)}(hj[h]h*}(hj^hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj]ubj5)}(hkobjh]hkobj}(hj"^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubj)}(hstruct kobject *targeth](j )}(hjzh]hstruct}(hj;^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7^ubj)}(h h]h }(hjH^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7^ubh)}(hhh]j5)}(hkobjecth]hkobject}(hjY^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjV^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[^modnameN classnameNjj)}j]j^c.sysfs_create_link_nowarnasbuh1hhj7^ubj)}(h h]h }(hjw^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7^ubjX)}(hj[h]h*}(hj^hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj7^ubj5)}(htargeth]htarget}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubj)}(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^ubj+)}(hcharh]hchar}(hj^hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubjX)}(hj[h]h*}(hj^hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj^ubj5)}(hnameh]hname}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj]hhhj]hKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj]hhhj]hKaubah}(h]j]ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj]hKahj]hhubjc)}(hhh]h)}(h#create symlink between two objects.h]h#create symlink between two objects.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKahj_hhubah}(h]h ]h"]h$]h&]uh1jbhj]hhhj]hKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1_jj1_jjjuh1hhhhj1hNhNubj)}(hX+**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. This function does the same as sysfs_create_link(), but it doesn't warn if the link already exists.h](h)}(h**Parameters**h]j)}(hj;_h]h Parameters}(hj=_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9_ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKehj5_ubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hjZ_h]hstruct kobject *kobj}(hj\_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX_ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKbhjT_ubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hjs_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjo_hKbhjp_ubah}(h]h ]h"]h$]h&]uh1jhjT_ubeh}(h]h ]h"]h$]h&]uh1jhjo_hKbhjQ_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.chKchj_ubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hKchj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hKchjQ_ubj)}(h``const char *name`` name of the symlink. This function does the same as sysfs_create_link(), but it doesn't warn if the link already exists.h](j)}(h``const char *name``h]j)}(hj_h]hconst char *name}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKfhj_ubj)}(hhh](h)}(hname of the symlink.h]hname of the symlink.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKdhj_ubh)}(hcThis function does the same as sysfs_create_link(), but it doesn't warn if the link already exists.h]heThis function does the same as sysfs_create_link(), but it doesn’t warn if the link already exists.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hKfhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hKfhjQ_ubeh}(h]h ]h"]h$]h&]uh1jhj5_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_remove_link (C function)c.sysfs_remove_linkhNtauh1hhj1hhhNhNubh)}(hhh](j)}(h?void sysfs_remove_link (struct kobject *kobj, const char *name)h]j)}(h>void sysfs_remove_link(struct kobject *kobj, const char *name)h](j+)}(hvoidh]hvoid}(hj4`hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj0`hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKubj)}(h h]h }(hjC`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0`hhhjB`hKubj/)}(hsysfs_remove_linkh]j5)}(hsysfs_remove_linkh]hsysfs_remove_link}(hjU`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQ`ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj0`hhhjB`hKubj)}(h((struct kobject *kobj, const char *name)h](j)}(hstruct kobject *kobjh](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)}(hkobjecth]hkobject}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj)}j]j)}jjW`sbc.sysfs_remove_linkasbuh1hhjm`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjm`ubjX)}(hj[h]h*}(hj`hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjm`ubj5)}(hkobjh]hkobj}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjm`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhji`ubj)}(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`ubj+)}(hcharh]hchar}(hj`hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj`ubj)}(h h]h }(hj ahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubjX)}(hj[h]h*}(hjahhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj`ubj5)}(hnameh]hname}(hj'ahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhji`ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj0`hhhjB`hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj,`hhhjB`hKubah}(h]j'`ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjB`hKhj)`hhubjc)}(hhh]h)}(h%remove symlink in object's directory.h]h'remove symlink in object’s directory.}(hjQahhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjNahhubah}(h]h ]h"]h$]h&]uh1jbhj)`hhhjB`hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjiajjiajjjuh1hhhhj1hNhNubj)}(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)}(hjsah]h Parameters}(hjuahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqaubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjmaubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjah]hstruct kobject *kobj}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjaubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahKhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahKhjaubj)}(h3``const char *name`` name of the symlink to remove.h](j)}(h``const char *name``h]j)}(hjah]hconst char *name}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjaubj)}(hhh]h)}(hname of the symlink to remove.h]hname of the symlink to remove.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahKhjaubeh}(h]h ]h"]h$]h&]uh1jhjmaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sysfs_rename_link_ns (C function)c.sysfs_rename_link_nshNtauh1hhj1hhhNhNubh)}(hhh](j)}(h{int sysfs_rename_link_ns (struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const void *new_ns)h]j)}(hzint sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const void *new_ns)h](j+)}(hinth]hint}(hj%bhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj!bhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKubj)}(h h]h }(hj4bhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!bhhhj3bhKubj/)}(hsysfs_rename_link_nsh]j5)}(hsysfs_rename_link_nsh]hsysfs_rename_link_ns}(hjFbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBbubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!bhhhj3bhKubj)}(hb(struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const void *new_ns)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjbbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^bubj)}(h h]h }(hjobhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^bubh)}(hhh]j5)}(hkobjecth]hkobject}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]j)}jjHbsbc.sysfs_rename_link_nsasbuh1hhj^bubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^bubjX)}(hj[h]h*}(hjbhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj^bubj5)}(hkobjh]hkobj}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^bubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZbubj)}(hstruct kobject *targh](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(hkobjecth]hkobject}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]jbc.sysfs_rename_link_nsasbuh1hhjbubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubjX)}(hj[h]h*}(hjchhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjbubj5)}(htargh]htarg}(hj+chhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZbubj)}(hconst char *oldh](j )}(hjh]hconst}(hjDchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@cubj)}(h h]h }(hjQchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@cubj+)}(hcharh]hchar}(hj_chhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj@cubj)}(h h]h }(hjmchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@cubjX)}(hj[h]h*}(hj{chhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj@cubj5)}(holdh]hold}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@cubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZbubj)}(hconst char *newh](j )}(hjh]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj+)}(hcharh]hchar}(hjchhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubjX)}(hj[h]h*}(hjchhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjcubj5)}(hnewh]hnew}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZbubj)}(hconst void *new_nsh](j )}(hjh]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hj dhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj+)}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjcubj)}(h h]h }(hj'dhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubjX)}(hj[h]h*}(hj5dhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjcubj5)}(hnew_nsh]hnew_ns}(hjBdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZbubeh}(h]h ]h"]h$]h&]jLjMuh1jhj!bhhhj3bhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjbhhhj3bhKubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj3bhKhjbhhubjc)}(hhh]h)}(h%rename symlink in object's directory.h]h'rename symlink in object’s directory.}(hjldhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjidhhubah}(h]h ]h"]h$]h&]uh1jbhjbhhhj3bhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhj1hNhNubj)}(hXP**Parameters** ``struct kobject *kobj`` object we're acting for. ``struct kobject *targ`` object we're pointing to. ``const char *old`` previous name of the symlink. ``const char *new`` new name of the symlink. ``const void *new_ns`` new namespace of the symlink. A helper function for the common rename symlink idiom.h](h)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjdubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjdh]hstruct kobject *kobj}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjdubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhKhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjdubj)}(h3``struct kobject *targ`` object we're pointing to. h](j)}(h``struct kobject *targ``h]j)}(hjdh]hstruct kobject *targ}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjdubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhKhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjdubj)}(h2``const char *old`` previous name of the symlink. h](j)}(h``const char *old``h]j)}(hjeh]hconst char *old}(hj!ehhhNhNubah}(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)}(hprevious name of the symlink.h]hprevious name of the symlink.}(hj8ehhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4ehKhj5eubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhj4ehKhjdubj)}(h-``const char *new`` new name of the symlink. h](j)}(h``const char *new``h]j)}(hjXeh]hconst char *new}(hjZehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVeubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjReubj)}(hhh]h)}(hnew name of the symlink.h]hnew name of the symlink.}(hjqehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmehKhjneubah}(h]h ]h"]h$]h&]uh1jhjReubeh}(h]h ]h"]h$]h&]uh1jhjmehKhjdubj)}(hl``const void *new_ns`` new namespace of the symlink. A helper function for the common rename symlink idiom.h](j)}(h``const void *new_ns``h]j)}(hjeh]hconst void *new_ns}(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)}(hnew namespace of the symlink.h]hnew namespace of the symlink.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjeubh)}(h6A helper function for the common rename symlink idiom.h]h6A helper function for the common rename symlink idiom.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjeubeh}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehKhjdubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj1hhhNhNubeh}(h]+the-filesystem-for-exporting-kernel-objectsah ]h"]+the filesystem for exporting kernel objectsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hThe debugfs filesystemh]hThe debugfs filesystem}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehhhhhKubh)}(hhh](h)}(hdebugfs interfaceh]hdebugfs interface}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_lookup (C function)c.debugfs_lookuphNtauh1hhjehhhNhNubh)}(hhh](j)}(hHstruct dentry * debugfs_lookup (const char *name, struct dentry *parent)h]j)}(hFstruct dentry *debugfs_lookup(const char *name, struct dentry *parent)h](j )}(hjzh]hstruct}(hj$fhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj fhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMHubj)}(h h]h }(hj2fhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj fhhhj1fhMHubh)}(hhh]j5)}(hdentryh]hdentry}(hjCfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@fubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEfmodnameN classnameNjj)}j]j)}jdebugfs_lookupsbc.debugfs_lookupasbuh1hhj fhhhj1fhMHubj)}(h h]h }(hjdfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj fhhhj1fhMHubjX)}(hj[h]h*}(hjrfhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj fhhhj1fhMHubj/)}(hdebugfs_lookuph]j5)}(hjafh]hdebugfs_lookup}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj fhhhj1fhMHubj)}(h)(const char *name, struct dentry *parent)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj+)}(hcharh]hchar}(hjfhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubjX)}(hj[h]h*}(hjfhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjfubj5)}(hnameh]hname}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubh)}(hhh]j5)}(hdentryh]hdentry}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j_fc.debugfs_lookupasbuh1hhjfubj)}(h h]h }(hj7ghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubjX)}(hj[h]h*}(hjEghhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjfubj5)}(hparenth]hparent}(hjRghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubeh}(h]h ]h"]h$]h&]jLjMuh1jhj fhhhj1fhMHubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjfhhhj1fhMHubah}(h]jfah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1fhMHhjfhhubjc)}(hhh]h)}(h look up an existing debugfs fileh]h look up an existing debugfs file}(hj|ghhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMHhjyghhubah}(h]h ]h"]h$]h&]uh1jbhjfhhhj1fhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgjjgjjjuh1hhhhjehNhNubj)}(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)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMLhjgubj)}(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)}(hjgh]hconst char *name}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMIhjgubj)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMIhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMIhjgubj)}(hF``struct dentry *parent`` a pointer to the parent dentry of the file. h](j)}(h``struct dentry *parent``h]j)}(hjgh]hstruct dentry *parent}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMJhjgubj)}(hhh]h)}(h+a pointer to the parent dentry of the file.h]h+a pointer to the parent dentry of the file.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhMJhj hubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhj hhMJhjgubeh}(h]h ]h"]h$]h&]uh1jhjgubh)}(h**Description**h]j)}(hj1hh]h Description}(hj3hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/hubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMLhjgubh)}(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, }(hjGhhhhNhNubj)}(h``NULL``h]hNULL}(hjOhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGhubh] will be returned. The returned dentry must be passed to dput() when it is no longer needed.}(hjGhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMLhjgubh)}(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 -}(hjhhhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjphhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhhubh will be returned.}(hjhhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMPhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_create_file_unsafe (C function)c.debugfs_create_file_unsafehNtauh1hhjehhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhhjhhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]j)}jdebugfs_create_file_unsafesbc.debugfs_create_file_unsafeasbuh1hhjhhhhjhhMubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhhjhhMubjX)}(hj[h]h*}(hjhhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhhjhhMubj/)}(hdebugfs_create_file_unsafeh]j5)}(hjhh]hdebugfs_create_file_unsafe}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhhjhhMubj)}(hg(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hj#ihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hj0ihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj+)}(hcharh]hchar}(hj>ihhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjiubj)}(h h]h }(hjLihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubjX)}(hj[h]h*}(hjZihhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjiubj5)}(hnameh]hname}(hjgihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]jhc.debugfs_create_file_unsafeasbuh1hhj|iubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|iubj5)}(hmodeh]hmode}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|iubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(hstruct dentry *parenth](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]jhc.debugfs_create_file_unsafeasbuh1hhjiubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubjX)}(hj[h]h*}(hjjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjiubj5)}(hparenth]hparent}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h void *datah](j+)}(hvoidh]hvoid}(hj8jhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj4jubj)}(h h]h }(hjFjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4jubjX)}(hj[h]h*}(hjTjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj4jubj5)}(hdatah]hdata}(hjajhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4jubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjzjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvjubj )}(hjzh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvjubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]jhc.debugfs_create_file_unsafeasbuh1hhjvjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvjubjX)}(hj[h]h*}(hjjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjvjubj5)}(hfopsh]hfops}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhhjhhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhhjhhMubah}(h]jhah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhhMhjhhhubjc)}(hhh]h)}(h'create a file in the debugfs filesystemh]h'create a file in the debugfs filesystem}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhhjhhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.kjj.kjjjuh1hhhhjehNhNubj)}(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)}(hj8kh]h Parameters}(hj:khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6kubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj2kubj)}(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)}(hjWkh]hconst char *name}(hjYkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUkubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjQkubj)}(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.}(hjpkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlkhMhjmkubah}(h]h ]h"]h$]h&]uh1jhjQkubeh}(h]h ]h"]h$]h&]uh1jhjlkhMhjNkubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hjkh]h umode_t mode}(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.chMhjkubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjNkubj)}(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)}(hjkh]hstruct dentry *parent}(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.chMhjkubj)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjNkubj)}(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)}(hjlh]h void *data}(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.chMhjkubj)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNkubj)}(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=lh]h"const struct file_operations *fops}(hj?lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;lubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj7lubj)}(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.}(hjVlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjSlubah}(h]h ]h"]h$]h&]uh1jhj7lubeh}(h]h ]h"]h$]h&]uh1jhjRlhMhjNkubeh}(h]h ]h"]h$]h&]uh1jhj2kubh)}(h**Description**h]j)}(hjylh]h Description}(hj{lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwlubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj2kubh)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj2kubh)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj2kubh)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj2kubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_file_size (C function)c.debugfs_create_file_sizehNtauh1hhjehhhNhNubh)}(hhh](j)}(hvoid debugfs_create_file_size (const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, loff_t file_size)h]j)}(hvoid debugfs_create_file_size(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, loff_t file_size)h](j+)}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]j7ah"]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&]uh1jhjlhhhjlhMubj/)}(hdebugfs_create_file_sizeh]j5)}(hdebugfs_create_file_sizeh]hdebugfs_create_file_size}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjlhhhjlhMubj)}(hy(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, loff_t file_size)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hj&mhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj+)}(hcharh]hchar}(hj4mhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjmubj)}(h h]h }(hjBmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubjX)}(hj[h]h*}(hjPmhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjmubj5)}(hnameh]hname}(hj]mhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjymhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{mmodnameN classnameNjj)}j]j)}jjlsbc.debugfs_create_file_sizeasbuh1hhjrmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrmubj5)}(hmodeh]hmode}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmubj)}(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}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j]jmc.debugfs_create_file_sizeasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubjX)}(hj[h]h*}(hj nhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjmubj5)}(hparenth]hparent}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmubj)}(h void *datah](j+)}(hvoidh]hvoid}(hj0nhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj,nubj)}(h h]h }(hj>nhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,nubjX)}(hj[h]h*}(hjLnhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj,nubj5)}(hdatah]hdata}(hjYnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,nubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmubj)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjrnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnnubj )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnnubh)}(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_sizeasbuh1hhjnnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnnubjX)}(hj[h]h*}(hjnhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjnnubj5)}(hfopsh]hfops}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmubj)}(hloff_t file_sizeh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]jmc.debugfs_create_file_sizeasbuh1hhjnubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj5)}(h file_sizeh]h file_size}(hj,ohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmubeh}(h]h ]h"]h$]h&]jLjMuh1jhjlhhhjlhMubeh}(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}(hjVohhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjSohhubah}(h]h ]h"]h$]h&]uh1jbhjlhhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnojjnojjjuh1hhhhjehNhNubj)}(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)}(hjxoh]h Parameters}(hjzohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvoubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjroubj)}(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}(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@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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMhjoubj)}(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&]uh1jhjohMhjoubj)}(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 ph]hstruct dentry *parent}(hj phhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem.h]ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem.}(hj"phhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjoubj)}(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)}(hjCph]h void *data}(hjEphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjApubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj=pubj)}(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.chMhjYpubah}(h]h ]h"]h$]h&]uh1jhj=pubeh}(h]h ]h"]h$]h&]uh1jhjXphMhjoubj)}(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}(hjphhhNhNubah}(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.chMhjwpubj)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubah}(h]h ]h"]h$]h&]uh1jhjwpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjoubj)}(h'``loff_t file_size`` initial file size h](j)}(h``loff_t file_size``h]j)}(hjph]hloff_t file_size}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubj)}(hhh]h)}(hinitial file sizeh]hinitial file size}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjoubeh}(h]h ]h"]h$]h&]uh1jhjroubh)}(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.chMhjroubh)}(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.)}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjroubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_dir (C function)c.debugfs_create_dirhNtauh1hhjehhhNhNubh)}(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}(hj7qhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3qhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM1ubj)}(h h]h }(hjEqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3qhhhjDqhM1ubh)}(hhh]j5)}(hdentryh]hdentry}(hjVqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXqmodnameN classnameNjj)}j]j)}jdebugfs_create_dirsbc.debugfs_create_dirasbuh1hhj3qhhhjDqhM1ubj)}(h h]h }(hjwqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3qhhhjDqhM1ubjX)}(hj[h]h*}(hjqhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj3qhhhjDqhM1ubj/)}(hdebugfs_create_dirh]j5)}(hjtqh]hdebugfs_create_dir}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj3qhhhjDqhM1ubj)}(h)(const char *name, struct dentry *parent)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj+)}(hcharh]hchar}(hjqhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubjX)}(hj[h]h*}(hjqhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjqubj5)}(hnameh]hname}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj rubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj rubh)}(hhh]j5)}(hdentryh]hdentry}(hj,rhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)rubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.rmodnameN classnameNjj)}j]jrqc.debugfs_create_dirasbuh1hhj rubj)}(h h]h }(hjJrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj rubjX)}(hj[h]h*}(hjXrhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj rubj5)}(hparenth]hparent}(hjerhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj rubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubeh}(h]h ]h"]h$]h&]jLjMuh1jhj3qhhhjDqhM1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj/qhhhjDqhM1ubah}(h]j*qah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjDqhM1hj,qhhubjc)}(hhh]h)}(h,create a directory in the debugfs filesystemh]h,create a directory in the debugfs filesystem}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM1hjrhhubah}(h]h ]h"]h$]h&]uh1jbhj,qhhhjDqhM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhjehNhNubj)}(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)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM5hjrubj)}(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)}(hjrh]hconst char *name}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM3hjrubj)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM2hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM3hjrubj)}(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 sh]hstruct dentry *parent}(hj shhhNhNubah}(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.chM6hjsubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem.h]ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem.}(hj#shhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM4hj subah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshM6hjrubeh}(h]h ]h"]h$]h&]uh1jhjrubh)}(h**Description**h]j)}(hjFsh]h Description}(hjHshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDsubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM8hjrubh)}(hAThis function creates a directory in debugfs with the given name.h]hAThis function creates a directory in debugfs with the given name.}(hj\shhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM8hjrubh)}(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.}(hjkshhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM:hjrubh)}(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 -}(hjzshhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzsubh will be returned.}(hjzshhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM@hjrubh)}(h**NOTE**h]j)}(hjsh]hNOTE}(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.chMChjrubh)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMChjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_automount (C function)c.debugfs_create_automounthNtauh1hhjehhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMjubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjshMjubh)}(hhh]j5)}(hdentryh]hdentry}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]j)}jdebugfs_create_automountsbc.debugfs_create_automountasbuh1hhjshhhjshMjubj)}(h h]h }(hj"thhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjshMjubjX)}(hj[h]h*}(hj0thhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjshhhjshMjubj/)}(hdebugfs_create_automounth]j5)}(hjth]hdebugfs_create_automount}(hjAthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=tubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjshhhjshMjubj)}(hL(const char *name, struct dentry *parent, debugfs_automount_t f, void *data)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hj\thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXtubj)}(h h]h }(hjithhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXtubj+)}(hcharh]hchar}(hjwthhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjXtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXtubjX)}(hj[h]h*}(hjthhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjXtubj5)}(hnameh]hname}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTtubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubh)}(hhh]j5)}(hdentryh]hdentry}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]jtc.debugfs_create_automountasbuh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubjX)}(hj[h]h*}(hjuhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjtubj5)}(hparenth]hparent}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTtubj)}(hdebugfs_automount_t fh](h)}(hhh]j5)}(hdebugfs_automount_th]hdebugfs_automount_t}(hj,uhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.umodnameN classnameNjj)}j]jtc.debugfs_create_automountasbuh1hhj%uubj)}(h h]h }(hjJuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%uubj5)}(hj h]hf}(hjXuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%uubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTtubj)}(h void *datah](j+)}(hvoidh]hvoid}(hjpuhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjluubj)}(h h]h }(hj~uhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjluubjX)}(hj[h]h*}(hjuhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjluubj5)}(hdatah]hdata}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjluubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTtubeh}(h]h ]h"]h$]h&]jLjMuh1jhjshhhjshMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjshMjubah}(h]jsah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjshMjhjshhubjc)}(hhh]h)}(h0create automount point in the debugfs filesystemh]h0create automount point in the debugfs filesystem}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMjhjuhhubah}(h]h ]h"]h$]h&]uh1jbhjshhhjshMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhjehNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. ``debugfs_automount_t f`` function to be called when pathname resolution steps on that one. ``void *data`` opaque argument to pass to f(). **Description** **f** should return what ->d_automount() would.h](h)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMnhjuubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjvh]hconst char *name}(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.chMkhjuubj)}(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&]uh1hhjvhMkhjvubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjvhMkhjuubj)}(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=vh]hstruct dentry *parent}(hj?vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;vubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMnhj7vubj)}(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.}(hjVvhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMlhjSvubah}(h]h ]h"]h$]h&]uh1jhj7vubeh}(h]h ]h"]h$]h&]uh1jhjRvhMnhjuubj)}(h\``debugfs_automount_t f`` function to be called when pathname resolution steps on that one. h](j)}(h``debugfs_automount_t f``h]j)}(hjwvh]hdebugfs_automount_t f}(hjyvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuvubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMohjqvubj)}(hhh]h)}(hAfunction to be called when pathname resolution steps on that one.h]hAfunction to be called when pathname resolution steps on that one.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMohjvubah}(h]h ]h"]h$]h&]uh1jhjqvubeh}(h]h ]h"]h$]h&]uh1jhjvhMohjuubj)}(h/``void *data`` opaque argument to pass to f(). h](j)}(h``void *data``h]j)}(hjvh]h void *data}(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.chMphjvubj)}(hhh]h)}(hopaque argument to pass to f().h]hopaque argument to pass to f().}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMphjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMphjuubeh}(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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMrhjuubh)}(h/**f** should return what ->d_automount() would.h](j)}(h**f**h]hf}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh* should return what ->d_automount() would.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMrhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#debugfs_create_symlink (C function)c.debugfs_create_symlinkhNtauh1hhjehhhNhNubh)}(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>whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:whhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMubj)}(h h]h }(hjLwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:whhhjKwhMubh)}(hhh]j5)}(hdentryh]hdentry}(hj]whhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_wmodnameN classnameNjj)}j]j)}jdebugfs_create_symlinksbc.debugfs_create_symlinkasbuh1hhj:whhhjKwhMubj)}(h h]h }(hj~whhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:whhhjKwhMubjX)}(hj[h]h*}(hjwhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:whhhjKwhMubj/)}(hdebugfs_create_symlinkh]j5)}(hj{wh]hdebugfs_create_symlink}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj:whhhjKwhMubj)}(h=(const char *name, struct dentry *parent, const char *target)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj+)}(hcharh]hchar}(hjwhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubjX)}(hj[h]h*}(hjwhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjwubj5)}(hnameh]hname}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hj"xhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hdentryh]hdentry}(hj3xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5xmodnameN classnameNjj)}j]jywc.debugfs_create_symlinkasbuh1hhjxubj)}(h h]h }(hjQxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubjX)}(hj[h]h*}(hj_xhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjxubj5)}(hparenth]hparent}(hjlxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(hconst char *targeth](j )}(hjh]hconst}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj+)}(hcharh]hchar}(hjxhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubjX)}(hj[h]h*}(hjxhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjxubj5)}(htargeth]htarget}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubeh}(h]h ]h"]h$]h&]jLjMuh1jhj:whhhjKwhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj6whhhjKwhMubah}(h]j1wah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKwhMhj3whhubjc)}(hhh]h)}(h0create a symbolic link in the debugfs filesystemh]h0create a symbolic link in the debugfs filesystem}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjxhhubah}(h]h ]h"]h$]h&]uh1jbhj3whhhjKwhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj yjj yjjjuh1hhhhjehNhNubj)}(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)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjyubj)}(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)}(hj4yh]hconst char *name}(hj6yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2yubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj.yubj)}(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.}(hjMyhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjJyubah}(h]h ]h"]h$]h&]uh1jhj.yubeh}(h]h ]h"]h$]h&]uh1jhjIyhMhj+yubj)}(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)}(hjnyh]hstruct dentry *parent}(hjpyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlyubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjhyubj)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjyubah}(h]h ]h"]h$]h&]uh1jhjhyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj+yubj)}(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)}(hjyh]hconst char *target}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjyubj)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj+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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjyubh)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjyubh)}(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 zhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjyubh)}(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 -}(hjzhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hj zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh will be returned.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_remove (C function)c.debugfs_removehNtauh1hhjehhhNhNubh)}(hhh](j)}(h+void debugfs_remove (struct dentry *dentry)h]j)}(h*void debugfs_remove(struct dentry *dentry)h](j+)}(hvoidh]hvoid}(hjYzhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjUzhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMubj)}(h h]h }(hjhzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUzhhhjgzhMubj/)}(hdebugfs_removeh]j5)}(hdebugfs_removeh]hdebugfs_remove}(hjzzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvzubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjUzhhhjgzhMubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubh)}(hhh]j5)}(hdentryh]hdentry}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j]j)}jj|zsbc.debugfs_removeasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubjX)}(hj[h]h*}(hjzhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjzubj5)}(hdentryh]hdentry}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubah}(h]h ]h"]h$]h&]jLjMuh1jhjUzhhhjgzhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjQzhhhjgzhMubah}(h]jLzah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjgzhMhjNzhhubjc)}(hhh]h)}(hrecursively removes a directoryh]hrecursively removes a directory}(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&]uh1jbhjNzhhhjgzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1{jj1{jjjuh1hhhhjehNhNubj)}(hX**Parameters** ``struct dentry *dentry`` a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done. **Description** This function recursively removes a directory tree in debugfs that was previously created with a call to another debugfs function (like debugfs_create_file() or variants thereof.) This function is required to be called in order for the file to be removed, no automatic cleanup of files will happen when a module is removed, you are responsible here.h](h)}(h**Parameters**h]j)}(hj;{h]h Parameters}(hj={hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9{ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj5{ubj)}(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)}(hjZ{h]hstruct dentry *dentry}(hj\{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjT{ubj)}(hhh]h)}(h}a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done.h]h}a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done.}(hjs{hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjp{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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj5{ubh)}(hThis function recursively removes a directory tree in debugfs that was previously created with a call to another debugfs function (like debugfs_create_file() or variants thereof.)h]hThis function recursively removes a directory tree in debugfs that was previously created with a call to another debugfs function (like debugfs_create_file() or variants thereof.)}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj5{ubh)}(hThis function is required to be called in order for the file to be removed, no automatic cleanup of files will happen when a module is removed, you are responsible here.h]hThis function is required to be called in order for the file to be removed, no automatic cleanup of files will happen when a module is removed, you are responsible here.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj5{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&debugfs_lookup_and_remove (C function)c.debugfs_lookup_and_removehNtauh1hhjehhhNhNubh)}(hhh](j)}(hHvoid debugfs_lookup_and_remove (const char *name, struct dentry *parent)h]j)}(hGvoid debugfs_lookup_and_remove(const char *name, struct dentry *parent)h](j+)}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj{hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM+ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{hhhj{hM+ubj/)}(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.hj{hhhj{hM+ubj)}(h)(const char *name, struct dentry *parent)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hj'|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#|ubj)}(h h]h }(hj4|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#|ubj+)}(hcharh]hchar}(hjB|hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj#|ubj)}(h h]h }(hjP|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#|ubjX)}(hj[h]h*}(hj^|hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj#|ubj5)}(hnameh]hname}(hjk|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubh)}(hhh]j5)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j)}jj |sbc.debugfs_lookup_and_removeasbuh1hhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubjX)}(hj[h]h*}(hj|hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj|ubj5)}(hparenth]hparent}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj{hhhj{hM+ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj{hhhj{hM+ubah}(h]j{ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{hM+hj{hhubjc)}(hhh]h)}(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.chM+hj}hhubah}(h]h ]h"]h$]h&]uh1jbhj{hhhj{hM+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhjehNhNubj)}(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)}(hj)}h]h Parameters}(hj+}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'}ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM/hj#}ubj)}(hhh](j)}(hW``const char *name`` a pointer to a string containing the name of the item to look up. h](j)}(h``const char *name``h]j)}(hjH}h]hconst char *name}(hjJ}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF}ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM,hjB}ubj)}(hhh]h)}(hAa pointer to a string containing the name of the item to look up.h]hAa pointer to a string containing the name of the item to look up.}(hja}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]}hM,hj^}ubah}(h]h ]h"]h$]h&]uh1jhjB}ubeh}(h]h ]h"]h$]h&]uh1jhj]}hM,hj?}ubj)}(hF``struct dentry *parent`` a pointer to the parent dentry of the item. h](j)}(h``struct dentry *parent``h]j)}(hj}h]hstruct dentry *parent}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM-hj{}ubj)}(hhh]h)}(h+a pointer to the parent dentry of the item.h]h+a pointer to the parent dentry of the item.}(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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM/hj#}ubh)}(hThis is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.h]hThis is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM/hj#}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_change_name (C function)c.debugfs_change_namehNtauh1hhjehhhNhNubh)}(hhh](j)}(hEint debugfs_change_name (struct dentry *dentry, const char *fmt, ...)h]j)}(hDint debugfs_change_name(struct dentry *dentry, const char *fmt, ...)h](j+)}(hinth]hint}(hj~hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj}hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMAubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}hhhj~hMAubj/)}(hdebugfs_change_nameh]j5)}(hdebugfs_change_nameh]hdebugfs_change_name}(hj"~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj}hhhj~hMAubj)}(h-(struct dentry *dentry, const char *fmt, ...)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj>~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:~ubj)}(h h]h }(hjK~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:~ubh)}(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)}jj$~sbc.debugfs_change_nameasbuh1hhj:~ubj)}(h h]h }(hj|~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:~ubjX)}(hj[h]h*}(hj~hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:~ubj5)}(hdentryh]hdentry}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6~ubj)}(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~ubj+)}(hcharh]hchar}(hj~hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubjX)}(hj[h]h*}(hj~hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj~ubj5)}(hfmth]hfmt}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6~ubj)}(h...h]jX)}(hjQh]h...}(hj hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj ubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6~ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj}hhhj~hMAubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj}hhhj~hMAubah}(h]j}ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~hMAhj}hhubjc)}(hhh]h)}(h1rename a file/directory in the debugfs filesystemh]h1rename a file/directory in the debugfs filesystem}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMAhj3hhubah}(h]h ]h"]h$]h&]uh1jbhj}hhhj~hMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjehNhNubj)}(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)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMEhjRubj)}(hhh](j)}(h=``struct dentry *dentry`` dentry of an object to be renamed. h](j)}(h``struct dentry *dentry``h]j)}(hjwh]hstruct dentry *dentry}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMBhjqubj)}(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&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjnubj)}(h(``const char *fmt`` format for new name h](j)}(h``const char *fmt``h]j)}(hjh]hconst char *fmt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMChjubj)}(hhh]h)}(hformat for new nameh]hformat for new name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjnubj)}(h``...`` variable arguments h](j)}(h``...``h]j)}(hjh]h...}(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.chKhjubj)}(hhh]h)}(hvariable argumentsh]hvariable arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubh)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chKhjRubh)}(hdThis function renames a file/directory in debugfs. The target must not exist for rename to succeed.h]hdThis function renames a file/directory in debugfs. The target must not exist for rename to succeed.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMEhjRubh)}(hubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj:ubj)}(hhh]h)}(h no argumentsh]h no arguments}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chKhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_file_get (C function)c.debugfs_file_gethNtauh1hhjehhhNhNubh)}(hhh](j)}(h,int debugfs_file_get (struct dentry *dentry)h]j)}(h+int debugfs_file_get(struct dentry *dentry)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hdebugfs_file_geth]j5)}(hdebugfs_file_geth]hdebugfs_file_get}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjׁhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjӁubj)}(h h]h }(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)}jjsbc.debugfs_file_getasbuh1hhjӁubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjӁubjX)}(hj[h]h*}(hj#hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjӁubj5)}(hdentryh]hdentry}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjӁubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjρubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h&mark the beginning of file data accessh]h&mark the beginning of file data access}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjWhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhjehNhNubj)}(hX**Parameters** ``struct dentry *dentry`` the dentry object whose data is being accessed. **Description** Up to a matching call to debugfs_file_put(), any successive call into the file removing functions debugfs_remove() and debugfs_remove_recursive() will block. Since associated private file data may only get freed after a successful return of any of the removal functions, you may safely access it after a successful call to debugfs_file_get() without worrying about lifetime issues. If -``EIO`` is returned, the file has already been removed and thus, it is not safe to access any of its data. If, on the other hand, it is allowed to access the file data, zero is returned.h](h)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjvubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjvubh)}(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.chKhjvubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjvubh)}(hIf -``EIO`` is returned, the file has already been removed and thus, it is not safe to access any of its data. If, on the other hand, it is allowed to access the file data, zero is returned.h](hIf -}(hjhhhNhNubj)}(h``EIO``h]hEIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is returned, the file has already been removed and thus, it is not safe to access any of its data. If, on the other hand, it is allowed to access the file data, zero is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_file_put (C function)c.debugfs_file_puthNtauh1hhjehhhNhNubh)}(hhh](j)}(h-void debugfs_file_put (struct dentry *dentry)h]j)}(h,void debugfs_file_put(struct dentry *dentry)h](j+)}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj8hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhjJhKubj/)}(hdebugfs_file_puth]j5)}(hdebugfs_file_puth]hdebugfs_file_put}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8hhhjJhKubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj_sbc.debugfs_file_putasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubjX)}(hj[h]h*}(hjŃhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjuubj5)}(hdentryh]hdentry}(hj҃hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubah}(h]h ]h"]h$]h&]jLjMuh1jhj8hhhjJhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj4hhhjJhKubah}(h]j/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJhKhj1hhubjc)}(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&]uh1jbhj1hhhjJhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX"**Parameters** ``struct dentry *dentry`` the dentry object formerly passed to debugfs_file_get(). **Description** Allow any ongoing concurrent call into debugfs_remove() or debugfs_remove_recursive() blocked by a former call to debugfs_file_get() to proceed and return to its caller.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubj)}(hhh]j)}(hS``struct dentry *dentry`` the dentry object formerly passed to debugfs_file_get(). h](j)}(h``struct dentry *dentry``h]j)}(hj=h]hstruct dentry *dentry}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj7ubj)}(hhh]h)}(h8the dentry object formerly passed to debugfs_file_get().h]h8the dentry object formerly passed to debugfs_file_get().}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKhj4ubah}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubh)}(hAllow any ongoing concurrent call into debugfs_remove() or debugfs_remove_recursive() blocked by a former call to debugfs_file_get() to proceed and return to its caller.h]hAllow any ongoing concurrent call into debugfs_remove() or debugfs_remove_recursive() blocked by a former call to debugfs_file_get() to proceed and return to its caller.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_enter_cancellation (C function)c.debugfs_enter_cancellationhNtauh1hhjehhhNhNubh)}(hhh](j)}(h^void debugfs_enter_cancellation (struct file *file, struct debugfs_cancellation *cancellation)h]j)}(h]void debugfs_enter_cancellation(struct file *file, struct debugfs_cancellation *cancellation)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhZ/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&]uh1jhjhhhj̄hKubj/)}(hdebugfs_enter_cancellationh]j5)}(hdebugfs_enter_cancellationh]hdebugfs_enter_cancellation}(hj߄hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjۄubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj̄hKubj)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_enter_cancellationasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjGhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hfileh]hfile}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h)struct debugfs_cancellation *cancellationh](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(hdebugfs_cancellationh]hdebugfs_cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j5c.debugfs_enter_cancellationasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjiubj5)}(h cancellationh]h cancellation}(hjąhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj̄hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj̄hKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj̄hKhjhhubjc)}(hhh]h)}(henter a debugfs cancellationh]henter a debugfs cancellation}(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&]uh1jbhjhhhj̄hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX**Parameters** ``struct file *file`` the file being accessed ``struct debugfs_cancellation *cancellation`` the cancellation object, the cancel callback inside of it must be initialized **Description** When a debugfs file is removed it needs to wait for all active operations to complete. However, the operation itself may need to wait for hardware or completion of some asynchronous process or similar. As such, it may need to be cancelled to avoid long waits or even deadlocks. This function can be used inside a debugfs handler that may need to be cancelled. As soon as this function is called, the cancellation's 'cancel' callback may be called, at which point the caller should proceed to call debugfs_leave_cancellation() and leave the debugfs handler function as soon as possible. Note that the 'cancel' callback is only ever called in the context of some kind of debugfs_remove(). This function must be paired with debugfs_leave_cancellation().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj ubj)}(hhh](j)}(h.``struct file *file`` the file being accessed h](j)}(h``struct file *file``h]j)}(hj/h]hstruct file *file}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj)ubj)}(hhh]h)}(hthe file being accessedh]hthe file being accessed}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhKhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhKhj&ubj)}(h|``struct debugfs_cancellation *cancellation`` the cancellation object, the cancel callback inside of it must be initialized h](j)}(h-``struct debugfs_cancellation *cancellation``h]j)}(hjhh]h)struct debugfs_cancellation *cancellation}(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.chKhjbubj)}(hhh]h)}(hMthe cancellation object, the cancel callback inside of it must be initializedh]hMthe cancellation object, the cancel callback inside of it must be initialized}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hKhj&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&]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.}(hjhhhNhNubah}(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().}(hjɆhhhNhNubah}(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().}(hj؆hhhNhNubah}(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&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_leave_cancellation (C function)c.debugfs_leave_cancellationhNtauh1hhjehhhNhNubh)}(hhh](j)}(h^void debugfs_leave_cancellation (struct file *file, struct debugfs_cancellation *cancellation)h]j)}(h]void debugfs_leave_cancellation(struct file *file, struct debugfs_cancellation *cancellation)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hdebugfs_leave_cancellationh]j5)}(hdebugfs_leave_cancellationh]hdebugfs_leave_cancellation}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubh)}(hhh]j5)}(hfileh]hfile}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j]j)}jj*sbc.debugfs_leave_cancellationasbuh1hhj@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj@ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj<ubj)}(h)struct debugfs_cancellation *cancellationh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjÇhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdebugfs_cancellationh]hdebugfs_cancellation}(hjԇhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjчubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjևmodnameN classnameNjj)}j]j~c.debugfs_leave_cancellationasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(h cancellationh]h cancellation}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj<ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(hleave cancellation sectionh]hleave cancellation section}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj4hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjehNhNubj)}(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)}(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:146: ./fs/debugfs/file.chMhjSubj)}(hhh](j)}(h.``struct file *file`` the file being accessed h](j)}(h``struct file *file``h]j)}(hjxh]hstruct file *file}(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.chKhjrubj)}(hhh]h)}(hthe file being accessedh]hthe file being accessed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhKhjoubj)}(hw``struct debugfs_cancellation *cancellation`` the cancellation previously registered with debugfs_enter_cancellation() h](j)}(h-``struct debugfs_cancellation *cancellation``h]j)}(hjh]h)struct debugfs_cancellation *cancellation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubj)}(hhh]h)}(hHthe cancellation previously registered with debugfs_enter_cancellation()h]hHthe cancellation previously registered with debugfs_enter_cancellation()}(hjʈhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjLjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƈhKhjoubeh}(h]h ]h"]h$]h&]uh1jhjSubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjSubh)}(h6See the documentation of debugfs_enter_cancellation().h]h6See the documentation of debugfs_enter_cancellation().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u8 (C function)c.debugfs_create_u8hNtauh1hhjehhhNhNubh)}(hhh](j)}(hYvoid debugfs_create_u8 (const char *name, umode_t mode, struct dentry *parent, u8 *value)h]j)}(hXvoid debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](j+)}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj.hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM\ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.hhhj@hM\ubj/)}(hdebugfs_create_u8h]j5)}(hdebugfs_create_u8h]hdebugfs_create_u8}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj.hhhj@hM\ubj)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjkubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjωhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̉ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjщmodnameN classnameNjj)}j]j)}jjUsbc.debugfs_create_u8asbuh1hhjȉubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȉubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjȉubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]jc.debugfs_create_u8asbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj`hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hparenth]hparent}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(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_u8asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvalueh]hvalue}(hjŠhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubeh}(h]h ]h"]h$]h&]jLjMuh1jhj.hhhj@hM\ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj*hhhj@hM\ubah}(h]j%ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj@hM\hj'hhubjc)}(hhh]h)}(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.chM\hjhhubah}(h]h ]h"]h$]h&]uh1jbhj'hhhj@hM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u8 *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(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]hj'ubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM]hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM]hj$ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjfh]h umode_t mode}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM^hj`ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM^hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM^hj$ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMahjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahj$ubj)}(hU``u8 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h ``u8 *value``h]j)}(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.chMchjubj)}(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.chMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchj$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.chMehjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hj=hhhNhNubj)}(h **value**h]hvalue}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh . If the }(hj=hhhNhNubj)}(h**mode**h]hmode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh9 variable is so set, it can be read from, and written to.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMehjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u16 (C function)c.debugfs_create_u16hNtauh1hhjehhhNhNubh)}(hhh](j)}(h[void debugfs_create_u16 (const char *name, umode_t mode, struct dentry *parent, u16 *value)h]j)}(hZvoid debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_create_u16h]j5)}(hdebugfs_create_u16h]hdebugfs_create_u16}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](j)}(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Ɍubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjɌubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjɌubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjɌubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɌubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjŌubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_u16asbuh1hhj&ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj5)}(hmodeh]hmode}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjŌubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jIc.debugfs_create_u16asbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjpubj5)}(hparenth]hparent}(hjˍhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjŌubj)}(h u16 *valueh](h)}(hhh]j5)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jIc.debugfs_create_u16asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvalueh]hvalue}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjŌubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjGhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjehNhNubj)}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjfubj)}(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.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َ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}(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)}(hV``u16 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u16 *value``h]j)}(hjIh]h u16 *value}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjCubj)}(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.}(hjbhhhNhNubah}(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&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjubeh}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjfubh)}(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.chMhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u32 (C function)c.debugfs_create_u32hNtauh1hhjehhhNhNubh)}(hhh](j)}(h[void debugfs_create_u32 (const char *name, umode_t mode, struct dentry *parent, u32 *value)h]j)}(hZvoid debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_create_u32h]j5)}(hdebugfs_create_u32h]hdebugfs_create_u32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](j)}(hconst char *nameh](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+)}(hcharh]hchar}(hjFhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj'ubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubjX)}(hj[h]h*}(hjbhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj'ubj5)}(hnameh]hname}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_u32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjҐhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjΐubj)}(h h]h }(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_u32asbuh1hhjΐubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjΐubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjΐubj5)}(hparenth]hparent}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjΐubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(h u32 *valueh](h)}(hhh]j5)}(hu32h]hu32}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]jc.debugfs_create_u32asbuh1hhj>ubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubjX)}(hj[h]h*}(hjqhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj>ubj5)}(hvalueh]hvalue}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 32-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 32-bit value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u32 *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjʑh]h Parameters}(hj̑hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȑubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjđubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(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.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&]uh1hhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjUubj)}(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 }(hjthhhNhNubj)}(h``NULL``h]hNULL}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubhF, then the file will be created in the root of the debugfs filesystem.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(hV``u32 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u32 *value``h]j)}(hjh]h u32 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjđubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u64 (C function)c.debugfs_create_u64hNtauh1hhjehhhNhNubh)}(hhh](j)}(h[void debugfs_create_u64 (const char *name, umode_t mode, struct dentry *parent, u64 *value)h]j)}(hZvoid debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](j+)}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjHhhhZ/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&]uh1jhjHhhhjZhMubj/)}(hdebugfs_create_u64h]j5)}(hdebugfs_create_u64h]hdebugfs_create_u64}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjZhMubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hnameh]hname}(hj͓hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjosbc.debugfs_create_u64asbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj0hhhNhNubah}(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}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]jc.debugfs_create_u64asbuh1hhj,ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubjX)}(hj[h]h*}(hjzhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj,ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h u64 *valueh](h)}(hhh]j5)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_u64asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjϔhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvalueh]hvalue}(hjܔhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjHhhhjZhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDhhhjZhMubah}(h]j?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhMhjAhhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 64-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 64-bit value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjAhhhjZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj"ubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjGh]hconst char *name}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjAubj)}(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&]uh1jhjAubeh}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjzubj)}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjҕhhhNhNubj)}(h``NULL``h]hNULL}(hjڕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҕubhF, then the file will be created in the root of the debugfs filesystem.}(hjҕhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjϕubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΕhMhj>ubj)}(hV``u64 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u64 *value``h]j)}(hjh]h u64 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1jhj"ubh)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.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 }(hjWhhhNhNubj)}(h **value**h]hvalue}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh . If the }(hjWhhhNhNubj)}(h**mode**h]hmode}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh9 variable is so set, it can be read from, and written to.}(hjWhhhNhNubeh}(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&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!debugfs_create_ulong (C function)c.debugfs_create_ulonghNtauh1hhjehhhNhNubh)}(hhh](j)}(hgvoid debugfs_create_ulong (const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h]j)}(hfvoid debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_create_ulongh]j5)}(hdebugfs_create_ulongh]hdebugfs_create_ulong}(hj˖hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjǖubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hM(const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hnameh]hname}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjߖubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j)}jj͖sbc.debugfs_create_ulongasbuh1hhj@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&]noemphjLjMuh1jhjߖubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jcc.debugfs_create_ulongasbuh1hhjubj)}(h h]h }(hjʗhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjؗhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjߖubj)}(hunsigned long *valueh](j+)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj6hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvalueh]hvalue}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjߖubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hLcreate a debugfs file that is used to read and write an unsigned long value.h]hLcreate a debugfs file that is used to read and write an unsigned long value.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``unsigned long *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjǘhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjØhMhjĘubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjØhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj h]hstruct dentry *parent}(hj"hhhNhNubah}(h]h ]h"]h$]h&]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 }(hj9hhhNhNubj)}(h``NULL``h]hNULL}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubhF, then the file will be created in the root of the debugfs filesystem.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(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)}(hjlh]hunsigned long *value}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjfubj)}(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&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hjhhhNhNubj)}(h **value**h]hvalue}(hjƙhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjؙhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 variable is so set, it can be read from, and written to.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x8 (C function)c.debugfs_create_x8hNtauh1hhjehhhNhNubh)}(hhh](j)}(hYvoid debugfs_create_x8 (const char *name, umode_t mode, struct dentry *parent, u8 *value)h]j)}(hXvoid debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM!ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhM!ubj/)}(hdebugfs_create_x8h]j5)}(hdebugfs_create_x8h]hdebugfs_create_x8}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhM!ubj)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj+)}(hcharh]hchar}(hjihhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjJubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjJubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj4sbc.debugfs_create_x8asbuh1hhjubj)}(h h]h }(hjΚhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjܚhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(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_x8asbuh1hhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj?hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hparenth]hparent}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(h u8 *valueh](h)}(hhh]j5)}(hu8h]hu8}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]jʚc.debugfs_create_x8asbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjaubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhM!ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhjhM!ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM!hjhhubjc)}(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.chM!hjțhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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)}(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)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hj h]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM"hjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hM"hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hM"hjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjEh]h umode_t mode}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM#hj?ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhM#hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM#hjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj~h]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM&hjxubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM$hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(hT``u8 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h ``u8 *value``h]j)}(hjʜh]h u8 *value}(hj̜hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȜubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM'hjĜubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjߜhM'hjubah}(h]h ]h"]h$]h&]uh1jhjĜubeh}(h]h ]h"]h$]h&]uh1jhjߜhM'hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x16 (C function)c.debugfs_create_x16hNtauh1hhjehhhNhNubh)}(hhh](j)}(h[void debugfs_create_x16 (const char *name, umode_t mode, struct dentry *parent, u16 *value)h]j)}(hZvoid debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](j+)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM3ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj1hM3ubj/)}(hdebugfs_create_x16h]j5)}(hdebugfs_create_x16h]hdebugfs_create_x16}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj1hM3ubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj+)}(hcharh]hchar}(hj{hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj\ubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(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)}jjFsbc.debugfs_create_x16asbuh1hhjubj)}(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&]noemphjLjMuh1jhjXubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]jܝc.debugfs_create_x16asbuh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjQhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hparenth]hparent}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(h u16 *valueh](h)}(hhh]j5)}(hu16h]hu16}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]jܝc.debugfs_create_x16asbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjsubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj1hM3ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj1hM3ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1hM3hjhhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 16-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 16-bit value}(hjݞhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM3hjڞhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj1hM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u16 *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM7hjubj)}(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.chM4hjubj)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hM4hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM4hjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjWh]h umode_t mode}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM5hjQubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhM5hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM5hjubj)}(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.chM8hjubj)}(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.chM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(hU``u16 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u16 *value``h]j)}(hjܟh]h u16 *value}(hjޟhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڟubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM9hj֟ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.&h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhj֟ubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x32 (C function)c.debugfs_create_x32hNtauh1hhjehhhNhNubh)}(hhh](j)}(h[void debugfs_create_x32 (const char *name, umode_t mode, struct dentry *parent, u32 *value)h]j)}(hZvoid debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](j+)}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj1hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMEubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjChMEubj/)}(hdebugfs_create_x32h]j5)}(hdebugfs_create_x32h]hdebugfs_create_x32}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhjChMEubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjnubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(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)}jjXsbc.debugfs_create_x32asbuh1hhjˠ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&]noemphjLjMuh1jhjjubj)}(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}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]jc.debugfs_create_x32asbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjchhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hparenth]hparent}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(h u32 *valueh](h)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_x32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvalueh]hvalue}(hjšhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj1hhhjChMEubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhjChMEubah}(h]j(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChMEhj*hhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 32-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 32-bit value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMEhjhhubah}(h]h ]h"]h$]h&]uh1jbhj*hhhjChMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u32 *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMIhj 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)}(hj0h]hconst char *name}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMFhj*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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMFhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMFhj'ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjih]h umode_t mode}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMGhjcubj)}(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~hMGhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMGhj'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.chMJhjubj)}(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.chMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhj'ubj)}(hU``u32 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u32 *value``h]j)}(hjh]h u32 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMKhjubj)}(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&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhj'ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x64 (C function)c.debugfs_create_x64hNtauh1hhjehhhNhNubh)}(hhh](j)}(h[void debugfs_create_x64 (const char *name, umode_t mode, struct dentry *parent, u64 *value)h]j)}(hZvoid debugfs_create_x64(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](j+)}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjChhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMWubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjChhhjUhMWubj/)}(hdebugfs_create_x64h]j5)}(hdebugfs_create_x64h]hdebugfs_create_x64}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjChhhjUhMWubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hnameh]hname}(hjȣhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjjsbc.debugfs_create_x64asbuh1hhjݣubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݣubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjݣubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubh)}(hhh]j5)}(hdentryh]hdentry}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj)}j]jc.debugfs_create_x64asbuh1hhj'ubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubjX)}(hj[h]h*}(hjuhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj'ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubj)}(h u64 *valueh](h)}(hhh]j5)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_x64asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjʤhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvalueh]hvalue}(hjפhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjChhhjUhMWubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj?hhhjUhMWubah}(h]j:ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjUhMWhj<hhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 64-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 64-bit value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMWhjhhubah}(h]h ]h"]h$]h&]uh1jbhj<hhhjUhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u64 *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(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)}(hjBh]hconst char *name}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMXhj<ubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMXhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMXhj9ubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMYhjuubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMYhj9ubj)}(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.chMZhjʥubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɥhM\hj9ubj)}(hU``u64 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u64 *value``h]j)}(hjh]h u64 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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]hj9ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"debugfs_create_size_t (C function)c.debugfs_create_size_thNtauh1hhjehhhNhNubh)}(hhh](j)}(havoid debugfs_create_size_t (const char *name, umode_t mode, struct dentry *parent, size_t *value)h]j)}(h`void debugfs_create_size_t(const char *name, umode_t mode, struct dentry *parent, size_t *value)h](j+)}(hvoidh]hvoid}(hjYhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjUhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMyubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUhhhjghMyubj/)}(hdebugfs_create_size_th]j5)}(hdebugfs_create_size_th]hdebugfs_create_size_t}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjUhhhjghMyubj)}(hF(const char *name, umode_t mode, struct dentry *parent, size_t *value)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjͦhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hnameh]hname}(hjڦhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj|sbc.debugfs_create_size_tasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j]jc.debugfs_create_size_tasbuh1hhj9ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj9ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t *valueh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_size_tasbuh1hhjubj)}(h h]h }(hjΧhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjܧhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjUhhhjghMyubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjQhhhjghMyubah}(h]jLah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjghMyhjNhhubjc)}(hhh]h)}(hDcreate a debugfs file that is used to read and write an size_t valueh]hDcreate a debugfs file that is used to read and write an size_t value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMyhjhhubah}(h]h ]h"]h$]h&]uh1jbhjNhhhjghMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjehNhNubj)}(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)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(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)}(hjTh]hconst char *name}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMzhjNubj)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMzhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMzhjKubj)}(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{hjKubj)}(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.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~hjKubj)}(hX``size_t *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``size_t *value``h]j)}(hjh]h size_t *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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&]uh1hhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$debugfs_create_atomic_t (C function)c.debugfs_create_atomic_thNtauh1hhjehhhNhNubh)}(hhh](j)}(hevoid debugfs_create_atomic_t (const char *name, umode_t mode, struct dentry *parent, atomic_t *value)h]j)}(hdvoid debugfs_create_atomic_t(const char *name, umode_t mode, struct dentry *parent, atomic_t *value)h](j+)}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjghhhZ/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_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.hjghhhjyhMubj)}(hH(const char *name, umode_t mode, struct dentry *parent, atomic_t *value)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjéhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjѩhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjߩhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_atomic_tasbuh1hhjubj)}(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&]noemphjLjMuh1jhjubj)}(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_atomic_tasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjKubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hatomic_t *valueh](h)}(hhh]j5)}(hatomic_th]hatomic_t}(hjªhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjĪmodnameN classnameNjj)}j]j$c.debugfs_create_atomic_tasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjghhhjyhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjchhhjyhMubah}(h]j^ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjyhMhj`hhubjc)}(hhh]h)}(hFcreate a debugfs file that is used to read and write an atomic_t valueh]hFcreate a debugfs file that is used to read and write an atomic_t value}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj"hhubah}(h]h ]h"]h$]h&]uh1jbhj`hhhjyhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhjehNhNubj)}(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)}(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)}(hZ``atomic_t *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``atomic_t *value``h]j)}(hj$h]hatomic_t *value}(hj&hhhNhNubah}(h]h ]h"]h$]h&]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&]uh1hhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj]ubeh}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_create_bool (C function)c.debugfs_create_boolhNtauh1hhjehhhNhNubh)}(hhh](j)}(h]void debugfs_create_bool (const char *name, umode_t mode, struct dentry *parent, bool *value)h]j)}(h\void debugfs_create_bool(const char *name, umode_t mode, struct dentry *parent, bool *value)h](j+)}(hvoidh]hvoid}(hj}hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjyhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyhhhjhMubj/)}(hdebugfs_create_boolh]j5)}(hdebugfs_create_boolh]hdebugfs_create_bool}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjyhhhjhMubj)}(hD(const char *name, umode_t mode, struct dentry *parent, bool *value)h](j)}(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&]uh1jhjubj+)}(hcharh]hchar}(hjլhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_boolasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j6c.debugfs_create_boolasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj]ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h bool *valueh](j+)}(hj.h]hbool}(hjѭhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjͭubj)}(h h]h }(hjޭhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjͭubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjͭubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjͭubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjyhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjuhhhjhMubah}(h]jpah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjrhhubjc)}(hhh]h)}(hDcreate a debugfs file that is used to read and write a boolean valueh]hDcreate a debugfs file that is used to read and write a boolean value}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhjrhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjehNhNubj)}(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)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(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)}(hjdh]hconst char *name}(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^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&]uh1hhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj[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)}(hW``bool *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``bool *value``h]j)}(hj"h]h bool *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.chMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj[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: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 }(hjthhhNhNubj)}(h **value**h]hvalue}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh . If the }(hjthhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh9 variable is so set, it can be read from, and written to.}(hjthhhNhNubeh}(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&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_str (C function)c.debugfs_create_strhNtauh1hhjehhhNhNubh)}(hhh](j)}(h]void debugfs_create_str (const char *name, umode_t mode, struct dentry *parent, char **value)h]j)}(h\void debugfs_create_str(const char *name, umode_t mode, struct dentry *parent, char **value)h](j+)}(hvoidh]hvoid}(hjǯhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjïhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMnubj)}(h h]h }(hj֯hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjïhhhjկhMnubj/)}(hdebugfs_create_strh]j5)}(hdebugfs_create_strh]hdebugfs_create_str}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjïhhhjկhMnubj)}(hE(const char *name, umode_t mode, struct dentry *parent, char **value)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj;hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hnameh]hname}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]j)}jjsbc.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&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjɰhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjưubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj˰modnameN classnameNjj)}j]jc.debugfs_create_strasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h char **valueh](j+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj7hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hjDhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hvalueh]hvalue}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjïhhhjկhMnubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjկhMnubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjկhMnhjhhubjc)}(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}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMnhjxhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjկhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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.chMrhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMohjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjձhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjѱhMohjұubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѱhMohjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMphjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMphj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMphjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj.h]hstruct dentry *parent}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.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 }(hjGhhhNhNubj)}(h``NULL``h]hNULL}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubhF, then the file will be created in the root of the debugfs filesystem.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMqhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMshjubj)}(hX``char **value`` a pointer to the variable that the file should read to and write from. h](j)}(h``char **value``h]j)}(hjzh]h char **value}(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.chMuhjtubj)}(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.chMthjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubeh}(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.chMwhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hj̲hhhNhNubj)}(h **value**h]hvalue}(hjԲhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̲ubh . If the }(hj̲hhhNhNubj)}(h**mode**h]hmode}(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.chMwhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_create_blob (C function)c.debugfs_create_blobhNtauh1hhjehhhNhNubh)}(hhh](j)}(h~struct dentry * debugfs_create_blob (const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h]j)}(h|struct dentry *debugfs_create_blob(const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj,hMubh)}(hhh]j5)}(hdentryh]hdentry}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj)}j]j)}jdebugfs_create_blobsbc.debugfs_create_blobasbuh1hhjhhhj,hMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj,hMubjX)}(hj[h]h*}(hjmhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjhhhj,hMubj/)}(hdebugfs_create_blobh]j5)}(hj\h]hdebugfs_create_blob}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj,hMubj)}(hZ(const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hj³hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjгhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hnameh]hname}(hjݳhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jZc.debugfs_create_blobasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j]jZc.debugfs_create_blobasbuh1hhj:ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj:ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h!struct debugfs_blob_wrapper *blobh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdebugfs_blob_wrapperh]hdebugfs_blob_wrapper}(hj̴hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɴubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjδmodnameN classnameNjj)}j]jZc.debugfs_create_blobasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hblobh]hblob}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj,hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj,hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj,hMhjhhubjc)}(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}(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&]uh1jbhjhhhj,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhjehNhNubj)}(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)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjKubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjph]hconst char *name}(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.chMhjjubj)}(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&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjܵubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjܵubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubj)}(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)}(hj.h]h!struct debugfs_blob_wrapper *blob}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj(ubj)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjgubeh}(h]h ]h"]h$]h&]uh1jhjKubh)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjKubh)}(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.chMhjKubh)}(hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.h]hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjKubh)}(hUIf debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.h]hUIf debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.}(hj¶hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_u32_array (C function)c.debugfs_create_u32_arrayhNtauh1hhjehhhNhNubh)}(hhh](j)}(hvvoid debugfs_create_u32_array (const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h]j)}(huvoid debugfs_create_u32_array(const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhZ/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_u32_arrayh]j5)}(hdebugfs_create_u32_arrayh]hdebugfs_create_u32_array}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(hX(const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h](j)}(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*ubj+)}(hcharh]hchar}(hjIhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj*ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubjX)}(hj[h]h*}(hjehhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj*ubj5)}(hnameh]hname}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_u32_arrayasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjշhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjѷubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjѷubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_u32_arrayasbuh1hhjѷubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjѷubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjѷubj5)}(hparenth]hparent}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjѷubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubj)}(hstruct debugfs_u32_array *arrayh](j )}(hjzh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubh)}(hhh]j5)}(hdebugfs_u32_arrayh]hdebugfs_u32_array}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]jc.debugfs_create_u32_arrayasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjAubj5)}(harrayh]harray}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h5create a debugfs file that is used to read u32 array.h]h5create a debugfs file that is used to read u32 array.}(hjƸhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM hjøhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj޸jj޸jjjuh1hhhhjehNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``struct debugfs_u32_array *array`` wrapper struct containing data pointer and size of the array. **Description** This function creates a file in debugfs with the given name that exports **array** as data. If the **mode** variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.chM hjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hj@h]h umode_t mode}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj:ubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubj)}(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)}(hjyh]hstruct dentry *parent}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjsubj)}(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&]uh1jhjsubeh}(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)}(hjŹh]hstruct debugfs_u32_array *array}(hjǹhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjùubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h=wrapper struct containing data pointer and size of the array.h]h=wrapper struct containing data pointer and size of the array.}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubh)}(hX This function creates a file in debugfs with the given name that exports **array** as data. If the **mode** variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.h](hIThis function creates a file in debugfs with the given name that exports }(hjhhhNhNubj)}(h **array**h]harray}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh as data. If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!debugfs_print_regs32 (C function)c.debugfs_print_regs32hNtauh1hhjehhhNhNubh)}(hhh](j)}(h}void debugfs_print_regs32 (struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h]j)}(h|void debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h](j+)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjehhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM*ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjehhhjwhM*ubj/)}(hdebugfs_print_regs32h]j5)}(hdebugfs_print_regs32h]hdebugfs_print_regs32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjehhhjwhM*ubj)}(hc(struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h](j)}(hstruct seq_file *sh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjĺhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƺmodnameN classnameNjj)}j]j)}jjsbc.debugfs_print_regs32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hjh]hs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h const struct debugfs_reg32 *regsh](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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h debugfs_reg32h]h debugfs_reg32}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNjj)}j]jc.debugfs_print_regs32asbuh1hhjubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hj|hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hregsh]hregs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int nregsh](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hnregsh]hnregs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hvoid __iomem *baseh](j+)}(hvoidh]hvoid}(hj׻hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjӻubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjӻubh__iomem}(hjӻhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjӻubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjӻubj5)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjӻubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h char *prefixh](j+)}(hcharh]hchar}(hj+hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj'ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubjX)}(hj[h]h*}(hjGhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj'ubj5)}(hprefixh]hprefix}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjehhhjwhM*ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjahhhjwhM*ubah}(h]j\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwhM*hj^hhubjc)}(hhh]h)}(h,use seq_print to describe a set of registersh]h,use seq_print to describe a set of registers}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM*hj{hhubah}(h]h ]h"]h$]h&]uh1jbhj^hhhjwhM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(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}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM,hjubah}(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)}(hj1h]h int nregs}(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.chM-hj+ubj)}(hhh]h)}(hthe length of the above arrayh]hthe length of the above array}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM-hjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhM-hjubj)}(hL``void __iomem *base`` the base address to be used in reading the registers h](j)}(h``void __iomem *base``h]j)}(hjjh]hvoid __iomem *base}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM.hjdubj)}(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&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(h>``char *prefix`` a string to be prefixed to every output line h](j)}(h``char *prefix``h]j)}(hjh]h char *prefix}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM/hjubj)}(hhh]h)}(h,a string to be prefixed to every output lineh]h,a string to be prefixed to every output line}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj޽h]h Description}(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.chM1hjubh)}(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.chM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$debugfs_create_regset32 (C function)c.debugfs_create_regset32hNtauh1hhjehhhNhNubh)}(hhh](j)}(huvoid debugfs_create_regset32 (const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h]j)}(htvoid debugfs_create_regset32(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h](j+)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMZubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj1hMZubj/)}(hdebugfs_create_regset32h]j5)}(hdebugfs_create_regset32h]hdebugfs_create_regset32}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj1hMZubj)}(hX(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h](j)}(hconst char *nameh](j )}(hjh]hconst}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj+)}(hcharh]hchar}(hj{hhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj\ubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(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)}jjFsbc.debugfs_create_regset32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]jܾc.debugfs_create_regset32asbuh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjQhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hparenth]hparent}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hstruct debugfs_regset32 *regseth](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(hhh]j5)}(hdebugfs_regset32h]hdebugfs_regset32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jܾc.debugfs_create_regset32asbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjsubj5)}(hregseth]hregset}(hjοhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj1hMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj1hMZubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1hMZhjhhubjc)}(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.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj1hMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjehNhNubj)}(hX@**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``struct debugfs_regset32 *regset`` a pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found. **Description** This function creates a file in debugfs with the given name that reports the names and values of a set of 32-bit registers. If the **mode** variable is so set it can be read from. Writing is not supported.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.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)}(hj9h]hconst char *name}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM[hj3ubj)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhM[hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM[hj0ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjrh]h umode_t mode}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM\hjlubj)}(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&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM\hj0ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM_hjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM_hj0ubj)}(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.chMbhjubj)}(hhh]h)}(ha pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found.h]ha pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM`hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMbhj0ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMdhjubh)}(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 }(hjIhhhNhNubj)}(h**mode**h]hmode}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubhB variable is so set it can be read from. Writing is not supported.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMdhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(debugfs_create_devm_seqfile (C function)c.debugfs_create_devm_seqfilehNtauh1hhjehhhNhNubh)}(hhh](j)}(hvoid debugfs_create_devm_seqfile (struct device *dev, const char *name, struct dentry *parent, int (*read_fn)(struct seq_file *s, void *data))h]j)}(hvoid debugfs_create_devm_seqfile(struct device *dev, const char *name, struct dentry *parent, int (*read_fn)(struct seq_file *s, void *data))h](j+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(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.hjhhhjhMubj)}(hm(struct device *dev, const char *name, struct dentry *parent, int (*read_fn)(struct seq_file *s, void *data))h](j)}(hstruct device *devh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_devm_seqfileasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *nameh](j )}(hjh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj+)}(hcharh]hchar}(hjThhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hj5ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubjX)}(hj[h]h*}(hjphhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhj5ubj5)}(hnameh]hname}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_devm_seqfileasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h.int (*read_fn)(struct seq_file *s, void *data)h](j+)}(hinth]hint}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hjh]h(}(hj"hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hj[h]h*}(hj/hhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hread_fnh]hread_fn}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjh]h)}(hjJhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubjX)}(hjh]h(}(hjWhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj )}(hjzh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjqhhhNhNubah}(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]jc.debugfs_create_devm_seqfileasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hjh]hs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjNh]h,}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj+)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j7ah"]h$]h&]uh1j*hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubjX)}(hj[h]h*}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubj5)}(hdatah]hdata}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubjX)}(hjh]h)}(hjhhhNhNubah}(h]h ]jdah"]h$]h&]uh1jWhjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j}ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h.create a debugfs file that is bound to device.h]h.create a debugfs file that is bound to device.}(hjChhhNhNubah}(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[jjjuh1hhhhjehNhNubj)}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(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.chMhj~ubj)}(hhh]h)}(h$device related to this debugfs file.h]h$device related to this debugfs file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(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&]uh1jhjhMhj{ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj{ubj)}(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)}(hjBh]h.int (*read_fn)(struct seq_file *s, void *data)}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj<ubj)}(hhh]h)}(h6function pointer called to print the seq_file content.h]h6function pointer called to print the seq_file content.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhj{ubeh}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjehhhNhNubeh}(h]debugfs-interfaceah ]h"]debugfs interfaceah$]h&]uh1hhjehhhhhKubeh}(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}(jjjjjSjSjbj_jjj j jOjOjjjjjjjjj#j#j1j1jejejjjju nametypes}(jjjSjbjj jOjjjjj#j1jejjuh}(jhjhjShhjjkjpjjjA jF jjjj"jpjujjjjjIjNji!jn!j#j#j&j &jy(j~(jM+jR+j-j-j9/j>/j0j0jo2jt2j 4j4j5j5j 7j7j8j8jV:j[:j <j%<j=j=jH@jM@j-Bj2BjCjCjEjEjAGjFGjHjHjCJjHJjKjKjMjMjOj$OjPjPj_jSj5Sj:SjTjTjVjVj|XjXjYjZj[j[j]j]ju^jz^jaj ajOcjTcj_ejdejogjtgjjjjjmjmjpjpjrjrjsjsjujujqxjvxjzjzjh|jm|j~j~jj"jہjjjjnjsjEjJj+j0jjjjejjj?jDjjőjAjFjLjQj͖jҖj(j-jj!jjjj jjj-j2jWj\j[j`jjjjjjjZj_jgjljнjսj5j:jjj8j=jjjjjjjTjYjajfj_jdjj jjjmjrj<jAj jjjj9j>jjjjjjjYj^jjjjj7j<jjj jj:j?jjj.j3jjj j%jjj j j j jojtjj!jjjLjQjjjjjOj j!j!jq#jv#j$j$j'j'jN*jS*jx,j},j/j/j2j2j5j 5j07j57j:j:j<j<j>j>j@j@jCj Cj~EjEjGjGjJj!JjLjLjjOj:Oj?Oj!Rj&RjTjTjXjXjZj[j\j\j6^j;^jbjbjyfj~fjijijkjkjnjnjqjqjtjtjkwjpwjq{jv{jjjjÃj‡jLJjڊjߊjƎjˎjtjyj jjWj\jjjRjWjtjyjԢj٢jjj<jAjƬjˬjjjȰjͰjjj#j(jjjIjNjjjjjjjjjjjjj~jjjjfjkjCjHjjj\jajljqjjjjjjjjjjjjj@jEjjjjjjjjjjj*j/jvj{jI jN j j jdjijjjjjjjjjjjjjhjmj!j!j#j#j#%j(%j!'j&'j7)j<)j,j,jd0ji0j4j4j8j 8j:j:j<j<j@j#@jBjBjEjEjIjIjpLjuLjLOjQOjMRjRRj8Vj=VjXjXjw\j|\jh_jm_jocjtcjvgj{gjkkjpkjnjnjtjtjfyjkyjW|j\|j"j'jjj(j-jJjOjʊjϊjjjjj)j.jCjHjjjjjjjjjjjjjjjϬjԬjjjFjKjpjujjjjjjj(j-jj!j.j3j}jj*j/jjj+j0jjj,j1jjj.j3jjj}jjjjjjjjjjjjjjjjgjlj%j*jjjjj}jjJjOjjjjj j j` je jj#jjjj j#jjjjjjjjjj j j!j!j1j#j#j#j%j%j'j'j,)j1)j,j,j?/jD/jej1j1j1j4j4jT7jY7j9j9j<j<j>j>j@j@j8Cj=CjEjEj HjHj+Jj0JjMjMjPjPjRjRjUjUjZjZj]j]j'`j,`jbjbjjejjejfjfjhjhjljlj*qj/qjsjsj1wj6wjLzjQzj{j{j}j}jjjjj/j4jjjjj%j*jjjjj?jDjjjj jjj(j-j:j?jLjQj^jcjpjujjjjjjj\jajjj}ju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.