Lines Matching refs:nf_flags
227 nf->nf_flags = want_gc ? in nfsd_file_alloc()
268 if (test_and_clear_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_unhash()
366 if (test_bit(NFSD_FILE_GC, &nf->nf_flags) && in nfsd_file_put()
367 test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_put()
368 set_bit(NFSD_FILE_REFERENCED, &nf->nf_flags); in nfsd_file_put()
369 set_bit(NFSD_FILE_RECENT, &nf->nf_flags); in nfsd_file_put()
502 WARN_ON_ONCE(!test_bit(NFSD_FILE_GC, &nf->nf_flags)); in nfsd_file_lru_cb()
514 if (test_and_clear_bit(NFSD_FILE_REFERENCED, &nf->nf_flags)) { in nfsd_file_lru_cb()
543 if (test_and_clear_bit(NFSD_FILE_RECENT, &nf->nf_flags)) { in nfsd_file_gc_cb()
548 clear_bit(NFSD_FILE_REFERENCED, &nf->nf_flags); in nfsd_file_gc_cb()
681 if (!test_bit(NFSD_FILE_GC, &nf->nf_flags)) in nfsd_file_queue_for_close()
1010 if (test_bit(NFSD_FILE_GC, &nf->nf_flags) != want_gc) in nfsd_file_lookup_locked()
1012 if (test_bit(NFSD_FILE_HASHED, &nf->nf_flags) == 0) in nfsd_file_lookup_locked()
1044 if (test_bit(NFSD_FILE_GC, &nf->nf_flags)) { in nfsd_file_is_cached()
1146 wait_on_bit(&nf->nf_flags, NFSD_FILE_PENDING, TASK_UNINTERRUPTIBLE); in nfsd_file_do_acquire()
1149 if (!test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_do_acquire()
1195 &nf->nf_flags); in nfsd_file_do_acquire()
1218 clear_and_wake_up_bit(NFSD_FILE_PENDING, &nf->nf_flags); in nfsd_file_do_acquire()