Lines Matching refs:nr_vms
3646 const size_t *sizes, int nr_vms, in pcpu_get_vm_areas() argument
3660 for (last_area = 0, area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3672 for (area2 = area + 1; area2 < nr_vms; area2++) { in pcpu_get_vm_areas()
3686 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
3687 vas = kcalloc(nr_vms, sizeof(vas[0]), GFP_KERNEL); in pcpu_get_vm_areas()
3691 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3746 area = (area + nr_vms - 1) % nr_vms; in pcpu_get_vm_areas()
3756 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3785 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3792 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3806 for (area = 0; area < nr_vms; area++) in pcpu_get_vm_areas()
3838 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3852 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3870 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas()
3894 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument
3898 for (i = 0; i < nr_vms; i++) in pcpu_free_vm_areas()