Home
last modified time | relevance | path

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

/mm/kasan/
Dshadow.c222 struct vm_struct *vm; in kasan_mem_notifier() local
236 vm = find_vm_area((void *)shadow_start); in kasan_mem_notifier()
237 if (vm) in kasan_mem_notifier()
563 struct vm_struct *vm = find_vm_area(addr); in kasan_alloc_module_shadow() local
565 vm->flags |= VM_KASAN; in kasan_alloc_module_shadow()
568 if (vm->flags & VM_DEFER_KMEMLEAK) in kasan_alloc_module_shadow()
569 kmemleak_vmalloc(vm, size, gfp_mask); in kasan_alloc_module_shadow()
577 void kasan_free_module_shadow(const struct vm_struct *vm) in kasan_free_module_shadow() argument
582 if (vm->flags & VM_KASAN) in kasan_free_module_shadow()
583 vfree(kasan_mem_to_shadow(vm->addr)); in kasan_free_module_shadow()
/mm/
Dvmalloc.c1566 va->vm = NULL; in alloc_vmap_area()
2233 static inline unsigned int vm_area_page_order(struct vm_struct *vm) in vm_area_page_order() argument
2236 return vm->page_order; in vm_area_page_order()
2242 static inline void set_vm_area_page_order(struct vm_struct *vm, unsigned int order) in set_vm_area_page_order() argument
2245 vm->page_order = order; in set_vm_area_page_order()
2261 void __init vm_area_add_early(struct vm_struct *vm) in vm_area_add_early() argument
2267 if (tmp->addr >= vm->addr) { in vm_area_add_early()
2268 BUG_ON(tmp->addr < vm->addr + vm->size); in vm_area_add_early()
2271 BUG_ON(tmp->addr + tmp->size > vm->addr); in vm_area_add_early()
2273 vm->next = *p; in vm_area_add_early()
[all …]
Dpercpu.c3165 static struct vm_struct vm; in pcpu_page_first_chunk() local
3218 vm.flags = VM_ALLOC; in pcpu_page_first_chunk()
3219 vm.size = num_possible_cpus() * ai->unit_size; in pcpu_page_first_chunk()
3220 vm_area_register_early(&vm, PAGE_SIZE); in pcpu_page_first_chunk()
3224 (unsigned long)vm.addr + unit * ai->unit_size; in pcpu_page_first_chunk()
3252 pcpu_setup_first_chunk(ai, vm.addr); in pcpu_page_first_chunk()
DKconfig308 See Documentation/vm/ksm.rst for more information: KSM is inactive
329 /proc/sys/vm/mmap_min_addr tunable.
370 (/proc/sys/vm/nr_trim_pages) which specifies the minimum number of
859 See tools/testing/selftests/vm/gup_test.c
DKconfig.debug60 a fair amount of memory if enabled. See tools/vm/page_owner_sort.c