Searched refs:refcount (Results 126 - 150 of 761) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dref_tracker.h4 #include <linux/refcount.h>
H A Duser_events.h13 #include <linux/refcount.h>
H A Dnsproxy.h5 #include <linux/refcount.h>
H A Dconnector.h12 #include <linux/refcount.h>
H A Ddma-fence.h32 * @refcount: refcount for this fence
95 struct kref refcount; member in struct:dma_fence
291 * dma_fence_put - decreases refcount of the fence
292 * @fence: fence to reduce refcount of
297 kref_put(&fence->refcount, dma_fence_release);
301 * dma_fence_get - increases refcount of the fence
302 * @fence: fence to increase refcount of
304 * Returns the same fence, with refcount increased by 1.
309 kref_get(&fence->refcount);
[all...]
H A Dzpool.h78 atomic_t refcount; member in struct:zpool_driver
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ptrn.c112 refcount_set(&pattern->refcount, 1);
167 refcount_dec(&pattern->refcount);
171 refcount_inc(&pattern->refcount);
191 if (refcount_dec_and_test(&pattern->refcount))
/linux-master/io_uring/
H A Dio-wq.h4 #include <linux/refcount.h>
/linux-master/fs/smb/client/
H A Dcached_dir.h42 struct kref refcount; member in struct:cached_fid
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bo_list.h48 struct kref refcount; member in struct:amdgpu_bo_list
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_gem.h50 struct kref refcount; member in struct:panfrost_gem_mapping
/linux-master/tools/perf/util/
H A Dcgroup.h6 #include <linux/refcount.h>
/linux-master/drivers/s390/crypto/
H A Dzcrypt_queue.c126 kref_init(&zq->refcount);
145 container_of(kref, struct zcrypt_queue, refcount);
151 kref_get(&zq->refcount);
157 return kref_put(&zq->refcount, zcrypt_queue_release);
H A Dzcrypt_card.c146 kref_init(&zc->refcount);
160 container_of(kref, struct zcrypt_card, refcount);
166 kref_get(&zc->refcount);
172 return kref_put(&zc->refcount, zcrypt_card_release);
/linux-master/include/linux/sched/
H A Dtask_stack.h11 #include <linux/refcount.h>
/linux-master/include/drm/
H A Ddrm_mode_object.h38 * @refcount: reference count for objects which with dynamic lifetime
59 struct kref refcount; member in struct:drm_mode_object
/linux-master/tools/lib/perf/include/internal/
H A Dmmap.h6 #include <linux/refcount.h>
/linux-master/drivers/crypto/ccp/
H A Dsev-dev.h33 struct kref refcount; member in struct:sev_misc_dev
/linux-master/arch/arm64/include/asm/
H A Dmmu.h17 #include <linux/refcount.h>
/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_submit_types.h84 /** @refcount: ref count of this exec queue */
85 u32 refcount; member in struct:xe_guc_submit_exec_queue_snapshot
/linux-master/drivers/misc/lkdtm/
H A DMakefile8 lkdtm-$(CONFIG_LKDTM) += refcount.o
/linux-master/net/devlink/
H A Dcore.c42 refcount_t refcount; member in struct:devlink_rel
61 refcount_inc(&rel->refcount);
66 if (refcount_dec_and_test(&rel->refcount))
125 refcount_set(&rel->refcount, 1);
303 if (refcount_inc_not_zero(&devlink->refcount))
322 if (refcount_dec_and_test(&devlink->refcount))
453 refcount_set(&devlink->refcount, 1);
/linux-master/drivers/gpu/drm/panthor/
H A Dpanthor_heap.c83 /** @refcount: Reference count. */
84 struct kref refcount; member in struct:panthor_heap_pool
485 static void panthor_heap_pool_release(struct kref *refcount) argument
488 container_of(refcount, struct panthor_heap_pool, refcount);
501 kref_put(&pool->refcount, panthor_heap_pool_release);
514 kref_get(&pool->refcount);
548 kref_init(&pool->refcount);
/linux-master/drivers/media/common/siano/
H A Dsmsdvb-debugfs.c24 struct kref refcount; member in struct:smsdvb_debugfs
232 kref_get(&debug_data->refcount);
248 debug_data = container_of(ref, struct smsdvb_debugfs, refcount);
273 kref_get(&debug_data->refcount);
278 kref_put(&debug_data->refcount, smsdvb_debugfs_data_release);
289 kref_get(&debug_data->refcount);
322 kref_put(&debug_data->refcount, smsdvb_debugfs_data_release);
335 kref_put(&debug_data->refcount, smsdvb_debugfs_data_release);
378 kref_init(&debug_data->refcount);
393 kref_put(&client->debug_data->refcount, smsdvb_debugfs_data_releas
[all...]
/linux-master/block/
H A Dblk-ioc.c31 BUG_ON(atomic_long_read(&ioc->refcount) <= 0);
32 atomic_long_inc(&ioc->refcount);
207 BUG_ON(atomic_long_read(&ioc->refcount) <= 0);
208 if (atomic_long_dec_and_test(&ioc->refcount) && !ioc_delay_free(ioc))
238 atomic_long_set(&ioc->refcount, 1);

Completed in 337 milliseconds

1234567891011>>