Lines Matching refs:nf_flags

185 		nf->nf_flags = 0;  in nfsd_file_alloc()
192 __set_bit(NFSD_FILE_BREAK_WRITE, &nf->nf_flags); in nfsd_file_alloc()
194 __set_bit(NFSD_FILE_BREAK_READ, &nf->nf_flags); in nfsd_file_alloc()
261 if (test_and_clear_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_unhash()
295 WARN_ON(test_bit(NFSD_FILE_HASHED, &nf->nf_flags)); in nfsd_file_put_noref()
305 set_bit(NFSD_FILE_REFERENCED, &nf->nf_flags); in nfsd_file_put()
312 is_hashed = test_bit(NFSD_FILE_HASHED, &nf->nf_flags) != 0; in nfsd_file_put()
442 if (test_and_clear_bit(NFSD_FILE_REFERENCED, &nf->nf_flags)) in nfsd_file_lru_cb()
445 if (!test_and_clear_bit(NFSD_FILE_HASHED, &nf->nf_flags)) in nfsd_file_lru_cb()
904 if (!test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) in nfsd_file_find_locked()
982 wait_on_bit(&nf->nf_flags, NFSD_FILE_PENDING, TASK_UNINTERRUPTIBLE); in nfsd_file_acquire()
985 if (!test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) { in nfsd_file_acquire()
1000 if (test_bit(NFSD_FILE_BREAK_READ, &nf->nf_flags) || in nfsd_file_acquire()
1001 (test_bit(NFSD_FILE_BREAK_WRITE, &nf->nf_flags) && write)) { in nfsd_file_acquire()
1005 clear_bit(NFSD_FILE_BREAK_READ, &nf->nf_flags); in nfsd_file_acquire()
1008 &nf->nf_flags); in nfsd_file_acquire()
1026 __set_bit(NFSD_FILE_HASHED, &nf->nf_flags); in nfsd_file_acquire()
1027 __set_bit(NFSD_FILE_PENDING, &nf->nf_flags); in nfsd_file_acquire()
1055 clear_bit_unlock(NFSD_FILE_PENDING, &nf->nf_flags); in nfsd_file_acquire()
1057 wake_up_bit(&nf->nf_flags, NFSD_FILE_PENDING); in nfsd_file_acquire()