Lines Matching refs:bloktop
47 struct blk *bloktop; /* top of arena (last blok) */ variable
117 bloktop = (struct blk *)brkbegin; in addblok()
131 bloktop->word = (struct blk *)(Rcheat(rndstak) | BUSY); in addblok()
132 bloktop = (struct blk *)(rndstak); in addblok()
136 blokp = bloktop; in addblok()
141 if ((unsigned char *)&bloktop->word >= brkend) { in addblok()
143 (&bloktop->word) - brkend + sizeof (struct blk))) == in addblok()
147 bloktop = bloktop->word = (struct blk *)(Rcheat(bloktop) + reqd); in addblok()
148 if ((unsigned char *)&bloktop->word >= brkend) { in addblok()
150 (&bloktop->word) - brkend + sizeof (struct blk))) == in addblok()
154 bloktop->word = (struct blk *)(brkbegin + 1); in addblok()
157 (bloktop + 2); in addblok()
179 if ((p = (struct blk *)ap) && p < bloktop && p > (struct blk *)brkbegin)
222 if (q < (struct blk *)brkbegin || q > bloktop) in chkbptr()
225 if (p == bloktop) in chkbptr()
252 if (q < (struct blk *)brkbegin || q > bloktop) in chkmem()
255 if (p == bloktop) in chkmem()
274 prn((uintptr_t)bloktop - (uintptr_t)brkbegin - (un + us)); in chkmem()