Home
last modified time | relevance | path

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

/linux-6.12.1/fs/lockd/
Dsvcsubs.c147 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()
Dsvclock.c258 file->f_count++; in nlmsvc_create_block()
/linux-6.12.1/fs/
Dfile_table.c177 atomic_long_set(&f->f_count, 1); in init_file()
482 if (atomic_long_dec_and_test(&file->f_count)) { in fput()
515 if (atomic_long_dec_and_test(&file->f_count)) in __fput_sync()
Dfile.c842 if (unlikely(!atomic_long_inc_not_zero(&file->f_count))) in __get_file_rcu()
959 if (unlikely(!atomic_long_inc_not_zero(&file->f_count))) in __fget_files_rcu()
Deventpoll.c1005 if (!atomic_long_inc_not_zero(&file->f_count)) in epi_fget()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dshmem_utils.c43 atomic_long_inc(&file->f_count); in shmem_create_from_object()
/linux-6.12.1/drivers/video/fbdev/
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()
996 atomic_set(&ps3fb.f_count, -1); /* fbcon opens ps3fb */ in ps3fb_probe()
/linux-6.12.1/include/linux/lockd/
Dlockd.h163 unsigned int f_count; /* reference count */ member
/linux-6.12.1/Documentation/filesystems/
Dfiles.rst19 reference count (->f_count).
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dttm_object.c474 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; in get_dma_buf_unless_doomed()
/linux-6.12.1/include/linux/
Dfs.h1033 atomic_long_t f_count; member
1081 long prior = atomic_long_fetch_inc_relaxed(&f->f_count); in get_file()
1089 #define file_count(x) atomic_long_read(&(x)->f_count)
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_main.c13936 int f_count = 0; in i40e_add_vsi() local
14140 f_count++; in i40e_add_vsi()
14145 if (f_count) { in i40e_add_vsi()