• Home
  • Raw
  • Download

Lines Matching refs:resfh

50 nfsd4_security_inode_setsecctx(struct svc_fh *resfh, struct xdr_netobj *label, u32 *bmval)  in nfsd4_security_inode_setsecctx()  argument
52 struct inode *inode = resfh->fh_dentry->d_inode; in nfsd4_security_inode_setsecctx()
56 status = security_inode_setsecctx(resfh->fh_dentry, in nfsd4_security_inode_setsecctx()
72 nfsd4_security_inode_setsecctx(struct svc_fh *resfh, struct xdr_netobj *label, u32 *bmval) in nfsd4_security_inode_setsecctx() argument
225 …ner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh *resfh) in nfsd4_set_open_owner_reply_cache() argument
230 &resfh->fh_handle); in nfsd4_set_open_owner_reply_cache()
234 …c_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) in do_open_lookup() argument
240 *resfh = kmalloc(sizeof(struct svc_fh), GFP_KERNEL); in do_open_lookup()
241 if (!*resfh) in do_open_lookup()
243 fh_init(*resfh, NFS4_FHSIZE); in do_open_lookup()
268 *resfh, open->op_createmode, in do_open_lookup()
273 nfsd4_security_inode_setsecctx(*resfh, &open->op_label, open->op_bmval); in do_open_lookup()
291 open->op_fname.data, open->op_fname.len, *resfh); in do_open_lookup()
294 status = nfsd_check_obj_isreg(*resfh); in do_open_lookup()
299 do_set_nfs4_acl(rqstp, *resfh, open->op_acl, open->op_bmval); in do_open_lookup()
301 nfsd4_set_open_owner_reply_cache(cstate, open, *resfh); in do_open_lookup()
306 status = do_open_permission(rqstp, *resfh, open, accmode); in do_open_lookup()
361 struct svc_fh *resfh = NULL; in nfsd4_open() local
426 status = do_open_lookup(rqstp, cstate, open, &resfh); in nfsd4_open()
441 resfh = &cstate->current_fh; in nfsd4_open()
460 status = nfsd4_process_open2(rqstp, resfh, open); in nfsd4_open()
465 if (resfh && resfh != &cstate->current_fh) { in nfsd4_open()
466 fh_dup2(&cstate->current_fh, resfh); in nfsd4_open()
467 fh_put(resfh); in nfsd4_open()
468 kfree(resfh); in nfsd4_open()
601 struct svc_fh resfh; in nfsd4_create() local
605 fh_init(&resfh, NFS4_FHSIZE); in nfsd4_create()
621 create->cr_data, &resfh); in nfsd4_create()
631 &create->cr_iattr, S_IFBLK, rdev, &resfh); in nfsd4_create()
641 &create->cr_iattr,S_IFCHR, rdev, &resfh); in nfsd4_create()
647 &create->cr_iattr, S_IFSOCK, 0, &resfh); in nfsd4_create()
653 &create->cr_iattr, S_IFIFO, 0, &resfh); in nfsd4_create()
660 &create->cr_iattr, S_IFDIR, 0, &resfh); in nfsd4_create()
671 nfsd4_security_inode_setsecctx(&resfh, &create->cr_label, create->cr_bmval); in nfsd4_create()
674 do_set_nfs4_acl(rqstp, &resfh, create->cr_acl, in nfsd4_create()
679 fh_dup2(&cstate->current_fh, &resfh); in nfsd4_create()
681 fh_put(&resfh); in nfsd4_create()
867 struct svc_fh resfh; in nfsd4_secinfo() local
872 fh_init(&resfh, NFS4_FHSIZE); in nfsd4_secinfo()