/linux-master/drivers/tee/ |
H A D | tee_shm.c | 90 refcount_set(&shm->refcount, 1); 299 refcount_set(&shm->refcount, 1); 473 refcount_inc(&shm->refcount); 544 * If the tee_shm was found in the IDR it must have a refcount 551 refcount_inc(&shm->refcount); 567 if (refcount_dec_and_test(&shm->refcount)) { 569 * refcount has reached 0, we must now remove it from the
|
/linux-master/lib/ |
H A D | objagg.c | 21 unsigned int refcount; member in struct:objagg_hints 65 unsigned int refcount; /* counts number of users of this object member in struct:objagg_obj 74 return ++objagg_obj->refcount; 79 return --objagg_obj->refcount; 184 parent->refcount); 216 objagg_obj->parent->refcount); 445 trace_objagg_obj_get(objagg, objagg_obj, objagg_obj->refcount); 480 trace_objagg_obj_put(objagg, objagg_obj, objagg_obj->refcount); 531 objagg_hints->refcount++; 949 objagg_hints->refcount [all...] |
/linux-master/net/batman-adv/ |
H A D | tp_meter.c | 276 if (unlikely(!kref_get_unless_zero(&pos->refcount))) 318 if (unlikely(!kref_get_unless_zero(&pos->refcount))) 339 tp_vars = container_of(ref, struct batadv_tp_vars, refcount); 364 kref_put(&tp_vars->refcount, batadv_tp_vars_release); 907 kref_get(&tp_vars->refcount); 983 kref_init(&tp_vars->refcount); 1013 kref_get(&tp_vars->refcount); 1029 kref_get(&tp_vars->refcount); 1355 kref_init(&tp_vars->refcount); 1360 kref_get(&tp_vars->refcount); [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | xsk.c | 62 int refcount; member in struct:xsk_umem 73 int refcount; member in struct:xsk_ctx 468 ctx->refcount++; 482 if (--ctx->refcount) 528 ctx->refcount = 1; 568 if (umem->refcount++ > 0) { 672 if (umem->refcount > 1) { 701 if (--umem->refcount) 729 if (umem->refcount) 774 umem->refcount [all...] |
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 8 #include <linux/refcount.h> 433 refcount_t refcount; member in struct:enetc_psfp_filter 444 refcount_t refcount; member in struct:enetc_psfp_gate 457 refcount_t refcount; member in struct:enetc_psfp_meter 979 z = refcount_dec_and_test(&sfi->refcount); 996 z = refcount_dec_and_test(&sgi->refcount); 1011 z = refcount_dec_and_test(&fmi->refcount); 1252 refcount_set(&sgi->refcount, 1); 1275 refcount_set(&sfi->refcount, 1); 1291 refcount_set(&fmi->refcount, [all...] |
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router_hw.c | 167 refcount_inc(&vr->refcount); 173 refcount_set(&vr->refcount, 1); 181 if (refcount_dec_and_test(&vr->refcount)) 498 refcount_inc(&nh_grp->refcount); 504 refcount_set(&nh_grp->refcount, 1); 513 if (refcount_dec_and_test(&nh_grp->refcount))
|
/linux-master/include/linux/ |
H A D | mroute_base.h | 15 * @dev_tracker: refcount tracker for @dev reference 130 * @refcount: reference count for this entry 154 refcount_t refcount; member in struct:mr_mfc::__anon2589::__anon2591 164 if (refcount_dec_and_test(&c->mfc_un.res.refcount)) 170 refcount_inc(&c->mfc_un.res.refcount);
|
H A D | cgroup-defs.h | 17 #include <linux/refcount.h> 18 #include <linux/percpu-refcount.h> 226 refcount_t refcount; member in struct:css_set
|
H A D | ipc_namespace.h | 11 #include <linux/refcount.h>
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | icm.h | 69 int refcount; member in struct:mlx4_icm
|
/linux-master/net/atm/ |
H A D | mpoa_caches.h | 11 #include <linux/refcount.h>
|
/linux-master/include/net/sctp/ |
H A D | auth.h | 19 #include <linux/refcount.h>
|
/linux-master/drivers/net/wireguard/ |
H A D | noise.h | 38 struct kref refcount; member in struct:noise_keypair
|
/linux-master/include/net/ |
H A D | lapb.h | 5 #include <linux/refcount.h>
|
/linux-master/tools/lib/perf/ |
H A D | threadmap.c | 4 #include <linux/refcount.h>
|
/linux-master/drivers/rpmsg/ |
H A D | mtk_rpmsg.c | 68 refcount); 100 kref_init(&ept->refcount); 112 kref_put(&ept->refcount, __mtk_ept_release); 135 kref_put(&ept->refcount, __mtk_ept_release);
|
/linux-master/arch/x86/kernel/cpu/sgx/ |
H A D | encl.h | 65 struct kref refcount; member in struct:sgx_encl
|
/linux-master/drivers/usb/gadget/function/ |
H A D | u_fs.h | 20 #include <linux/refcount.h>
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_vma_resource.h | 10 #include <linux/refcount.h>
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_span.h | 9 #include <linux/refcount.h>
|
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot.h | 64 refcount_t refcount; member in struct:ocelot_pgid
|
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gem.h | 91 struct kref refcount; member in struct:etnaviv_gem_submit
|
/linux-master/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.h | 10 #include <linux/refcount.h>
|
/linux-master/drivers/pci/hotplug/ |
H A D | acpiphp.h | 112 unsigned int refcount; member in struct:acpiphp_context
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | user.c | 273 if (!--device->refcount) { 276 device->refcount++; 294 if (!device->refcount++) { 297 device->refcount--;
|