Lines Matching refs:MemNode
78 typedef char assert_align[(sizeof (struct MemNode) <= MALLOCALIGN) ? 1 : -1];
91 MemNode **pmn; in znalloc()
92 MemNode *mn; in znalloc()
131 MemNode *new; in znalloc()
133 new = (MemNode *)aligned; in znalloc()
152 mn = (MemNode *)((char *)mn + bytes); in znalloc()
153 mn->mr_Next = ((MemNode *)ptr)->mr_Next; in znalloc()
154 mn->mr_Bytes = ((MemNode *)ptr)->mr_Bytes - bytes; in znalloc()
175 MemNode **pmn; in zfree()
176 MemNode *mn; in zfree()
222 ((MemNode *)ptr)->mr_Next = mn->mr_Next; in zfree()
223 ((MemNode *)ptr)->mr_Bytes = in zfree()
226 ((MemNode *)ptr)->mr_Next = mn; in zfree()
227 ((MemNode *)ptr)->mr_Bytes = bytes; in zfree()
229 *pmn = mn = (MemNode *)ptr; in zfree()
237 if ((char *)pmn + ((MemNode*)pmn)->mr_Bytes == in zfree()
239 ((MemNode *)pmn)->mr_Next = mn->mr_Next; in zfree()
240 ((MemNode *)pmn)->mr_Bytes += in zfree()
242 mn = (MemNode *)pmn; in zfree()
257 (char *)pmn + ((MemNode *)pmn)->mr_Bytes != (char *)ptr) { in zfree()
258 ((MemNode *)ptr)->mr_Next = NULL; in zfree()
259 ((MemNode *)ptr)->mr_Bytes = bytes; in zfree()
260 *pmn = (MemNode *)ptr; in zfree()
261 mn = (MemNode *)ptr; in zfree()
263 ((MemNode *)pmn)->mr_Bytes += bytes; in zfree()
264 mn = (MemNode *)pmn; in zfree()
312 MemNode *mn; in zallocstats()