Searched refs:refcount (Results 1 - 25 of 757) sorted by path

1234567891011>>

/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_srq.c267 srq->refcount = 1;
332 c = srq->refcount;
356 --srq->refcount;
439 ++srq->refcount;
457 if (!--srq->refcount)
/linux-master/drivers/media/mc/
H A Dmc-dev-allocator.c33 struct kref refcount; member in struct:media_device_instance
45 container_of(kref, struct media_device_instance, refcount);
71 kref_get(&mdi->refcount);
89 kref_init(&mdi->refcount);
133 kref_put(&mdi->refcount, media_device_instance_release);
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.h69 int refcount; member in struct:mlx4_icm
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_els.c41 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release);
116 kref_put(&aborted_io_req->refcount, bnx2fc_cmd_release);
372 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release);
578 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release);
601 kref_get(&orig_io_req->refcount);
616 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release);
642 kref_get(&orig_io_req->refcount);
660 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release);
724 kref_put(&els_req->refcount, bnx2fc_cmd_release);
745 kref_put(&els_req->refcount, bnx2fc_cmd_releas
[all...]
/linux-master/fs/squashfs/
H A Dcache.c90 if (cache->entry[i].refcount == 0)
104 entry->refcount = 1;
135 * Block already in cache. Increment refcount so it doesn't
141 if (entry->refcount == 0)
143 entry->refcount++;
160 TRACE("Got %s %d, start block %lld, refcount %d, error %d\n",
161 cache->name, i, entry->block, entry->refcount, entry->error);
178 entry->refcount--;
179 if (entry->refcount == 0) {
/linux-master/include/linux/ceph/
H A Dpagelist.h6 #include <linux/refcount.h>
/linux-master/include/linux/
H A Dkref.h17 #include <linux/refcount.h>
20 refcount_t refcount; member in struct:kref
23 #define KREF_INIT(n) { .refcount = REFCOUNT_INIT(n), }
31 refcount_set(&kref->refcount, 1);
36 return refcount_read(&kref->refcount);
40 * kref_get - increment refcount for object.
45 refcount_inc(&kref->refcount);
49 * kref_put - decrement refcount for object.
56 * Decrement the refcount, and if 0, call release().
64 if (refcount_dec_and_test(&kref->refcount)) {
[all...]
/linux-master/include/media/
H A Dmedia-request.h18 #include <linux/refcount.h>
188 * when the refcount reaches 0.
/linux-master/include/net/
H A Dcalipso.h27 #include <linux/refcount.h>
46 refcount_t refcount; member in struct:calipso_doi
/linux-master/include/trace/events/
H A Dobjagg.h88 unsigned int refcount),
90 TP_ARGS(objagg, obj, refcount),
95 __field(unsigned int, refcount)
101 __entry->refcount = refcount;
104 TP_printk("objagg %p, obj %p, refcount %u",
105 __entry->objagg, __entry->obj, __entry->refcount)
111 unsigned int refcount),
113 TP_ARGS(objagg, obj, refcount),
118 __field(unsigned int, refcount)
[all...]
/linux-master/kernel/cgroup/
H A Ddebug.c54 refcnt = refcount_read(&cset->refcount);
82 count = refcount_read(&task_css_set(current)->refcount);
126 int refcnt = refcount_read(&cset->refcount);
130 * and highlight difference between refcount and task_count.
/linux-master/net/atm/
H A Dmpoa_caches.h11 #include <linux/refcount.h>
/linux-master/net/ax25/
H A Dax25_uid.c107 refcount_set(&ax25_uid->refcount, 1);
/linux-master/tools/perf/util/
H A Dcomm.c7 #include <linux/refcount.h>
/linux-master/arch/arm64/include/asm/
H A Dmmu.h17 #include <linux/refcount.h>
/linux-master/arch/arm64/kvm/hyp/include/nvhe/
H A Dmemory.h11 unsigned short refcount; member in struct:hyp_page
43 * hyp_pool::lock must be held if atomic access to the refcount is required.
49 return p->refcount;
54 BUG_ON(p->refcount == USHRT_MAX);
55 p->refcount++;
60 BUG_ON(!p->refcount);
61 p->refcount--;
67 return (p->refcount == 0);
72 BUG_ON(p->refcount);
73 p->refcount
[all...]
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dmem_protect.c205 p->refcount = 1;
H A Dpage_alloc.c58 if (!buddy || buddy->order != order || buddy->refcount)
161 * lock held. If a refcount change requires an update to the buddy tree (e.g.
163 * section to guarantee transient states (e.g. a page with null refcount but
/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-init.c166 kref_init(&irq->refcount);
219 kref_init(&irq->refcount);
H A Dvgic-its.c34 * If this LPI is already mapped on another ITS, we increase its refcount
65 kref_init(&irq->refcount);
106 * by dropping the refcount and returning the error.
658 * The irq refcount is guaranteed to be nonzero while holding the
H A Dvgic.c80 * struct vgic_irq. It also increases the refcount, so any caller is expected
122 if (!kref_put(&irq->refcount, vgic_irq_release))
649 * also drop the refcount.
H A Dvgic.h230 return kref_get_unless_zero(&irq->refcount);
/linux-master/arch/s390/include/asm/
H A Ddebug.h14 #include <linux/refcount.h>
H A Dgmap.h13 #include <linux/refcount.h>
/linux-master/arch/s390/mm/
H A Dextmem.c22 #include <linux/refcount.h>

Completed in 384 milliseconds

1234567891011>>