Home | History | Annotate | Download | only in kern

Lines Matching defs:mh_size

98 	size_t mh_size;
140 mh->mh_size = allocsize - hdroffset;
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));
169 kmsan_mark(mh, mh->mh_size, KMSAN_STATE_INITED);
170 kmem_intr_free(mh, mh->mh_size);
205 cursize = mh->mh_size - sizeof(struct malloc_header);