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