Lines Matching refs:nf_flags
190 if (!!test_bit(NFSD_FILE_GC, &nf->nf_flags) != key->gc) in nfsd_file_obj_cmpfn()
192 if (test_bit(NFSD_FILE_HASHED, &nf->nf_flags) == 0) in nfsd_file_obj_cmpfn()
321 nf->nf_flags = 0; in nfsd_file_alloc()
322 __set_bit(NFSD_FILE_HASHED, &nf->nf_flags); in nfsd_file_alloc()
323 __set_bit(NFSD_FILE_PENDING, &nf->nf_flags); in nfsd_file_alloc()
325 __set_bit(NFSD_FILE_GC, &nf->nf_flags); in nfsd_file_alloc()
362 if (test_and_clear_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_unhash()
414 set_bit(NFSD_FILE_REFERENCED, &nf->nf_flags); in nfsd_file_lru_add()
453 if (test_bit(NFSD_FILE_GC, &nf->nf_flags) && in nfsd_file_put()
454 test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_put()
465 if (test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_put()
563 WARN_ON_ONCE(!test_bit(NFSD_FILE_GC, &nf->nf_flags)); in nfsd_file_lru_cb()
575 if (test_and_clear_bit(NFSD_FILE_REFERENCED, &nf->nf_flags)) { in nfsd_file_lru_cb()
1119 wait_on_bit(&nf->nf_flags, NFSD_FILE_PENDING, TASK_UNINTERRUPTIBLE); in nfsd_file_do_acquire()
1122 if (!test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_do_acquire()
1177 clear_bit_unlock(NFSD_FILE_PENDING, &nf->nf_flags); in nfsd_file_do_acquire()
1179 wake_up_bit(&nf->nf_flags, NFSD_FILE_PENDING); in nfsd_file_do_acquire()