Searched refs:malloc_header (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/sys/kern/
H A Dkern_malloc.c97 struct malloc_header { struct
113 struct malloc_header *mh;
123 hdroffset = PAGE_SIZE - sizeof(struct malloc_header);
125 allocsize = sizeof(struct malloc_header) + size;
154 struct malloc_header *mh;
159 kasan_mark(addr, mh->mh_size - sizeof(struct malloc_header),
160 mh->mh_size - sizeof(struct malloc_header), KASAN_MALLOC_REDZONE);
162 if (mh->mh_size >= PAGE_SIZE + sizeof(struct malloc_header)) {
164 mh->mh_size + PAGE_SIZE - sizeof(struct malloc_header),
167 mh->mh_size + PAGE_SIZE - sizeof(struct malloc_header));
[all...]

Completed in 76 milliseconds