Lines Matching refs:bk

87 	BKEYDATA *bk;  local
95 COMPQUIET(bk, NULL);
118 bk = GET_BKEYDATA(*hp, *indxp);
119 switch (B_TYPE(bk->type)) {
121 nbytes = BKEYDATA_SIZE(bk->len);
175 bk = GET_BKEYDATA(h,
177 if (B_TYPE(bk->type) == B_KEYDATA)
178 have_bytes = BKEYDATA_PSIZE(bk->len);
295 if (bigdata || B_TYPE(bk->type) != B_KEYDATA) {
377 BKEYDATA *bk; local
391 bk = GET_BKEYDATA(h, indx + (TYPE(h) == P_LBTREE ? O_INDX : 0));
393 B_TYPE(bk->type) == B_OVERFLOW ? ((BOVERFLOW *)bk)->tlen : bk->len;
469 BKEYDATA *bk; local
484 bk = GET_BKEYDATA(h, indx);
493 min = data->size < bk->len ? data->size : bk->len;
495 p = bk->data, t = data->data;
501 p = (u_int8_t *)bk->data + bk->len - 1,
507 orig.data = (u_int8_t *)bk->data + prefix;
508 orig.size = bk->len - (prefix + suffix);
513 (u_int32_t)indx, (u_int32_t)B_DISSET(bk->type),
523 t = (u_int8_t *)bk;
531 lo = BKEYDATA_SIZE(bk->len);
553 bk = (BKEYDATA *)t;
554 B_TSET(bk->type, B_KEYDATA, 0);
555 bk->len = data->size;
556 memcpy(bk->data, data->data, data->size);
572 BKEYDATA *bk; local
587 bk = GET_BKEYDATA(h, indx);
588 sz += B_TYPE(bk->type) == B_KEYDATA ?
589 BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE;
590 bk = GET_BKEYDATA(h, indx + O_INDX);
591 sz += B_TYPE(bk->type) == B_KEYDATA ?
592 BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE;
615 bk = GET_BKEYDATA(h, indx);
616 hdr.data = bk;
617 hdr.size = B_TYPE(bk->type) == B_KEYDATA ?
618 BKEYDATA_SIZE(bk->len) : BOVERFLOW_SIZE;
722 BKEYDATA *bk, tbk; local
764 bk = GET_BKEYDATA(h, indx + (TYPE(h) == P_LBTREE ? O_INDX : 0));
765 bo = (BOVERFLOW *)bk;
767 bk = &tbk;
768 B_TSET(bk->type, B_KEYDATA, 0);
769 bk->len = 0;
771 if (B_TYPE(bk->type) == B_OVERFLOW) {
805 bk->data, dbt->doff > bk->len ? bk->len : dbt->doff);
811 if (bk->len > len) {
812 memcpy(p + dbt->size, bk->data + len, bk->len - len);
813 tlen += bk->len - len;