Searched refs:alloc_tag (Results 1 – 12 of 12) sorted by relevance
| /linux/include/linux/ |
| H A D | alloc_tag.h | 28 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) \ 139 static inline struct alloc_tag_counters alloc_tag_read(struct alloc_tag *tag) in alloc_tag_read() 155 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_add_check() [all …]
|
| H A D | sched.h | 861 struct alloc_tag *alloc_tag; member 2360 static __always_inline struct alloc_tag *alloc_tag_save(struct alloc_tag *tag) in alloc_tag_save() 2362 swap(current->alloc_tag, tag); in alloc_tag_save() 2366 static __always_inline void alloc_tag_restore(struct alloc_tag *tag, struct alloc_tag *old) in alloc_tag_restore() 2369 WARN(current->alloc_tag != tag, "current->alloc_tag was changed:\n"); in alloc_tag_restore() 2371 current->alloc_tag in alloc_tag_restore() [all...] |
| /linux/mm/ |
| H A D | alloc_tag.c | 25 #define MODULE_ALLOC_TAG_VMAP_SIZE (100000UL * sizeof(struct alloc_tag)) 117 struct alloc_tag *tag = ct_to_alloc_tag(ct); in alloc_tag_to_text() 531 struct alloc_tag *tag; in pgalloc_tag_split() 558 struct alloc_tag *tag_old, *tag_new; in pgalloc_tag_swap() 609 struct alloc_tag *last_codetag; in alloc_tag_sec_init() 617 kernel_tags.first_tag = (struct alloc_tag *)kallsyms_lookup_name( in alloc_tag_sec_init() 619 last_codetag = (struct alloc_tag *)kallsyms_lookup_name( in alloc_tag_sec_init() 655 if (val % sizeof(struct alloc_tag) == 0) in alloc_tag_align() 657 return ((val / sizeof(struct alloc_tag)) + 1) * sizeof(struct alloc_tag); in alloc_tag_align() 671 if (!IS_ALIGNED(sizeof(struct alloc_tag), align)) in ensure_alignment() [all …]
|
| H A D | Makefile | 150 obj-$(CONFIG_MEM_ALLOC_PROFILING) += alloc_tag.o
|
| H A D | show_mem.c | 448 struct alloc_tag *tag = ct_to_alloc_tag(ct); in __show_mem()
|
| H A D | page_alloc.c | 1259 alloc_tag_add(&ref, task->alloc_tag, PAGE_SIZE * nr); in __pgalloc_tag_add() 1268 if (task->alloc_tag) in __pgalloc_tag_add() 1269 alloc_tag_set_inaccurate(task->alloc_tag); in __pgalloc_tag_add() 1301 static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr) in pgalloc_tag_sub_pages() 1312 static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr) {} in pgalloc_tag_sub_pages() 5526 struct alloc_tag *tag = pgalloc_tag_get(page); in ___free_pages()
|
| H A D | slub.c | 2407 alloc_tag_add(ref, current->alloc_tag, s->size); in __alloc_tagging_slab_alloc_hook() 2417 alloc_tag_set_inaccurate(current->alloc_tag); in __alloc_tagging_slab_alloc_hook()
|
| /linux/lib/ |
| H A D | rhashtable.c | 143 ntbl = alloc_hooks_tag(ht->alloc_tag, in nested_table_alloc() 171 tbl = alloc_hooks_tag(ht->alloc_tag, in nested_bucket_table_alloc() 196 tbl = alloc_hooks_tag(ht->alloc_tag, in bucket_table_alloc() 1181 alloc_tag_record(ht->alloc_tag); in __rhashtable_init_noprof()
|
| /linux/tools/testing/selftests/ |
| H A D | Makefile | 3 TARGETS += alloc_tag
|
| /linux/Documentation/mm/ |
| H A D | allocation-profiling.rst | 61 text or programmatically via `ioctl()` calls defined in `<uapi/linux/alloc_tag.h>`.
|
| /linux/Documentation/userspace-api/ioctl/ |
| H A D | ioctl-number.rst | 349 0xA6 00-0F uapi/linux/alloc_tag.h Memory allocation profiling
|
| /linux/ |
| H A D | MAINTAINERS | 17100 F: include/linux/alloc_tag.h 17102 F: include/uapi/linux/alloc_tag.h 17103 F: mm/alloc_tag.c 17104 F: tools/testing/selftests/alloc_tag/
|