Home
last modified time | relevance | path

Searched refs:vm_struct (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.6.21/include/linux/
Dvmalloc.h49 struct vm_struct { struct
50 struct vm_struct *next; argument
78 struct vm_struct *vm; /* in "busy" tree */ argument
196 static inline size_t get_vm_area_size(const struct vm_struct *area) in get_vm_area_size()
206 extern struct vm_struct *get_vm_area(unsigned long size, unsigned long flags);
207 extern struct vm_struct *get_vm_area_caller(unsigned long size,
209 extern struct vm_struct *__get_vm_area_caller(unsigned long size,
213 void free_vm_area(struct vm_struct *area);
214 extern struct vm_struct *remove_vm_area(const void *addr);
215 extern struct vm_struct *find_vm_area(const void *addr);
[all …]
Dkmemleak.h22 extern void kmemleak_vmalloc(const struct vm_struct *area, size_t size,
74 static inline void kmemleak_vmalloc(const struct vm_struct *area, size_t size, in kmemleak_vmalloc()
Dkasan.h14 struct vm_struct;
460 void kasan_free_module_shadow(const struct vm_struct *vm);
465 static inline void kasan_free_module_shadow(const struct vm_struct *vm) {} in kasan_free_module_shadow()
/linux-6.6.21/arch/m68k/mm/
Dkmap.c37 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()
Dsun3kmap.c66 struct vm_struct *area; in sun3_ioremap()
/linux-6.6.21/mm/
Dvmalloc.c2422 static struct vm_struct *vmlist __initdata;
2424 static inline unsigned int vm_area_page_order(struct vm_struct *vm) in vm_area_page_order()
2433 static inline void set_vm_area_page_order(struct vm_struct *vm, unsigned int order) in set_vm_area_page_order()
2452 void __init vm_area_add_early(struct vm_struct *vm) in vm_area_add_early()
2454 struct vm_struct *tmp, **p; in vm_area_add_early()
2480 void __init vm_area_register_early(struct vm_struct *vm, size_t align) in vm_area_register_early()
2483 struct vm_struct *cur, **p; in vm_area_register_early()
2541 static inline void setup_vmalloc_vm_locked(struct vm_struct *vm, in setup_vmalloc_vm_locked()
2551 static void setup_vmalloc_vm(struct vm_struct *vm, struct vmap_area *va, in setup_vmalloc_vm()
2559 static void clear_vm_uninitialized_flag(struct vm_struct *vm) in clear_vm_uninitialized_flag()
[all …]
Dioremap.c20 struct vm_struct *area; in generic_ioremap_prot()
/linux-6.6.21/kernel/dma/
Dremap.c11 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_find_pages()
62 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_free_remap()
/linux-6.6.21/arch/arm/mm/
Dioremap.c53 struct vm_struct *vm; in find_static_vm_paddr()
75 struct vm_struct *vm; in find_static_vm_vaddr()
94 struct vm_struct *vm; in add_static_vm_early()
255 struct vm_struct *area; in __arm_ioremap_pfn_caller()
433 struct vm_struct *vm; in iounmap()
Dmm.h69 struct vm_struct vm;
/linux-6.6.21/Documentation/translations/zh_CN/mm/
Dvmalloced-kernel-stacks.rst88 - vm_struct被缓存起来,以便能够找到在中断上下文中启动的空闲线程。 free_thread_stack()
105 struct vm_struct *stack_vm_area;
/linux-6.6.21/include/linux/sched/
Dtask.h198 static inline struct vm_struct *task_stack_vm_area(const struct task_struct *t) in task_stack_vm_area()
203 static inline struct vm_struct *task_stack_vm_area(const struct task_struct *t) in task_stack_vm_area()
/linux-6.6.21/arch/nios2/mm/
Dioremap.c121 struct vm_struct *area; in ioremap()
178 struct vm_struct *p; in iounmap()
/linux-6.6.21/arch/loongarch/include/asm/
Dkfence.h20 struct vm_struct *area; in arch_kfence_init_pool()
/linux-6.6.21/mm/kasan/
Dshadow.c274 struct vm_struct *vm; in kasan_mem_notifier()
627 struct vm_struct *vm = find_vm_area(addr); in kasan_alloc_module_shadow()
641 void kasan_free_module_shadow(const struct vm_struct *vm) in kasan_free_module_shadow()
Dhw_tags.c264 struct vm_struct *area; in unpoison_vmalloc_pages()
/linux-6.6.21/arch/mips/mm/
Dioremap.c51 struct vm_struct *area; in ioremap_prot()
/linux-6.6.21/arch/sh/kernel/cpu/sh4/
Dsq.c104 struct vm_struct *vma; in __sq_remap()
230 struct vm_struct *vma; in sq_unmap()
/linux-6.6.21/arch/powerpc/lib/
Dcode-patching.c51 struct vm_struct *area;
104 struct vm_struct *area; in text_area_cpu_up()
/linux-6.6.21/arch/x86/xen/
Dgrant-table.c26 struct vm_struct *area;
/linux-6.6.21/kernel/
Dfork.c196 static DEFINE_PER_CPU(struct vm_struct *, cached_stacks[NR_CACHED_STACKS]);
200 struct vm_struct *stack_vm_area;
203 static bool try_release_thread_stack_to_cache(struct vm_struct *vm) in try_release_thread_stack_to_cache()
235 struct vm_struct **cached_vm_stacks = per_cpu_ptr(cached_stacks, cpu); in free_vm_stack_cache()
239 struct vm_struct *vm_stack = cached_vm_stacks[i]; in free_vm_stack_cache()
251 static int memcg_charge_kernel_stack(struct vm_struct *vm) in memcg_charge_kernel_stack()
274 struct vm_struct *vm; in alloc_thread_stack_node()
279 struct vm_struct *s; in alloc_thread_stack_node()
555 struct vm_struct *vm = task_stack_vm_area(tsk); in account_kernel_stack()
575 struct vm_struct *vm; in exit_task_stack_account()
/linux-6.6.21/arch/arm64/mm/
Dpageattr.c73 struct vm_struct *area; in change_memory_common()
/linux-6.6.21/Documentation/mm/
Dvmalloced-kernel-stacks.rst97 - vm_struct is cached to be able to find when thread free is initiated
118 struct vm_struct *stack_vm_area;
/linux-6.6.21/arch/microblaze/mm/
Dpgtable.c96 struct vm_struct *area; in __ioremap()
/linux-6.6.21/arch/powerpc/kernel/
Dpci_64.c122 struct vm_struct *area; in ioremap_phb()

12