Searched refs:nr_vms (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/ |
H A D | vmalloc.h | 305 const size_t *sizes, int nr_vms, 308 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms); in pcpu_get_vm_areas() argument 312 const size_t *sizes, int nr_vms, in pcpu_get_vm_areas() 318 static inline void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) {} 315 pcpu_free_vm_areas(struct vm_struct ** vms,int nr_vms) pcpu_free_vm_areas() argument
|
/linux/mm/ |
H A D | vmalloc.c | 4628 const size_t *sizes, int nr_vms, in pcpu_get_vm_areas() argument 4641 for (last_area = 0, area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas() 4653 for (area2 = area + 1; area2 < nr_vms; area2++) { in pcpu_get_vm_areas() 4667 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas() 4668 vas = kcalloc(nr_vms, sizeof(vas[0]), GFP_KERNEL); in pcpu_get_vm_areas() 4672 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas() 4727 area = (area + nr_vms - 1) % nr_vms; in pcpu_get_vm_areas() 4737 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas() 4763 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas() 4769 for (area = 0; area < nr_vms; area++) { in pcpu_get_vm_areas() [all …]
|