Searched refs:kfence_metadata (Results 1 – 3 of 3) sorted by relevance
/linux/mm/kfence/ |
A D | core.c | 101 struct kfence_metadata kfence_metadata[CONFIG_KFENCE_NUM_OBJECTS]; variable 242 return &kfence_metadata[index]; in addr_to_metadata() 313 struct kfence_metadata *meta; in check_canary_byte() 361 struct kfence_metadata *meta = NULL; in kfence_guarded_alloc() 528 struct kfence_metadata *meta = container_of(h, struct kfence_metadata, rcu_head); in rcu_guarded_free() 580 struct kfence_metadata *meta = &kfence_metadata[i]; in kfence_init_pool() 659 struct kfence_metadata *meta = &kfence_metadata[(long)v - 1]; in show_object() 791 struct kfence_metadata *meta; in kfence_shutdown_cache() 797 meta = &kfence_metadata[i]; in kfence_shutdown_cache() 834 meta = &kfence_metadata[i]; in kfence_shutdown_cache() [all …]
|
A D | kfence.h | 46 struct kfence_metadata { struct 94 extern struct kfence_metadata kfence_metadata[CONFIG_KFENCE_NUM_OBJECTS]; argument 106 const struct kfence_metadata *meta, enum kfence_error_type type); 108 void kfence_print_object(struct seq_file *seq, const struct kfence_metadata *meta);
|
A D | report.c | 100 static void kfence_print_stack(struct seq_file *seq, const struct kfence_metadata *meta, in kfence_print_stack() 124 void kfence_print_object(struct seq_file *seq, const struct kfence_metadata *meta) in kfence_print_object() 133 seq_con_printf(seq, "kfence-#%td unused\n", meta - kfence_metadata); in kfence_print_object() 138 meta - kfence_metadata, (void *)start, (void *)(start + size - 1), in kfence_print_object() 154 const struct kfence_metadata *meta) in print_diff_canary() 181 const struct kfence_metadata *meta, enum kfence_error_type type) in kfence_report_error() 184 const ptrdiff_t object_index = meta ? meta - kfence_metadata : -1; in kfence_report_error()
|
Completed in 6 milliseconds