• Home
  • Raw
  • Download

Lines Matching refs:size_t

134 static size_t pcpu_chunk_struct_size __ro_after_init;
150 static const size_t *pcpu_group_sizes __ro_after_init;
483 static void *pcpu_mem_zalloc(size_t size, gfp_t gfp) in pcpu_mem_zalloc()
1059 size_t align, bool pop_only) in pcpu_find_block_fit()
1168 size_t align, int start) in pcpu_alloc_area()
1171 size_t align_mask = (align) ? (align - 1) : 0; in pcpu_alloc_area()
1302 size_t alloc_size; in pcpu_alloc_first_chunk()
1582 static enum pcpu_chunk_type pcpu_memcg_pre_alloc_hook(size_t size, gfp_t gfp, in pcpu_memcg_pre_alloc_hook()
1605 size_t size) in pcpu_memcg_post_alloc_hook()
1623 static void pcpu_memcg_free_hook(struct pcpu_chunk *chunk, int off, size_t size) in pcpu_memcg_free_hook()
1645 pcpu_memcg_pre_alloc_hook(size_t size, gfp_t gfp, struct obj_cgroup **objcgp) in pcpu_memcg_pre_alloc_hook()
1652 size_t size) in pcpu_memcg_post_alloc_hook()
1656 static void pcpu_memcg_free_hook(struct pcpu_chunk *chunk, int off, size_t size) in pcpu_memcg_free_hook()
1676 static void __percpu *pcpu_alloc(size_t size, size_t align, bool reserved, in pcpu_alloc()
1691 size_t bits, bit_align; in pcpu_alloc()
1891 void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp) in __alloc_percpu_gfp()
1904 void __percpu *__alloc_percpu(size_t size, size_t align) in __alloc_percpu()
1926 void __percpu *__alloc_reserved_percpu(size_t size, size_t align) in __alloc_reserved_percpu()
2130 const size_t static_size = __per_cpu_end - __per_cpu_start; in __is_kernel_percpu_address()
2255 size_t base_size, ai_size; in pcpu_alloc_alloc_info()
2405 size_t size_sum = ai->static_size + ai->reserved_size + ai->dyn_size; in pcpu_setup_first_chunk()
2406 size_t static_size, dyn_size; in pcpu_setup_first_chunk()
2409 size_t *group_sizes; in pcpu_setup_first_chunk()
2416 size_t alloc_size; in pcpu_setup_first_chunk()
2667 size_t reserved_size, size_t dyn_size, in pcpu_build_alloc_info()
2668 size_t atom_size, in pcpu_build_alloc_info()
2673 const size_t static_size = __per_cpu_end - __per_cpu_start; in pcpu_build_alloc_info()
2675 size_t size_sum, min_unit_size, alloc_size; in pcpu_build_alloc_info()
2688 max_t(size_t, dyn_size, PERCPU_DYNAMIC_EARLY_SIZE)); in pcpu_build_alloc_info()
2697 min_unit_size = max_t(size_t, size_sum, PCPU_MIN_UNIT_SIZE); in pcpu_build_alloc_info()
2835 int __init pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size, in pcpu_embed_first_chunk()
2836 size_t atom_size, in pcpu_embed_first_chunk()
2844 size_t size_sum, areas_size; in pcpu_embed_first_chunk()
2964 int __init pcpu_page_first_chunk(size_t reserved_size, in pcpu_page_first_chunk()
2973 size_t pages_size; in pcpu_page_first_chunk()
3086 static void * __init pcpu_dfl_fc_alloc(unsigned int cpu, size_t size, in pcpu_dfl_fc_alloc()
3087 size_t align) in pcpu_dfl_fc_alloc()
3092 static void __init pcpu_dfl_fc_free(void *ptr, size_t size) in pcpu_dfl_fc_free()
3130 const size_t unit_size = in setup_per_cpu_areas()
3131 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE, in setup_per_cpu_areas()