Searched refs:malloc_header (Results 1 – 1 of 1) sorted by relevance
97 struct malloc_header { struct113 struct malloc_header *mh; in kern_malloc() argument123 hdroffset = PAGE_SIZE - sizeof(struct malloc_header); in kern_malloc()125 allocsize = sizeof(struct malloc_header) + size; in kern_malloc()154 struct malloc_header *mh; in kern_free()159 kasan_mark(addr, mh->mh_size - sizeof(struct malloc_header), in kern_free()160 mh->mh_size - sizeof(struct malloc_header), KASAN_MALLOC_REDZONE); in kern_free()162 if (mh->mh_size >= PAGE_SIZE + sizeof(struct malloc_header)) { in kern_free()164 mh->mh_size + PAGE_SIZE - sizeof(struct malloc_header), in kern_free()167 mh->mh_size + PAGE_SIZE - sizeof(struct malloc_header)); in kern_free()[all …]