/kernel/linux/linux-6.6/mm/ |
H A D | purgeable.c | 80 unsigned long addr, bool alloc) in lookup_uxpte_page() 91 if (!alloc) in lookup_uxpte_page() 96 pr_err("uxpgd alloc failed.\n"); in lookup_uxpte_page() 110 if (!alloc) in lookup_uxpte_page() 115 pr_err("uxpte page alloc fail.\n"); in lookup_uxpte_page() 141 unsigned long addr, bool alloc) in lookup_uxpte() 146 page = lookup_uxpte_page(vma, addr, alloc); in lookup_uxpte() 79 lookup_uxpte_page(struct vm_area_struct *vma, unsigned long addr, bool alloc) lookup_uxpte_page() argument 140 lookup_uxpte(struct vm_area_struct *vma, unsigned long addr, bool alloc) lookup_uxpte() argument
|
/third_party/glslang/glslang/Include/ |
H A D | arrays.h | 94 alloc(); in operator =() 130 alloc(); in push_back() 137 alloc(); in push_back() 167 alloc(); in copyNonFront() 204 void alloc() in alloc() function
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_copy_vrs_htile.c | 37 &state->alloc); in radv_device_finish_meta_copy_vrs_htile_state() 39 &state->alloc); in radv_device_finish_meta_copy_vrs_htile_state() 41 radv_device_to_handle(device), state->copy_vrs_htile_ds_layout, &state->alloc); in radv_device_finish_meta_copy_vrs_htile_state() 166 &state->alloc, &state->copy_vrs_htile_ds_layout); in radv_device_init_meta_copy_vrs_htile_state() 183 result = radv_CreatePipelineLayout(radv_device_to_handle(device), &p_layout_info, &state->alloc, in radv_device_init_meta_copy_vrs_htile_state()
|
H A D | radv_meta_fmask_expand.c | 176 &state->alloc); in radv_device_finish_meta_fmask_expand_state() 179 &state->alloc); in radv_device_finish_meta_fmask_expand_state() 182 radv_device_to_handle(device), state->fmask_expand.ds_layout, &state->alloc); in radv_device_finish_meta_fmask_expand_state() 240 &state->alloc, &state->fmask_expand.ds_layout); in radv_device_init_meta_fmask_expand_state() 253 &state->alloc, &state->fmask_expand.p_layout); in radv_device_init_meta_fmask_expand_state()
|
/third_party/node/deps/uv/src/win/ |
H A D | getaddrinfo.c | 118 uv__free(req->alloc); in uv__getaddrinfo_done() 119 req->alloc = NULL; in uv__getaddrinfo_done() 323 req->alloc = (void*)alloc_ptr; in uv_getaddrinfo() 393 uv__free(req->alloc); in uv_getaddrinfo() 394 req->alloc = NULL; in uv_getaddrinfo()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
H A D | vktConditionalIgnoreTests.cpp | 131 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 173 colorAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in iterate() 199 depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthImageCreateInfo, MemoryRequirement::Any)); in iterate() 203 const auto outBuffer = makeBufferForImage(vkd, device, alloc, imageFormat, imageExtent); in iterate() 207 const auto outDepthBuffer = makeBufferForImage(vkd, device, alloc, depthFormat, imageExtent); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTests.hpp | 66 AllocMv alloc; member 75 , alloc() {} in ImageHandleAlloc() 105 AllocMv alloc; member 109 , alloc () {} in BufferHandleAlloc() 114 , alloc (alloc_) {} in BufferHandleAlloc()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/ |
H A D | vktConditionalIgnoreTests.cpp | 129 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 171 colorAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in iterate() 197 depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthImageCreateInfo, MemoryRequirement::Any)); in iterate() 201 const auto outBuffer = makeBufferForImage(vkd, device, alloc, imageFormat, imageExtent); in iterate() 205 const auto outDepthBuffer = makeBufferForImage(vkd, device, alloc, depthFormat, imageExtent); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTests.hpp | 66 AllocMv alloc; member 75 , alloc() {} in ImageHandleAlloc() 105 AllocMv alloc; member 109 , alloc () {} in BufferHandleAlloc() 114 , alloc (alloc_) {} in BufferHandleAlloc()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | memalloc.c | 37 if (WARN_ON_ONCE(!ops || !ops->alloc)) in __snd_dma_alloc_pages() 39 return ops->alloc(dmab, size); in __snd_dma_alloc_pages() 340 .alloc = snd_dma_continuous_alloc, 403 .alloc = snd_dma_vmalloc_alloc, 458 .alloc = snd_dma_iram_alloc, 485 .alloc = snd_dma_dev_alloc, 531 .alloc = snd_dma_wc_alloc, 661 .alloc = snd_dma_noncontig_alloc, 708 .alloc = snd_dma_sg_wc_alloc, 856 .alloc [all...] |
/third_party/lzma/C/ |
H A D | Lzma2DecMt.c | 74 CAlignOffsetAlloc alloc;
member 86 // ISzAllocPtr alloc;
124 CLzma2DecMtHandle Lzma2DecMt_Create(ISzAllocPtr alloc, ISzAllocPtr allocMid)
in Lzma2DecMt_Create() argument 126 CLzma2DecMt *p = (CLzma2DecMt *)ISzAlloc_Alloc(alloc, sizeof(CLzma2DecMt));
in Lzma2DecMt_Create() 130 // p->alloc = alloc;
in Lzma2DecMt_Create() 136 p->alignOffsetAlloc.baseAlloc = alloc;
in Lzma2DecMt_Create() 221 Lzma2Dec_FreeProbs(&t->dec, &t->alloc.vt); // p->alloc !!!
in Lzma2DecMt_Destroy() 252 AlignOffsetAlloc_CreateVTable(&t->alloc);
in Lzma2DecMt_MtCallback_Parse() [all...] |
H A D | LzmaEnc.c | 26 ISzAllocPtr alloc, ISzAllocPtr allocBig);
28 UInt32 keepWindowSize, ISzAllocPtr alloc, ISzAllocPtr allocBig);
642 static int RangeEnc_Alloc(CRangeEnc *p, ISzAllocPtr alloc)
in RangeEnc_Alloc() argument 646 p->bufBase = (Byte *)ISzAlloc_Alloc(alloc, RC_BUF_SIZE);
in RangeEnc_Alloc() 654 static void RangeEnc_Free(CRangeEnc *p, ISzAllocPtr alloc)
in RangeEnc_Free() argument 656 ISzAlloc_Free(alloc, p->bufBase);
in RangeEnc_Free() 2346 CLzmaEncHandle LzmaEnc_Create(ISzAllocPtr alloc)
in LzmaEnc_Create() argument 2349 p = ISzAlloc_Alloc(alloc, sizeof(CLzmaEnc));
in LzmaEnc_Create() 2355 static void LzmaEnc_FreeLits(CLzmaEnc *p, ISzAllocPtr alloc)
in LzmaEnc_FreeLits() argument 2357 ISzAlloc_Free(alloc, in LzmaEnc_FreeLits() 2363 LzmaEnc_Destruct(CLzmaEnc *p, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEnc_Destruct() argument 2374 LzmaEnc_Destroy(CLzmaEncHandle p, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEnc_Destroy() argument 2686 LzmaEnc_Alloc(CLzmaEnc *p, UInt32 keepWindowSize, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEnc_Alloc() argument 2851 LzmaEnc_AllocAndInit(CLzmaEnc *p, UInt32 keepWindowSize, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEnc_AllocAndInit() argument 2869 LzmaEnc_Prepare(CLzmaEncHandle p, ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEnc_Prepare() argument 2880 LzmaEnc_PrepareForLzma2(CLzmaEncHandle p, ISeqInStreamPtr inStream, UInt32 keepWindowSize, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEnc_PrepareForLzma2() argument 2889 LzmaEnc_MemPrepare(CLzmaEncHandle p, const Byte *src, SizeT srcLen, UInt32 keepWindowSize, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEnc_MemPrepare() argument 3028 LzmaEnc_Encode(CLzmaEncHandle p, ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream, ICompressProgressPtr progress, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEnc_Encode() argument 3080 LzmaEnc_MemEncode(CLzmaEncHandle p, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, int writeEndMark, ICompressProgressPtr progress, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEnc_MemEncode() argument 3112 LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark, ICompressProgressPtr progress, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEncode() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingOpacityMicromapTests.cpp | 326 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 360 BufferWithMemory micromapDataBuffer(vkd, device, alloc, micromapDataBufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::DeviceAddress); in iterate() 428 BufferWithMemory micromapBackingBuffer(vkd, device, alloc, micromapBackingBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate() 432 BufferWithMemory micromapScratchBuffer(vkd, device, alloc, micromapScratchBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate() 499 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate() 513 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate() 521 BufferWithMemory originsBuffer (vkd, device, alloc, originsBufferInfo, MemoryRequirement::HostVisible); in iterate() 604 BufferWithMemory outputModesBuffer(vkd, device, alloc, outputModesBufferInfo, MemoryRequirement::HostVisible); in iterate() 684 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0, 1); in iterate() 687 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSiz in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkAllocationCallbackUtil.cpp | 652 for (std::vector<AllocationCallbackRecord>::const_iterator alloc = validationResults.liveAllocations.begin(); in getLiveSystemAllocationTotal() 653 alloc != validationResults.liveAllocations.end(); in getLiveSystemAllocationTotal() 654 ++alloc) in getLiveSystemAllocationTotal() 656 DE_ASSERT(alloc->type == AllocationCallbackRecord::TYPE_ALLOCATION || in getLiveSystemAllocationTotal() 657 alloc->type == AllocationCallbackRecord::TYPE_REALLOCATION); in getLiveSystemAllocationTotal() 659 const size_t size = (alloc->type == AllocationCallbackRecord::TYPE_ALLOCATION ? alloc->data.allocation.size : alloc->data.reallocation.size); in getLiveSystemAllocationTotal() 660 const size_t alignment = (alloc->type == AllocationCallbackRecord::TYPE_ALLOCATION ? alloc in getLiveSystemAllocationTotal() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingOpacityMicromapTests.cpp | 326 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 360 BufferWithMemory micromapDataBuffer(vkd, device, alloc, micromapDataBufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::DeviceAddress); in iterate() 428 BufferWithMemory micromapBackingBuffer(vkd, device, alloc, micromapBackingBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate() 432 BufferWithMemory micromapScratchBuffer(vkd, device, alloc, micromapScratchBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate() 501 bottomLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate() 515 topLevelAS->createAndBuild(vkd, device, cmdBuffer, alloc); in iterate() 523 BufferWithMemory originsBuffer (vkd, device, alloc, originsBufferInfo, MemoryRequirement::HostVisible); in iterate() 606 BufferWithMemory outputModesBuffer(vkd, device, alloc, outputModesBufferInfo, MemoryRequirement::HostVisible); in iterate() 686 raygenSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, 0, 1); in iterate() 689 missSBT = rayTracingPipeline->createShaderBindingTable(vkd, device, pipeline.get(), alloc, shaderGroupHandleSiz in iterate() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | vulkan.c | 181 s->hwctx->alloc, mem); in vk_alloc_mem() 206 .size = size, /* Gets FFALIGNED during alloc if host visible in ff_vk_create_buf() 359 vk->DestroyBuffer(s->hwctx->act_dev, buf->buf, s->hwctx->alloc); in ff_vk_free_buf() 361 vk->FreeMemory(s->hwctx->act_dev, buf->mem, s->hwctx->alloc); in ff_vk_free_buf() 419 s->hwctx->alloc, &e->pool); in FN_CREATING() 431 av_log(s, AV_LOG_ERROR, "Command buffer alloc failure: %s\n", in FN_CREATING() 479 ret = vk->CreateFence(s->hwctx->act_dev, &fence_spawn, s->hwctx->alloc, in ff_vk_start_exec_recording() 696 s->hwctx->alloc, &sctx->sampler[0]); in FN_CREATING() 738 vk->DestroyImageView(s->hwctx->act_dev, iv->view, s->hwctx->alloc); in destroy_imageview() 769 s->hwctx->alloc, in ff_vk_create_imageview() [all...] |
H A D | buffer.h | 246 * either the default alloc callback is used, or the user-supplied one is 261 * @param alloc a function that will be used to allocate new buffers when the 266 AVBufferPool *av_buffer_pool_init(size_t size, AVBufferRef* (*alloc)(size_t size)); 273 * @param alloc a function that will be used to allocate new buffers when the 284 AVBufferRef* (*alloc)(void *opaque, size_t size),
|
/kernel/linux/linux-5.10/tools/lib/subcmd/ |
H A D | sigchain.c | 11 int alloc; member 26 ALLOC_GROW(s->old, s->n + 1, s->alloc); in sigchain_push()
|
/kernel/linux/linux-6.6/tools/lib/subcmd/ |
H A D | sigchain.c | 11 int alloc; member 26 ALLOC_GROW(s->old, s->n + 1, s->alloc); in sigchain_push()
|
/kernel/linux/linux-6.6/rust/kernel/ |
H A D | allocator.rs | 5 use core::alloc::{GlobalAlloc, Layout}; 12 /// Calls `krealloc` with a proper size to alloc a new object aligned to `new_layout`'s alignment. 35 // - `ptr` is either null or a pointer returned from a previous `k{re}alloc()` by the in krealloc_aligned() 43 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc() functions
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_fs_validate.cpp | 62 alloc.sizes[inst->dst.nr]); in validate() 68 alloc.sizes[inst->src[i].nr]); in validate()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_wsi.c | 52 &pdevice->vk.instance->alloc, in pvr_wsi_init() 68 wsi_device_finish(&pdevice->wsi_device, &pdevice->vk.instance->alloc); in pvr_wsi_finish()
|
/third_party/node/test/parallel/ |
H A D | test-child-process-stdio-big-write-end.js | 60 buf = Buffer.alloc(bufsize, '.'); 66 const buf = Buffer.alloc(bufsize, '.');
|
/third_party/node/benchmark/crypto/ |
H A D | aes-gcm-throughput.js | 12 const message = Buffer.alloc(len, 'b'); 15 const associate_data = Buffer.alloc(16, 'z');
|
/third_party/node/benchmark/fs/ |
H A D | readfile-partitioned.js | 32 let data = Buffer.alloc(len, 'x'); 36 const zipData = Buffer.alloc(1024, 'a');
|