Lines Matching refs:op
275 register union overhead *op;
306 op = (union overhead *) (bigBlockPtr + 1);
307 op->ov_magic0 = op->ov_magic1 = MAGIC;
308 op->ov_index = 0xff;
317 op->ov_size = (nbytes + RSLOP - 1) & ~(RSLOP - 1);
318 op->ov_rmagic = RMAGIC;
319 *(unsigned short *)((caddr_t)(op + 1) + op->ov_size) = RMAGIC;
322 return (void *)(op+1);
347 if ((op = nextf[bucket]) == NULL) {
349 if ((op = nextf[bucket]) == NULL) {
357 nextf[bucket] = op->ov_next;
358 op->ov_magic0 = op->ov_magic1 = MAGIC;
359 op->ov_index = (unsigned char) bucket;
368 op->ov_size = (nbytes + RSLOP - 1) & ~(RSLOP - 1);
369 op->ov_rmagic = RMAGIC;
370 *(unsigned short *)((caddr_t)(op + 1) + op->ov_size) = RMAGIC;
373 return ((char *)(op + 1));
399 register union overhead *op;
425 op = (union overhead *) (blockPtr + 1);
431 nextf[bucket] = op;
433 op->ov_next = (union overhead *)((caddr_t)op + sz);
434 op = (union overhead *)((caddr_t)op + sz);
436 op->ov_next = (union overhead *)NULL;
461 register union overhead *op;
469 op = (union overhead *)((caddr_t)cp - sizeof (union overhead));
471 ASSERT(op->ov_magic0 == MAGIC); /* make sure it was in use */
472 ASSERT(op->ov_magic1 == MAGIC);
473 if (op->ov_magic0 != MAGIC || op->ov_magic1 != MAGIC) {
478 RANGE_ASSERT(op->ov_rmagic == RMAGIC);
479 RANGE_ASSERT(*(unsigned short *)((caddr_t)(op + 1) + op->ov_size) == RMAGIC);
480 size = op->ov_index;
485 bigBlockPtr = (struct block *) op - 1;
493 op->ov_next = nextf[size]; /* also clobbers ov_magic */
494 nextf[size] = op;
524 union overhead *op;
535 op = (union overhead *)((caddr_t)cp - sizeof (union overhead));
537 ASSERT(op->ov_magic0 == MAGIC); /* make sure it was in use */
538 ASSERT(op->ov_magic1 == MAGIC);
539 if (op->ov_magic0 != MAGIC || op->ov_magic1 != MAGIC) {
544 RANGE_ASSERT(op->ov_rmagic == RMAGIC);
545 RANGE_ASSERT(*(unsigned short *)((caddr_t)(op + 1) + op->ov_size) == RMAGIC);
546 i = op->ov_index;
554 bigBlockPtr = (struct block *) op - 1;
574 op = (union overhead *) (bigBlockPtr + 1);
583 op->ov_size = (nbytes + RSLOP - 1) & ~(RSLOP - 1);
584 *(unsigned short *)((caddr_t)(op + 1) + op->ov_size) = RMAGIC;
587 return (char *)(op+1);
618 op->ov_size = (nbytes + RSLOP - 1) & ~(RSLOP - 1);
619 *(unsigned short *)((caddr_t)(op + 1) + op->ov_size) = RMAGIC;