Home
last modified time | relevance | path

Searched refs:f_count (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/fs/lockd/ !
Dsvcsubs.c129 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()
Dsvclock.c250 file->f_count++; in nlmsvc_create_block()
/linux-3.4.99/fs/ !
Dfile_table.c133 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()
Daio.c609 req, atomic_long_read(&req->ki_filp->f_count)); in __aio_put_req()
/linux-3.4.99/Documentation/filesystems/ !
Dfiles.txt16 reference count (->f_count).
80 on ->f_count :
85 if (atomic_long_inc_not_zero(&file->f_count))
/linux-3.4.99/drivers/video/ !
Dps3fb.c116 atomic_t f_count; /* fb_open count */ member
507 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()
/linux-3.4.99/include/linux/lockd/ !
Dlockd.h157 unsigned int f_count; /* reference count */ member
/linux-3.4.99/include/linux/ !
Dfs.h1000 atomic_long_t f_count; member
1033 #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)
/linux-3.4.99/drivers/net/ppp/ !
Dppp_generic.c591 if (atomic_long_read(&file->f_count) <= 2) { in ppp_ioctl()
596 atomic_long_read(&file->f_count)); in ppp_ioctl()