Lines Matching refs:pmn
90 MemNode **pmn; in znalloc() local
111 for (pmn = &mp->mp_First; (mn = *pmn) != NULL; pmn = &mn->mr_Next) { in znalloc()
149 *pmn = mn->mr_Next; in znalloc()
154 *pmn = mn; in znalloc()
174 MemNode **pmn; in zfree() local
200 for (pmn = &mp->mp_First; (mn = *pmn) != NULL; pmn = &mn->mr_Next) { in zfree()
228 *pmn = mn = (MemNode *)ptr; in zfree()
235 if (pmn != &mp->mp_First) { 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()
255 if (pmn == &mp->mp_First || in zfree()
256 (char *)pmn + ((MemNode *)pmn)->mr_Bytes != (char *)ptr) { in zfree()
259 *pmn = (MemNode *)ptr; in zfree()
262 ((MemNode *)pmn)->mr_Bytes += bytes; in zfree()
263 mn = (MemNode *)pmn; in zfree()