Lines Matching refs:size
63 static void * __init pcpu_fc_alloc(unsigned int cpu, size_t size,
66 return memblock_alloc_try_nid(size, align, __pa(MAX_DMA_ADDRESS),
70 static void __init pcpu_fc_free(void *ptr, size_t size)
72 memblock_free_early(__pa(ptr), size);
103 pr_warn("%s allocator failed (%d), falling back to page size\n",
264 static void __init add_node_intersection(u32 node, u64 start, u64 size, u32 type)
268 num_physpages += (size >> PAGE_SHIFT);
270 node, type, start, size);
272 start >> PAGE_SHIFT, (start + size) >> PAGE_SHIFT, num_physpages);
273 memblock_set_node(start, size, &memblock.memory, node);