Home
last modified time | relevance | path

Searched refs:vm (Results 1 – 5 of 5) sorted by relevance

/mm/
Dvmalloc.c1191 void __init vm_area_add_early(struct vm_struct *vm) in vm_area_add_early() argument
1197 if (tmp->addr >= vm->addr) { in vm_area_add_early()
1198 BUG_ON(tmp->addr < vm->addr + vm->size); in vm_area_add_early()
1201 BUG_ON(tmp->addr + tmp->size > vm->addr); in vm_area_add_early()
1203 vm->next = *p; in vm_area_add_early()
1204 *p = vm; in vm_area_add_early()
1219 void __init vm_area_register_early(struct vm_struct *vm, size_t align) in vm_area_register_early() argument
1225 vm_init_off = PFN_ALIGN(addr + vm->size) - VMALLOC_START; in vm_area_register_early()
1227 vm->addr = (void *)addr; in vm_area_register_early()
1229 vm_area_add_early(vm); in vm_area_register_early()
[all …]
Dzsmalloc.c298 struct vm_struct *vm; /* vm area for mapping object that span pages */ member
1172 if (area->vm) in __zs_cpu_up()
1174 area->vm = alloc_vm_area(PAGE_SIZE * 2, NULL); in __zs_cpu_up()
1175 if (!area->vm) in __zs_cpu_up()
1182 if (area->vm) in __zs_cpu_down()
1183 free_vm_area(area->vm); in __zs_cpu_down()
1184 area->vm = NULL; in __zs_cpu_down()
1190 BUG_ON(map_vm_area(area->vm, PAGE_KERNEL, pages)); in __zs_map_object()
1191 area->vm_addr = area->vm->addr; in __zs_map_object()
Dpercpu.c2092 static struct vm_struct vm; in pcpu_page_first_chunk() local
2134 vm.flags = VM_ALLOC; in pcpu_page_first_chunk()
2135 vm.size = num_possible_cpus() * ai->unit_size; in pcpu_page_first_chunk()
2136 vm_area_register_early(&vm, PAGE_SIZE); in pcpu_page_first_chunk()
2140 (unsigned long)vm.addr + unit * ai->unit_size; in pcpu_page_first_chunk()
2165 unit_pages, psize_str, vm.addr, ai->static_size, in pcpu_page_first_chunk()
2168 rc = pcpu_setup_first_chunk(ai, vm.addr); in pcpu_page_first_chunk()
DKconfig340 See Documentation/vm/ksm.txt for more information: KSM is inactive
361 /proc/sys/vm/mmap_min_addr tunable.
402 (/proc/sys/vm/nr_trim_pages) which specifies the minimum number of
557 See Documentation/vm/soft-dirty.txt for more details.
689 See Documentation/vm/idle_page_tracking.txt for more details.
/mm/kasan/
Dkasan.c699 void kasan_free_shadow(const struct vm_struct *vm) in kasan_free_shadow() argument
701 if (vm->flags & VM_KASAN) in kasan_free_shadow()
702 vfree(kasan_mem_to_shadow(vm->addr)); in kasan_free_shadow()