Home
last modified time | relevance | path

Searched refs:nr_vms (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dvmalloc.h217 const size_t *sizes, int nr_vms,
220 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
224 const size_t *sizes, int nr_vms, in pcpu_get_vm_areas() argument
231 pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument
/kernel/linux/linux-5.10/mm/
Dvmalloc.c3187 const size_t *sizes, int nr_vms, in pcpu_get_vm_areas() argument
3201 for (last_area = 0, area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3213 for (area2 = area + 1; area2 < nr_vms; area2++) { in pcpu_get_vm_areas()
3227 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
3228 vas = kcalloc(nr_vms, sizeof(vas[0]), GFP_KERNEL); in pcpu_get_vm_areas()
3232 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3287 area = (area + nr_vms - 1) % nr_vms; in pcpu_get_vm_areas()
3297 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3326 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3336 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
[all …]