Searched refs:f_count (Results 1 - 10 of 10) sorted by relevance

/linux-master/fs/lockd/
H A Dsvcsubs.c147 dprintk("lockd: found file %p (count %d)\n", file, file->f_count);
149 file->f_count++;
270 if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares)
311 file->f_count++;
320 file->f_count--;
323 && !file->f_shares && !file->f_count) {
347 file, file->f_count);
353 if (--file->f_count == 0 && !nlm_file_inuse(file))
H A Dsvclock.c258 file->f_count++;
/linux-master/fs/
H A Dfile_table.c166 * We're SLAB_TYPESAFE_BY_RCU so initialize f_count last. While
170 atomic_long_set(&f->f_count, 1);
473 if (atomic_long_dec_and_test(&file->f_count)) {
506 if (atomic_long_dec_and_test(&file->f_count))
H A Dfile.c868 if (unlikely(!atomic_long_inc_not_zero(&file->f_count)))
990 if (unlikely(!atomic_long_inc_not_zero(&file->f_count)))
/linux-master/drivers/gpu/drm/i915/gt/
H A Dshmem_utils.c42 atomic_long_inc(&file->f_count);
/linux-master/drivers/video/fbdev/
H A Dps3fb.c116 atomic_t f_count; /* fb_open count */ member in struct:ps3fb_priv
507 atomic_inc(&ps3fb.f_count);
513 if (atomic_dec_and_test(&ps3fb.f_count)) {
996 atomic_set(&ps3fb.f_count, -1); /* fbcon opens ps3fb */
/linux-master/include/linux/lockd/
H A Dlockd.h163 unsigned int f_count; /* reference count */ member in struct:nlm_file
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c478 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L;
/linux-master/include/linux/
H A Dfs.h1006 atomic_long_t f_count; member in struct:file
1043 atomic_long_inc(&f->f_count);
1050 #define file_count(x) atomic_long_read(&(x)->f_count)
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c13881 int f_count = 0; local
14085 f_count++;
14090 if (f_count) {

Completed in 322 milliseconds