Lines Matching refs:MemNode
77 typedef char assert_align[(sizeof(struct MemNode) <= MALLOCALIGN) ? 1 : -1];
90 MemNode **pmn; in znalloc()
91 MemNode *mn; in znalloc()
130 MemNode *new; in znalloc()
132 new = (MemNode *)aligned; in znalloc()
151 mn = (MemNode *)((char *)mn + bytes); in znalloc()
152 mn->mr_Next = ((MemNode *)ptr)->mr_Next; in znalloc()
153 mn->mr_Bytes = ((MemNode *)ptr)->mr_Bytes - bytes; in znalloc()
174 MemNode **pmn; in zfree()
175 MemNode *mn; in zfree()
221 ((MemNode *)ptr)->mr_Next = mn->mr_Next; in zfree()
222 ((MemNode *)ptr)->mr_Bytes = in zfree()
225 ((MemNode *)ptr)->mr_Next = mn; in zfree()
226 ((MemNode *)ptr)->mr_Bytes = bytes; in zfree()
228 *pmn = mn = (MemNode *)ptr; in zfree()
236 if ((char *)pmn + ((MemNode*)pmn)->mr_Bytes == in zfree()
238 ((MemNode *)pmn)->mr_Next = mn->mr_Next; in zfree()
239 ((MemNode *)pmn)->mr_Bytes += in zfree()
241 mn = (MemNode *)pmn; in zfree()
256 (char *)pmn + ((MemNode *)pmn)->mr_Bytes != (char *)ptr) { in zfree()
257 ((MemNode *)ptr)->mr_Next = NULL; in zfree()
258 ((MemNode *)ptr)->mr_Bytes = bytes; in zfree()
259 *pmn = (MemNode *)ptr; in zfree()
260 mn = (MemNode *)ptr; in zfree()
262 ((MemNode *)pmn)->mr_Bytes += bytes; in zfree()
263 mn = (MemNode *)pmn; in zfree()
311 MemNode *mn; in zallocstats()