Home
last modified time | relevance | path

Searched refs:refcnt (Results 1 – 25 of 57) sorted by relevance

123

/external/valgrind/main/drd/
Ddrd_segment.c81 sg->refcnt = 1; in sg_init()
110 tl_assert(sg->refcnt == 0); in DRD_()
167 sg->refcnt++; in DRD_()
187 sg->refcnt, sg->refcnt - 1, vc); in DRD_()
191 tl_assert(sg->refcnt >= 1); in DRD_()
193 if (--sg->refcnt == 0) in DRD_()
203 tl_assert(sg1->refcnt == 1); in DRD_()
205 tl_assert(sg2->refcnt == 1); in DRD_()
Ddrd_segment.h51 int refcnt; member
87 return sg->refcnt; in DRD_()
/external/qemu/
Dqobject.h58 size_t refcnt; member
78 obj->base.refcnt = 1; \
87 obj->refcnt++; in qobject_incref()
96 if (obj && --obj->refcnt == 0) { in qobject_decref()
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/
Dd3d1xstutil.h255 uint32_t refcnt;
258 : refcnt(v)
263 p_atomic_inc((int32_t*)&refcnt);
264 return refcnt;
269 if(p_atomic_dec_zero((int32_t*)&refcnt))
271 return refcnt;
276 p_atomic_inc((int32_t*)&refcnt);
281 if(p_atomic_dec_zero((int32_t*)&refcnt))
303 uint64_t refcnt;
320 return *(volatile uint64_t*)&refcnt == 0ULL;
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/
Dd3d1xstutil.h255 uint32_t refcnt;
258 : refcnt(v)
263 p_atomic_inc((int32_t*)&refcnt);
264 return refcnt;
269 if(p_atomic_dec_zero((int32_t*)&refcnt))
271 return refcnt;
276 p_atomic_inc((int32_t*)&refcnt);
281 if(p_atomic_dec_zero((int32_t*)&refcnt))
303 uint64_t refcnt;
320 return *(volatile uint64_t*)&refcnt == 0ULL;
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_debug_refcnt.c149 unsigned refcnt = p->count; in debug_reference_slowpath() local
170 for(i = 1; i <= refcnt - change; ++i) in debug_reference_slowpath()
181 change > 0 ? "AddRef" : "Release", refcnt); in debug_reference_slowpath()
185 if(!refcnt) in debug_reference_slowpath()
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_refcnt.c149 unsigned refcnt = p->count; in debug_reference_slowpath() local
170 for(i = 1; i <= refcnt - change; ++i) in debug_reference_slowpath()
181 change > 0 ? "AddRef" : "Release", refcnt); in debug_reference_slowpath()
185 if(!refcnt) in debug_reference_slowpath()
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/
Dvmw_surface.c47 src_ref = src ? &src->refcnt : NULL; in vmw_svga_winsys_surface_reference()
48 dst_ref = dst ? &dst->refcnt : NULL; in vmw_svga_winsys_surface_reference()
Dvmw_surface.h49 struct pipe_reference refcnt; member
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_surface.c47 src_ref = src ? &src->refcnt : NULL; in vmw_svga_winsys_surface_reference()
48 dst_ref = dst ? &dst->refcnt : NULL; in vmw_svga_winsys_surface_reference()
Dvmw_surface.h49 struct pipe_reference refcnt; member
/external/linux-tools-perf/util/
Dcgroup.c119 if (cgrp->refcnt == 0) in add_cgroup()
124 cgrp->refcnt++; in add_cgroup()
135 if (--cgrp->refcnt == 0) { in close_cgroup()
Dcgroup.h9 int refcnt; member
/external/libusb/libusb/
Dcore.c514 dev->refcnt = 1; in usbi_alloc_device()
803 dev->refcnt++; in libusb_ref_device()
815 int refcnt; in libusb_unref_device() local
821 refcnt = --dev->refcnt; in libusb_unref_device()
824 if (refcnt == 0) { in libusb_unref_device()
/external/kernel-headers/original/linux/
Dpkt_cls.h136 int refcnt; member
150 int refcnt; member
158 int refcnt; \
Dmempolicy.h63 atomic_t refcnt; member
100 atomic_inc(&pol->refcnt); in mpol_get()
Datmdev.h356 atomic_t refcnt; /* reference count */ member
454 atomic_inc(&dev->refcnt); in atm_dev_hold()
460 if (atomic_dec_and_test(&dev->refcnt)) { in atm_dev_put()
/external/iproute2/include/linux/
Dpkt_cls.h133 int refcnt; member
145 int refcnt; member
153 int refcnt; \
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_framebuffer.c77 fb->refcnt--; in stw_framebuffer_destroy_locked()
78 if (fb->refcnt) { in stw_framebuffer_destroy_locked()
278 fb->refcnt = 1; in stw_framebuffer_create()
325 fb->refcnt++; in stw_framebuffer_reference()
Dstw_framebuffer.h77 unsigned refcnt; member
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/
Dstw_framebuffer.c77 fb->refcnt--; in stw_framebuffer_destroy_locked()
78 if (fb->refcnt) { in stw_framebuffer_destroy_locked()
278 fb->refcnt = 1; in stw_framebuffer_create()
325 fb->refcnt++; in stw_framebuffer_reference()
Dstw_framebuffer.h77 unsigned refcnt; member
/external/chromium_org/third_party/skia/src/core/
DSkMetaData.cpp20 SkRefCnt* refcnt = reinterpret_cast<SkRefCnt*>(ptr); in RefCntProc() local
23 refcnt->ref(); in RefCntProc()
25 refcnt->unref(); in RefCntProc()
/external/skia/src/core/
DSkMetaData.cpp20 SkRefCnt* refcnt = reinterpret_cast<SkRefCnt*>(ptr); in RefCntProc() local
23 refcnt->ref(); in RefCntProc()
25 refcnt->unref(); in RefCntProc()
/external/llvm/test/CodeGen/X86/
Drd-mod-wr-eflags.ll10 %refcnt = getelementptr inbounds %struct.obj* %o, i64 0, i32 0
11 %0 = load i64* %refcnt, align 8
13 store i64 %dec, i64* %refcnt, align 8

123