Lines Matching refs:MemNode
80 typedef char assert_align[(sizeof(struct MemNode) <= MALLOCALIGN) ? 1 : -1];
93 MemNode **pmn; in znalloc()
94 MemNode *mn; in znalloc()
133 MemNode *new; in znalloc()
135 new = (MemNode *)aligned; in znalloc()
154 mn = (MemNode *)((char *)mn + bytes); in znalloc()
155 mn->mr_Next = ((MemNode *)ptr)->mr_Next; in znalloc()
156 mn->mr_Bytes = ((MemNode *)ptr)->mr_Bytes - bytes; in znalloc()
177 MemNode **pmn; in zfree()
178 MemNode *mn; in zfree()
224 ((MemNode *)ptr)->mr_Next = mn->mr_Next; in zfree()
225 ((MemNode *)ptr)->mr_Bytes = in zfree()
228 ((MemNode *)ptr)->mr_Next = mn; in zfree()
229 ((MemNode *)ptr)->mr_Bytes = bytes; in zfree()
231 *pmn = mn = (MemNode *)ptr; in zfree()
239 if ((char *)pmn + ((MemNode*)pmn)->mr_Bytes == in zfree()
241 ((MemNode *)pmn)->mr_Next = mn->mr_Next; in zfree()
242 ((MemNode *)pmn)->mr_Bytes += in zfree()
244 mn = (MemNode *)pmn; in zfree()
259 (char *)pmn + ((MemNode *)pmn)->mr_Bytes != (char *)ptr) { in zfree()
260 ((MemNode *)ptr)->mr_Next = NULL; in zfree()
261 ((MemNode *)ptr)->mr_Bytes = bytes; in zfree()
262 *pmn = (MemNode *)ptr; in zfree()
263 mn = (MemNode *)ptr; in zfree()
265 ((MemNode *)pmn)->mr_Bytes += bytes; in zfree()
266 mn = (MemNode *)pmn; in zfree()
314 MemNode *mn; in zallocstats()