Home
last modified time | relevance | path

Searched refs:refcnt (Results 1 – 25 of 68) 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/include/qapi/qmp/
Dqobject.h59 size_t refcnt; member
79 obj->base.refcnt = 1; \
88 obj->refcnt++; in qobject_incref()
97 if (obj && --obj->refcnt == 0) { in qobject_decref()
/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/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/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/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/usrsctp/usrsctplib/netinet/
Dsctp_peeloff.c155 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_do_peeloff()
163 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_do_peeloff()
197 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_get_peeloff()
217 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_get_peeloff()
227 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_get_peeloff()
297 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_get_peeloff()
308 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_get_peeloff()
Dsctp_lock_userspace.h218 #define SCTP_SOCKET_LOCK(so, refcnt) argument
219 #define SCTP_SOCKET_UNLOCK(so, refcnt) argument
Dsctp_input.c866 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_handle_abort()
870 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_handle_abort()
951 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_handle_shutdown()
955 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_handle_shutdown()
1054 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_handle_shutdown_ack()
1058 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_handle_shutdown_ack()
1092 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_handle_shutdown_ack()
1096 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_handle_shutdown_ack()
1249 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_handle_error()
1253 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_handle_error()
[all …]
/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/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/linux-tools-perf/perf-3.12.0/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/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/uapi/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/iproute2/include/linux/
Dpkt_cls.h133 int refcnt; member
145 int refcnt; member
153 int refcnt; \
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_mbuf.c209 u_int *refcnt; in clust_constructor_dup() local
216 refcnt = SCTP_ZONE_GET(zone_ext_refcnt, u_int); in clust_constructor_dup()
218 if (refcnt == NULL) { in clust_constructor_dup()
222 refcnt = SCTP_ZONE_GET(zone_ext_refcnt, u_int); in clust_constructor_dup()
225 *refcnt = 1; in clust_constructor_dup()
234 m->m_ext.ref_cnt = refcnt; in clust_constructor_dup()
509 u_int *refcnt; in mb_ctor_clust() local
521 refcnt = SCTP_ZONE_GET(zone_ext_refcnt, u_int); in mb_ctor_clust()
523 *refcnt = 1; in mb_ctor_clust()
533 m->m_ext.ref_cnt = refcnt; in mb_ctor_clust()
/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()
/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()
/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()

123