Searched refs:vm (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | vmalloc.c | 1136 void __init vm_area_add_early(struct vm_struct *vm) in vm_area_add_early() argument 1142 if (tmp->addr >= vm->addr) { in vm_area_add_early() 1143 BUG_ON(tmp->addr < vm->addr + vm->size); in vm_area_add_early() 1146 BUG_ON(tmp->addr + tmp->size > vm->addr); in vm_area_add_early() 1148 vm->next = *p; in vm_area_add_early() 1149 *p = vm; in vm_area_add_early() 1164 void __init vm_area_register_early(struct vm_struct *vm, size_t align) in vm_area_register_early() argument 1170 vm_init_off = PFN_ALIGN(addr + vm->size) - VMALLOC_START; in vm_area_register_early() 1172 vm->addr = (void *)addr; in vm_area_register_early() 1174 vm_area_add_early(vm); in vm_area_register_early() [all …]
|
D | zsmalloc.c | 274 struct vm_struct *vm; /* vm area for mapping object that span pages */ member 1032 if (area->vm) in __zs_cpu_up() 1034 area->vm = alloc_vm_area(PAGE_SIZE * 2, NULL); in __zs_cpu_up() 1035 if (!area->vm) in __zs_cpu_up() 1042 if (area->vm) in __zs_cpu_down() 1043 free_vm_area(area->vm); in __zs_cpu_down() 1044 area->vm = NULL; in __zs_cpu_down() 1050 BUG_ON(map_vm_area(area->vm, PAGE_KERNEL, pages)); in __zs_map_object() 1051 area->vm_addr = area->vm->addr; in __zs_map_object()
|
D | percpu.c | 2096 static struct vm_struct vm; in pcpu_page_first_chunk() local 2138 vm.flags = VM_ALLOC; in pcpu_page_first_chunk() 2139 vm.size = num_possible_cpus() * ai->unit_size; in pcpu_page_first_chunk() 2140 vm_area_register_early(&vm, PAGE_SIZE); in pcpu_page_first_chunk() 2144 (unsigned long)vm.addr + unit * ai->unit_size; in pcpu_page_first_chunk() 2169 unit_pages, psize_str, vm.addr, ai->static_size, in pcpu_page_first_chunk() 2172 rc = pcpu_setup_first_chunk(ai, vm.addr); in pcpu_page_first_chunk()
|
D | Kconfig | 339 See Documentation/vm/ksm.txt for more information: KSM is inactive 360 /proc/sys/vm/mmap_min_addr tunable. 400 (/proc/sys/vm/nr_trim_pages) which specifies the minimum number of 540 See Documentation/vm/soft-dirty.txt for more details.
|