Lines Matching refs:op

99 	union overhead *op;  in malloc()  local
110 op = sbrk(0); in malloc()
111 n = pagesz - sizeof (*op) - ((uintptr_t)op & (pagesz - 1)); in malloc()
124 op = sbrk(0); in malloc()
125 sbrk_adjust = (uintptr_t)(op + 1) & (pagesz - 1); in malloc()
142 if (nbytes <= (n = pagesz - sizeof (*op))) { in malloc()
145 n = -(ssize_t)(sizeof (*op)); in malloc()
160 if ((op = nextf[bucket]) == NULL) { in malloc()
162 if ((op = nextf[bucket]) == NULL) in malloc()
166 nextf[bucket] = op->ov_next; in malloc()
167 op->ov_magic = MAGIC; in malloc()
168 op->ov_index = (uchar_t)bucket; in malloc()
169 return (op + 1); in malloc()
178 union overhead *op; in morecore() local
201 op = sbrk(0); in morecore()
205 if (op != sbrk(0)) in morecore()
214 op = sbrk(amt); in morecore()
216 if (op == (union overhead *)-1) in morecore()
219 op = (union overhead *)((caddr_t)op - sbrk_adjust); in morecore()
224 nextf[bucket] = op; in morecore()
227 op->ov_next = (union overhead *)((caddr_t)op + sz); in morecore()
229 op = (union overhead *)((caddr_t)op + sz); in morecore()
237 union overhead *op; in free() local
242 op = (union overhead *)((caddr_t)cp - sizeof (union overhead)); in free()
243 if (op->ov_magic != MAGIC) in free()
245 size = op->ov_index; in free()
246 op->ov_next = nextf[size]; /* also clobbers ov_magic */ in free()
247 nextf[size] = op; in free()
268 union overhead *op; in realloc() local
275 op = (union overhead *)((caddr_t)cp - sizeof (union overhead)); in realloc()
276 if (op->ov_magic == MAGIC) { in realloc()
278 i = op->ov_index; in realloc()
290 if ((i = findbucket(op, 1)) < 0 && in realloc()
291 (i = findbucket(op, realloc_srchlen)) < 0) { in realloc()
299 onb -= sizeof (*op); in realloc()
301 onb += pagesz - sizeof (*op); in realloc()
308 sz -= sizeof (*op); in realloc()
310 sz += pagesz - sizeof (*op); in realloc()