Home
last modified time | relevance | path

Searched refs:nfm (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/nfsd/
H A Dfilecache.c94 struct nfsd_file_mark *nfm = container_of(mark, struct nfsd_file_mark, in nfsd_file_mark_free() local
97 kmem_cache_free(nfsd_file_mark_slab, nfm); in nfsd_file_mark_free()
101 nfsd_file_mark_get(struct nfsd_file_mark *nfm) in nfsd_file_mark_get() argument
103 if (!refcount_inc_not_zero(&nfm->nfm_ref)) in nfsd_file_mark_get()
105 return nfm; in nfsd_file_mark_get()
109 nfsd_file_mark_put(struct nfsd_file_mark *nfm) in nfsd_file_mark_put() argument
111 if (refcount_dec_and_test(&nfm->nfm_ref)) { in nfsd_file_mark_put()
112 fsnotify_destroy_mark(&nfm->nfm_mark, nfsd_file_fsnotify_group); in nfsd_file_mark_put()
113 fsnotify_put_mark(&nfm->nfm_mark); in nfsd_file_mark_put()
122 struct nfsd_file_mark *nfm in nfsd_file_mark_find_or_create() local
[all...]
/kernel/linux/linux-6.6/fs/nfsd/
H A Dfilecache.c133 struct nfsd_file_mark *nfm = container_of(mark, struct nfsd_file_mark, in nfsd_file_mark_free() local
136 kmem_cache_free(nfsd_file_mark_slab, nfm); in nfsd_file_mark_free()
140 nfsd_file_mark_get(struct nfsd_file_mark *nfm) in nfsd_file_mark_get() argument
142 if (!refcount_inc_not_zero(&nfm->nfm_ref)) in nfsd_file_mark_get()
144 return nfm; in nfsd_file_mark_get()
148 nfsd_file_mark_put(struct nfsd_file_mark *nfm) in nfsd_file_mark_put() argument
150 if (refcount_dec_and_test(&nfm->nfm_ref)) { in nfsd_file_mark_put()
151 fsnotify_destroy_mark(&nfm->nfm_mark, nfsd_file_fsnotify_group); in nfsd_file_mark_put()
152 fsnotify_put_mark(&nfm->nfm_mark); in nfsd_file_mark_put()
161 struct nfsd_file_mark *nfm in nfsd_file_mark_find_or_create() local
[all...]

Completed in 3 milliseconds