Symbol: alloc_tag
include/linux/alloc_tag.h
100
static struct alloc_tag _alloc_tag __used __aligned(8) \
include/linux/alloc_tag.h
110
static struct alloc_tag _alloc_tag __used __aligned(8) \
include/linux/alloc_tag.h
119
static struct alloc_tag _alloc_tag __used __aligned(8) \
include/linux/alloc_tag.h
139
static inline struct alloc_tag_counters alloc_tag_read(struct alloc_tag *tag)
include/linux/alloc_tag.h
155
static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag)
include/linux/alloc_tag.h
170
static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) {}
include/linux/alloc_tag.h
176
static inline bool __alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag)
include/linux/alloc_tag.h
186
static inline bool alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag)
include/linux/alloc_tag.h
201
static inline void alloc_tag_add(union codetag_ref *ref, struct alloc_tag *tag, size_t bytes)
include/linux/alloc_tag.h
209
struct alloc_tag *tag;
include/linux/alloc_tag.h
228
static inline void alloc_tag_set_inaccurate(struct alloc_tag *tag)
include/linux/alloc_tag.h
233
static inline bool alloc_tag_is_inaccurate(struct alloc_tag *tag)
include/linux/alloc_tag.h
238
#define alloc_tag_record(p) ((p) = current->alloc_tag)
include/linux/alloc_tag.h
245
static inline void alloc_tag_add(union codetag_ref *ref, struct alloc_tag *tag,
include/linux/alloc_tag.h
248
static inline void alloc_tag_set_inaccurate(struct alloc_tag *tag) {}
include/linux/alloc_tag.h
249
static inline bool alloc_tag_is_inaccurate(struct alloc_tag *tag) { return false; }
include/linux/alloc_tag.h
258
struct alloc_tag * __maybe_unused _old; \
include/linux/alloc_tag.h
34
struct alloc_tag *first_tag;
include/linux/alloc_tag.h
41
struct alloc_tag *first_tag;
include/linux/alloc_tag.h
86
static inline struct alloc_tag *ct_to_alloc_tag(struct codetag *ct)
include/linux/alloc_tag.h
88
return container_of(ct, struct alloc_tag, ct);
include/linux/pgalloc_tag.h
176
static inline struct alloc_tag *__pgalloc_tag_get(struct page *page)
include/linux/pgalloc_tag.h
178
struct alloc_tag *tag = NULL;
include/linux/pgalloc_tag.h
192
static inline struct alloc_tag *pgalloc_tag_get(struct page *page)
include/linux/pgalloc_tag.h
210
static inline struct alloc_tag *pgalloc_tag_get(struct page *page) { return NULL; }
include/linux/pgalloc_tag.h
37
static inline struct alloc_tag *module_idx_to_tag(pgalloc_tag_idx idx)
include/linux/pgalloc_tag.h
42
static inline pgalloc_tag_idx module_tag_to_idx(struct alloc_tag *tag)
include/linux/pgalloc_tag.h
49
static inline struct alloc_tag *module_idx_to_tag(pgalloc_tag_idx idx)
include/linux/pgalloc_tag.h
55
static inline pgalloc_tag_idx module_tag_to_idx(struct alloc_tag *tag)
include/linux/pgalloc_tag.h
83
struct alloc_tag *tag;
include/linux/rhashtable-types.h
98
struct alloc_tag *alloc_tag;
include/linux/sched.h
2344
static __always_inline struct alloc_tag *alloc_tag_save(struct alloc_tag *tag)
include/linux/sched.h
2346
swap(current->alloc_tag, tag);
include/linux/sched.h
2350
static __always_inline void alloc_tag_restore(struct alloc_tag *tag, struct alloc_tag *old)
include/linux/sched.h
2353
WARN(current->alloc_tag != tag, "current->alloc_tag was changed:\n");
include/linux/sched.h
2355
current->alloc_tag = old;
include/linux/sched.h
852
struct alloc_tag *alloc_tag;
lib/alloc_tag.c
106
struct alloc_tag *tag = ct_to_alloc_tag(ct);
lib/alloc_tag.c
186
struct alloc_tag *tag;
lib/alloc_tag.c
19
#define MODULE_ALLOC_TAG_VMAP_SIZE (100000UL * sizeof(struct alloc_tag))
lib/alloc_tag.c
213
struct alloc_tag *tag_old, *tag_new;
lib/alloc_tag.c
264
struct alloc_tag *last_codetag;
lib/alloc_tag.c
272
kernel_tags.first_tag = (struct alloc_tag *)kallsyms_lookup_name(
lib/alloc_tag.c
274
last_codetag = (struct alloc_tag *)kallsyms_lookup_name(
lib/alloc_tag.c
310
if (val % sizeof(struct alloc_tag) == 0)
lib/alloc_tag.c
312
return ((val / sizeof(struct alloc_tag)) + 1) * sizeof(struct alloc_tag);
lib/alloc_tag.c
326
if (!IS_ALIGNED(sizeof(struct alloc_tag), align))
lib/alloc_tag.c
344
module_tags.size / sizeof(struct alloc_tag);
lib/alloc_tag.c
354
return size >= sizeof(struct alloc_tag);
lib/alloc_tag.c
357
static bool clean_unused_counters(struct alloc_tag *start_tag,
lib/alloc_tag.c
358
struct alloc_tag *end_tag)
lib/alloc_tag.c
360
struct alloc_tag *tag;
lib/alloc_tag.c
388
struct alloc_tag *start_tag;
lib/alloc_tag.c
389
struct alloc_tag *end_tag;
lib/alloc_tag.c
395
start_tag = (struct alloc_tag *)(module_tags.start_addr + mas.index);
lib/alloc_tag.c
396
end_tag = (struct alloc_tag *)(module_tags.start_addr + mas.last);
lib/alloc_tag.c
502
if (size < sizeof(struct alloc_tag))
lib/alloc_tag.c
577
return (struct alloc_tag *)(module_tags.start_addr + offset);
lib/alloc_tag.c
583
struct alloc_tag *start_tag;
lib/alloc_tag.c
584
struct alloc_tag *end_tag;
lib/alloc_tag.c
598
start_tag = (struct alloc_tag *)(module_tags.start_addr + mas.index);
lib/alloc_tag.c
599
end_tag = (struct alloc_tag *)(module_tags.start_addr + mas.last);
lib/alloc_tag.c
601
struct alloc_tag *tag;
lib/alloc_tag.c
629
struct alloc_tag *start_tag;
lib/alloc_tag.c
630
struct alloc_tag *stop_tag;
lib/alloc_tag.c
631
struct alloc_tag *tag;
lib/alloc_tag.c
987
.tag_size = sizeof(struct alloc_tag),
lib/rhashtable.c
1179
alloc_tag_record(ht->alloc_tag);
lib/rhashtable.c
141
ntbl = alloc_hooks_tag(ht->alloc_tag,
lib/rhashtable.c
169
tbl = alloc_hooks_tag(ht->alloc_tag,
lib/rhashtable.c
194
tbl = alloc_hooks_tag(ht->alloc_tag,
mm/page_alloc.c
1255
alloc_tag_add(&ref, task->alloc_tag, PAGE_SIZE * nr);
mm/page_alloc.c
1264
if (task->alloc_tag)
mm/page_alloc.c
1265
alloc_tag_set_inaccurate(task->alloc_tag);
mm/page_alloc.c
1297
static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr)
mm/page_alloc.c
1308
static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr) {}
mm/page_alloc.c
5382
struct alloc_tag *tag = pgalloc_tag_get(page);
mm/percpu.c
1701
current->alloc_tag, size);
mm/show_mem.c
444
struct alloc_tag *tag = ct_to_alloc_tag(ct);
mm/slub.c
2367
alloc_tag_add(&obj_ext->ref, current->alloc_tag, s->size);
mm/slub.c
2370
alloc_tag_set_inaccurate(current->alloc_tag);