Searched refs:alloc_tag (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/include/linux/ |
D | alloc_tag.h | 28 struct alloc_tag { struct 64 static inline struct alloc_tag *ct_to_alloc_tag(struct codetag *ct) in ct_to_alloc_tag() 66 return container_of(ct, struct alloc_tag, ct); in ct_to_alloc_tag() 78 static struct alloc_tag _alloc_tag __used __aligned(8) \ 87 static struct alloc_tag _alloc_tag __used __aligned(8) \ 103 static inline struct alloc_tag_counters alloc_tag_read(struct alloc_tag *tag) in alloc_tag_read() 119 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_add_check() 133 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) {} in alloc_tag_add_check() 138 static inline bool __alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag) in __alloc_tag_ref_set() 148 static inline bool alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_ref_set() [all …]
|
D | pgalloc_tag.h | 65 alloc_tag_add(ref, task->alloc_tag, PAGE_SIZE * nr); in pgalloc_tag_add() 83 static inline struct alloc_tag *pgalloc_tag_get(struct page *page) in pgalloc_tag_get() 85 struct alloc_tag *tag = NULL; in pgalloc_tag_get() 101 static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr) in pgalloc_tag_sub_pages() 115 static inline struct alloc_tag *pgalloc_tag_get(struct page *page) { return NULL; } in pgalloc_tag_get() 116 static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr) {} in pgalloc_tag_sub_pages()
|
D | rhashtable-types.h | 93 struct alloc_tag *alloc_tag; member
|
D | sched.h | 804 struct alloc_tag *alloc_tag; member 2198 static __always_inline struct alloc_tag *alloc_tag_save(struct alloc_tag *tag) in alloc_tag_save() 2200 swap(current->alloc_tag, tag); in alloc_tag_save() 2204 static __always_inline void alloc_tag_restore(struct alloc_tag *tag, struct alloc_tag *old) in alloc_tag_restore() 2207 WARN(current->alloc_tag != tag, "current->alloc_tag was changed:\n"); in alloc_tag_restore() 2209 current->alloc_tag = old; in alloc_tag_restore()
|
D | mm.h | 4170 struct alloc_tag *tag; in pgalloc_tag_split() 4193 struct alloc_tag *tag; in pgalloc_tag_copy()
|
/linux-6.12.1/lib/ |
D | alloc_tag.c | 75 struct alloc_tag *tag = ct_to_alloc_tag(ct); in alloc_tag_to_text() 158 struct alloc_tag *tag; in alloc_tag_module_unload() 259 .tag_size = sizeof(struct alloc_tag), in alloc_tag_init()
|
D | rhashtable.c | 133 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() 1038 alloc_tag_record(ht->alloc_tag); in rhashtable_init_noprof()
|
D | Makefile | 217 obj-$(CONFIG_MEM_ALLOC_PROFILING) += alloc_tag.o
|
/linux-6.12.1/mm/ |
D | show_mem.c | 436 struct alloc_tag *tag = ct_to_alloc_tag(ct); in __show_mem()
|
D | percpu.c | 1708 current->alloc_tag, size); in pcpu_alloc_tag_alloc_hook()
|
D | page_alloc.c | 4835 struct alloc_tag *tag = pgalloc_tag_get(page); in __free_pages()
|
D | slub.c | 2097 alloc_tag_add(&obj_exts->ref, current->alloc_tag, s->size); in alloc_tagging_slab_alloc_hook()
|
/linux-6.12.1/ |
D | MAINTAINERS | 14811 F: include/linux/alloc_tag.h 14813 F: lib/alloc_tag.c
|