/linux-master/tools/perf/util/ |
H A D | thread.h | 5 #include <linux/refcount.h>
|
H A D | map.h | 5 #include <linux/refcount.h>
|
/linux-master/fs/nfs/ |
H A D | fscache.c | 285 refcount_set(&netfs->refcount, 1);
|
/linux-master/include/linux/ |
H A D | vfio.h | 62 refcount_t refcount; /* user count on registered device*/ member in struct:vfio_device
|
H A D | perf_event.h | 61 #include <linux/refcount.h> 745 atomic_long_t refcount; member in struct:perf_event 850 * struct perf_event_pmu_context lifetime is refcount based and RCU freed 866 * perf_event holds a refcount on perf_event_context 867 * perf_event holds a refcount on perf_event_pmu_context 885 atomic_t refcount; /* event <-> epc */ member in struct:perf_event_pmu_context 941 refcount_t refcount; /* event <-> ctx */ member in struct:perf_event_context
|
/linux-master/drivers/video/console/ |
H A D | sticon.c | 62 #define FNTREFCOUNT(fd) (fd->refcount)
|
/linux-master/drivers/tee/ |
H A D | tee_core.c | 63 kref_init(&ctx->refcount); 83 kref_get(&ctx->refcount); 89 refcount); 100 kref_put(&ctx->refcount, teedev_ctx_release);
|
/linux-master/net/core/ |
H A D | net-procfs.c | 345 ha->refcount, ha->global_use,
|
/linux-master/fs/btrfs/ |
H A D | extent_io.h | 7 #include <linux/refcount.h>
|
/linux-master/include/net/ |
H A D | tls.h | 260 refcount_t refcount; member in struct:tls_context
|
/linux-master/net/dsa/ |
H A D | dsa.c | 172 /* Since we refcount bridges, we know that when we call this function 228 kref_init(&dst->refcount); 244 kref_get(&dst->refcount); 264 dst = container_of(ref, struct dsa_switch_tree, refcount); 272 kref_put(&dst->refcount, dsa_tree_release);
|
/linux-master/include/linux/mlx5/ |
H A D | driver.h | 50 #include <linux/refcount.h> 394 refcount_t refcount; member in struct:mlx5_core_rsc_common 527 u64 refcount; member in struct:mlx5_rl_entry 540 u64 refcount; member in struct:mlx5_rl_table
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_bo.h | 262 * This function either puts the object if possible without the refcount 281 if (!kref_put(&bo->ttm.base.refcount, __xe_bo_release_dummy))
|
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 1138 struct kref refcount; member in struct:dc_transfer_func 1165 struct kref refcount; member in struct:dc_3dlut 1284 struct kref refcount; member in struct:dc_plane_state 2319 // refcount must be the last member in dc_sink, since we want the 2321 // refcount 2322 struct kref refcount; member in struct:dc_sink
|
H A D | dc_stream.h | 253 struct kref refcount; member in struct:dc_stream_state
|
/linux-master/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | core_types.h | 601 * @refcount: refcount reference 607 struct kref refcount; member in struct:dc_state
|
/linux-master/arch/arm64/kvm/vgic/ |
H A D | vgic.h | 230 return kref_get_unless_zero(&irq->refcount);
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | srq_cmd.c | 89 refcount_inc(&srq->common.refcount); 650 refcount_set(&srq->common.refcount, 1); 743 refcount_inc(&srq->common.refcount);
|
H A D | qpc.c | 25 refcount_inc(&common->refcount); 34 if (refcount_dec_and_test(&common->refcount)) 174 refcount_set(&qp->common.refcount, 1);
|
/linux-master/drivers/char/agp/ |
H A D | intel-gtt.c | 79 int refcount; member in struct:_intel_private 1403 if (intel_private.refcount++) 1450 if (--intel_private.refcount)
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | qp.c | 51 if (refcount_dec_and_test(&qp->refcount)) 65 refcount_inc(&qp->refcount); 431 refcount_set(&qp->refcount, 1);
|
/linux-master/net/batman-adv/ |
H A D | bat_v_ogm.c | 69 kref_get(&orig_node->refcount); 308 if (!kref_get_unless_zero(&hard_iface->refcount)) 932 if (!kref_get_unless_zero(&hard_iface->refcount))
|
/linux-master/arch/x86/kernel/cpu/sgx/ |
H A D | encl.c | 702 struct sgx_encl *encl = container_of(ref, struct sgx_encl, refcount); 805 kref_put(&encl_mm->encl->refcount, sgx_encl_release); 860 /* Grab a refcount for the encl_mm->encl reference: */ 861 kref_get(&encl->refcount);
|
/linux-master/sound/soc/stm/ |
H A D | stm32_spdifrx.c | 227 * @refcount: keep count of opened DMA channels 248 int refcount; member in struct:stm32_spdifrx_data 335 spdifrx->refcount++; 380 if (--spdifrx->refcount) {
|
/linux-master/drivers/pci/hotplug/ |
H A D | acpiphp_glue.c | 21 * - The one in acpiphp_bridge has its refcount elevated by pci_get_slot() 22 * when the bridge is scanned and it loses a refcount when the bridge 24 * - When a P2P bridge is present, we elevate the refcount on the subordinate 25 * bus. It loses the refcount when the driver unloads. 67 context->refcount = 1; 88 context->refcount++; 102 if (--context->refcount)
|