Home
last modified time | relevance | path

Searched refs:dirfhp (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfsproc.c259 svc_fh *dirfhp = &argp->fh; in nfsd_proc_create() local
269 SVCFH_fmt(dirfhp), argp->len, argp->name); in nfsd_proc_create()
272 resp->status = fh_verify(rqstp, dirfhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_proc_create()
274 goto done; /* must fh_put dirfhp even on error */ in nfsd_proc_create()
281 hosterr = fh_want_write(dirfhp); in nfsd_proc_create()
287 fh_lock_nested(dirfhp, I_MUTEX_PARENT); in nfsd_proc_create()
288 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
294 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
386 resp->status = nfsd_create_locked(rqstp, dirfhp, arg in nfsd_proc_create()
[all...]
H A Dnfs3proc.c217 svc_fh *dirfhp, *newfhp = NULL; in nfsd3_proc_create() local
225 dirfhp = fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_create()
239 resp->status = do_nfsd_create(rqstp, dirfhp, argp->name, argp->len, in nfsd3_proc_create()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfsproc.c252 svc_fh *dirfhp = &argp->fh; in nfsd_proc_create() local
265 SVCFH_fmt(dirfhp), argp->len, argp->name); in nfsd_proc_create()
268 resp->status = fh_verify(rqstp, dirfhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_proc_create()
270 goto done; /* must fh_put dirfhp even on error */ in nfsd_proc_create()
277 hosterr = fh_want_write(dirfhp); in nfsd_proc_create()
283 inode_lock_nested(dirfhp->fh_dentry->d_inode, I_MUTEX_PARENT); in nfsd_proc_create()
284 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
290 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
382 resp->status = nfsd_create_locked(rqstp, dirfhp, in nfsd_proc_create()
[all...]
H A Dnfs3proc.c348 svc_fh *dirfhp, *newfhp; in nfsd3_proc_create() local
355 dirfhp = fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_create()
358 resp->status = nfsd3_create_file(rqstp, dirfhp, newfhp, argp); in nfsd3_proc_create()

Completed in 5 milliseconds