Home
last modified time | relevance | path

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

/linux/lib/
H A Dalloc_tag.c16 #define MODULE_ALLOC_TAG_VMAP_SIZE (100000UL * sizeof(struct alloc_tag))
89 struct alloc_tag *tag = ct_to_alloc_tag(ct); in alloc_tag_to_text()
167 struct alloc_tag *tag; in pgalloc_tag_split()
194 struct alloc_tag *tag_old, *tag_new; in pgalloc_tag_swap()
245 struct alloc_tag *last_codetag; in alloc_tag_sec_init()
253 kernel_tags.first_tag = (struct alloc_tag *)kallsyms_lookup_name( in alloc_tag_sec_init()
255 last_codetag = (struct alloc_tag *)kallsyms_lookup_name( in alloc_tag_sec_init()
291 if (val % sizeof(struct alloc_tag) == 0) in alloc_tag_align()
293 return ((val / sizeof(struct alloc_tag)) + 1) * sizeof(struct alloc_tag); in alloc_tag_align()
307 if (!IS_ALIGNED(sizeof(struct alloc_tag), align)) in ensure_alignment()
[all …]
H A DMakefile200 obj-$(CONFIG_MEM_ALLOC_PROFILING) += alloc_tag.o
/linux/include/linux/
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 Dsched.h844 struct alloc_tag *alloc_tag; member
2297 static __always_inline struct alloc_tag *alloc_tag_save(struct alloc_tag *tag) in alloc_tag_save()
2299 swap(current->alloc_tag, tag); in alloc_tag_save()
2303 static __always_inline void alloc_tag_restore(struct alloc_tag *tag, struct alloc_tag *old) in alloc_tag_restore()
2306 WARN(current->alloc_tag != tag, "current->alloc_tag was changed:\n"); in alloc_tag_restore()
2308 current->alloc_tag = old; in alloc_tag_restore()
/linux/mm/
H A Dshow_mem.c431 struct alloc_tag *tag = ct_to_alloc_tag(ct); in __show_mem()
H A Dpage_alloc.c1256 alloc_tag_add(&ref, task->alloc_tag, PAGE_SIZE * nr); in free_pages_prepare()
1290 static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr)
1301 static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr) {} in free_pcppages_bulk()
5226 struct alloc_tag *tag = pgalloc_tag_get(page);
H A Dslub.c2145 alloc_tag_add(&obj_exts->ref, current->alloc_tag, s->size); in __alloc_tagging_slab_alloc_hook()
/linux/
H A DMAINTAINERS15914 F: include/linux/alloc_tag.h
15916 F: lib/alloc_tag.c