Searched refs:f_count (Results 1 – 9 of 9) sorted by relevance
129 dprintk("lockd: found file %p (count %d)\n", file, file->f_count); in nlm_lookup_file()131 file->f_count++; in nlm_lookup_file()229 if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares) in nlm_file_inuse()260 file->f_count++; in nlm_traverse_files()269 file->f_count--; in nlm_traverse_files()272 && !file->f_shares && !file->f_count) { in nlm_traverse_files()296 file, file->f_count); in nlm_release_file()302 if (--file->f_count == 0 && !nlm_file_inuse(file)) in nlm_release_file()
250 file->f_count++; in nlmsvc_create_block()
133 atomic_long_set(&f->f_count, 1); in get_empty_filp()269 if (atomic_long_dec_and_test(&file->f_count)) in fput()285 !atomic_long_inc_not_zero(&file->f_count)) in fget()304 if (!atomic_long_inc_not_zero(&file->f_count)) in fget_raw()345 atomic_long_inc_not_zero(&file->f_count)) in fget_light()369 if (atomic_long_inc_not_zero(&file->f_count)) in fget_raw_light()383 if (atomic_long_dec_and_test(&file->f_count)) { in put_filp()
609 req, atomic_long_read(&req->ki_filp->f_count)); in __aio_put_req()
16 reference count (->f_count).80 on ->f_count :85 if (atomic_long_inc_not_zero(&file->f_count))
116 atomic_t f_count; /* fb_open count */ member507 atomic_inc(&ps3fb.f_count); in ps3fb_open()513 if (atomic_dec_and_test(&ps3fb.f_count)) { in ps3fb_release()1002 atomic_set(&ps3fb.f_count, -1); /* fbcon opens ps3fb */ in ps3fb_probe()
157 unsigned int f_count; /* reference count */ member
1000 atomic_long_t f_count; member1033 #define get_file(x) atomic_long_inc(&(x)->f_count)1034 #define fput_atomic(x) atomic_long_add_unless(&(x)->f_count, -1, 1)1035 #define file_count(x) atomic_long_read(&(x)->f_count)
591 if (atomic_long_read(&file->f_count) <= 2) { in ppp_ioctl()596 atomic_long_read(&file->f_count)); in ppp_ioctl()