Home
last modified time | relevance | path

Searched refs:nf_ref (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/fs/nfsd/
H A Dtrace.h888 __field(int, nf_ref)
895 __entry->nf_ref = refcount_read(&nf->nf_ref);
902 __entry->nf_ref,
928 __field(unsigned int, nf_ref)
933 __entry->nf_ref = refcount_read(&nf->nf_ref);
937 __entry->nf_inode, __entry->nf_ref,
958 __field(unsigned int, nf_ref)
969 __entry->nf_ref
[all...]
H A Dfilecache.c230 refcount_set(&nf->nf_ref, 1); in nfsd_file_alloc()
344 if (nf && refcount_inc_not_zero(&nf->nf_ref)) in nfsd_file_get()
366 * If this is the last reference (nf_ref == 1), then try to in nfsd_file_put()
369 if (refcount_dec_not_one(&nf->nf_ref)) in nfsd_file_put()
389 if (refcount_dec_and_test(&nf->nf_ref)) in nfsd_file_put()
471 if (!refcount_dec_and_test(&nf->nf_ref)) { in __releases()
557 if (refcount_sub_and_test(decrement, &nf->nf_ref)) { in __must_hold()
1016 WARN_ON_ONCE(refcount_dec_and_test(&nf->nf_ref)); in nfsd_file_do_acquire()
1097 if (refcount_dec_and_test(&nf->nf_ref)) in nfsd_file_do_acquire()
1119 if (refcount_dec_and_test(&nf->nf_ref)) in nfsd_file_do_acquire()
[all...]
H A Dfilecache.h42 refcount_t nf_ref; member
/kernel/linux/linux-5.10/fs/nfsd/
H A Dfilecache.c188 refcount_set(&nf->nf_ref, 1); in nfsd_file_alloc()
281 if (refcount_dec_not_one(&nf->nf_ref)) in nfsd_file_unhash_and_release_locked()
293 if (refcount_dec_and_test(&nf->nf_ref)) { in nfsd_file_put_noref()
305 if (refcount_read(&nf->nf_ref) > 2 || !nf->nf_file) { in nfsd_file_put()
322 if (likely(refcount_inc_not_zero(&nf->nf_ref))) in nfsd_file_get()
348 if (!refcount_dec_and_test(&nf->nf_ref)) in nfsd_file_dispose_list_sync()
431 if (refcount_read(&nf->nf_ref) > 1) in __releases()
1020 refcount_inc(&nf->nf_ref); in nfsd_file_acquire()
H A Dtrace.h422 __field(int, nf_ref)
430 __entry->nf_ref = refcount_read(&nf->nf_ref);
438 __entry->nf_ref,
467 __field(int, nf_ref)
479 __entry->nf_ref = nf ? refcount_read(&nf->nf_ref) : 0;
488 show_nf_may(__entry->may_flags), __entry->nf_ref,
H A Dfilecache.h46 refcount_t nf_ref; member

Completed in 6 milliseconds