Home
last modified time | relevance | path

Searched refs:ai (Results 1 – 4 of 4) sorted by relevance

/mm/
Dpercpu.c1583 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai);
2434 struct pcpu_alloc_info *ai; in pcpu_alloc_alloc_info() local
2439 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info()
2440 __alignof__(ai->groups[0].cpu_map[0])); in pcpu_alloc_alloc_info()
2441 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info()
2446 ai = ptr; in pcpu_alloc_alloc_info()
2449 ai->groups[0].cpu_map = ptr; in pcpu_alloc_alloc_info()
2452 ai->groups[0].cpu_map[unit] = NR_CPUS; in pcpu_alloc_alloc_info()
2454 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info()
2455 ai->__ai_size = PFN_ALIGN(ai_size); in pcpu_alloc_alloc_info()
[all …]
Dpercpu-km.c107 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai) in pcpu_verify_alloc_info() argument
112 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()
117 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()
Dpercpu-internal.h164 static inline void pcpu_stats_save_ai(const struct pcpu_alloc_info *ai) in pcpu_stats_save_ai() argument
166 memcpy(&pcpu_stats_ai, ai, sizeof(struct pcpu_alloc_info)); in pcpu_stats_save_ai()
244 static inline void pcpu_stats_save_ai(const struct pcpu_alloc_info *ai) in pcpu_stats_save_ai() argument
Dpercpu-vm.c376 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai) in pcpu_verify_alloc_info() argument