• Home
  • Raw
  • Download

Lines Matching refs:size_t

127 static size_t pcpu_chunk_struct_size __read_mostly;
143 static const size_t *pcpu_group_sizes __read_mostly;
297 static void *pcpu_mem_zalloc(size_t size) in pcpu_mem_zalloc()
315 static void pcpu_mem_free(void *ptr, size_t size) in pcpu_mem_free()
446 size_t old_size = 0, new_size = new_alloc * sizeof(new[0]); in pcpu_extend_area_map()
870 static void __percpu *pcpu_alloc(size_t size, size_t align, bool reserved, in pcpu_alloc()
1065 void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp) in __alloc_percpu_gfp()
1078 void __percpu *__alloc_percpu(size_t size, size_t align) in __alloc_percpu()
1100 void __percpu *__alloc_reserved_percpu(size_t size, size_t align) in __alloc_reserved_percpu()
1302 const size_t static_size = __per_cpu_end - __per_cpu_start; in is_kernel_percpu_address()
1397 size_t base_size, ai_size; in pcpu_alloc_alloc_info()
1552 size_t dyn_size = ai->dyn_size; in pcpu_setup_first_chunk()
1553 size_t size_sum = ai->static_size + ai->reserved_size + dyn_size; in pcpu_setup_first_chunk()
1556 size_t *group_sizes; in pcpu_setup_first_chunk()
1796 size_t reserved_size, size_t dyn_size, in pcpu_build_alloc_info()
1797 size_t atom_size, in pcpu_build_alloc_info()
1802 const size_t static_size = __per_cpu_end - __per_cpu_start; in pcpu_build_alloc_info()
1804 size_t size_sum, min_unit_size, alloc_size; in pcpu_build_alloc_info()
1817 max_t(size_t, dyn_size, PERCPU_DYNAMIC_EARLY_SIZE)); in pcpu_build_alloc_info()
1826 min_unit_size = max_t(size_t, size_sum, PCPU_MIN_UNIT_SIZE); in pcpu_build_alloc_info()
1963 int __init pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size, in pcpu_embed_first_chunk()
1964 size_t atom_size, in pcpu_embed_first_chunk()
1972 size_t size_sum, areas_size, max_distance; in pcpu_embed_first_chunk()
2037 max_distance = max_t(size_t, max_distance, in pcpu_embed_first_chunk()
2091 int __init pcpu_page_first_chunk(size_t reserved_size, in pcpu_page_first_chunk()
2100 size_t pages_size; in pcpu_page_first_chunk()
2202 static void * __init pcpu_dfl_fc_alloc(unsigned int cpu, size_t size, in pcpu_dfl_fc_alloc()
2203 size_t align) in pcpu_dfl_fc_alloc()
2209 static void __init pcpu_dfl_fc_free(void *ptr, size_t size) in pcpu_dfl_fc_free()
2247 const size_t unit_size = in setup_per_cpu_areas()
2248 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE, in setup_per_cpu_areas()
2291 const size_t size = PERCPU_DYNAMIC_EARLY_SLOTS * sizeof(map[0]); in percpu_init_late()