Home
last modified time | relevance | path

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

/linux/include/linux/
A Dalloc_tag.h28 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()
148 static inline bool alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_ref_set()
171 struct alloc_tag *tag; in alloc_tag_sub()
190 #define alloc_tag_record(p) ((p) = current->alloc_tag)
196 static inline void alloc_tag_add(union codetag_ref *ref, struct alloc_tag *tag, in alloc_tag_add()
[all …]
A Dpgalloc_tag.h65 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()
A Drhashtable-types.h93 struct alloc_tag *alloc_tag; member
A Dsched.h804 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()
A Dmm.h4170 struct alloc_tag *tag; in pgalloc_tag_split()
4193 struct alloc_tag *tag; in pgalloc_tag_copy()
/linux/lib/
A Dalloc_tag.c75 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()
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()
1038 alloc_tag_record(ht->alloc_tag); in rhashtable_init_noprof()
A DMakefile217 obj-$(CONFIG_MEM_ALLOC_PROFILING) += alloc_tag.o
/linux/mm/
A Dshow_mem.c436 struct alloc_tag *tag = ct_to_alloc_tag(ct); in __show_mem()
A Dpercpu.c1708 current->alloc_tag, size); in pcpu_alloc_tag_alloc_hook()
A Dpage_alloc.c4835 struct alloc_tag *tag = pgalloc_tag_get(page); in __free_pages()
A Dslub.c2097 alloc_tag_add(&obj_exts->ref, current->alloc_tag, s->size); in alloc_tagging_slab_alloc_hook()
/linux/
A DMAINTAINERS14811 F: include/linux/alloc_tag.h
14813 F: lib/alloc_tag.c

Completed in 79 milliseconds