Lines Matching refs:malloc_header
97 struct malloc_header {
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));
177 struct malloc_header *mh;
205 cursize = mh->mh_size - sizeof(struct malloc_header);