Home
last modified time | relevance | path

Searched refs:heap (Results 1 - 16 of 16) sorted by relevance

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_tiler_heap.c31 * @chunk_size: Size of a tiler heap chunk, in bytes.
32 * @chunk_addr: GPU virtual address of the same tiler heap chunk.
60 * get_last_chunk - Get the last chunk of a tiler heap
62 * @heap: Pointer to the tiler heap.
67 struct kbase_csf_tiler_heap *const heap) in get_last_chunk()
69 if (list_empty(&heap->chunks_list)) in get_last_chunk()
72 return list_last_entry(&heap->chunks_list, in get_last_chunk()
77 * link_chunk - Link a chunk into a tiler heap
79 * @heap
66 get_last_chunk( struct kbase_csf_tiler_heap *const heap) get_last_chunk() argument
89 link_chunk(struct kbase_csf_tiler_heap *const heap, struct kbase_csf_tiler_heap_chunk *const chunk) link_chunk() argument
132 init_chunk(struct kbase_csf_tiler_heap *const heap, struct kbase_csf_tiler_heap_chunk *const chunk, bool link_with_prev) init_chunk() argument
176 create_chunk(struct kbase_csf_tiler_heap *const heap, bool link_with_prev) create_chunk() argument
250 delete_chunk(struct kbase_csf_tiler_heap *const heap, struct kbase_csf_tiler_heap_chunk *const chunk) delete_chunk() argument
272 delete_all_chunks(struct kbase_csf_tiler_heap *heap) delete_all_chunks() argument
295 create_initial_chunks(struct kbase_csf_tiler_heap *const heap, u32 const nchunks) create_initial_chunks() argument
320 delete_heap(struct kbase_csf_tiler_heap *heap) delete_heap() argument
363 struct kbase_csf_tiler_heap *heap = NULL; find_tiler_heap() local
403 struct kbase_csf_tiler_heap *heap = list_entry( kbase_csf_tiler_heap_context_term() local
420 struct kbase_csf_tiler_heap *heap = NULL; kbase_csf_tiler_heap_init() local
510 struct kbase_csf_tiler_heap *heap = NULL; kbase_csf_tiler_heap_term() local
556 alloc_new_chunk(struct kbase_csf_tiler_heap *heap, u32 nr_in_flight, u32 pending_frag_count, u64 *new_chunk_ptr) alloc_new_chunk() argument
602 struct kbase_csf_tiler_heap *heap; kbase_csf_tiler_heap_alloc_new_chunk() local
[all...]
H A Dmali_kbase_csf_tiler_heap_debugfs.c30 * kbasep_csf_tiler_heap_debugfs_show() - Print tiler heap information for per context
41 struct kbase_csf_tiler_heap *heap; in kbasep_csf_tiler_heap_debugfs_show() local
48 list_for_each_entry(heap, &tiler_heaps_p->list, link) { in kbasep_csf_tiler_heap_debugfs_show()
49 if (heap->kctx != kctx) in kbasep_csf_tiler_heap_debugfs_show()
52 seq_printf(file, "HEAP(gpu_va = 0x%llx):\n", heap->gpu_va); in kbasep_csf_tiler_heap_debugfs_show()
53 seq_printf(file, "\tchunk_size = %u\n", heap->chunk_size); in kbasep_csf_tiler_heap_debugfs_show()
54 seq_printf(file, "\tchunk_count = %u\n", heap->chunk_count); in kbasep_csf_tiler_heap_debugfs_show()
55 seq_printf(file, "\tmax_chunks = %u\n", heap->max_chunks); in kbasep_csf_tiler_heap_debugfs_show()
56 seq_printf(file, "\ttarget_in_flight = %u\n", heap->target_in_flight); in kbasep_csf_tiler_heap_debugfs_show()
58 list_for_each_entry(chunk, &heap in kbasep_csf_tiler_heap_debugfs_show()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-heap.c9 #include <linux/dma-heap.h>
21 #include <uapi/linux/dma-heap.h>
28 * struct dma_heap - represents a dmabuf heap in the system
30 * @ops: ops struct for this heap
31 * @heap_devt heap device node
33 * @heap_cdev heap char device
34 * @heap_dev heap device struct
36 * Represents a heap of memory from which buffers can be made.
79 struct dma_buf *dma_heap_buffer_alloc(struct dma_heap *heap, size_t len, unsigned int fd_flags, unsigned int heap_flags) in dma_heap_buffer_alloc() argument
97 return heap in dma_heap_buffer_alloc()
101 dma_heap_bufferfd_alloc(struct dma_heap *heap, size_t len, unsigned int fd_flags, unsigned int heap_flags) dma_heap_bufferfd_alloc() argument
122 struct dma_heap *heap; dma_heap_open() local
140 struct dma_heap *heap = file->private_data; dma_heap_ioctl_allocate() local
241 dma_heap_get_drvdata(struct dma_heap *heap) dma_heap_get_drvdata() argument
249 struct dma_heap *heap = container_of(ref, struct dma_heap, refcount); dma_heap_release() local
281 dma_heap_get_dev(struct dma_heap *heap) dma_heap_get_dev() argument
294 dma_heap_get_name(struct dma_heap *heap) dma_heap_get_name() argument
302 struct dma_heap *heap, *err_ret; dma_heap_add() local
387 struct dma_heap *heap; total_pools_kb_show() local
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Ddma-heap.h18 * struct dma_heap_ops - ops to operate on a given heap
20 * @get_pool_size: if heap maintains memory pools, get pool size in bytes
25 struct dma_buf *(*allocate)(struct dma_heap *heap, unsigned long len, unsigned long fd_flags,
27 long (*get_pool_size)(struct dma_heap *heap);
31 * struct dma_heap_export_info - information needed to export a new dmabuf heap
33 * @ops: ops struct for this heap
34 * @priv: heap exporter private data
36 * Information needed to export a new dmabuf heap.
45 * dma_heap_get_drvdata() - get per-heap driver data
46 * @heap
[all...]
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/heap_buffer_allocator/
H A Dheap_buffer_allocator.cpp38 char* heap = nullptr; in AllocBuffer() local
40 heap = new (std::nothrow) char[size]; in AllocBuffer()
42 if (heap == nullptr) { in AllocBuffer()
50 buffer->SetVirAddress(heap); in AllocBuffer()
57 delete[] heap; in AllocBuffer()
58 heap = nullptr; in AllocBuffer()
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
H A Dsystem_heap.c3 * DMABUF System heap exporter
8 * Portions based off of Andrew Davis' SRAM heap:
15 #include <linux/dma-heap.h>
31 struct dma_heap *heap; member
416 static struct dma_buf *system_heap_do_allocate(struct dma_heap *heap, unsigned long len, unsigned long fd_flags, in system_heap_do_allocate() argument
437 buffer->heap = heap; in system_heap_do_allocate()
477 exp_info.exp_name = dma_heap_get_name(heap); in system_heap_do_allocate()
495 dma_map_sgtable(dma_heap_get_dev(heap), table, DMA_BIDIRECTIONAL, 0); in system_heap_do_allocate()
496 dma_unmap_sgtable(dma_heap_get_dev(heap), tabl in system_heap_do_allocate()
516 system_heap_allocate(struct dma_heap *heap, unsigned long len, unsigned long fd_flags, unsigned long heap_flags) system_heap_allocate() argument
522 system_get_pool_size(struct dma_heap *heap) system_get_pool_size() argument
541 system_uncached_heap_allocate(struct dma_heap *heap, unsigned long len, unsigned long fd_flags, unsigned long heap_flags) system_uncached_heap_allocate() argument
548 system_uncached_heap_not_initialized(struct dma_heap *heap, unsigned long len, unsigned long fd_flags, unsigned long heap_flags) system_uncached_heap_not_initialized() argument
[all...]
H A Dcma_heap.c3 * DMABUF CMA heap exporter
8 * Also utilizing parts of Andrew Davis' SRAM heap:
14 #include <linux/dma-heap.h>
26 struct dma_heap *heap; member
31 struct cma_heap *heap; member
245 struct cma_heap *cma_heap = buffer->heap; in cma_heap_dma_buf_release()
272 static struct dma_buf *cma_heap_allocate(struct dma_heap *heap, unsigned long len, unsigned long fd_flags, in cma_heap_allocate() argument
275 struct cma_heap *cma_heap = dma_heap_get_drvdata(heap); in cma_heap_allocate()
339 buffer->heap = cma_heap; in cma_heap_allocate()
343 exp_info.exp_name = dma_heap_get_name(heap); in cma_heap_allocate()
[all...]
/device/soc/rockchip/common/sdk_linux/include/trace/hooks/
H A Dcam_heap_hooks.h29 struct dma_buf_ops *pcma_heap_buf_ops, struct dma_heap *heap, void *data),
30 TP_ARGS(buffer, cma_pages, cma_heap, pagecount, fd_flags, dmabuf, pcma_heap_buf_ops, heap, data));
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
H A Ddrv_media_mem.c56 #include <linux/dma-heap.h>
679 struct dma_heap *heap) in real_page_buffer_alloc_and_map()
683 unsigned int heap_flags = 0; /* 0: Currently no heap flags */ in real_page_buffer_alloc_and_map()
685 mmb->handle = hi_dma_buf_alloc(heap, size, fd_flags, heap_flags); in real_page_buffer_alloc_and_map()
727 struct dma_heap *heap; in hil_mmb_init()
738 heap = mmz->heap; in hil_mmb_init()
739 ret = real_page_buffer_alloc_and_map(mmb, size, align, iommu, heap); in hil_mmb_init()
1723 struct ion_platform_heap *heap = NULL; in media_mem_parse_cmdline() local
1725 struct dma_heap *heap; in media_mem_parse_cmdline() local
678 real_page_buffer_alloc_and_map(hil_mmb_t *mmb, HI_U32 size, HI_U32 align, int iommu, struct dma_heap *heap) real_page_buffer_alloc_and_map() argument
1990 struct dma_heap *heap; iommu_zone_init() local
[all...]
H A Ddrv_media_mem.h102 struct dma_heap *heap; member
/test/xts/hats/kernel/dmabuffer/
H A Ddmabuf_alloc.h21 #include <linux/dma-heap.h>
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Dmemory_info.cpp221 DUMPER_HILOGE(MODULE_SERVICE, "get heap info fail"); in GetMemoryInfoByPid()
451 vector<string> heap; in GetNativeValue() local
454 heap.push_back(heapTitle); in GetNativeValue()
473 heap.push_back(nativeValue); in GetNativeValue()
474 result->push_back(heap); in GetNativeValue()
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/link/
H A Dlink.ld.S178 RAM(rwx) : ORIGIN = NON_ROM_RAM_START, LENGTH = RAM_LEN /* non rom data,bss,stack,heap */
181 RAM_FPGA(rwx) : ORIGIN = RAM_FPGA_START, LENGTH = RAM_FPGA_LEN /* FPGA stack and heap */
526 .heap (NOLOAD) :
579 .heap (NOLOAD) :
/device/soc/rockchip/rk2206/sdk_liteos/platform/startup/build/link/
H A Dboard.ld.S231 .heap :
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_buffer.cpp19 #include <linux/dma-heap.h>
/device/soc/hisilicon/common/hal/middleware/ffmpeg_adapt/
H A Dconfigure_llvm467 --enable-memory-poisoning fill heap uninitialized allocated space with arbitrary data

Completed in 18 milliseconds