• Home
  • Raw
  • Download

Lines Matching refs:resfh

57 nfsd4_security_inode_setsecctx(struct svc_fh *resfh, struct xdr_netobj *label, u32 *bmval)  in nfsd4_security_inode_setsecctx()  argument
59 struct inode *inode = d_inode(resfh->fh_dentry); in nfsd4_security_inode_setsecctx()
63 status = security_inode_setsecctx(resfh->fh_dentry, in nfsd4_security_inode_setsecctx()
79 nfsd4_security_inode_setsecctx(struct svc_fh *resfh, struct xdr_netobj *label, u32 *bmval) in nfsd4_security_inode_setsecctx() argument
218 …ner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh *resfh) in nfsd4_set_open_owner_reply_cache() argument
223 &resfh->fh_handle); in nfsd4_set_open_owner_reply_cache()
227 …c_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) in do_open_lookup() argument
233 *resfh = kmalloc(sizeof(struct svc_fh), GFP_KERNEL); in do_open_lookup()
234 if (!*resfh) in do_open_lookup()
236 fh_init(*resfh, NFS4_FHSIZE); in do_open_lookup()
262 *resfh, open->op_createmode, in do_open_lookup()
268 nfsd4_security_inode_setsecctx(*resfh, &open->op_label, open->op_bmval); in do_open_lookup()
286 open->op_fname.data, open->op_fname.len, *resfh); in do_open_lookup()
289 status = nfsd_check_obj_isreg(*resfh); in do_open_lookup()
294 do_set_nfs4_acl(rqstp, *resfh, open->op_acl, open->op_bmval); in do_open_lookup()
296 nfsd4_set_open_owner_reply_cache(cstate, open, *resfh); in do_open_lookup()
301 status = do_open_permission(rqstp, *resfh, open, accmode); in do_open_lookup()
357 struct svc_fh *resfh = NULL; in nfsd4_open() local
421 status = do_open_lookup(rqstp, cstate, open, &resfh); in nfsd4_open()
438 resfh = &cstate->current_fh; in nfsd4_open()
457 status = nfsd4_process_open2(rqstp, resfh, open); in nfsd4_open()
464 if (resfh && resfh != &cstate->current_fh) { in nfsd4_open()
465 fh_dup2(&cstate->current_fh, resfh); in nfsd4_open()
466 fh_put(resfh); in nfsd4_open()
467 kfree(resfh); in nfsd4_open()
610 struct svc_fh resfh; in nfsd4_create() local
614 fh_init(&resfh, NFS4_FHSIZE); in nfsd4_create()
630 create->cr_data, &resfh); in nfsd4_create()
641 &create->cr_iattr, S_IFBLK, rdev, &resfh); in nfsd4_create()
652 &create->cr_iattr,S_IFCHR, rdev, &resfh); in nfsd4_create()
658 &create->cr_iattr, S_IFSOCK, 0, &resfh); in nfsd4_create()
664 &create->cr_iattr, S_IFIFO, 0, &resfh); in nfsd4_create()
671 &create->cr_iattr, S_IFDIR, 0, &resfh); in nfsd4_create()
682 nfsd4_security_inode_setsecctx(&resfh, &create->cr_label, create->cr_bmval); in nfsd4_create()
685 do_set_nfs4_acl(rqstp, &resfh, create->cr_acl, in nfsd4_create()
690 fh_dup2(&cstate->current_fh, &resfh); in nfsd4_create()
692 fh_put(&resfh); in nfsd4_create()