/linux-master/fs/nfs/ |
H A D | fscache.h | 42 * refcount here to double as a marker of the last RPC completion, 45 refcount_t refcount; member in struct:nfs_netfs_io_data 58 refcount_inc(&netfs->refcount); 66 if (!refcount_dec_and_test(&netfs->refcount))
|
/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | mcast.c | 78 atomic_set(&mcast->refcount, 0); 130 atomic_inc(&mcast->refcount); 218 atomic_inc(&mcast->refcount); 371 wait_event(mcast->wait, atomic_read(&mcast->refcount) <= 1); 375 atomic_dec(&mcast->refcount); 376 wait_event(mcast->wait, !atomic_read(&mcast->refcount));
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router_hw.h | 9 refcount_t refcount; member in struct:prestera_vr 89 refcount_t refcount; member in struct:prestera_nexthop_group
|
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_mmu.h | 71 struct kref refcount; member in struct:etnaviv_iommu_context 112 kref_get(&ctx->refcount);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | pin_system.c | 108 kref_get(&rb_node->refcount); 161 * kref refcount on *node_p will be 2 on successful addition: one kref from 181 kref_init(&node->rb.refcount); 184 kref_get(&node->rb.refcount); 248 SDMA_DBG(req, "prepend: node->rb.addr %lx, node->rb.refcount %d", 249 node->rb.addr, kref_read(&node->rb.refcount)); 256 kref_put(&node->rb.refcount, hfi1_mmu_rb_release); 272 kref_get(&node->refcount); 279 kref_put(&node->rb.refcount, hfi1_mmu_rb_release); 378 kref_put(&cache_entry->rb.refcount, hfi1_mmu_rb_releas [all...] |
/linux-master/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-srv.h | 14 #include <linux/refcount.h> 106 refcount_t refcount; member in struct:rtrs_srv_sess
|
/linux-master/drivers/media/common/videobuf2/ |
H A D | videobuf2-vmalloc.c | 16 #include <linux/refcount.h> 30 refcount_t refcount; member in struct:vb2_vmalloc_buf 55 buf->handler.refcount = &buf->refcount; 59 refcount_set(&buf->refcount, 1); 67 if (refcount_dec_and_test(&buf->refcount)) { 167 return refcount_read(&buf->refcount); 192 * Use common vm_area operations to track buffer refcount. 357 refcount_inc(&buf->refcount);
|
/linux-master/drivers/s390/crypto/ |
H A D | zcrypt_api.h | 99 struct kref refcount; /* device refcounting */ member in struct:zcrypt_card 116 struct kref refcount; /* device refcounting */ member in struct:zcrypt_queue
|
/linux-master/drivers/tee/amdtee/ |
H A D | amdtee_private.h | 48 * @refcount: counter to keep track of sessions opened for the TA instance 59 struct kref refcount; member in struct:amdtee_session 101 * @refcount: Reference count for the loaded TA 106 u32 refcount; member in struct:amdtee_ta_data
|
/linux-master/include/linux/ |
H A D | tee_drv.h | 27 * @refcount: reference counter for this structure 42 struct kref refcount; member in struct:tee_context 57 * @refcount: reference counter 73 refcount_t refcount; member in struct:tee_shm
|
H A D | cpu_rmap.h | 17 * @refcount: kref for object 24 struct kref refcount; member in struct:cpu_rmap
|
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 | zpool.h | 78 atomic_t refcount; member in struct:zpool_driver
|
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | q6adm.c | 50 struct kref refcount; member in struct:q6copp 101 kref_get(&c->refcount); 114 struct q6copp *c = container_of(ref, struct q6copp, refcount); 164 kref_put(&copp->refcount, q6adm_free_copp); 194 kref_put(&copp->refcount, q6adm_free_copp); 200 kref_put(&copp->refcount, q6adm_free_copp); 313 kref_get(&c->refcount); 414 kref_init(&copp->refcount); 425 kref_put(&copp->refcount, q6adm_free_copp); 525 kref_put(&copp->refcount, q6adm_free_cop [all...] |
/linux-master/drivers/dpll/ |
H A D | dpll_core.c | 87 refcount_inc(&ref->refcount); 105 refcount_set(&ref->refcount, 1); 120 refcount_inc(&ref->refcount); 142 if (refcount_dec_and_test(&ref->refcount)) { 168 refcount_inc(&ref->refcount); 186 refcount_set(&ref->refcount, 1); 201 refcount_inc(&ref->refcount); 223 if (refcount_dec_and_test(&ref->refcount)) { 251 refcount_set(&dpll->refcount, 1); 293 refcount_inc(&ret->refcount); [all...] |
/linux-master/include/linux/sunrpc/ |
H A D | auth_gss.h | 16 #include <linux/refcount.h>
|
/linux-master/lib/ |
H A D | refcount.c | 3 * Out-of-line refcount functions. 7 #include <linux/refcount.h> 40 * refcount_dec_if_one - decrement a refcount if it is 1 41 * @r: the refcount 53 * Return: true if the resulting refcount is 0, false otherwise 64 * refcount_dec_not_one - decrement a refcount if it is not 1 65 * @r: the refcount 99 * refcount to 0 100 * @r: the refcount 110 * Return: true and hold mutex if able to decrement refcount t [all...] |
H A D | cpu_rmap.c | 43 kref_init(&rmap->refcount); 68 struct cpu_rmap *rmap = container_of(ref, struct cpu_rmap, refcount); 78 kref_get(&rmap->refcount); 87 return kref_put(&rmap->refcount, cpu_rmap_release);
|
/linux-master/net/batman-adv/ |
H A D | gateway_client.h | 52 kref_put(&gw_node->refcount, batadv_gw_node_release);
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_db.c | 30 refcount_set(&page->refcount, 1); 47 refcount_inc(&page->refcount); 60 refcount_dec(&db->u.user_page->refcount); 61 if (refcount_dec_if_one(&db->u.user_page->refcount)) {
|
/linux-master/drivers/misc/lkdtm/ |
H A D | Makefile | 8 lkdtm-$(CONFIG_LKDTM) += refcount.o
|
/linux-master/drivers/s390/char/ |
H A D | vmur.h | 15 #include <linux/refcount.h>
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tc_encap_actions.h | 16 #include <linux/refcount.h>
|
/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))
|