Searched refs:helper_buffer (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/ |
D | system_heap.c | 40 struct heap_helper_buffer *helper_buffer; in system_heap_allocate() local 45 helper_buffer = kzalloc(sizeof(*helper_buffer), GFP_KERNEL); in system_heap_allocate() 46 if (!helper_buffer) in system_heap_allocate() 49 init_heap_helper_buffer(helper_buffer, system_heap_free); in system_heap_allocate() 50 helper_buffer->heap = heap; in system_heap_allocate() 51 helper_buffer->size = len; in system_heap_allocate() 53 helper_buffer->pagecount = len / PAGE_SIZE; in system_heap_allocate() 54 helper_buffer->pages = kmalloc_array(helper_buffer->pagecount, in system_heap_allocate() 55 sizeof(*helper_buffer->pages), in system_heap_allocate() 57 if (!helper_buffer->pages) { in system_heap_allocate() [all …]
|
D | cma_heap.c | 49 struct heap_helper_buffer *helper_buffer; in cma_heap_allocate() local 61 helper_buffer = kzalloc(sizeof(*helper_buffer), GFP_KERNEL); in cma_heap_allocate() 62 if (!helper_buffer) in cma_heap_allocate() 65 init_heap_helper_buffer(helper_buffer, cma_heap_free); in cma_heap_allocate() 66 helper_buffer->heap = heap; in cma_heap_allocate() 67 helper_buffer->size = len; in cma_heap_allocate() 96 helper_buffer->pagecount = nr_pages; in cma_heap_allocate() 97 helper_buffer->pages = kmalloc_array(helper_buffer->pagecount, in cma_heap_allocate() 98 sizeof(*helper_buffer->pages), in cma_heap_allocate() 100 if (!helper_buffer->pages) { in cma_heap_allocate() [all …]
|
/kernel/linux/patches/linux-5.10/zhiyuan_patch/ |
D | kernel.patch | 944 - struct heap_helper_buffer *helper_buffer; 963 - helper_buffer = kzalloc(sizeof(*helper_buffer), GFP_KERNEL); 964 - if (!helper_buffer) 970 - init_heap_helper_buffer(helper_buffer, cma_heap_free); 971 - helper_buffer->heap = heap; 972 - helper_buffer->size = len; 1001 - helper_buffer->pagecount = nr_pages; 1002 - helper_buffer->pages = kmalloc_array(helper_buffer->pagecount, 1003 - sizeof(*helper_buffer->pages), 1005 - if (!helper_buffer->pages) { [all …]
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 6246 - struct heap_helper_buffer *helper_buffer; 6265 - helper_buffer = kzalloc(sizeof(*helper_buffer), GFP_KERNEL); 6266 - if (!helper_buffer) 6272 - init_heap_helper_buffer(helper_buffer, cma_heap_free); 6273 - helper_buffer->heap = heap; 6274 - helper_buffer->size = len; 6303 - helper_buffer->pagecount = nr_pages; 6304 - helper_buffer->pages = kmalloc_array(helper_buffer->pagecount, 6305 - sizeof(*helper_buffer->pages), 6307 - if (!helper_buffer->pages) { [all …]
|