Searched refs:hugetlb_cma (Results 1 – 2 of 2) sorted by relevance
16 static struct cma *hugetlb_cma[MAX_NUMNODES]; variable25 WARN_ON_ONCE(!cma_free_folio(hugetlb_cma[nid], folio)); in hugetlb_cma_free_folio()36 if (hugetlb_cma[nid]) in hugetlb_cma_alloc_folio()37 folio = cma_alloc_folio(hugetlb_cma[nid], order, gfp_mask); in hugetlb_cma_alloc_folio()41 if (node == nid || !hugetlb_cma[node]) in hugetlb_cma_alloc_folio()44 folio = cma_alloc_folio(hugetlb_cma[node], order, gfp_mask); in hugetlb_cma_alloc_folio()63 cma = hugetlb_cma[*nid]; in hugetlb_cma_alloc_bootmem()70 cma = hugetlb_cma[node]; in hugetlb_cma_alloc_bootmem()225 &hugetlb_cma[nid], nid); in hugetlb_cma_reserve()
83 obj-$(CONFIG_HUGETLBFS) += hugetlb_cma.o
Completed in 7 milliseconds