Home
last modified time | relevance | path

Searched refs:refcount (Results 126 - 150 of 190) sorted by relevance

12345678

/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_screen.h33 int refcount; member
/third_party/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_private.h44 int refcount; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_query.h245 unsigned refcount; member
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_priv.h64 int refcount; member
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_renderer_internal.c97 assert(!vn_refcount_is_valid(&shmem->refcount)); in vn_renderer_shmem_cache_add()
H A Dvn_descriptor_set.c40 vn_refcount_inc(&layout->refcount); in vn_descriptor_set_layout_ref()
48 if (vn_refcount_dec(&layout->refcount)) in vn_descriptor_set_layout_unref()
139 layout->refcount = VN_REFCOUNT_INIT(1); in vn_descriptor_set_layout_init()
H A Dvn_renderer_virtgpu.c1140 /* Check the refcount again after the import lock is grabbed. Yes, we use in virtgpu_bo_destroy()
1143 if (vn_refcount_is_valid(&bo->base.refcount)) { in virtgpu_bo_destroy()
1227 /* we check bo->gem_handle instead of bo->refcount because bo->refcount in virtgpu_bo_create_from_dma_buf()
1236 /* we can't use vn_renderer_bo_ref as the refcount may drop to 0 in virtgpu_bo_create_from_dma_buf()
1239 vn_refcount_fetch_add_relaxed(&bo->base.refcount, 1); in virtgpu_bo_create_from_dma_buf()
1243 .refcount = VN_REFCOUNT_INIT(1), in virtgpu_bo_create_from_dma_buf()
1286 .refcount = VN_REFCOUNT_INIT(1), in virtgpu_bo_create_from_device_memory()
1330 cached_shmem->refcount = VN_REFCOUNT_INIT(1); in virtgpu_shmem_create()
1351 .refcount in virtgpu_shmem_create()
[all...]
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
H A Dftobjs.h351 * refcount ::
377 FT_Int refcount; member
887 * refcount ::
917 FT_Int refcount; member
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dcord.cc158 // The returned node has a refcount of 1.
216 // The returned node has a refcount of 1.
229 // The returned node has a refcount of 1.
422 if (root->IsBtree() && root->refcount.IsOne()) { in PrepareAppendRegion()
433 while (dst->IsConcat() && dst->refcount.IsOne()) { in PrepareAppendRegion()
437 if (!dst->IsFlat() || !dst->refcount.IsOne()) { in PrepareAppendRegion()
652 tree->refcount.IsOne()) { in operator =()
895 // edited in place iff that node and all its ancestors have a refcount of 1.
900 bool inplace_ok = node->refcount.IsOne(); in RemoveSuffixFrom()
913 inplace_ok = inplace_ok && node->refcount in RemoveSuffixFrom()
[all...]
/third_party/libdrm/amdgpu/
H A Damdgpu_cs.c577 atomic_set(&gpu_semaphore->refcount, 1); in amdgpu_cs_create_semaphore()
604 update_references(NULL, &sem->refcount); in amdgpu_cs_signal_semaphore()
650 if (update_references(&sem->refcount, NULL)) in amdgpu_cs_unreference_sem()
/third_party/libwebsockets/lib/tls/openssl/
H A Dopenssl-client.c840 tcr->refcount++;
846 tcr->refcount);
886 tcr->refcount = 1;
/third_party/mesa3d/src/gallium/drivers/tegra/
H A Dtegra_context.c577 view->refcount--; in tegra_set_sampler_views()
578 if (!view->refcount) { in tegra_set_sampler_views()
579 view->refcount = 100000000; in tegra_set_sampler_views()
580 p_atomic_add(&view->gpu->reference.count, view->refcount); in tegra_set_sampler_views()
863 view->refcount = 100000000; in tegra_create_sampler_view()
876 p_atomic_add(&view->gpu->reference.count, -view->refcount); in tegra_sampler_view_destroy()
H A Dtegra_screen.c250 resource->refcount = 100000000; in tegra_screen_resource_create()
360 p_atomic_add(&resource->gpu->reference.count, -resource->refcount); in tegra_screen_resource_destroy()
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
H A Dtr_context.c1106 tr_view->refcount = 100000000; in trace_context_create_sampler_view()
1127 p_atomic_add(&tr_view->sampler_view->reference.count, -tr_view->refcount); in trace_context_sampler_view_destroy()
1213 tr_view->refcount--; in trace_context_set_sampler_views()
1214 if (!tr_view->refcount) { in trace_context_set_sampler_views()
1215 tr_view->refcount = 100000000; in trace_context_set_sampler_views()
1216 p_atomic_add(&tr_view->sampler_view->reference.count, tr_view->refcount); in trace_context_set_sampler_views()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_device.h229 uint16_t refcount; member
H A Dusb_device.c397 DPRINTF("Refcount = %d\n", (int)udev->refcount); in usb_wait_pending_refs()
400 udev->refcount--; in usb_wait_pending_refs()
403 if (udev->refcount == 0) { in usb_wait_pending_refs()
405 udev->refcount = USB_DEV_REF_MAX; in usb_wait_pending_refs()
1546 udev->refcount = 1; in usb_alloc_device()
/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_rtb.h61 size_t refcount; member
/third_party/libdrm/tests/amdgpu/
H A Dbo_tests.c313 atomic_dec(&find_bo_handle->refcount, 1); in amdgpu_bo_find_by_cpu_mapping()
/third_party/ffmpeg/libavfilter/
H A Dvf_deshake.c346 deshake->refcount = 20; // XXX: add to options? in init()
411 float alpha = 2.0 / deshake->refcount; in filter_frame()
/third_party/eudev/src/libudev/
H A Dlibudev-device.c87 int refcount; member
733 udev_device->refcount = 1; in udev_device_new()
754 * The initial refcount is 1, and needs to be decremented to
835 * The initial refcount is 1, and needs to be decremented to
873 * The initial refcount is 1, and needs to be decremented to
951 * The initial refcount is 1, and needs to be decremented to
1032 * The initial refcount is 1, and needs to be decremented to
1193 udev_device->refcount++; in udev_device_ref()
1201 * Drop a reference of a udev device. If the refcount reaches zero,
1210 udev_device->refcount in udev_device_unref()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Drbnf.cpp85 uint32_t refcount; member in LocalizationInfo
88 LocalizationInfo() : refcount(0) {} in LocalizationInfo()
91 ++refcount; in ref()
96 if (refcount && --refcount == 0) { in unref()
/third_party/node/deps/icu-small/source/i18n/
H A Drbnf.cpp85 uint32_t refcount; member in LocalizationInfo
88 LocalizationInfo() : refcount(0) {} in LocalizationInfo()
91 ++refcount; in ref()
96 if (refcount && --refcount == 0) { in unref()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_query.c40 uint32_t refcount; member
377 start->vkq[i]->refcount--; in destroy_query()
378 if (start->vkq[i]->refcount == 0) in destroy_query()
421 vkq->refcount++; in query_pool_get_range()
426 vkq->refcount = 1; in query_pool_get_range()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Drbnf.cpp85 uint32_t refcount; member in LocalizationInfo
88 LocalizationInfo() : refcount(0) {} in LocalizationInfo()
91 ++refcount; in ref()
96 if (refcount && --refcount == 0) { in unref()
/third_party/curl/lib/vtls/
H A Dschannel.c757 backend->cred->refcount = 1; in schannel_acquire_credential_handle()
1137 backend->cred->refcount++; in schannel_connect_step1()
1139 "schannel: incremented credential handle refcount = %d", in schannel_connect_step1()
1140 backend->cred->refcount)); in schannel_connect_step1()
1759 /* we're not taking old_cred ownership here, no refcount++ is needed */ in schannel_connect_step3()
1775 backend->cred->refcount++; in schannel_connect_step3()
2457 cred->refcount--; in schannel_session_free()
2458 if(cred->refcount == 0) { in schannel_session_free()

Completed in 47 milliseconds

12345678