Home
last modified time | relevance | path

Searched refs:cma_alloc (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/s390/char/
Dvmcp.c33 unsigned int cma_alloc : 1; member
73 page = cma_alloc(vmcp_cma, nr_pages, 0, false); in vmcp_response_alloc()
76 session->cma_alloc = 1; in vmcp_response_alloc()
91 if (session->cma_alloc) { in vmcp_response_free()
94 session->cma_alloc = 0; in vmcp_response_free()
/linux-6.1.9/kernel/dma/
Dcontiguous.c263 return cma_alloc(dev_get_cma_area(dev), count, align, no_warn); in dma_alloc_from_contiguous()
286 return cma_alloc(cma, size >> PAGE_SHIFT, align, gfp & __GFP_NOWARN); in cma_alloc_aligned()
/linux-6.1.9/include/linux/
Dcma.h51 extern struct page *cma_alloc(struct cma *cma, unsigned long count, unsigned int align,
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst22 例如 `cma_alloc` 或 `zs_malloc` 。
/linux-6.1.9/mm/
Dcma_debug.c140 p = cma_alloc(cma, count, 0, false); in cma_alloc_mem()
Dcma.c424 struct page *cma_alloc(struct cma *cma, unsigned long count, in cma_alloc() function
Dhugetlb.c1542 page = cma_alloc(hugetlb_cma[nid], nr_pages, in alloc_gigantic_page()
1553 page = cma_alloc(hugetlb_cma[node], nr_pages, in alloc_gigantic_page()
/linux-6.1.9/drivers/dma-buf/heaps/
Dcma_heap.c303 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, false); in cma_heap_allocate()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_builtin.c61 return cma_alloc(kvm_cma, nr_pages, order_base_2(HPT_ALIGN_PAGES), in kvm_alloc_hpt_cma()
/linux-6.1.9/Documentation/core-api/
Dmemory-allocation.rst12 for instance `cma_alloc` or `zs_malloc`.