/linux-master/include/linux/ |
H A D | ref_tracker.h | 4 #include <linux/refcount.h>
|
H A D | user_events.h | 13 #include <linux/refcount.h>
|
H A D | nsproxy.h | 5 #include <linux/refcount.h>
|
H A D | connector.h | 12 #include <linux/refcount.h>
|
H A D | dma-fence.h | 32 * @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 D | zpool.h | 78 atomic_t refcount; member in struct:zpool_driver
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ptrn.c | 112 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 D | io-wq.h | 4 #include <linux/refcount.h>
|
/linux-master/fs/smb/client/ |
H A D | cached_dir.h | 42 struct kref refcount; member in struct:cached_fid
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_bo_list.h | 48 struct kref refcount; member in struct:amdgpu_bo_list
|
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_gem.h | 50 struct kref refcount; member in struct:panfrost_gem_mapping
|
/linux-master/tools/perf/util/ |
H A D | cgroup.h | 6 #include <linux/refcount.h>
|
/linux-master/drivers/s390/crypto/ |
H A D | zcrypt_queue.c | 126 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 D | zcrypt_card.c | 146 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 D | task_stack.h | 11 #include <linux/refcount.h>
|
/linux-master/include/drm/ |
H A D | drm_mode_object.h | 38 * @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 D | mmap.h | 6 #include <linux/refcount.h>
|
/linux-master/drivers/crypto/ccp/ |
H A D | sev-dev.h | 33 struct kref refcount; member in struct:sev_misc_dev
|
/linux-master/arch/arm64/include/asm/ |
H A D | mmu.h | 17 #include <linux/refcount.h>
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_guc_submit_types.h | 84 /** @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 D | Makefile | 8 lkdtm-$(CONFIG_LKDTM) += refcount.o
|
/linux-master/net/devlink/ |
H A D | core.c | 42 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 D | panthor_heap.c | 83 /** @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 D | smsdvb-debugfs.c | 24 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 D | blk-ioc.c | 31 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);
|