Home
last modified time | relevance | path

Searched refs:alloc_tag (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/include/linux/
H A Dalloc_tag.h28 struct alloc_tag { struct
34 struct alloc_tag *first_tag; argument
41 struct alloc_tag *first_tag;
86 static inline struct alloc_tag *ct_to_alloc_tag(struct codetag *ct) in ct_to_alloc_tag()
88 return container_of(ct, struct alloc_tag, ct); in ct_to_alloc_tag()
100 static struct alloc_tag _alloc_tag __used __aligned(8) \
110 static struct alloc_tag _alloc_tag __used __aligned(8) \
119 static struct alloc_tag _alloc_tag __used __aligned(8) \
205 struct alloc_tag *tag; in alloc_tag_sub()
224 #define alloc_tag_record(p) ((p) = current->alloc_tag)
[all …]
H A Dpgalloc_tag.h37 static inline struct alloc_tag *module_idx_to_tag(pgalloc_tag_idx idx) in module_idx_to_tag()
42 static inline pgalloc_tag_idx module_tag_to_idx(struct alloc_tag *tag) in module_tag_to_idx()
49 static inline struct alloc_tag *module_idx_to_tag(pgalloc_tag_idx idx) in module_idx_to_tag()
55 static inline pgalloc_tag_idx module_tag_to_idx(struct alloc_tag *tag) in module_tag_to_idx()
83 struct alloc_tag *tag; in ref_to_idx()
175 static inline struct alloc_tag *__pgalloc_tag_get(struct page *page) in __pgalloc_tag_get()
177 struct alloc_tag *tag = NULL; in __pgalloc_tag_get()
191 static inline struct alloc_tag *pgalloc_tag_get(struct page *page) in pgalloc_tag_get()
209 static inline struct alloc_tag *pgalloc_tag_get(struct page *page) { return NULL; } in pgalloc_tag_get()
H A Drhashtable-types.h93 struct alloc_tag *alloc_tag; member
H A Dsched.h839 struct alloc_tag *alloc_tag; member
2266 static __always_inline struct alloc_tag *alloc_tag_save(struct alloc_tag *tag) in alloc_tag_save()
2268 swap(current->alloc_tag, tag); in alloc_tag_save()
2272 static __always_inline void alloc_tag_restore(struct alloc_tag *tag, struct alloc_tag *old) in alloc_tag_restore()
2275 WARN(current->alloc_tag != tag, "current->alloc_tag was changed:\n"); in alloc_tag_restore()
2277 current->alloc_tag = old; in alloc_tag_restore()
/linux-6.15/lib/
H A Dalloc_tag.c171 struct alloc_tag *tag; in pgalloc_tag_split()
308 return ((val / sizeof(struct alloc_tag)) + 1) * sizeof(struct alloc_tag); in alloc_tag_align()
356 struct alloc_tag *tag; in clean_unused_counters()
384 struct alloc_tag *start_tag; in clean_unused_module_areas_locked()
385 struct alloc_tag *end_tag; in clean_unused_module_areas_locked()
578 struct alloc_tag *start_tag; in release_module_tags()
579 struct alloc_tag *end_tag; in release_module_tags()
596 struct alloc_tag *tag; in release_module_tags()
624 struct alloc_tag *start_tag; in load_module()
625 struct alloc_tag *stop_tag; in load_module()
[all …]
H A Drhashtable.c133 ntbl = alloc_hooks_tag(ht->alloc_tag, in nested_table_alloc()
161 tbl = alloc_hooks_tag(ht->alloc_tag, in nested_bucket_table_alloc()
186 tbl = alloc_hooks_tag(ht->alloc_tag, in bucket_table_alloc()
1042 alloc_tag_record(ht->alloc_tag); in rhashtable_init_noprof()
H A DMakefile209 obj-$(CONFIG_MEM_ALLOC_PROFILING) += alloc_tag.o
/linux-6.15/mm/
H A Dshow_mem.c437 struct alloc_tag *tag = ct_to_alloc_tag(ct); in __show_mem()
H A Dpage_alloc.c1122 alloc_tag_add(&ref, task->alloc_tag, PAGE_SIZE * nr); in __pgalloc_tag_add()
1156 static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr) in pgalloc_tag_sub_pages()
1167 static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr) {} in pgalloc_tag_sub_pages()
5073 struct alloc_tag *tag = pgalloc_tag_get(page); in ___free_pages()
H A Dpercpu.c1695 current->alloc_tag, size); in pcpu_alloc_tag_alloc_hook()
H A Dslub.c2108 alloc_tag_add(&obj_exts->ref, current->alloc_tag, s->size); in __alloc_tagging_slab_alloc_hook()
/linux-6.15/
H A DMAINTAINERS15466 F: include/linux/alloc_tag.h
15468 F: lib/alloc_tag.c