Searched refs:refcount (Results 201 - 225 of 761) sorted by relevance

1234567891011>>

/linux-master/drivers/tee/
H A Dtee_shm.c90 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 Dobjagg.c21 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 Dtp_meter.c276 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 Dxsk.c62 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 Denetc_qos.c8 #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 Dprestera_router_hw.c167 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 Dmroute_base.h15 * @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 Dcgroup-defs.h17 #include <linux/refcount.h>
18 #include <linux/percpu-refcount.h>
226 refcount_t refcount; member in struct:css_set
H A Dipc_namespace.h11 #include <linux/refcount.h>
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.h69 int refcount; member in struct:mlx4_icm
/linux-master/net/atm/
H A Dmpoa_caches.h11 #include <linux/refcount.h>
/linux-master/include/net/sctp/
H A Dauth.h19 #include <linux/refcount.h>
/linux-master/drivers/net/wireguard/
H A Dnoise.h38 struct kref refcount; member in struct:noise_keypair
/linux-master/include/net/
H A Dlapb.h5 #include <linux/refcount.h>
/linux-master/tools/lib/perf/
H A Dthreadmap.c4 #include <linux/refcount.h>
/linux-master/drivers/rpmsg/
H A Dmtk_rpmsg.c68 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 Dencl.h65 struct kref refcount; member in struct:sgx_encl
/linux-master/drivers/usb/gadget/function/
H A Du_fs.h20 #include <linux/refcount.h>
/linux-master/drivers/gpu/drm/i915/
H A Di915_vma_resource.h10 #include <linux/refcount.h>
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.h9 #include <linux/refcount.h>
/linux-master/drivers/net/ethernet/mscc/
H A Docelot.h64 refcount_t refcount; member in struct:ocelot_pgid
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem.h91 struct kref refcount; member in struct:etnaviv_gem_submit
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.h10 #include <linux/refcount.h>
/linux-master/drivers/pci/hotplug/
H A Dacpiphp.h112 unsigned int refcount; member in struct:acpiphp_context
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Duser.c273 if (!--device->refcount) {
276 device->refcount++;
294 if (!device->refcount++) {
297 device->refcount--;

Completed in 205 milliseconds

1234567891011>>