Lines Matching refs:nf_flags
237 nf->nf_flags = want_gc ? in nfsd_file_alloc()
278 if (test_and_clear_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_unhash()
379 if (test_bit(NFSD_FILE_GC, &nf->nf_flags) && in nfsd_file_put()
380 test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_put()
381 set_bit(NFSD_FILE_REFERENCED, &nf->nf_flags); in nfsd_file_put()
382 set_bit(NFSD_FILE_RECENT, &nf->nf_flags); in nfsd_file_put()
528 WARN_ON_ONCE(!test_bit(NFSD_FILE_GC, &nf->nf_flags)); in nfsd_file_lru_cb()
540 if (test_and_clear_bit(NFSD_FILE_REFERENCED, &nf->nf_flags)) { in nfsd_file_lru_cb()
569 if (test_and_clear_bit(NFSD_FILE_RECENT, &nf->nf_flags)) { in nfsd_file_gc_cb()
574 clear_bit(NFSD_FILE_REFERENCED, &nf->nf_flags); in nfsd_file_gc_cb()
700 if (!test_bit(NFSD_FILE_GC, &nf->nf_flags)) in nfsd_file_queue_for_close()
777 test_bit(NFSD_FILE_GC, &nf->nf_flags) && in nfsd_file_close_export()
1096 if (test_bit(NFSD_FILE_GC, &nf->nf_flags) != want_gc) in nfsd_file_lookup_locked()
1098 if (test_bit(NFSD_FILE_HASHED, &nf->nf_flags) == 0) in nfsd_file_lookup_locked()
1130 if (test_bit(NFSD_FILE_GC, &nf->nf_flags)) { in nfsd_file_is_cached()
1232 wait_on_bit(&nf->nf_flags, NFSD_FILE_PENDING, TASK_UNINTERRUPTIBLE); in nfsd_file_do_acquire()
1235 if (!test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_do_acquire()
1279 &nf->nf_flags); in nfsd_file_do_acquire()
1302 clear_and_wake_up_bit(NFSD_FILE_PENDING, &nf->nf_flags); in nfsd_file_do_acquire()