| /linux-6.15/include/linux/ |
| H A D | vmalloc.h | 52 struct vm_struct { struct 53 struct vm_struct *next; argument 82 struct vm_struct *vm; /* in "busy" tree */ argument 240 extern struct vm_struct *get_vm_area_caller(unsigned long size, 246 void free_vm_area(struct vm_struct *area); 247 extern struct vm_struct *remove_vm_area(const void *addr); 248 extern struct vm_struct *find_vm_area(const void *addr); 273 __init void vm_area_add_early(struct vm_struct *vm); 292 struct vm_struct *vm = find_vm_area(addr); in set_vm_flush_reset_perms() 309 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms); [all …]
|
| H A D | kmemleak.h | 22 extern void kmemleak_vmalloc(const struct vm_struct *area, size_t size, 75 static inline void kmemleak_vmalloc(const struct vm_struct *area, size_t size, in kmemleak_vmalloc()
|
| H A D | kasan.h | 15 struct vm_struct; 643 void kasan_free_module_shadow(const struct vm_struct *vm); 648 static inline void kasan_free_module_shadow(const struct vm_struct *vm) {} in kasan_free_module_shadow()
|
| H A D | execmem.h | 191 struct vm_struct *execmem_vmap(size_t size);
|
| /linux-6.15/arch/m68k/mm/ |
| H A D | kmap.c | 37 static inline struct vm_struct *get_io_area(unsigned long size) in get_io_area() 52 static struct vm_struct *iolist; 108 static struct vm_struct *get_io_area(unsigned long size) in get_io_area() 111 struct vm_struct **p, *tmp, *area; in get_io_area() 135 struct vm_struct **p, *tmp; in free_io_area() 160 struct vm_struct *area; in __ioremap()
|
| H A D | sun3kmap.c | 64 struct vm_struct *area; in sun3_ioremap()
|
| /linux-6.15/mm/ |
| H A D | vmalloc.c | 332 struct vm_struct *area; in ioremap_page_range() 3115 struct vm_struct *area; in __get_vm_area_node() 3228 struct vm_struct *vm; in remove_vm_area() 3350 struct vm_struct *vm; in vfree() 3405 struct vm_struct *vm; in vunmap() 3440 struct vm_struct *area; in vmap() 4359 struct vm_struct *vm; in vread_iter() 4544 struct vm_struct *ret; in free_vm_area() 4905 struct vm_struct *vm; in vmalloc_dump_obj() 4984 struct vm_struct *v; in vmalloc_info_show() [all …]
|
| H A D | execmem.c | 68 struct vm_struct *execmem_vmap(size_t size) in execmem_vmap() 71 struct vm_struct *area; in execmem_vmap() 111 static int execmem_set_direct_map_valid(struct vm_struct *vm, bool valid) in execmem_set_direct_map_valid() 146 struct vm_struct *vm = find_vm_area(area); in execmem_cache_clean() 288 struct vm_struct *vm; in execmem_cache_populate()
|
| H A D | ioremap.c | 20 struct vm_struct *area; in generic_ioremap_prot()
|
| /linux-6.15/kernel/dma/ |
| H A D | remap.c | 11 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_find_pages() 64 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_free_remap()
|
| /linux-6.15/arch/arm/mm/ |
| H A D | ioremap.c | 54 struct vm_struct *vm; in find_static_vm_paddr() 76 struct vm_struct *vm; in find_static_vm_vaddr() 95 struct vm_struct *vm; in add_static_vm_early() 280 struct vm_struct *area; in __arm_ioremap_pfn_caller() 458 struct vm_struct *vm; in iounmap()
|
| H A D | mm.h | 69 struct vm_struct vm;
|
| /linux-6.15/Documentation/translations/zh_CN/mm/ |
| H A D | vmalloced-kernel-stacks.rst | 88 - vm_struct被缓存起来,以便能够找到在中断上下文中启动的空闲线程。 free_thread_stack() 105 struct vm_struct *stack_vm_area;
|
| /linux-6.15/include/linux/sched/ |
| H A D | task.h | 207 static inline struct vm_struct *task_stack_vm_area(const struct task_struct *t) in task_stack_vm_area() 212 static inline struct vm_struct *task_stack_vm_area(const struct task_struct *t) in task_stack_vm_area()
|
| /linux-6.15/arch/nios2/mm/ |
| H A D | ioremap.c | 121 struct vm_struct *area; in ioremap() 178 struct vm_struct *p; in iounmap()
|
| /linux-6.15/mm/kasan/ |
| H A D | report.c | 385 static inline struct vm_struct *kasan_find_vm_area(void *addr) in kasan_find_vm_area() 388 struct vm_struct *va; in kasan_find_vm_area() 432 struct vm_struct *va = kasan_find_vm_area(addr); in print_address_description()
|
| H A D | shadow.c | 255 struct vm_struct *vm; in kasan_mem_notifier() 678 struct vm_struct *vm = find_vm_area(addr); in kasan_alloc_module_shadow() 692 void kasan_free_module_shadow(const struct vm_struct *vm) in kasan_free_module_shadow()
|
| H A D | hw_tags.c | 275 struct vm_struct *area; in unpoison_vmalloc_pages()
|
| /linux-6.15/arch/loongarch/include/asm/ |
| H A D | kfence.h | 22 struct vm_struct *area; in arch_kfence_init_pool()
|
| /linux-6.15/arch/mips/mm/ |
| H A D | ioremap.c | 51 struct vm_struct *area; in ioremap_prot()
|
| /linux-6.15/arch/sh/kernel/cpu/sh4/ |
| H A D | sq.c | 104 struct vm_struct *vma; in __sq_remap() 230 struct vm_struct *vma; in sq_unmap()
|
| /linux-6.15/kernel/ |
| H A D | fork.c | 200 static DEFINE_PER_CPU(struct vm_struct *, cached_stacks[NR_CACHED_STACKS]); 204 struct vm_struct *stack_vm_area; 207 static bool try_release_thread_stack_to_cache(struct vm_struct *vm) in try_release_thread_stack_to_cache() 212 struct vm_struct *tmp = NULL; in try_release_thread_stack_to_cache() 240 struct vm_struct **cached_vm_stacks = per_cpu_ptr(cached_stacks, cpu); in free_vm_stack_cache() 244 struct vm_struct *vm_stack = cached_vm_stacks[i]; in free_vm_stack_cache() 256 static int memcg_charge_kernel_stack(struct vm_struct *vm) in memcg_charge_kernel_stack() 279 struct vm_struct *vm; in alloc_thread_stack_node() 284 struct vm_struct *s; in alloc_thread_stack_node() 516 struct vm_struct *vm = task_stack_vm_area(tsk); in account_kernel_stack() [all …]
|
| /linux-6.15/arch/x86/xen/ |
| H A D | grant-table.c | 26 struct vm_struct *area;
|
| /linux-6.15/Documentation/mm/ |
| H A D | vmalloced-kernel-stacks.rst | 97 - vm_struct is cached to be able to find when thread free is initiated 118 struct vm_struct *stack_vm_area;
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | pci_64.c | 122 struct vm_struct *area; in ioremap_phb()
|