Searched refs:alloc_size (Results 1 – 3 of 3) sorted by relevance
/mm/ |
D | percpu.c | 1458 upa = ai->alloc_size / ai->unit_size; in pcpu_dump_alloc_info() 1464 ai->unit_size, ai->alloc_size / ai->atom_size, ai->atom_size); in pcpu_dump_alloc_info() 1804 size_t size_sum, min_unit_size, alloc_size; in pcpu_build_alloc_info() local 1828 alloc_size = roundup(min_unit_size, atom_size); in pcpu_build_alloc_info() 1829 upa = alloc_size / min_unit_size; in pcpu_build_alloc_info() 1830 while (alloc_size % upa || ((alloc_size / upa) & ~PAGE_MASK)) in pcpu_build_alloc_info() 1862 if (alloc_size % upa || ((alloc_size / upa) & ~PAGE_MASK)) in pcpu_build_alloc_info() 1904 ai->unit_size = alloc_size / upa; in pcpu_build_alloc_info() 1906 ai->alloc_size = alloc_size; in pcpu_build_alloc_info() 2265 ai->alloc_size = unit_size; in setup_per_cpu_areas()
|
D | mempolicy.c | 1518 unsigned long nr_bits, alloc_size; in COMPAT_SYSCALL_DEFINE5() local 1522 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8; in COMPAT_SYSCALL_DEFINE5() 1525 nm = compat_alloc_user_space(alloc_size); in COMPAT_SYSCALL_DEFINE5() 1531 copy_size = min_t(unsigned long, sizeof(bm), alloc_size); in COMPAT_SYSCALL_DEFINE5() 1545 unsigned long nr_bits, alloc_size; in COMPAT_SYSCALL_DEFINE3() local 1549 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8; in COMPAT_SYSCALL_DEFINE3() 1554 nm = compat_alloc_user_space(alloc_size); in COMPAT_SYSCALL_DEFINE3() 1555 if (copy_to_user(nm, bm, alloc_size)) in COMPAT_SYSCALL_DEFINE3() 1567 unsigned long nr_bits, alloc_size; in COMPAT_SYSCALL_DEFINE6() local 1571 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8; in COMPAT_SYSCALL_DEFINE6() [all …]
|
D | page_alloc.c | 4362 size_t alloc_size; in zone_wait_table_init() local 4372 alloc_size = zone->wait_table_hash_nr_entries in zone_wait_table_init() 4378 alloc_size, zone->zone_pgdat->node_id); in zone_wait_table_init() 4390 zone->wait_table = vmalloc(alloc_size); in zone_wait_table_init()
|