Lines Matching full:inode
30 * ino/dev of the exported inode.
34 __u32 fb_ino; /* our inode number */
35 __u32 fb_dirino; /* dir inode number, 0 for directories */
65 * 0 - 4 byte device id (ms-2-bytes major, ls-2-bytes minor), 4byte inode number
69 * 2 - 4 byte major, 4 byte minor, 4 byte inode number - DEPRECATED
70 * 3 - 4 byte device id, encoded for user-space, 4 byte inode number
78 * 1 - 32bit inode number, 32 bit generation number.
79 * 2 - 32bit inode number, 32 bit generation number, 32 bit parent directory inode number.
141 unsigned char fh_locked; /* inode locked by us */
245 struct inode *inode;
247 inode = fhp->fh_dentry->d_inode;
249 fhp->fh_pre_mtime = inode->i_mtime;
250 fhp->fh_pre_ctime = inode->i_ctime;
251 fhp->fh_pre_size = inode->i_size;
262 struct inode *inode = fhp->fh_dentry->d_inode;
265 printk("nfsd: inode locked twice during operation.\n");
267 fhp->fh_post_mode = inode->i_mode;
268 fhp->fh_post_nlink = inode->i_nlink;
269 fhp->fh_post_uid = inode->i_uid;
270 fhp->fh_post_gid = inode->i_gid;
271 fhp->fh_post_size = inode->i_size;
272 if (inode->i_blksize) {
273 fhp->fh_post_blksize = inode->i_blksize;
274 fhp->fh_post_blocks = inode->i_blocks;
278 fhp->fh_post_blocks = (inode->i_size+511) >> 9;
280 fhp->fh_post_rdev[0] = htonl((u32)imajor(inode));
281 fhp->fh_post_rdev[1] = htonl((u32)iminor(inode));
282 fhp->fh_post_atime = inode->i_atime;
283 fhp->fh_post_mtime = inode->i_mtime;
284 fhp->fh_post_ctime = inode->i_ctime;
294 * Lock a file handle/inode
303 struct inode *inode;
318 inode = dentry->d_inode;
319 mutex_lock(&inode->i_mutex);
325 * Unlock a file handle/inode