Lines Matching defs:m_hdr
875 bytes). In allocated blocks only this field of the structure m_hdr is
939 struct m_hdr {
945 struct m_hdr *next; /* if free: next on free list
967 #define M_HSIZE (sizeof(struct m_hdr))
988 static struct m_hdr *m_lfree, *m_free;
1020 2*sizeof(zlong) + sizeof(struct m_hdr *))
1022 2*sizeof(zlong) - sizeof(struct m_hdr *)) / M_SNUM)
1025 sizeof(zlong) + sizeof(struct m_hdr *))
1027 sizeof(zlong) - sizeof(struct m_hdr *)) / M_SNUM)
1031 static struct m_hdr *m_small[M_NSMALL];
1038 static struct m_hdr *m_l;
1045 struct m_hdr *m, *mp, *mt;
1179 if (((char *)(m = (struct m_hdr *)sbrk(n))) == ((char *)-1)) {
1190 m = (struct m_hdr *) ((char *)m + (M_ALIGN - nal));
1219 struct m_hdr *mtt = (struct m_hdr *)(((char *)m) + M_ISIZE + size);
1252 sizeof(struct m_hdr) + os);
1270 return (MALLOC_RET_T) (((char *)m) + sizeof(struct m_hdr));
1289 struct m_hdr *m = (struct m_hdr *)(((char *)p) - M_ISIZE), *mp, *mt = NULL;
1336 if ((((char *)p) - (((char *)mt) + sizeof(struct m_hdr))) %
1405 for (mt = (struct m_hdr *)m_low;
1407 mt = (struct m_hdr *)(((char *)mt) + M_ISIZE + mt->len))
1508 struct m_hdr *m = (struct m_hdr *)(((char *)p) - M_ISIZE), *mp, *mt;
1572 struct m_hdr *m, *mf, *ms;
1634 m = (struct m_hdr *)(((char *)m) + M_ISIZE + m->len), ii++) {
1645 (long)(m->len - sizeof(struct m_hdr)) / M_SNUM + 1);