Home
last modified time | relevance | path

Searched refs:array_size (Results 1 – 3 of 3) sorted by relevance

/mm/
Dswap_cgroup.c170 unsigned long array_size; in swap_cgroup_swapon() local
178 array_size = length * sizeof(void *); in swap_cgroup_swapon()
180 array = vzalloc(array_size); in swap_cgroup_swapon()
Dsparse.c65 unsigned long array_size = SECTIONS_PER_ROOT * in sparse_index_alloc() local
69 section = kzalloc_node(array_size, GFP_KERNEL, nid); in sparse_index_alloc()
71 section = memblock_virt_alloc_node(array_size, nid); in sparse_index_alloc()
Dvmalloc.c1675 unsigned int nr_pages, array_size, i; in __vmalloc_area_node() local
1683 array_size = (nr_pages * sizeof(struct page *)); in __vmalloc_area_node()
1687 if (array_size > PAGE_SIZE) { in __vmalloc_area_node()
1688 pages = __vmalloc_node(array_size, 1, nested_gfp|highmem_mask, in __vmalloc_area_node()
1691 pages = kmalloc_node(array_size, nested_gfp, node); in __vmalloc_area_node()