Lines Matching refs:op
247 union overhead *op;
258 op = (union overhead *) sbrk(0);
259 memtop = (char *) op;
262 if ((long) op & 0x3ff) {
263 memtop = sbrk((int) (1024 - ((long) op & 0x3ff)));
264 memtop += (long) (1024 - ((long) op & 0x3ff));
271 op = (union overhead *) memtop;
273 if ((long) op == -1)
280 if (((U_long) op) & ROUNDUP) {
281 op = (union overhead *) (((U_long) op + (ROUNDUP + 1)) & ~ROUNDUP);
287 nextf[bucket] = op;
290 op->ov_next = (union overhead *) (((caddr_t) op) + siz);
291 op = (union overhead *) (((caddr_t) op) + siz);
293 op->ov_next = NULL;
303 union overhead *op;
317 op = (union overhead *) (((caddr_t) cp) - MEMALIGN(sizeof(union overhead)));
318 CHECK(op->ov_magic != MAGIC,
322 if (op->ov_index <= 13)
323 CHECK(*(U_int *) ((caddr_t) op + op->ov_size + 1 - RSLOP) != RMAGIC,
326 CHECK(op->ov_index >= NBUCKETS,
328 size = op->ov_index;
329 op->ov_next = nextf[size];
330 nextf[size] = op;
380 union overhead *op;
387 op = (union overhead *) (((caddr_t) cp) - MEMALIGN(sizeof(union overhead)));
388 if (op->ov_magic == MAGIC) {
390 i = op->ov_index;
402 if ((i = findbucket(op, 1)) < 0 &&
403 (i = findbucket(op, realloc_srchlen)) < 0)
414 *((U_int *) (((caddr_t) op) + nbytes - RSLOP)) = RMAGIC;
415 op->ov_rmagic = RMAGIC;
416 op->ov_size = (op->ov_index <= 13) ? nbytes - 1 : 0;