Home
last modified time | relevance | path

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

123

/external/valgrind/drd/
Ddrd_segment.c81 sg->refcnt = 1; in sg_init()
110 tl_assert(sg->refcnt == 0); in DRD_()
166 sg->refcnt++; in DRD_()
186 sg->refcnt, sg->refcnt - 1, vc); in DRD_()
190 tl_assert(sg->refcnt >= 1); in DRD_()
192 if (--sg->refcnt == 0) in DRD_()
202 tl_assert(sg1->refcnt == 1); in DRD_()
204 tl_assert(sg2->refcnt == 1); in DRD_()
Ddrd_segment.h51 int refcnt; member
87 return sg->refcnt; in DRD_()
/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/libnl/src/
Dnl-list-sockets.c32 int ret, proto, pid, rmem, wmem, refcnt; in main() local
37 &cb, &refcnt); in main()
43 groups, rmem, wmem, cb, refcnt); in main()
/external/libdrm/freedreno/
Dfreedreno_device.c112 atomic_set(&dev->refcnt, 1); in fd_device_new()
134 atomic_inc(&dev->refcnt); in fd_device_ref()
150 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del_locked()
157 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del()
Dfreedreno_bo.c76 atomic_set(&bo->refcnt, 1); in bo_from_handle()
186 atomic_set(&bo->refcnt, 1); in fd_bo_new()
277 atomic_inc(&bo->refcnt); in fd_bo_ref()
285 if (!atomic_dec_and_test(&bo->refcnt)) in fd_bo_del()
Dfreedreno_priv.h73 atomic_t refcnt; member
143 atomic_t refcnt; member
/external/libdrm/omap/
Domap_drm.c58 atomic_t refcnt; member
81 atomic_t refcnt; member
90 atomic_set(&dev->refcnt, 1); in omap_device_new_impl()
120 atomic_inc(&dev->refcnt); in omap_device_ref()
126 if (!atomic_dec_and_test(&dev->refcnt)) in omap_device_del()
189 atomic_set(&bo->refcnt, 1); in bo_from_handle()
263 atomic_inc(&bo->refcnt); in omap_bo_ref()
359 if (!atomic_dec_and_test(&bo->refcnt)) in omap_bo_del()
/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/toybox/toys/other/
Dlsmod.c27 *refcnt = strtok(NULL, " "), *users = strtok(NULL, " "); in lsmod_main() local
32 xprintf("%-19s %8s %s %s\n", name, size, refcnt, users); in lsmod_main()
/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/src/tools/perf/util/
Dcgroup.c118 if (cgrp->refcnt == 0) in add_cgroup()
123 cgrp->refcnt++; in add_cgroup()
134 if (--cgrp->refcnt == 0) { in close_cgroup()
Dcgroup.h9 int refcnt; member
/external/skia/tests/
DCachedDataTest.cpp23 int refcnt, CachedState cacheState, LockedState lockedState) { in check_data() argument
24 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt); in check_data()
DYUVCacheTest.cpp24 int refcnt, CachedState cacheState, LockedState lockedState) { in check_data() argument
25 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt); in check_data()
DMaskCacheTest.cpp24 int refcnt, CachedState cacheState, LockedState lockedState) { in check_data() argument
25 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt); in check_data()
/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/iproute2/include/linux/
Dpkt_cls.h133 int refcnt; member
145 int refcnt; member
153 int refcnt; \
/external/libnl/include/linux/
Dpkt_cls.h136 int refcnt; member
150 int refcnt; member
158 int refcnt; \
/external/kernel-headers/original/uapi/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/libdrm/nouveau/
Dnouveau.c355 if (atomic_read(&nvbo->refcnt)) { in nouveau_bo_del()
401 atomic_set(&nvbo->refcnt, 1); in nouveau_bo_new()
444 atomic_set(&nvbo->refcnt, 1); in nouveau_bo_wrap_locked()
519 atomic_inc(&nouveau_bo(bo)->refcnt); in nouveau_bo_ref()
522 if (atomic_dec_and_test(&nouveau_bo(ref)->refcnt)) in nouveau_bo_ref()
/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()

123