Home
last modified time | relevance | path

Searched refs:HOFFSET (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/cmd/sendmail/db/db/
H A Ddb_dup.c245 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 Ddb_pr.c442 fprintf(fp, " offset: %4lu\n", (u_long)HOFFSET(h));
/titanic_41/usr/src/cmd/sendmail/db/btree/
H A Dbt_stat.c153 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 Dbt_split.c347 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 Dbt_put.c522 p = (u_int8_t *)h + HOFFSET(h);
548 HOFFSET(h) += nbytes;
/titanic_41/usr/src/cmd/sendmail/db/hash/
H A Dhash_page.c534 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 Dhash_dup.c602 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 Ddb_page.h169 #define HOFFSET(p) (((PAGE *)p)->hf_offset) macro
207 HOFFSET(pg) = pg_size; \
219 #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg))