/kernel/linux/linux-5.10/fs/lockd/ |
H A D | svcsubs.c | 128 dprintk("lockd: found file %p (count %d)\n", file, file->f_count); in nlm_lookup_file() 130 file->f_count++; in nlm_lookup_file() 232 if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares) in nlm_file_inuse() 265 file->f_count++; in nlm_traverse_files() 274 file->f_count--; in nlm_traverse_files() 277 && !file->f_shares && !file->f_count) { in nlm_traverse_files() 301 file, file->f_count); in nlm_release_file() 307 if (--file->f_count == 0 && !nlm_file_inuse(file)) in nlm_release_file()
|
H A D | svclock.c | 249 file->f_count++; in nlmsvc_create_block()
|
/kernel/linux/linux-6.6/fs/lockd/ |
H A D | svcsubs.c | 147 dprintk("lockd: found file %p (count %d)\n", file, file->f_count); in nlm_lookup_file() 149 file->f_count++; in nlm_lookup_file() 270 if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares) in nlm_file_inuse() 311 file->f_count++; in nlm_traverse_files() 320 file->f_count--; in nlm_traverse_files() 323 && !file->f_shares && !file->f_count) { in nlm_traverse_files() 347 file, file->f_count); in nlm_release_file() 353 if (--file->f_count == 0 && !nlm_file_inuse(file)) in nlm_release_file()
|
H A D | svclock.c | 258 file->f_count++; in nlmsvc_create_block()
|
/kernel/linux/linux-5.10/fs/ |
H A D | file_table.c | 112 atomic_long_set(&f->f_count, 1); in __alloc_file() 337 if (atomic_long_sub_and_test(refs, &file->f_count)) { in fput_many() 371 if (atomic_long_dec_and_test(&file->f_count)) { in __fput_sync()
|
/kernel/linux/linux-6.6/fs/ |
H A D | file_table.c | 167 atomic_long_set(&f->f_count, 1); in init_file() 435 if (atomic_long_dec_and_test(&file->f_count)) { in fput() 464 if (atomic_long_dec_and_test(&file->f_count)) in __fput_sync()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | shmem_utils.c | 38 atomic_long_inc(&file->f_count); in shmem_create_from_object()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | shmem_utils.c | 42 atomic_long_inc(&file->f_count); in shmem_create_from_object()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | ps3fb.c | 116 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() 996 atomic_set(&ps3fb.f_count, -1); /* fbcon opens ps3fb */ in ps3fb_probe()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | ps3fb.c | 116 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() 997 atomic_set(&ps3fb.f_count, -1); /* fbcon opens ps3fb */ in ps3fb_probe()
|
/kernel/linux/linux-5.10/include/linux/lockd/ |
H A D | lockd.h | 161 unsigned int f_count; /* reference count */ member
|
/kernel/linux/linux-6.6/include/linux/lockd/ |
H A D | lockd.h | 163 unsigned int f_count; /* reference count */ member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | ttm_object.c | 478 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; in get_dma_buf_unless_doomed()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | fs.h | 941 atomic_long_t f_count; member 970 atomic_long_inc(&f->f_count); in get_file() 974 atomic_long_add_unless(&(x)->f_count, (cnt), 0) 976 #define file_count(x) atomic_long_read(&(x)->f_count)
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | fs.h | 1007 atomic_long_t f_count; member 1044 atomic_long_inc(&f->f_count); in get_file() 1047 #define get_file_rcu(x) atomic_long_inc_not_zero(&(x)->f_count) 1048 #define file_count(x) atomic_long_read(&(x)->f_count)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | ttm_object.c | 584 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; in get_dma_buf_unless_doomed()
|
/kernel/linux/linux-6.6/drivers/accel/ivpu/ |
H A D | ivpu_gem.c | 718 dma_refcount = atomic_long_read(&bo->base.dma_buf->file->f_count); in ivpu_bo_print_info()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 13271 int f_count = 0; in i40e_add_vsi() local 13475 f_count++; in i40e_add_vsi() 13480 if (f_count) { in i40e_add_vsi()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 13966 int f_count = 0; in i40e_add_vsi() local 14170 f_count++; in i40e_add_vsi() 14175 if (f_count) { in i40e_add_vsi()
|