Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/debug/kdb/
Dkdb_support.c706 #define dah_overhead ALIGN(sizeof(struct debug_alloc_header), dah_align) macro
756 h->size = sizeof(debug_alloc_pool_aligned) - dah_overhead; in debug_kmalloc()
777 if (best->next == 0 && bestprev == NULL && rem < dah_overhead) in debug_kmalloc()
779 if (rem >= dah_overhead) { in debug_kmalloc()
782 dah_overhead + best->size; in debug_kmalloc()
784 h->size = rem - dah_overhead; in debug_kmalloc()
795 p = (char *)best + dah_overhead; in debug_kmalloc()
818 h = (struct debug_alloc_header *)((char *)p - dah_overhead); in debug_kfree()
839 if (prev_offset + dah_overhead + prev->size == h_offset) { in debug_kfree()
840 prev->size += dah_overhead + h->size; in debug_kfree()
[all …]