Searched refs:f_count (Results 1 – 11 of 11) sorted by relevance
127 dprintk("lockd: found file %p (count %d)\n", file, file->f_count); in nlm_lookup_file()129 file->f_count++; in nlm_lookup_file()231 if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares) in nlm_file_inuse()264 file->f_count++; in nlm_traverse_files()273 file->f_count--; in nlm_traverse_files()276 && !file->f_shares && !file->f_count) { in nlm_traverse_files()300 file, file->f_count); in nlm_release_file()306 if (--file->f_count == 0 && !nlm_file_inuse(file)) in nlm_release_file()
248 file->f_count++; in nlmsvc_create_block()
134 atomic_long_set(&f->f_count, 1); in get_empty_filp()266 if (atomic_long_dec_and_test(&file->f_count)) { in fput()295 if (atomic_long_dec_and_test(&file->f_count)) { in __fput_sync()306 if (atomic_long_dec_and_test(&file->f_count)) { in put_filp()
16 reference count (->f_count).80 on ->f_count :85 if (atomic_long_inc_not_zero(&file->f_count))
115 atomic_t f_count; /* fb_open count */ member506 atomic_inc(&ps3fb.f_count); in ps3fb_open()512 if (atomic_dec_and_test(&ps3fb.f_count)) { in ps3fb_release()995 atomic_set(&ps3fb.f_count, -1); /* fbcon opens ps3fb */ in ps3fb_probe()
158 unsigned int f_count; /* reference count */ member
853 atomic_long_t f_count; member886 atomic_long_inc(&f->f_count); in get_file()889 #define get_file_rcu(x) atomic_long_inc_not_zero(&(x)->f_count)890 #define fput_atomic(x) atomic_long_add_unless(&(x)->f_count, -1, 1)891 #define file_count(x) atomic_long_read(&(x)->f_count)
555 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; in get_dma_buf_unless_doomed()
609 if (atomic_long_read(&file->f_count) < 2) { in ppp_ioctl()614 atomic_long_read(&file->f_count)); in ppp_ioctl()
8781 int f_count = 0; in i40e_add_vsi() local8955 f_count++; in i40e_add_vsi()8986 if (f_count) { in i40e_add_vsi()
4472 return atomic_long_read(&obj->base.filp->f_count) == 1; in discard_backing_storage()