| /linux/include/linux/ |
| H A D | vmalloc.h | 52 struct vm_struct { struct 54 struct vm_struct *next; /* Early registration of vm_areas. */ argument 86 struct vm_struct *vm; /* in "busy" tree */ argument 236 static inline size_t get_vm_area_size(const struct vm_struct *area) in get_vm_area_size() 246 extern struct vm_struct *get_vm_area(unsigned long size, unsigned long flags); 247 extern struct vm_struct *get_vm_area_caller(unsigned long size, 249 extern struct vm_struct *__get_vm_area_caller(unsigned long size, 253 void free_vm_area(struct vm_struct *area); 254 extern struct vm_struct *remove_vm_area(const void *addr); 255 extern struct vm_struct *find_vm_area(const void *addr); [all …]
|
| H A D | kmemleak.h | 22 extern void kmemleak_vmalloc(const struct vm_struct *area, size_t size, 76 static inline void kmemleak_vmalloc(const struct vm_struct *area, size_t size, in kmemleak_vmalloc()
|
| H A D | execmem.h | 190 struct vm_struct *execmem_vmap(size_t size);
|
| /linux/mm/ |
| H A D | vmalloc.h | 15 unsigned int get_vm_area_page_order(struct vm_struct *vm); 32 struct vm_struct *__get_vm_area_node(unsigned long size, 38 void clear_vm_uninitialized_flag(struct vm_struct *vm);
|
| H A D | vmalloc.c | 372 struct vm_struct *area; in ioremap_page_range() 749 static int check_sparse_vm_area(struct vm_struct *area, unsigned long start, in check_sparse_vm_area() 774 int vm_area_map_pages(struct vm_struct *area, unsigned long start, in vm_area_map_pages() 792 void vm_area_unmap_pages(struct vm_struct *area, unsigned long start, in vm_area_unmap_pages() 2031 static inline void setup_vmalloc_vm(struct vm_struct *vm, in setup_vmalloc_vm() 2049 unsigned long va_flags, struct vm_struct *vm) in alloc_vmap_area() 3125 static struct vm_struct *vmlist __initdata; 3127 static inline unsigned int vm_area_page_order(struct vm_struct *vm) in vm_area_page_order() 3136 unsigned int get_vm_area_page_order(struct vm_struct *vm) in get_vm_area_page_order() 3141 static inline void set_vm_area_page_order(struct vm_struct *vm, unsigned int order) in set_vm_area_page_order() [all …]
|
| /linux/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/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/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/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/arch/nios2/mm/ |
| H A D | ioremap.c | 121 struct vm_struct *area; in ioremap() 178 struct vm_struct *p; in iounmap()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | kfence.h | 22 struct vm_struct *area; in arch_kfence_init_pool()
|
| /linux/kernel/ |
| H A D | fork.c | 202 static DEFINE_PER_CPU(struct vm_struct *, cached_stacks[NR_CACHED_STACKS]); 212 struct vm_struct *stack_vm_area; 215 static struct vm_struct *alloc_thread_stack_node_from_cache(struct task_struct *tsk, int node) in alloc_thread_stack_node_from_cache() 217 struct vm_struct *vm_area; in alloc_thread_stack_node_from_cache() 242 static bool try_release_thread_stack_to_cache(struct vm_struct *vm_area) in try_release_thread_stack_to_cache() 266 struct vm_struct *tmp = NULL; in try_release_thread_stack_to_cache() 278 struct vm_struct *vm_area = vm_stack->stack_vm_area; in thread_stack_free_rcu() 296 struct vm_struct **cached_vm_stack_areas = per_cpu_ptr(cached_stacks, cpu); in free_vm_stack_cache() 300 struct vm_struct *vm_area = cached_vm_stack_areas[i]; in free_vm_stack_cache() 312 static int memcg_charge_kernel_stack(struct vm_struct *vm_area) in memcg_charge_kernel_stack() [all …]
|
| /linux/mm/kasan/ |
| H A D | shadow.c | 255 struct vm_struct *vm; in kasan_mem_notifier() 683 struct vm_struct *vm = find_vm_area(addr); in kasan_alloc_module_shadow() 697 void kasan_free_module_shadow(const struct vm_struct *vm) in kasan_free_module_shadow()
|
| H A D | common.c | 581 void __kasan_unpoison_vmap_areas(struct vm_struct **vms, int nr_vms, in __kasan_unpoison_vmap_areas()
|
| /linux/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/arch/x86/xen/ |
| H A D | grant-table.c | 26 struct vm_struct *area;
|
| /linux/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/arch/powerpc/kernel/ |
| H A D | pci_64.c | 122 struct vm_struct *area; in ioremap_phb()
|
| /linux/arch/microblaze/mm/ |
| H A D | pgtable.c | 96 struct vm_struct *area; in __ioremap()
|
| /linux/arch/x86/mm/ |
| H A D | ioremap.c | 192 struct vm_struct *area; in __ioremap_caller() 458 struct vm_struct *p, *o; in iounmap()
|
| /linux/arch/alpha/kernel/ |
| H A D | core_irongate.c | 314 struct vm_struct *area; in irongate_ioremap()
|
| /linux/drivers/xen/xenbus/ |
| H A D | xenbus_client.c | 60 struct vm_struct *area; 767 struct vm_struct *area; in xenbus_map_ring_pv()
|
| /linux/kernel/bpf/ |
| H A D | arena.c | 55 struct vm_struct *kern_vm; 268 struct vm_struct *kern_vm; in arena_map_alloc()
|