Searched refs:HOFFSET (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/cmd/sendmail/db/db/ |
H A D | db_dup.c | 245 halfbytes = (pgsize - HOFFSET(h)) / 2; 313 np->inp[nindex++] = HOFFSET(np) -= s; 314 memcpy((u_int8_t *)np + HOFFSET(np), bk, s); 329 tp->inp[nindex++] = HOFFSET(tp) -= s; 330 memcpy((u_int8_t *)tp + HOFFSET(tp), bk, s); 341 memcpy((u_int8_t *)h + HOFFSET(tp), 342 (u_int8_t *)tp + HOFFSET(tp), pgsize - HOFFSET(tp)); 420 HOFFSET(pagep) = dbp->pgsize; 428 from = (u_int8_t *)pagep + HOFFSET(pagep); 429 memmove(from + nbytes, from, pagep->inp[indx] - HOFFSET(pagep)); [all …]
|
H A D | db_pr.c | 442 fprintf(fp, " offset: %4lu\n", (u_long)HOFFSET(h));
|
/titanic_41/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_stat.c | 153 sp->bt_int_pgfree += HOFFSET(h) - LOFFSET(h); 157 sp->bt_leaf_pgfree += HOFFSET(h) - LOFFSET(h); 162 sp->bt_leaf_pgfree += HOFFSET(h) - LOFFSET(h);
|
H A D | bt_split.c | 347 memcpy((u_int8_t *)cp->page + HOFFSET(lp), 348 (u_int8_t *)lp + HOFFSET(lp), dbp->pgsize - HOFFSET(lp)); 822 half = (dbp->pgsize - HOFFSET(pp)) / 2; 974 cp->inp[off] = HOFFSET(cp) -= nbytes;
|
H A D | bt_put.c | 522 p = (u_int8_t *)h + HOFFSET(h); 548 HOFFSET(h) += nbytes;
|
/titanic_41/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_page.c | 534 off = HOFFSET(p) - dbt->size; 535 HOFFSET(p) = p->inp[n] = off; 538 off = HOFFSET(p) - HKEYDATA_SIZE(dbt->size); 539 HOFFSET(p) = p->inp[n] = off; 567 (ndx == 0 ? psize : p->inp[H_DATAINDEX(ndx - 1)]) - HOFFSET(p); 569 from = (u_int8_t *)p + HOFFSET(p); 591 HOFFSET(p) -= newbytes; 1031 src = (u_int8_t *)(pagep) + HOFFSET(pagep); 1033 len = pagep->inp[ndx] - HOFFSET(pagep); 1048 HOFFSET(pagep) -= change; [all …]
|
H A D | hash_dup.c | 602 src = (u_int8_t *)(pagep) + HOFFSET(pagep); 603 memmove(src + shrink, src, pagep->inp[ndx] - HOFFSET(pagep)); 604 HOFFSET(pagep) += shrink;
|
/titanic_41/usr/src/cmd/sendmail/db/include/ |
H A D | db_page.h | 169 #define HOFFSET(p) (((PAGE *)p)->hf_offset) macro 207 HOFFSET(pg) = pg_size; \ 219 #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg))
|