Searched refs:refcount (Results 501 - 525 of 761) sorted by relevance

<<21222324252627282930>>

/linux-master/fs/smb/client/
H A Dcifsproto.h84 void __release_mid(struct kref *refcount);
623 void cifs_aio_ctx_release(struct kref *refcount);
768 kref_put(&mid->refcount, __release_mid);
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_tgt.c190 kref_put(&io_req->refcount,
223 kref_put(&io_req->refcount,
255 kref_put(&io_req->refcount, bnx2fc_cmd_release);
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_job.c315 kref_get(&job->refcount); /* put by scheduler job completion */
333 refcount);
362 kref_put(&job->refcount, panfrost_job_cleanup);
/linux-master/drivers/staging/media/atomisp/
H A DMakefile40 pci/base/refcount/src/refcount.o \
167 -I$(atomisp)/pci/base/refcount/interface/ \
/linux-master/net/netrom/
H A Dnr_route.c161 refcount_set(&nr_neigh->refcount, 1);
196 refcount_set(&nr_node->refcount, 1);
208 /* refcount initialized at 1 */
404 refcount_set(&nr_neigh->refcount, 1);
417 /* refcount is initialized at 1 */
/linux-master/fs/bcachefs/
H A Dbcachefs.h194 #include <linux/percpu-refcount.h>
196 #include <linux/refcount.h>
529 u32 refcount; member in struct:reflink_gc
/linux-master/fs/xfs/
H A Dxfs_attr_item.c58 if (!refcount_inc_not_zero(&nv->refcount))
69 if (refcount_dec_and_test(&nv->refcount))
130 refcount_set(&nv->refcount, 1);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste.c193 dst->refcount = src->refcount;
516 htbl->refcount = 0;
526 ste->refcount = 0;
542 if (htbl->refcount)
/linux-master/fs/nfs/
H A Dwrite.c50 struct kref refcount; member in struct:nfs_io_completion
127 kref_init(&ioc->refcount);
133 struct nfs_io_completion, refcount);
141 kref_get(&ioc->refcount);
147 kref_put(&ioc->refcount, nfs_io_completion_release);
H A Ddelegation.c52 refcount_inc(&delegation->refcount);
58 if (refcount_dec_and_test(&delegation->refcount))
440 refcount_set(&delegation->refcount, 1);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c123 refcount_t refcount; member in struct:mlxsw_sp_mdb_entry_port
1122 refcount_read(&mdb_entry_port->refcount) == 1)
1125 refcount_inc(&mdb_entry_port->refcount);
1141 refcount_set(&mdb_entry_port->refcount, 1);
1164 if (!force && !refcount_dec_and_test(&mdb_entry_port->refcount)) {
1166 refcount_read(&mdb_entry_port->refcount) == 1)
1189 refcount_inc(&mdb_entry_port->refcount);
1205 refcount_set(&mdb_entry_port->refcount, 1);
1232 if (!refcount_dec_and_test(&mdb_entry_port->refcount))
2142 refcount_read(&removed_entry_port->refcount) >
[all...]
/linux-master/drivers/infiniband/ulp/isert/
H A Dib_isert.c254 device->refcount--;
255 isert_info("device %p refcount %d\n", device, device->refcount);
256 if (!device->refcount) {
273 device->refcount++;
274 isert_info("Found iser device %p refcount %d\n",
275 device, device->refcount);
297 device->refcount++;
299 isert_info("Created a new iser device %p refcount %d\n",
300 device, device->refcount);
[all...]
/linux-master/drivers/md/
H A Draid5-cache.c2639 uintptr_t refcount; local
2695 refcount = (uintptr_t)radix_tree_deref_slot_protected(
2700 (void *)((refcount + 1) << R5C_RADIX_COUNT_SHIFT));
2804 uintptr_t refcount; local
2850 refcount = (uintptr_t)radix_tree_deref_slot_protected(
2853 if (refcount == 1)
2858 (void *)((refcount - 1) << R5C_RADIX_COUNT_SHIFT));
/linux-master/drivers/accel/habanalabs/common/
H A Dhabanalabs.h417 * @kref: refcount of this SOB. The SOB will reset once the refcount is zero.
827 * @refcount: refcount for this fence
839 struct kref refcount; member in struct:hl_fence
927 * @refcount: reference counter for buffer users
939 struct kref refcount; member in struct:hl_mmap_mem_buf
1173 * the job will be to pass over the free_obj_jobs list and put refcount to objects
1876 * @refcount: reference counter for the context. Context is released only when
1915 struct kref refcount; member in struct:hl_ctx
2029 struct kref refcount; member in struct:hl_cs
2099 struct kref refcount; member in struct:hl_cs_job
2322 struct kref refcount; member in struct:hl_fpriv
3550 struct kref refcount; member in struct:hl_cs_encaps_sig_handle
[all...]
/linux-master/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c511 /** @refcount: Reference count */
512 struct kref refcount; member in struct:panthor_group
724 /** @refcount: Reference count. */
725 struct kref refcount; member in struct:panthor_job
857 refcount);
870 kref_put(&group->refcount, group_release);
877 kref_get(&group->refcount);
3095 kref_init(&group->refcount);
3289 struct panthor_job *job = container_of(ref, struct panthor_job, refcount);
3311 kref_get(&job->refcount);
[all...]
/linux-master/drivers/net/ethernet/mscc/
H A Docelot.c1808 refcount_set(&pgid->refcount, 1);
1816 if (!refcount_dec_and_test(&pgid->refcount))
1843 refcount_inc(&pgid->refcount);
2644 refcount_inc(&m->refcount);
2653 refcount_set(&m->refcount, 1);
2666 if (!refcount_dec_and_test(&m->refcount))
H A Docelot_vcap.c888 refcount_t refcount; member in struct:vcap_policer_entry
908 refcount_inc(&tmp->refcount);
923 refcount_set(&tmp->refcount, 1);
938 z = refcount_dec_and_test(&tmp->refcount);
/linux-master/kernel/events/
H A Dcore.c1164 refcount_inc(&ctx->refcount);
1191 if (refcount_dec_and_test(&ctx->refcount)) {
1274 if (!refcount_inc_not_zero(&ctx->refcount)) {
1407 !refcount_inc_not_zero(&ctx->refcount)) {
2128 if (!atomic_long_inc_not_zero(&group_leader->refcount))
2294 WARN_ON_ONCE(!atomic_long_inc_not_zero(&event->refcount));
4742 refcount_set(&ctx->refcount, 1);
4752 atomic_set(&epc->refcount, 1);
4792 * Returns a matching context with refcount and pincount.
4886 atomic_set(&epc->refcount,
[all...]
/linux-master/drivers/vfio/
H A Dvfio_main.c165 if (refcount_dec_and_test(&device->refcount))
171 return refcount_inc_not_zero(&device->refcount);
311 refcount_set(&device->refcount, 1);
/linux-master/net/rds/
H A Dib.h261 refcount_t refcount; member in struct:rds_ib_device
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dneigh.c4 #include <linux/refcount.h>
/linux-master/drivers/media/mc/
H A Dmc-request.c15 #include <linux/refcount.h>
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_timeline.c479 if (refcount_dec_and_test(&tl->kref.refcount)) {
/linux-master/drivers/usb/dwc2/
H A Dhcd.h198 * @refcount: Number of Queue Heads (QHs) holding a reference.
207 int refcount; member in struct:dwc2_tt
/linux-master/drivers/misc/sgi-gru/
H A Dgrutables.h132 #include <linux/refcount.h>

Completed in 367 milliseconds

<<21222324252627282930>>