Searched refs:f_count (Results 1 - 15 of 15) sorted by relevance
/linux-4.1.27/fs/lockd/ |
H A D | svcsubs.c | 127 dprintk("lockd: found file %p (count %d)\n", file, file->f_count); nlm_lookup_file() 129 file->f_count++; nlm_lookup_file() 231 if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares) nlm_file_inuse() 264 file->f_count++; nlm_traverse_files() 273 file->f_count--; nlm_traverse_files() 276 && !file->f_shares && !file->f_count) { nlm_traverse_files() 300 file, file->f_count); nlm_release_file() 306 if (--file->f_count == 0 && !nlm_file_inuse(file)) nlm_release_file()
|
H A D | svclock.c | 248 file->f_count++; nlmsvc_create_block()
|
/linux-4.1.27/fs/ |
H A D | file_table.c | 134 atomic_long_set(&f->f_count, 1); get_empty_filp() 266 if (atomic_long_dec_and_test(&file->f_count)) { fput() 295 if (atomic_long_dec_and_test(&file->f_count)) { __fput_sync() 306 if (atomic_long_dec_and_test(&file->f_count)) { put_filp()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
H A D | omap_gem_dmabuf.c | 196 * refcount on gem itself instead of f_count of dmabuf. omap_gem_prime_import()
|
/linux-4.1.27/net/sched/ |
H A D | sch_atm.c | 147 pr_debug("atm_tc_put: f_count %ld\n", atm_tc_put() 243 return error; /* f_count++ */ atm_tc_change() 244 pr_debug("atm_tc_change: f_count %ld\n", file_count(sock->file)); atm_tc_change()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_dmabuf.c | 218 * refcount on gem itself instead of f_count of dmabuf. exynos_dmabuf_prime_import()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_dmabuf.c | 289 * refcount on gem itself instead of f_count of dmabuf. i915_gem_prime_import()
|
H A D | i915_gem.c | 4468 return atomic_long_read(&obj->base.filp->f_count) == 1; discard_backing_storage()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | ps3fb.c | 115 atomic_t f_count; /* fb_open count */ member in struct:ps3fb_priv 506 atomic_inc(&ps3fb.f_count); ps3fb_open() 512 if (atomic_dec_and_test(&ps3fb.f_count)) { ps3fb_release() 995 atomic_set(&ps3fb.f_count, -1); /* fbcon opens ps3fb */ ps3fb_probe()
|
/linux-4.1.27/include/linux/lockd/ |
H A D | lockd.h | 157 unsigned int f_count; /* reference count */ member in struct:nlm_file
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_prime.c | 513 * refcount on gem itself instead of f_count of dmabuf. drm_gem_prime_import()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
H A D | ttm_object.c | 555 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; get_dma_buf_unless_doomed()
|
/linux-4.1.27/include/linux/ |
H A D | fs.h | 843 atomic_long_t f_count; member in struct:file 876 atomic_long_inc(&f->f_count); get_file() 879 #define get_file_rcu(x) atomic_long_inc_not_zero(&(x)->f_count) 880 #define fput_atomic(x) atomic_long_add_unless(&(x)->f_count, -1, 1) 881 #define file_count(x) atomic_long_read(&(x)->f_count)
|
/linux-4.1.27/drivers/net/ppp/ |
H A D | ppp_generic.c | 599 if (atomic_long_read(&file->f_count) < 2) { ppp_ioctl() 603 pr_warn("PPPIOCDETACH file->f_count=%ld\n", ppp_ioctl() 604 atomic_long_read(&file->f_count)); ppp_ioctl()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 8283 int f_count = 0; i40e_add_vsi() local 8448 f_count++; i40e_add_vsi() 8471 if (f_count) { i40e_add_vsi()
|
Completed in 990 milliseconds