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
137
static inline struct alloc_tag_counters alloc_tag_read(struct alloc_tag *tag)
include/linux/alloc_tag.h
153
static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag)
include/linux/alloc_tag.h
167
static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) {}
include/linux/alloc_tag.h
172
static inline bool __alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag)
include/linux/alloc_tag.h
182
static inline bool alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag)
include/linux/alloc_tag.h
197
static inline void alloc_tag_add(union codetag_ref *ref, struct alloc_tag *tag, size_t bytes)
include/linux/alloc_tag.h
205
struct alloc_tag *tag;
include/linux/alloc_tag.h
224
static inline void alloc_tag_set_inaccurate(struct alloc_tag *tag)
include/linux/alloc_tag.h
229
static inline bool alloc_tag_is_inaccurate(struct alloc_tag *tag)
include/linux/alloc_tag.h
234
#define alloc_tag_record(p) ((p) = current->alloc_tag)
include/linux/alloc_tag.h
240
static inline void alloc_tag_add(union codetag_ref *ref, struct alloc_tag *tag,
include/linux/alloc_tag.h
243
static inline void alloc_tag_set_inaccurate(struct alloc_tag *tag) {}
include/linux/alloc_tag.h
244
static inline bool alloc_tag_is_inaccurate(struct alloc_tag *tag) { return false; }
include/linux/alloc_tag.h
253
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
93
struct alloc_tag *alloc_tag;
include/linux/sched.h
2335
static __always_inline struct alloc_tag *alloc_tag_save(struct alloc_tag *tag)
include/linux/sched.h
2337
swap(current->alloc_tag, tag);
include/linux/sched.h
2341
static __always_inline void alloc_tag_restore(struct alloc_tag *tag, struct alloc_tag *old)
include/linux/sched.h
2344
WARN(current->alloc_tag != tag, "current->alloc_tag was changed:\n");
include/linux/sched.h
2346
current->alloc_tag = old;
include/linux/sched.h
846
struct alloc_tag *alloc_tag;
lib/alloc_tag.c
17
#define MODULE_ALLOC_TAG_VMAP_SIZE (100000UL * sizeof(struct alloc_tag))
lib/alloc_tag.c
170
struct alloc_tag *tag;
lib/alloc_tag.c
197
struct alloc_tag *tag_old, *tag_new;
lib/alloc_tag.c
248
struct alloc_tag *last_codetag;
lib/alloc_tag.c
256
kernel_tags.first_tag = (struct alloc_tag *)kallsyms_lookup_name(
lib/alloc_tag.c
258
last_codetag = (struct alloc_tag *)kallsyms_lookup_name(
lib/alloc_tag.c
294
if (val % sizeof(struct alloc_tag) == 0)
lib/alloc_tag.c
296
return ((val / sizeof(struct alloc_tag)) + 1) * sizeof(struct alloc_tag);
lib/alloc_tag.c
310
if (!IS_ALIGNED(sizeof(struct alloc_tag), align))
lib/alloc_tag.c
328
module_tags.size / sizeof(struct alloc_tag);
lib/alloc_tag.c
338
return size >= sizeof(struct alloc_tag);
lib/alloc_tag.c
341
static bool clean_unused_counters(struct alloc_tag *start_tag,
lib/alloc_tag.c
342
struct alloc_tag *end_tag)
lib/alloc_tag.c
344
struct alloc_tag *tag;
lib/alloc_tag.c
372
struct alloc_tag *start_tag;
lib/alloc_tag.c
373
struct alloc_tag *end_tag;
lib/alloc_tag.c
379
start_tag = (struct alloc_tag *)(module_tags.start_addr + mas.index);
lib/alloc_tag.c
380
end_tag = (struct alloc_tag *)(module_tags.start_addr + mas.last);
lib/alloc_tag.c
486
if (size < sizeof(struct alloc_tag))
lib/alloc_tag.c
561
return (struct alloc_tag *)(module_tags.start_addr + offset);
lib/alloc_tag.c
567
struct alloc_tag *start_tag;
lib/alloc_tag.c
568
struct alloc_tag *end_tag;
lib/alloc_tag.c
582
start_tag = (struct alloc_tag *)(module_tags.start_addr + mas.index);
lib/alloc_tag.c
583
end_tag = (struct alloc_tag *)(module_tags.start_addr + mas.last);
lib/alloc_tag.c
585
struct alloc_tag *tag;
lib/alloc_tag.c
613
struct alloc_tag *start_tag;
lib/alloc_tag.c
614
struct alloc_tag *stop_tag;
lib/alloc_tag.c
615
struct alloc_tag *tag;
lib/alloc_tag.c
822
.tag_size = sizeof(struct alloc_tag),
lib/alloc_tag.c
90
struct alloc_tag *tag = ct_to_alloc_tag(ct);
lib/rhashtable.c
1043
alloc_tag_record(ht->alloc_tag);
lib/rhashtable.c
133
ntbl = alloc_hooks_tag(ht->alloc_tag,
lib/rhashtable.c
161
tbl = alloc_hooks_tag(ht->alloc_tag,
lib/rhashtable.c
186
tbl = alloc_hooks_tag(ht->alloc_tag,
mm/page_alloc.c
1293
alloc_tag_add(&ref, task->alloc_tag, PAGE_SIZE * nr);
mm/page_alloc.c
1327
static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr)
mm/page_alloc.c
1338
static inline void pgalloc_tag_sub_pages(struct alloc_tag *tag, unsigned int nr) {}
mm/page_alloc.c
5328
struct alloc_tag *tag = pgalloc_tag_get(page);
mm/percpu.c
1701
current->alloc_tag, size);
mm/show_mem.c
440
struct alloc_tag *tag = ct_to_alloc_tag(ct);
mm/slub.c
2380
alloc_tag_add(&obj_ext->ref, current->alloc_tag, s->size);
mm/slub.c
2383
alloc_tag_set_inaccurate(current->alloc_tag);