Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/debug/kdb/
Dkdb_support.c707 #define dah_overhead ALIGN(sizeof(struct debug_alloc_header), dah_align) macro
757 h->size = sizeof(debug_alloc_pool_aligned) - dah_overhead; in debug_kmalloc()
778 if (best->next == 0 && bestprev == NULL && rem < dah_overhead) in debug_kmalloc()
780 if (rem >= dah_overhead) { in debug_kmalloc()
783 dah_overhead + best->size; in debug_kmalloc()
785 h->size = rem - dah_overhead; in debug_kmalloc()
796 p = (char *)best + dah_overhead; in debug_kmalloc()
819 h = (struct debug_alloc_header *)((char *)p - dah_overhead); in debug_kfree()
840 if (prev_offset + dah_overhead + prev->size == h_offset) { in debug_kfree()
841 prev->size += dah_overhead + h->size; in debug_kfree()
[all …]