/kernel/linux/linux-6.6/drivers/char/tpm/ |
H A D | tpm2-space.c | 354 static u32 tpm2_map_to_vhandle(struct tpm_space *space, u32 phandle, bool alloc) in tpm2_map_to_vhandle() argument 359 if (alloc) { in tpm2_map_to_vhandle()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ |
H A D | lantiq_xrx200.c | 187 static int xrx200_alloc_buf(struct xrx200_chan *ch, void *(*alloc)(unsigned int size)) in xrx200_alloc_buf() 194 ch->rx_buff[ch->dma.desc] = alloc(priv->rx_skb_size); in xrx200_alloc_buf() 564 /* alloc the network device */ in xrx200_probe()
|
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-mips-gic.c | 567 .alloc = gic_irq_domain_alloc, 672 .alloc = gic_ipi_domain_alloc,
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | core.c | 53 size_t alloc = sizeof(*e) + in allocate_hook_entries_size() local 61 e = kvzalloc(alloc, GFP_KERNEL_ACCOUNT); in allocate_hook_entries_size()
|
/kernel/linux/linux-6.6/sound/soc/intel/catpt/ |
H A D | loader.c | 291 struct catpt_fw_block_hdr *blk, bool alloc) in catpt_load_block() 310 if (alloc) { in catpt_load_block() 289 catpt_load_block(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t paddr, struct catpt_fw_block_hdr *blk, bool alloc) catpt_load_block() argument
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_queue.c | 124 device->queues = vk_alloc(&device->vk.alloc, in pvr_queues_create() 167 vk_free(&device->vk.alloc, device->queues); in pvr_queues_destroy()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_fs_builder.h | 204 return dst_reg(VGRF, shader->alloc.allocate( in vgrf() 787 inst->size_written = shader->alloc.sizes[dst.nr] * REG_SIZE; in UNDEF()
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_pipeline_cache.c | 91 vk_free(&data_obj->base.device->alloc, data_obj); in raw_data_object_destroy() 110 if (!vk_multialloc_alloc(&ma, &device->alloc, in raw_data_object_create()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderPropertyTests.cpp | 133 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 148 BufferWithMemory storageBuffer (vkd, device, alloc, storageBufferInfo, MemoryRequirement::HostVisible); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.hpp | 640 AllocationSp alloc; member in vkt::sr::ShaderRenderCaseInstance::BufferUniform 653 AllocationSp alloc; member in vkt::sr::ShaderRenderCaseInstance::SamplerUniform
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderPropertyTests.cpp | 133 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 148 BufferWithMemory storageBuffer (vkd, device, alloc, storageBufferInfo, MemoryRequirement::HostVisible); in iterate()
|
/third_party/skia/src/gpu/ops/ |
H A D | AtlasTextOp.cpp | 112 SkArenaAlloc* alloc) -> Geometry* { 115 void* geo = alloc->makeBytesAlignedTo(sizeof(Geometry), alignof(Geometry));
|
/third_party/skia/src/ports/ |
H A D | SkFontMgr_mac_ct.cpp | 257 SkUniqueCFRef<CFAllocatorRef> alloc(CFAllocatorCreate(kCFAllocatorDefault, &ctx)); in cfdata_from_skdata() 259 kCFAllocatorDefault, (const UInt8 *)addr, size, alloc.get())); in cfdata_from_skdata()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRender.hpp | 642 AllocationSp alloc; member in vkt::sr::ShaderRenderCaseInstance::BufferUniform 655 AllocationSp alloc; member in vkt::sr::ShaderRenderCaseInstance::SamplerUniform
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
H A D | mthca_qp.c | 1311 qp->qpn = mthca_alloc(&dev->qp_table.alloc); in mthca_alloc_qp() 1321 mthca_free(&dev->qp_table.alloc, qp->qpn); in mthca_alloc_qp() 1493 mthca_free(&dev->qp_table.alloc, qp->qpn); in mthca_free_qp() 2269 err = mthca_alloc_init(&dev->qp_table.alloc, in mthca_init_qp_table() 2280 mthca_alloc_cleanup(&dev->qp_table.alloc); in mthca_init_qp_table() 2300 mthca_alloc_cleanup(&dev->qp_table.alloc); in mthca_init_qp_table() 2313 mthca_alloc_cleanup(&dev->qp_table.alloc); in mthca_cleanup_qp_table()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_qp.c | 1314 qp->qpn = mthca_alloc(&dev->qp_table.alloc); in mthca_alloc_qp() 1324 mthca_free(&dev->qp_table.alloc, qp->qpn); in mthca_alloc_qp() 1496 mthca_free(&dev->qp_table.alloc, qp->qpn); in mthca_free_qp() 2272 err = mthca_alloc_init(&dev->qp_table.alloc, in mthca_init_qp_table() 2283 mthca_alloc_cleanup(&dev->qp_table.alloc); in mthca_init_qp_table() 2303 mthca_alloc_cleanup(&dev->qp_table.alloc); in mthca_init_qp_table() 2316 mthca_alloc_cleanup(&dev->qp_table.alloc); in mthca_cleanup_qp_table()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_private.h | 352 VkAllocationCallbacks alloc; member 393 VkAllocationCallbacks alloc; member 459 VkAllocationCallbacks alloc; member 1944 union radv_shader_arena_block *alloc; 2297 const VkAllocationCallbacks *alloc, VkPipeline *pPipeline); 2711 const VkAllocationCallbacks *alloc, VkImage *pImage); 2721 const VkAllocationCallbacks *alloc, VkImage *out_image_h);
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_private.h | 707 * (negative or positive) given out by the block pool alloc functions 1492 const VkAllocationCallbacks *alloc); 1494 const VkAllocationCallbacks *alloc); 1497 const VkAllocationCallbacks *alloc, 1502 const VkAllocationCallbacks *alloc, 1526 const VkAllocationCallbacks * alloc; member 1589 result = anv_reloc_list_add_bo(batch->relocs, batch->alloc, bo); in anv_batch_emit_reloc() 1591 result = anv_reloc_list_add(batch->relocs, batch->alloc, in anv_batch_emit_reloc()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-equalizer-sink.c | 212 static void * alloc(size_t x, size_t s) { in alloc() function 229 float *tmp = alloc(min_buffer_length, sizeof(float)); in alloc_input_buffers() 1174 u->Hs[c][i] = alloc(FILTER_SIZE(u), sizeof(float)); in pa__init() 1177 u->W = alloc(u->window_size, sizeof(float)); in pa__init() 1178 u->work_buffer = alloc(u->fft_size, sizeof(float)); in pa__init() 1184 u->overlap_accum[c] = alloc(u->overlap_size, sizeof(float)); in pa__init() 1186 u->output_window = alloc(FILTER_SIZE(u), sizeof(fftwf_complex)); in pa__init()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkGpu.cpp | 790 const GrVkAlloc& alloc = texImage->alloc(); in uploadTexDataLinear() local 791 if (VK_NULL_HANDLE == alloc.fMemory) { in uploadTexDataLinear() 796 SkASSERT(size + offset <= alloc.fSize); in uploadTexDataLinear() 797 void* mapPtr = GrVkMemory::MapAlloc(this, alloc); in uploadTexDataLinear() 810 GrVkMemory::FlushMappedAlloc(this, alloc, offset, size); in uploadTexDataLinear() 811 GrVkMemory::UnmapAlloc(this, alloc); in uploadTexDataLinear()
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | pngfix.c | 901 void (*alloc)(struct file*,int idat); member 1029 const char *out_name, void *alloc_ptr, void (*alloc)(struct file*,int)) in file_init() 1055 file->alloc = alloc; in file_init() 1587 * NOTE: this routine must onely be called from the file alloc routine! in chunk_init() 1794 * structure using the file alloc routine. in IDAT_init() 1796 * NOTE: this routine must only be called from the file alloc routine! in IDAT_init() 1816 file->alloc(file, 0/*chunk*/); in IDAT_init() 1819 /* And store this for cleanup (and to check for double alloc or failure to in IDAT_init() 2847 file->alloc(fil in process_chunk() [all...] |
/third_party/json/single_include/nlohmann/ |
H A D | json.hpp | 18927 explicit ordered_map(const Allocator& alloc) noexcept(noexcept(Container(alloc))) : Container{alloc} {} 18929 ordered_map(It first, It last, const Allocator& alloc = Allocator()) 18930 : Container{first, last, alloc} {} 18931 ordered_map(std::initializer_list<value_type> init, const Allocator& alloc = Allocator() ) 18932 : Container{init, alloc} {} 19558 AllocatorType<T> alloc; 19563 AllocatorTraits::deallocate(alloc, obj, 1); 19565 std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | btree_test.cc | 2820 Alloc alloc(&bytes_used); in TEST() 2821 Set set(alloc); in TEST() 2833 Alloc alloc(&bytes_used); in TEST() 2834 Set set({1, 2, 3}, alloc); in TEST() 2844 Alloc alloc(&bytes_used); in TEST() 2846 Set set(v.begin(), v.end(), alloc); in TEST() 2875 Alloc alloc(&bytes_used); in TEST() 2876 Set set1(alloc); in TEST() 2883 Set set2(std::move(set1), alloc); in TEST() local
|
/third_party/json/tests/abi/include/nlohmann/ |
H A D | json_v3_10_5.hpp | 17051 ordered_map(const Allocator& alloc = Allocator()) : Container{alloc} {} 17053 ordered_map(It first, It last, const Allocator& alloc = Allocator()) 17054 : Container{first, last, alloc} {} 17055 ordered_map(std::initializer_list<T> init, const Allocator& alloc = Allocator() ) 17056 : Container{init, alloc} {} 17548 AllocatorType<T> alloc; 17553 AllocatorTraits::deallocate(alloc, obj, 1); 17555 std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter); 17556 AllocatorTraits::construct(alloc, ob [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | usbtouchscreen.c | 82 int (*alloc) (struct usbtouch_usb *usbtouch); member 1202 .alloc = mtouch_alloc, 1362 .alloc = nexio_alloc, 1756 if (type->alloc) { in usbtouch_probe() 1757 err = type->alloc(usbtouch); in usbtouch_probe() 1760 "%s - type->alloc() failed, err: %d\n", in usbtouch_probe()
|