Home
last modified time | relevance | path

Searched refs:bk (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_put.c87 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
[all …]
H A Dbt_compare.c79 BKEYDATA *bk; local
98 bk = GET_BKEYDATA(h, indx);
99 if (B_TYPE(bk->type) == B_OVERFLOW)
100 bo = (BOVERFLOW *)bk;
102 pg_dbt.data = bk->data;
103 pg_dbt.size = bk->len;
H A Dbt_rec.c816 BKEYDATA *bk; local
835 bk = GET_BKEYDATA(pagep, argp->indx);
851 memcpy(p, bk->data, argp->prefix);
855 memcpy(p, bk->data + (bk->len - argp->suffix), argp->suffix);
875 memcpy(p, bk->data, argp->prefix);
879 memcpy(p, bk->data + (bk->len - argp->suffix), argp->suffix);
H A Dbt_delete.c147 BKEYDATA *bk; local
206 bk = GET_BKEYDATA(h, indx);
207 switch (B_TYPE(bk->type)) {
224 nbytes = BKEYDATA_SIZE(bk->len);
H A Dbt_recno.c245 BKEYDATA bk; local
324 B_TSET(bk.type, B_KEYDATA, 1);
325 bk.len = 0;
327 hdr.data = &bk;
1271 BKEYDATA *bk; local
1301 bk = GET_BKEYDATA(h, indx);
1302 if (B_DISSET(bk->type))
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_ret.c42 BKEYDATA *bk; local
63 bk = GET_BKEYDATA(h, indx);
64 if (B_TYPE(bk->type) == B_OVERFLOW) {
65 bo = (BOVERFLOW *)bk;
69 len = bk->len;
70 data = bk->data;
H A Ddb_conv.c104 BKEYDATA *bk; local
181 bk = GET_BKEYDATA(h, i);
182 switch (B_TYPE(bk->type)) {
184 M_16_SWAP(bk->len);
188 bo = (BOVERFLOW *)bk;
H A Ddb_pr.c381 BKEYDATA *bk; local
556 bk = sp;
557 switch (B_TYPE(bk->type)) {
559 __db_pr(bk->data, bk->len);
563 __db_proff(bk);
568 (u_long)B_TYPE(bk->type));
591 BKEYDATA *bk; local
649 bk = GET_BKEYDATA(h, i);
650 if (B_TYPE(bk->type) != B_KEYDATA &&
651 B_TYPE(bk->type) != B_DUPLICATE &&
[all …]
H A Ddb_dup.c216 BKEYDATA *bk; local
307 bk = GET_BKEYDATA(h, oindex);
308 if (B_TYPE(bk->type) == B_KEYDATA)
309 s = BKEYDATA_SIZE(bk->len);
314 memcpy((u_int8_t *)np + HOFFSET(np), bk, s);
323 bk = GET_BKEYDATA(h, oindex);
324 if (B_TYPE(bk->type) == B_KEYDATA)
325 s = BKEYDATA_SIZE(bk->len);
330 memcpy((u_int8_t *)tp + HOFFSET(tp), bk, s);
467 BKEYDATA bk; local
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dgunzip.c476 static unsigned bk; /* bits in bit buffer */ variable
749 k = bk; in inflate_codes_in_window()
858 bk = k; in inflate_codes_in_window()
874 k = bk; in init_stored_block()
890 bk = k; in init_stored_block()
955 k = bk; in init_dynamic_block()
1052 bk = k; in init_dynamic_block()
1094 k = bk; in get_new_block()
1108 bk = k; in get_new_block()
1186 bk = 0; in initialize_tables()
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema.c459 mema_bank_t bk; in ap_stat() local
470 bk.bank = bank; in ap_stat()
509 bkp->bank = bk.bank; in ap_stat()
585 mema_bank_t bk; in mema_add() local
598 ret = ap_stat(bank_spec, &fd, &bk, &stat, errstring); in mema_add()
614 if (prom_read_disabled_list(&disab, bk.board)) { in mema_add()
649 ret = prom_do_options(do_option, bk.board, &stat, errstring); in mema_add()
661 mema_bank_t bk; in mema_delete() local
688 ret = ap_stat(bank_spec, &fd, &bk, &stat, errstring); in mema_delete()
713 ret = prom_do_options(do_option, bk.board, &stat, errstring); in mema_delete()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dexrecover.c614 unsigned char bk[BUFSIZE]; in scrapbad() local
631 cnt = read(tfile, (char *) bk, BUFSIZE); in scrapbad()
633 if (run_crypt(0L, bk, CRSIZE, tperm) == -1) in scrapbad()
639 if (bk[--cnt] == 0) in scrapbad()
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Dmc-opl.c226 #define BD_BK_SLOT_TO_INDEX(bd, bk, s) \ argument
227 (((bd & 0x01) << 5) | ((bk & 0x07) << 2) | (s & 0x03))
2574 int len, len1, i, bk, cc; in mc_board_add() local
2735 bk = macaddr[i].bank; in mc_board_add()
2736 bankp = &(mcp->mc_bank[bk]); in mc_board_add()
2748 reg = LD_MAC_REG(MAC_PTRL_CNTL(mcp, bk)); in mc_board_add()
2754 mirr = LD_MAC_REG(MAC_MIRR(mcp, bk)); in mc_board_add()
2758 bk); in mc_board_add()
2766 ST_MAC_REG(MAC_MIRR(mcp, bk), 0); in mc_board_add()
2774 !(mcp->mc_bank[bk^1].mcb_status & BANK_PTRL_RUNNING)) { in mc_board_add()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dipc.c609 int bk = bperm->ipc_key; in ipc_key_compar() local
614 ASSERT(bk != IPC_PRIVATE); in ipc_key_compar()
621 if (ak < bk) in ipc_key_compar()
623 if (ak > bk) in ipc_key_compar()