Home
last modified time | relevance | path

Searched refs:nf (Results 1 – 9 of 9) sorted by relevance

/fs/nfsd/
A Dfilecache.c234 return nf; in nfsd_file_alloc()
344 if (nf && refcount_inc_not_zero(&nf->nf_ref)) in nfsd_file_get()
345 return nf; in nfsd_file_get()
387 if (nf) { in nfsd_file_put_local()
406 nf = nfsd_file_get(nf); in nfsd_file_get_local()
407 if (!nf) in nfsd_file_get_local()
410 nf = NULL; in nfsd_file_get_local()
412 return nf; in nfsd_file_get_local()
1104 if (nf) in nfsd_file_do_acquire()
1122 nf = new; in nfsd_file_do_acquire()
[all …]
A Dfilecache.h64 void nfsd_file_put(struct nfsd_file *nf);
65 struct net *nfsd_file_put_local(struct nfsd_file __rcu **nf);
66 struct nfsd_file *nfsd_file_get_local(struct nfsd_file *nf);
67 struct nfsd_file *nfsd_file_get(struct nfsd_file *nf);
68 struct file *nfsd_file_file(struct nfsd_file *nf);
A Dtrace.h1079 TP_ARGS(nf),
1105 TP_ARGS(nf))
1116 TP_ARGS(nf),
1162 __entry->nf_ref = nf ? refcount_read(&nf->nf_ref) : 0;
1163 __entry->nf_flags = nf ? nf->nf_flags : 0;
1164 __entry->nf_may = nf ? nf->nf_may : 0;
1165 __entry->nf_file = nf ? nf->nf_file : NULL;
1241 TP_ARGS(nf, status),
1270 TP_ARGS(nf, status))
1318 TP_ARGS(nf),
[all …]
A Dnfs4state.c1219 if (nf) in put_deleg_file()
1519 if (nf) { in nfs4_free_lock_stateid()
2891 if (nf) { in nfs4_show_open()
5776 if (nf) in nfs4_get_vfs_file()
6031 if (!nf) in nfs4_set_delegation()
6059 if (nf) in nfs4_set_delegation()
6153 if (!nf) in nfs4_delegation_stat()
7206 if (nf) { in nfs4_check_file()
8273 if (nf) in nfsd4_lock()
8283 if (nf) in nfsd4_lock()
[all …]
A Dvfs.c1177 struct nfsd_file *nf, loff_t offset, in nfsd_vfs_write() argument
1182 struct file *file = nf->nf_file; in nfsd_vfs_write()
1303 struct nfsd_file *nf; in nfsd_read() local
1312 file = nf->nf_file; in nfsd_read()
1318 nfsd_file_put(nf); in nfsd_read()
1343 struct nfsd_file *nf; in nfsd_write() local
1354 nfsd_file_put(nf); in nfsd_write()
1406 nn = net_generic(nf->nf_net, nfsd_net_id); in nfsd_commit()
1408 errseq_t since = READ_ONCE(nf->nf_file->f_wb_err); in nfsd_commit()
1411 err2 = vfs_fsync_range(nf->nf_file, start, end, 0); in nfsd_commit()
[all …]
A Dvfs.h102 struct nfsd_file *nf, u64 offset, u32 count,
135 struct nfsd_file *nf, loff_t offset,
A Dnfs4proc.c764 struct nfsd_file *nf; in nfsd4_commit() local
775 nfsd_file_put(nf); in nfsd4_commit()
1218 struct nfsd_file *nf = NULL; in nfsd4_write() local
1230 stateid, WR_STATE, &nf, NULL); in nfsd4_write()
1239 nfsd_file_put(nf); in nfsd4_write()
2106 struct nfsd_file *nf; in nfsd4_fallocate() local
2110 WR_STATE, &nf, NULL); in nfsd4_fallocate()
2118 nfsd_file_put(nf); in nfsd4_fallocate()
2170 struct nfsd_file *nf; in nfsd4_seek() local
2174 RD_STATE, &nf, NULL); in nfsd4_seek()
[all …]
A Dnfs3proc.c751 struct nfsd_file *nf; in nfsd3_proc_commit() local
760 NFSD_MAY_NOT_BREAK_LEASE, &nf); in nfsd3_proc_commit()
763 resp->status = nfsd_commit(rqstp, &resp->fh, nf, argp->offset, in nfsd3_proc_commit()
765 nfsd_file_put(nf); in nfsd3_proc_commit()
/fs/nfs/
A Dlocalio.c219 struct nfsd_file __rcu *nf = (struct nfsd_file __rcu*) localio; in nfs_local_file_put() local
221 nfs_to_nfsd_file_put_local(&nf); in nfs_local_file_put()
266 struct nfsd_file *nf, __rcu **pnf; in nfs_local_open_fh() local
278 nf = __nfs_local_open_fh(clp, cred, fh, nfl, pnf, mode); in nfs_local_open_fh()
279 if (IS_ERR(nf)) in nfs_local_open_fh()
281 return nf; in nfs_local_open_fh()

Completed in 51 milliseconds