/linux-2.4.37.9/include/linux/nfsd/ |
D | nfsfh.h | 183 inline static char * SVCFH_fmt(struct svc_fh *fhp) in SVCFH_fmt() argument 185 struct knfsd_fh *fh = &fhp->fh_handle; in SVCFH_fmt() 220 fh_init(struct svc_fh *fhp, int maxsize) in fh_init() argument 222 memset(fhp, 0, sizeof(*fhp)); in fh_init() 223 fhp->fh_maxsize = maxsize; in fh_init() 224 return fhp; in fh_init() 232 fill_pre_wcc(struct svc_fh *fhp) in fill_pre_wcc() argument 236 inode = fhp->fh_dentry->d_inode; in fill_pre_wcc() 237 if (!fhp->fh_pre_saved) { in fill_pre_wcc() 238 fhp->fh_pre_mtime = inode->i_mtime; in fill_pre_wcc() [all …]
|
/linux-2.4.37.9/fs/freevxfs/ |
D | vxfs_fshead.c | 47 vxfs_dumpfsh(struct vxfs_fsh *fhp) in vxfs_dumpfsh() argument 51 printk("version: %u\n", fhp->fsh_version); in vxfs_dumpfsh() 52 printk("fsindex: %u\n", fhp->fsh_fsindex); in vxfs_dumpfsh() 54 fhp->fsh_iauino, fhp->fsh_ninodes); in vxfs_dumpfsh() 56 fhp->fsh_maxinode, fhp->fsh_lctino); in vxfs_dumpfsh() 57 printk("nau: %u\n", fhp->fsh_nau); in vxfs_dumpfsh() 59 fhp->fsh_ilistino[0], fhp->fsh_ilistino[1]); in vxfs_dumpfsh() 82 struct vxfs_fsh *fhp; in vxfs_getfsh() local 84 if (!(fhp = kmalloc(sizeof(*fhp), SLAB_KERNEL))) in vxfs_getfsh() 86 memcpy(fhp, bp->b_data, sizeof(*fhp)); in vxfs_getfsh() [all …]
|
/linux-2.4.37.9/fs/nfsd/ |
D | nfsfh.c | 530 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access) in fh_verify() argument 532 struct knfsd_fh *fh = &fhp->fh_handle; in fh_verify() 538 dprintk("nfsd: fh_verify(%s)\n", SVCFH_fmt(fhp)); in fh_verify() 543 if (!fhp->fh_dentry) { in fh_verify() 659 fhp->fh_dentry = dentry; in fh_verify() 660 fhp->fh_export = exp; in fh_verify() 667 dentry = fhp->fh_dentry; in fh_verify() 668 exp = fhp->fh_export; in fh_verify() 791 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, struct svc_fh *ref_fh) in fh_compose() argument 811 if (fhp->fh_locked || fhp->fh_dentry) { in fh_compose() [all …]
|
D | vfs.c | 93 nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, in nfsd_lookup() argument 101 dprintk("nfsd: nfsd_lookup(fh %s, %.*s)\n", SVCFH_fmt(fhp), len,name); in nfsd_lookup() 104 err = fh_verify(rqstp, fhp, S_IFDIR, MAY_EXEC); in nfsd_lookup() 108 dparent = fhp->fh_dentry; in nfsd_lookup() 109 exp = fhp->fh_export; in nfsd_lookup() 144 fh_lock(fhp); in nfsd_lookup() 177 err = fh_compose(resfh, exp, dentry, fhp); in nfsd_lookup() 193 nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap, in nfsd_setattr() argument 210 err = fh_verify(rqstp, fhp, ftype, accmode); in nfsd_setattr() 214 dentry = fhp->fh_dentry; in nfsd_setattr() [all …]
|
D | nfs3xdr.c | 53 decode_fh(u32 *p, struct svc_fh *fhp) in decode_fh() argument 56 fh_init(fhp, NFS3_FHSIZE); in decode_fh() 61 memcpy(&fhp->fh_handle.fh_base, p, size); in decode_fh() 62 fhp->fh_handle.fh_size = size; in decode_fh() 67 encode_fh(u32 *p, struct svc_fh *fhp) in encode_fh() argument 69 int size = fhp->fh_handle.fh_size; in encode_fh() 72 memcpy(p, &fhp->fh_handle.fh_base, size); in encode_fh() 157 encode_fattr3(struct svc_rqst *rqstp, u32 *p, struct svc_fh *fhp) in encode_fattr3() argument 159 struct inode *inode = fhp->fh_dentry->d_inode; in encode_fattr3() 180 && (fhp->fh_export->ex_flags & NFSEXP_FSID)) in encode_fattr3() [all …]
|
D | nfsxdr.c | 40 decode_fh(u32 *p, struct svc_fh *fhp) in decode_fh() argument 42 fh_init(fhp, NFS_FHSIZE); in decode_fh() 43 memcpy(&fhp->fh_handle.fh_base, p, NFS_FHSIZE); in decode_fh() 44 fhp->fh_handle.fh_size = NFS_FHSIZE; in decode_fh() 52 encode_fh(u32 *p, struct svc_fh *fhp) in encode_fh() argument 54 memcpy(p, &fhp->fh_handle.fh_base, NFS_FHSIZE); in encode_fh() 146 encode_fattr(struct svc_rqst *rqstp, u32 *p, struct svc_fh *fhp) in encode_fattr() argument 148 struct inode *inode = fhp->fh_dentry->d_inode; in encode_fattr() 170 && (fhp->fh_export->ex_flags & NFSEXP_FSID)) in encode_fattr() 171 *p++ = htonl((u32) fhp->fh_export->ex_fsid); in encode_fattr() [all …]
|
/linux-2.4.37.9/fs/lockd/ |
D | svcsubs.c | 58 u32 *fhp = (u32*)f->data; in nlm_lookup_file() local 61 fhp[0], fhp[1], fhp[2], fhp[3], fhp[4], fhp[5]); in nlm_lookup_file() 74 fhp[0], fhp[1], fhp[2], fhp[3], fhp[4], fhp[5]); in nlm_lookup_file()
|