Searched refs:refcount (Results 151 - 175 of 757) sorted by relevance

1234567891011>>

/linux-master/drivers/infiniband/hw/mlx4/
H A Dmcg.c119 /* refcount is the reference count for the following:
124 atomic_t refcount; member in struct:mcast_group
444 if (atomic_dec_and_test(&group->refcount)) {
448 atomic_inc(&group->refcount);
577 atomic_inc(&group->refcount);
579 safe_atomic_dec(&group->refcount);
778 atomic_inc(&group->refcount);
865 atomic_inc(&group->refcount);
873 atomic_inc(&group->refcount); /* for the request */
874 atomic_inc(&group->refcount); /* fo
[all...]
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_acl.c62 refcount_t refcount; member in struct:prestera_acl_ruleset
74 refcount_t refcount; member in struct:prestera_acl_vtcam
155 refcount_set(&ruleset->refcount, 1);
293 refcount_inc(&ruleset->refcount);
306 refcount_inc(&ruleset->refcount);
315 if (!refcount_dec_and_test(&ruleset->refcount))
449 refcount_inc(&ruleset->refcount);
785 refcount_inc(&vtcam->refcount);
807 refcount_inc(&vtcam->refcount);
813 refcount_inc(&vtcam->refcount);
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_action.c1007 refcount_set(&action->refcount, 1);
1031 refcount_inc(&dmn->refcount);
1041 refcount_inc(&tbl->refcount);
1052 refcount_dec(&tbl->refcount);
1157 /* No need to increase refcount on domain for this action,
1276 refcount_inc(&dmn->refcount);
1279 refcount_inc(&ref_actions[i]->refcount);
1315 refcount_inc(&dmn->refcount);
1368 refcount_inc(&dmn->refcount);
1554 refcount_inc(&dmn->refcount);
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.h163 u32 refcount; member in struct:bnxt_tc_tunnel_node
184 u16 refcount; member in struct:bnxt_tc_l2_node
/linux-master/drivers/infiniband/core/
H A Dmad_priv.h106 refcount_t refcount; member in struct:ib_mad_agent_private
135 int refcount; member in struct:ib_mad_send_wr_private
H A Dcma_priv.h77 refcount_t refcount; member in struct:rdma_id_private
/linux-master/kernel/events/
H A Dinternal.h7 #include <linux/refcount.h>
14 refcount_t refcount; member in struct:perf_buffer
/linux-master/net/batman-adv/
H A Dhard-interface.c53 hard_iface = container_of(ref, struct batadv_hard_iface, refcount);
73 kref_get_unless_zero(&hard_iface->refcount))
451 kref_get_unless_zero(&hard_iface->refcount))
485 kref_get(&new_hard_iface->refcount);
728 kref_get(&hard_iface->refcount);
745 kref_get(&hard_iface->refcount);
895 kref_init(&hard_iface->refcount);
907 kref_get(&hard_iface->refcount);
H A Dgateway_client.c67 gw_node = container_of(ref, struct batadv_gw_node, refcount);
89 if (!kref_get_unless_zero(&gw_node->refcount))
118 if (!kref_get_unless_zero(&orig_node->refcount))
136 kref_get(&new_gw_node->refcount);
340 kref_init(&gw_node->refcount);
342 kref_get(&orig_node->refcount);
347 kref_get(&gw_node->refcount);
381 if (!kref_get_unless_zero(&gw_node_tmp->refcount))
H A Dtranslation-table.h70 kref_put(&tt_global_entry->common.refcount,
/linux-master/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c15 #include <linux/refcount.h>
39 refcount_t refcount; member in struct:vb2_dc_buf
120 return refcount_read(&buf->refcount);
171 if (!refcount_dec_and_test(&buf->refcount))
265 buf->handler.refcount = &buf->refcount;
269 refcount_set(&buf->refcount, 1);
522 refcount_inc(&buf->refcount);
H A Dvideobuf2-dma-sg.c15 #include <linux/refcount.h>
50 refcount_t refcount; member in struct:vb2_dma_sg_buf
154 buf->handler.refcount = &buf->refcount;
159 refcount_set(&buf->refcount, 1);
185 if (refcount_dec_and_test(&buf->refcount)) {
329 return refcount_read(&buf->refcount);
349 * Use common vm_area operations to track buffer refcount.
542 refcount_inc(&buf->refcount);
/linux-master/include/linux/
H A Dbacking-dev-defs.h10 #include <linux/percpu-refcount.h>
15 #include <linux/refcount.h>
214 * wb_tryget - try to increment a wb's refcount
225 * wb_get - increment a wb's refcount
235 * wb_put - decrement a wb's refcount
254 * wb_put - decrement a wb's refcount
H A Dnetpoll.h15 #include <linux/refcount.h>
/linux-master/include/linux/ceph/
H A Dpagelist.h6 #include <linux/refcount.h>
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dsrq.c52 refcount_inc(&srq->refcount);
60 if (refcount_dec_and_test(&srq->refcount))
206 refcount_set(&srq->refcount, 1);
235 if (refcount_dec_and_test(&srq->refcount))
/linux-master/drivers/gpu/drm/i915/selftests/
H A Dlib_sw_fence.c117 refcount_set(&h->ref.refcount, 2);
/linux-master/drivers/md/
H A Ddm-zoned.h106 atomic_t refcount; member in struct:dm_zone
242 atomic_inc(&zone->refcount);
292 atomic_dec(&zone->refcount);
296 * Test if a zone is active, that is, has a refcount > 0.
300 return atomic_read(&zone->refcount);
/linux-master/include/net/netfilter/
H A Dnf_conntrack_timeout.h8 #include <linux/refcount.h>
H A Dnf_conntrack_expect.h9 #include <linux/refcount.h>
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.h46 struct kref refcount; member in struct:amdgpu_ctx
/linux-master/tools/perf/util/
H A Dnamespaces.h14 #include <linux/refcount.h>
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_gem.c64 kref_get(&iter->refcount);
90 mapping = container_of(kref, struct panfrost_gem_mapping, refcount);
103 kref_put(&mapping->refcount, panfrost_gem_mapping_release);
129 kref_init(&mapping->refcount);
/linux-master/arch/x86/include/asm/
H A Damd_nb.h7 #include <linux/refcount.h>
/linux-master/drivers/gpu/drm/
H A Ddrm_auth.c140 kref_init(&master->refcount);
390 kref_get(&master->refcount);
422 struct drm_master *master = container_of(kref, struct drm_master, refcount);
444 kref_put(&(*master)->refcount, drm_master_destroy);

Completed in 328 milliseconds

1234567891011>>