Lines Matching refs:p
25 static struct nfs_fh *nfs_exp_embedfh(__u32 *p) in nfs_exp_embedfh() argument
27 return (struct nfs_fh *)(p + EMBED_FH_OFF); in nfs_exp_embedfh()
35 nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent) in nfs_encode_fh() argument
38 struct nfs_fh *clnt_fh = nfs_exp_embedfh(p); in nfs_encode_fh()
52 p[FILEID_HIGH_OFF] = NFS_FILEID(inode) >> 32; in nfs_encode_fh()
53 p[FILEID_LOW_OFF] = NFS_FILEID(inode); in nfs_encode_fh()
54 p[FILE_I_TYPE_OFF] = inode->i_mode & S_IFMT; in nfs_encode_fh()
55 p[len - 1] = 0; /* Padding */ in nfs_encode_fh()
74 u32 *p = fid->raw; in nfs_fh_to_dentry() local
87 fattr->fileid = ((u64)p[FILEID_HIGH_OFF] << 32) + p[FILEID_LOW_OFF]; in nfs_fh_to_dentry()
88 fattr->mode = p[FILE_I_TYPE_OFF]; in nfs_fh_to_dentry()