Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dvmalloc.h180 const size_t *sizes, int nr_vms,
183 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
187 const size_t *sizes, int nr_vms, in pcpu_get_vm_areas() argument
194 pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument
/Linux-v4.19/mm/
Dvmalloc.c2467 const size_t *sizes, int nr_vms, in pcpu_get_vm_areas() argument
2480 for (last_area = 0, area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
2492 for (area2 = area + 1; area2 < nr_vms; area2++) { in pcpu_get_vm_areas()
2506 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
2507 vas = kcalloc(nr_vms, sizeof(vas[0]), GFP_KERNEL); in pcpu_get_vm_areas()
2511 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
2576 area = (area + nr_vms - 1) % nr_vms; in pcpu_get_vm_areas()
2585 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
2598 for (area = 0; area < nr_vms; area++) in pcpu_get_vm_areas()
2606 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
[all …]