/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_srq.c | 267 srq->refcount = 1; 332 c = srq->refcount; 356 --srq->refcount; 439 ++srq->refcount; 457 if (!--srq->refcount)
|
/linux-master/drivers/media/mc/ |
H A D | mc-dev-allocator.c | 33 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 D | icm.h | 69 int refcount; member in struct:mlx4_icm
|
/linux-master/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_els.c | 41 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 D | cache.c | 90 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 D | pagelist.h | 6 #include <linux/refcount.h>
|
/linux-master/include/linux/ |
H A D | kref.h | 17 #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 D | media-request.h | 18 #include <linux/refcount.h> 188 * when the refcount reaches 0.
|
/linux-master/include/net/ |
H A D | calipso.h | 27 #include <linux/refcount.h> 46 refcount_t refcount; member in struct:calipso_doi
|
/linux-master/include/trace/events/ |
H A D | objagg.h | 88 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 D | debug.c | 54 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 D | mpoa_caches.h | 11 #include <linux/refcount.h>
|
/linux-master/net/ax25/ |
H A D | ax25_uid.c | 107 refcount_set(&ax25_uid->refcount, 1);
|
/linux-master/tools/perf/util/ |
H A D | comm.c | 7 #include <linux/refcount.h>
|
/linux-master/arch/arm64/include/asm/ |
H A D | mmu.h | 17 #include <linux/refcount.h>
|
/linux-master/arch/arm64/kvm/hyp/include/nvhe/ |
H A D | memory.h | 11 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 D | mem_protect.c | 205 p->refcount = 1;
|
H A D | page_alloc.c | 58 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 D | vgic-init.c | 166 kref_init(&irq->refcount); 219 kref_init(&irq->refcount);
|
H A D | vgic-its.c | 34 * 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 D | vgic.c | 80 * 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 D | vgic.h | 230 return kref_get_unless_zero(&irq->refcount);
|
/linux-master/arch/s390/include/asm/ |
H A D | debug.h | 14 #include <linux/refcount.h>
|
H A D | gmap.h | 13 #include <linux/refcount.h>
|
/linux-master/arch/s390/mm/ |
H A D | extmem.c | 22 #include <linux/refcount.h>
|