Searched refs:nf (Results 1 – 6 of 6) sorted by relevance
/fs/nfsd/ |
D | filecache.c | 86 struct nfsd_file *nf = container_of(rcu, struct nfsd_file, nf_rcu); in nfsd_file_slab_free() local 88 put_cred(nf->nf_cred); in nfsd_file_slab_free() 89 kmem_cache_free(nfsd_file_slab, nf); in nfsd_file_slab_free() 120 nfsd_file_mark_find_or_create(struct nfsd_file *nf) in nfsd_file_mark_find_or_create() argument 125 struct inode *inode = nf->nf_inode; in nfsd_file_mark_find_or_create() 178 struct nfsd_file *nf; in nfsd_file_alloc() local 180 nf = kmem_cache_alloc(nfsd_file_slab, GFP_KERNEL); in nfsd_file_alloc() 181 if (nf) { in nfsd_file_alloc() 182 INIT_HLIST_NODE(&nf->nf_node); in nfsd_file_alloc() 183 INIT_LIST_HEAD(&nf->nf_lru); in nfsd_file_alloc() [all …]
|
D | trace.h | 191 TP_PROTO(struct nfsd_file *nf), 192 TP_ARGS(nf), 202 __entry->nf_hashval = nf->nf_hashval; 203 __entry->nf_inode = nf->nf_inode; 204 __entry->nf_ref = atomic_read(&nf->nf_ref); 205 __entry->nf_flags = nf->nf_flags; 206 __entry->nf_may = nf->nf_may; 207 __entry->nf_file = nf->nf_file; 220 TP_PROTO(struct nfsd_file *nf), \ 221 TP_ARGS(nf)) [all …]
|
D | nfs4state.c | 964 struct nfsd_file *nf = NULL; in put_deleg_file() local 968 swap(nf, fp->fi_deleg_file); in put_deleg_file() 971 if (nf) in put_deleg_file() 972 nfsd_file_put(nf); in put_deleg_file() 978 struct nfsd_file *nf = fp->fi_deleg_file; in nfs4_unlock_deleg_lease() local 982 vfs_setlease(nf->nf_file, F_UNLCK, NULL, (void **)&dp); in nfs4_unlock_deleg_lease() 1331 struct nfsd_file *nf; in nfs4_free_lock_stateid() local 1333 nf = find_any_file(stp->st_stid.sc_file); in nfs4_free_lock_stateid() 1334 if (nf) { in nfs4_free_lock_stateid() 1335 get_file(nf->nf_file); in nfs4_free_lock_stateid() [all …]
|
D | filecache.h | 56 void nfsd_file_put(struct nfsd_file *nf); 57 struct nfsd_file *nfsd_file_get(struct nfsd_file *nf);
|
D | vfs.c | 1020 struct nfsd_file *nf; in nfsd_read() local 1025 err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_READ, &nf); in nfsd_read() 1029 file = nf->nf_file; in nfsd_read() 1035 nfsd_file_put(nf); in nfsd_read() 1051 struct nfsd_file *nf; in nfsd_write() local 1056 err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_WRITE, &nf); in nfsd_write() 1060 err = nfsd_vfs_write(rqstp, fhp, nf->nf_file, offset, vec, in nfsd_write() 1062 nfsd_file_put(nf); in nfsd_write() 1082 struct nfsd_file *nf; in nfsd_commit() local 1095 NFSD_MAY_WRITE|NFSD_MAY_NOT_BREAK_LEASE, &nf); in nfsd_commit() [all …]
|
D | nfs4proc.c | 990 struct nfsd_file *nf = NULL; in nfsd4_write() local 1003 stateid, WR_STATE, &nf); in nfsd4_write() 1016 status = nfsd_vfs_write(rqstp, &cstate->current_fh, nf->nf_file, in nfsd4_write() 1019 nfsd_file_put(nf); in nfsd4_write() 1350 struct nfsd_file *nf; in nfsd4_fallocate() local 1354 WR_STATE, &nf); in nfsd4_fallocate() 1360 status = nfsd4_vfs_fallocate(rqstp, &cstate->current_fh, nf->nf_file, in nfsd4_fallocate() 1364 nfsd_file_put(nf); in nfsd4_fallocate() 1409 struct nfsd_file *nf; in nfsd4_seek() local 1413 RD_STATE, &nf); in nfsd4_seek() [all …]
|