Home
last modified time | relevance | path

Searched refs:vms (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/mm/
Dpercpu-vm.c332 struct vm_struct **vms; in pcpu_create_chunk() local
338 vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes, in pcpu_create_chunk()
340 if (!vms) { in pcpu_create_chunk()
345 chunk->data = vms; in pcpu_create_chunk()
346 chunk->base_addr = vms[0]->addr - pcpu_group_offsets[0]; in pcpu_create_chunk()
Dvmalloc.c2389 struct vm_struct **vms; in pcpu_get_vm_areas() local
2426 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
2428 if (!vas || !vms) in pcpu_get_vm_areas()
2433 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL); in pcpu_get_vm_areas()
2434 if (!vas[area] || !vms[area]) in pcpu_get_vm_areas()
2519 setup_vmalloc_vm(vms[area], vas[area], VM_ALLOC, in pcpu_get_vm_areas()
2523 return vms; in pcpu_get_vm_areas()
2528 kfree(vms[area]); in pcpu_get_vm_areas()
2532 kfree(vms); in pcpu_get_vm_areas()
2543 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument
[all …]
/linux-4.1.27/include/linux/
Dvmalloc.h168 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
179 pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument