1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Inode Handling</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Filesystems API"><link rel="up" href="vfs.html" title="Chapter&#160;1.&#160;The Linux VFS"><link rel="prev" href="API-d-backing-dentry.html" title="d_backing_dentry"><link rel="next" href="API-inode-init-always.html" title="inode_init_always"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Inode Handling</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-d-backing-dentry.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;1.&#160;The Linux VFS</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-inode-init-always.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="inode_handling"></a>Inode Handling</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-inode-init-always.html"><span class="phrase">inode_init_always</span></a></span><span class="refpurpose"> &#8212; 
2  perform inode structure intialisation
3 </span></dt><dt><span class="refentrytitle"><a href="API-drop-nlink.html"><span class="phrase">drop_nlink</span></a></span><span class="refpurpose"> &#8212; 
4     directly drop an inode's link count
5 </span></dt><dt><span class="refentrytitle"><a href="API-clear-nlink.html"><span class="phrase">clear_nlink</span></a></span><span class="refpurpose"> &#8212; 
6     directly zero an inode's link count
7 </span></dt><dt><span class="refentrytitle"><a href="API-set-nlink.html"><span class="phrase">set_nlink</span></a></span><span class="refpurpose"> &#8212; 
8     directly set an inode's link count
9 </span></dt><dt><span class="refentrytitle"><a href="API-inc-nlink.html"><span class="phrase">inc_nlink</span></a></span><span class="refpurpose"> &#8212; 
10     directly increment an inode's link count
11 </span></dt><dt><span class="refentrytitle"><a href="API-inode-sb-list-add.html"><span class="phrase">inode_sb_list_add</span></a></span><span class="refpurpose"> &#8212; 
12     add inode to the superblock list of inodes
13 </span></dt><dt><span class="refentrytitle"><a href="API---insert-inode-hash.html"><span class="phrase">__insert_inode_hash</span></a></span><span class="refpurpose"> &#8212; 
14     hash an inode
15 </span></dt><dt><span class="refentrytitle"><a href="API---remove-inode-hash.html"><span class="phrase">__remove_inode_hash</span></a></span><span class="refpurpose"> &#8212; 
16     remove an inode from the hash
17 </span></dt><dt><span class="refentrytitle"><a href="API-new-inode.html"><span class="phrase">new_inode</span></a></span><span class="refpurpose"> &#8212; 
18     obtain an inode
19 </span></dt><dt><span class="refentrytitle"><a href="API-unlock-new-inode.html"><span class="phrase">unlock_new_inode</span></a></span><span class="refpurpose"> &#8212; 
20     clear the I_NEW state and wake up any waiters
21 </span></dt><dt><span class="refentrytitle"><a href="API-lock-two-nondirectories.html"><span class="phrase">lock_two_nondirectories</span></a></span><span class="refpurpose"> &#8212; 
22     take two i_mutexes on non-directory objects
23 </span></dt><dt><span class="refentrytitle"><a href="API-unlock-two-nondirectories.html"><span class="phrase">unlock_two_nondirectories</span></a></span><span class="refpurpose"> &#8212; 
24     release locks from <code class="function">lock_two_nondirectories</code>
25 </span></dt><dt><span class="refentrytitle"><a href="API-iget5-locked.html"><span class="phrase">iget5_locked</span></a></span><span class="refpurpose"> &#8212; 
26     obtain an inode from a mounted file system
27 </span></dt><dt><span class="refentrytitle"><a href="API-iget-locked.html"><span class="phrase">iget_locked</span></a></span><span class="refpurpose"> &#8212; 
28     obtain an inode from a mounted file system
29 </span></dt><dt><span class="refentrytitle"><a href="API-iunique.html"><span class="phrase">iunique</span></a></span><span class="refpurpose"> &#8212; 
30     get a unique inode number
31 </span></dt><dt><span class="refentrytitle"><a href="API-ilookup5-nowait.html"><span class="phrase">ilookup5_nowait</span></a></span><span class="refpurpose"> &#8212; 
32     search for an inode in the inode cache
33 </span></dt><dt><span class="refentrytitle"><a href="API-ilookup5.html"><span class="phrase">ilookup5</span></a></span><span class="refpurpose"> &#8212; 
34     search for an inode in the inode cache
35 </span></dt><dt><span class="refentrytitle"><a href="API-ilookup.html"><span class="phrase">ilookup</span></a></span><span class="refpurpose"> &#8212; 
36     search for an inode in the inode cache
37 </span></dt><dt><span class="refentrytitle"><a href="API-find-inode-nowait.html"><span class="phrase">find_inode_nowait</span></a></span><span class="refpurpose"> &#8212; 
38     find an inode in the inode cache
39 </span></dt><dt><span class="refentrytitle"><a href="API-iput.html"><span class="phrase">iput</span></a></span><span class="refpurpose"> &#8212; 
40     put an inode
41 </span></dt><dt><span class="refentrytitle"><a href="API-bmap.html"><span class="phrase">bmap</span></a></span><span class="refpurpose"> &#8212; 
42     find a block number in a file
43 </span></dt><dt><span class="refentrytitle"><a href="API-touch-atime.html"><span class="phrase">touch_atime</span></a></span><span class="refpurpose"> &#8212; 
44     update the access time
45 </span></dt><dt><span class="refentrytitle"><a href="API-file-update-time.html"><span class="phrase">file_update_time</span></a></span><span class="refpurpose"> &#8212; 
46     update mtime and ctime time
47 </span></dt><dt><span class="refentrytitle"><a href="API-inode-init-owner.html"><span class="phrase">inode_init_owner</span></a></span><span class="refpurpose"> &#8212; 
48     Init uid,gid,mode for new inode according to posix standards
49 </span></dt><dt><span class="refentrytitle"><a href="API-inode-owner-or-capable.html"><span class="phrase">inode_owner_or_capable</span></a></span><span class="refpurpose"> &#8212; 
50     check current task permissions to inode
51 </span></dt><dt><span class="refentrytitle"><a href="API-inode-dio-wait.html"><span class="phrase">inode_dio_wait</span></a></span><span class="refpurpose"> &#8212; 
52     wait for outstanding DIO requests to finish
53 </span></dt><dt><span class="refentrytitle"><a href="API-make-bad-inode.html"><span class="phrase">make_bad_inode</span></a></span><span class="refpurpose"> &#8212; 
54  mark an inode bad due to an I/O error
55 </span></dt><dt><span class="refentrytitle"><a href="API-is-bad-inode.html"><span class="phrase">is_bad_inode</span></a></span><span class="refpurpose"> &#8212; 
56     is an inode errored
57 </span></dt><dt><span class="refentrytitle"><a href="API-iget-failed.html"><span class="phrase">iget_failed</span></a></span><span class="refpurpose"> &#8212; 
58     Mark an under-construction inode as dead and release it
59 </span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-d-backing-dentry.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="vfs.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-inode-init-always.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">d_backing_dentry</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">inode_init_always</span></td></tr></table></div></body></html>
60