Lines Matching refs:nf_flags
227 nf->nf_flags = want_gc ? in nfsd_file_alloc()
265 if (test_and_clear_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_unhash()
363 if (test_bit(NFSD_FILE_GC, &nf->nf_flags) && in nfsd_file_put()
364 test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_put()
365 set_bit(NFSD_FILE_REFERENCED, &nf->nf_flags); in nfsd_file_put()
366 set_bit(NFSD_FILE_RECENT, &nf->nf_flags); in nfsd_file_put()
520 WARN_ON_ONCE(!test_bit(NFSD_FILE_GC, &nf->nf_flags)); in nfsd_file_lru_cb()
532 if (test_and_clear_bit(NFSD_FILE_REFERENCED, &nf->nf_flags)) { in nfsd_file_lru_cb()
561 if (test_and_clear_bit(NFSD_FILE_RECENT, &nf->nf_flags)) { in nfsd_file_gc_cb()
566 clear_bit(NFSD_FILE_REFERENCED, &nf->nf_flags); in nfsd_file_gc_cb()
699 if (!test_bit(NFSD_FILE_GC, &nf->nf_flags)) in nfsd_file_queue_for_close()
1028 if (test_bit(NFSD_FILE_GC, &nf->nf_flags) != want_gc) in nfsd_file_lookup_locked()
1030 if (test_bit(NFSD_FILE_HASHED, &nf->nf_flags) == 0) in nfsd_file_lookup_locked()
1062 if (test_bit(NFSD_FILE_GC, &nf->nf_flags)) { in nfsd_file_is_cached()
1135 wait_on_bit(&nf->nf_flags, NFSD_FILE_PENDING, TASK_UNINTERRUPTIBLE); in nfsd_file_do_acquire()
1138 if (!test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_do_acquire()
1181 &nf->nf_flags); in nfsd_file_do_acquire()
1202 clear_and_wake_up_bit(NFSD_FILE_PENDING, &nf->nf_flags); in nfsd_file_do_acquire()