/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_cbufcall.c | 82 crypto_bufcall_free(crypto_bc_t bc) argument 84 kcf_cbuf_elem_t *cbufp = (kcf_cbuf_elem_t *)bc; 107 crypto_bufcall(crypto_bc_t bc, void (*func)(void *arg), void *arg) argument 111 cbufp = (kcf_cbuf_elem_t *)bc; 155 crypto_unbufcall(crypto_bc_t bc) argument 157 kcf_cbuf_elem_t *cbufp = (kcf_cbuf_elem_t *)bc;
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | init_color.c | 127 float rc, gc, bc, h, l, s; local 154 bc = (max - b) / (max - min); 157 h = bc - gc; 159 h = 2 + rc - bc;
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ldaputf8.c | 149 unsigned long sc, bc; local 158 for (bp = brk; (bc = LDAP_UTF8GETCC(bp)) != 0;) { 159 if (sc == bc) 176 if ((bc = LDAP_UTF8GETCC(bp)) == sc) { 185 } while (bc != 0);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 449 bridge_ctl_t bc; local 454 retv = read(control_fd, &bc, sizeof (bc)); 455 if (retv != sizeof (bc)) 457 if ((port = find_by_linkid(bc.bc_linkid)) == NULL) 459 if (port->sdu_failed == bc.bc_failed) 461 port->sdu_failed = bc.bc_failed; 477 if ((rc = STP_IN_enable_port(port->port_index, !bc.bc_failed)) != 0) 479 port->name, bc.bc_failed ? "disable" : "enable",
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/ioboard/ |
H A D | ioboard.c | 224 uint_t bc, ac; local 242 bc = fm_strtonum(mod, bac, &e); 259 *brd = ((bc - baseaddr) / bussep) + minbrd; 260 *br = (bc - baseaddr) % bussep; 265 topo_mod_dprintf(mod, "brd=%d br=%d bus=%d bc=%x ac=%x\n", 266 *brd, *br, *bus, bc, ac);
|
/illumos-gate/usr/src/common/bzip2/ |
H A D | compress.c | 242 Int32 v, t, i, j, gs, ge, totc, bt, bc, iter; local 400 bc = 999999999; bt = -1; 402 if (cost[t] < bc) { bc = cost[t]; bt = t; }; 403 totc += bc;
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | bcache.c | 83 #define BHASH(bc, blkno) ((blkno) & ((bc)->bcache_nblks - 1)) 84 #define BCACHE_LOOKUP(bc, blkno) \ 85 ((bc)->bcache_ctl[BHASH((bc), (blkno))].bc_blkno != (blkno)) 89 static void bcache_invalidate(struct bcache *bc, daddr_t blkno); 90 static void bcache_insert(struct bcache *bc, daddr_t blkno); 91 static void bcache_free_instance(struct bcache *bc); 122 struct bcache *bc = malloc(sizeof (struct bcache)); local 128 if (bc 171 struct bcache *bc = cache; local 189 struct bcache *bc = dd->dv_cache; local 213 struct bcache *bc = dd->dv_cache; local 362 struct bcache *bc = dd->dv_cache; local 433 bcache_free_instance(struct bcache *bc) argument 446 bcache_insert(struct bcache *bc, daddr_t blkno) argument 461 bcache_invalidate(struct bcache *bc, daddr_t blkno) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem_mdesc.c | 260 int bc, idx, mdesc_dimm_count, mdesc_bank_count; local 398 bc = md_scan_dag(mdp, listp[idx], 407 gmp = find_grp(bl, bc, bclist, banklist, mdesc_bank_count, mem); 409 smp->sm_grp = create_grp(mod, bl, bc,
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | dir.c | 834 int bc, f; local 855 for (bc = 0; ((nxtbn > 0) && (bc < nxtbn) && (bc < NDADDR)); bc++) { 856 if (dp->di_db[bc] == 0) { 971 for (bc = 0; ((bc < nxtibn) && (bc < n)); bc [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt_dma.c | 87 qlt_dmem_bctl_t *bctl, *bc; local 196 bc = bctl; 197 while (bc) { 198 stmf_free(bc->bctl_buf); 199 bc = bc->bctl_next;
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_name.c | 740 int ac, bc; local 742 while (ac = *a, bc = *b, ac != 0 && bc != 0) { 743 if ((ac & NS_CMPRSFLGS) != 0 || (bc & NS_CMPRSFLGS) != 0) { 747 if (a + ac >= ae || b + bc >= be) { 751 if (ac != bc || strncasecmp((const char *) ++a, 754 a += ac, b += bc; 756 return (ac == 0 && bc == 0);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky_subr.c | 515 kmem_bufctl_audit_t bc; local 517 if (mdb_vread(&bc, sizeof (bc), addr) == -1) { 523 depth = MIN(bc.bc_depth, KMEM_STACK_DEPTH); 535 leaky_add_leak(TYPE_KMEM, addr, (uintptr_t)bc.bc_addr, 536 bc.bc_timestamp, bc.bc_stack + 1, depth, 537 (uintptr_t)bc.bc_cache, 0); 897 kmem_bufctl_audit_t bc; local 913 if (mdb_vread(&bc, sizeo [all...] |
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_rq.c | 808 u_int16_t tmp, bc, dcount; local 879 if ((error2 = md_get_uint16le(mdp, &bc)) != 0) 938 u_int16_t bc; local 1005 if ((error2 = md_get_uint16le(mdp, &bc)) != 0)
|
H A D | smb_smb.c | 109 uint16_t dindex, bc; local 238 err = md_get_uint16le(mdp, &bc); /* ByteCount */ 357 sblen = (int)bc - SMB_GUIDLEN; 464 uint16_t action, bc, sblen; local 544 md_get_uint16le(mdp, &bc); /* byte count */ 549 if (sblen == 0 || sblen > bc) {
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_ioctl.c | 1554 * bc: byte count. 1565 ql_r_m_w_flash(ql_adapter_state_t *ha, caddr_t dp, uint32_t bc, uint32_t faddr, argument 1572 QL_PRINT_9(CE_CONT, "(%d): started, dp=%ph, faddr=%xh, bc=%xh\n", 1573 ha->instance, (void *)dp, faddr, bc); 1584 while (bc) { 1585 xfer = bc > bsize ? bsize : bc; 1589 QL_PRINT_9(CE_CONT, "(%d): dp=%ph, saddr=%xh, bc=%xh, " 1591 bc, ofst, xfer); 1617 bc [all...] |
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regcomp.c | 1023 col(Celt_t* ce, int ic, unsigned char* bp, int bw, int bc, unsigned char* ep, int ew, int ec) argument 1040 c = bc;
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lcode.c | 235 int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) { argument 238 lua_assert(a <= MAXARG_A && bc <= MAXARG_Bx); 239 return luaK_code(fs, CREATE_ABx(o, a, bc));
|
/illumos-gate/usr/src/cmd/dd/ |
H A D | dd.c | 1744 int bc; local 1755 bc = write(obf, (char *)obuf, oc); 1756 if (bc != oc) { 1757 if (bc < 0) { 1762 "wrote %d bytes, expected %d\n"), bc, oc); 1775 obytes += bc; 1782 bc = obc; 1785 } while (--bc);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | consconfig_dacf.c | 2135 char *kc, *bc, *defcons_kern_buf; local 2175 bc = (char *)(uintptr_t)defcons_buf; 2176 while (*kc++ = *bc++)
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | block_if.c | 161 blockif_enqueue(struct blockif_ctxt *bc, struct blockif_req *breq, argument 168 be = TAILQ_FIRST(&bc->bc_freeq); 171 TAILQ_REMOVE(&bc->bc_freeq, be, be_link); 189 TAILQ_FOREACH(tbe, &bc->bc_pendq, be_link) { 194 TAILQ_FOREACH(tbe, &bc->bc_busyq, be_link) { 203 TAILQ_INSERT_TAIL(&bc->bc_pendq, be, be_link); 208 blockif_dequeue(struct blockif_ctxt *bc, pthread_t t, struct blockif_elem **bep) argument 212 TAILQ_FOREACH(be, &bc->bc_pendq, be_link) { 219 TAILQ_REMOVE(&bc->bc_pendq, be, be_link); 222 TAILQ_INSERT_TAIL(&bc 228 blockif_complete(struct blockif_ctxt *bc, struct blockif_elem *be) argument 247 blockif_proc(struct blockif_ctxt *bc, struct blockif_elem *be, uint8_t *buf) argument 417 struct blockif_ctxt *bc; local 501 struct blockif_ctxt *bc; local 767 blockif_request(struct blockif_ctxt *bc, struct blockif_req *breq, enum blockop op) argument 797 blockif_read(struct blockif_ctxt *bc, struct blockif_req *breq) argument 805 blockif_write(struct blockif_ctxt *bc, struct blockif_req *breq) argument 813 blockif_flush(struct blockif_ctxt *bc, struct blockif_req *breq) argument 821 blockif_delete(struct blockif_ctxt *bc, struct blockif_req *breq) argument 829 blockif_cancel(struct blockif_ctxt *bc, struct blockif_req *breq) argument 905 blockif_close(struct blockif_ctxt *bc) argument 939 blockif_chs(struct blockif_ctxt *bc, uint16_t *c, uint8_t *h, uint8_t *s) argument 987 blockif_size(struct blockif_ctxt *bc) argument 995 blockif_sectsz(struct blockif_ctxt *bc) argument 1003 blockif_psectsz(struct blockif_ctxt *bc, int *size, int *off) argument 1012 blockif_queuesz(struct blockif_ctxt *bc) argument 1020 blockif_is_ro(struct blockif_ctxt *bc) argument 1028 blockif_candelete(struct blockif_ctxt *bc) argument 1037 blockif_set_wce(struct blockif_ctxt *bc, int wc_enable) argument [all...] |
H A D | pci_virtio_block.c | 204 struct blockif_ctxt *bc; member in struct:pci_vtblk_softc 245 (void) blockif_set_wce(sc->bc, 0); 345 err = blockif_read(sc->bc, &io->io_req); 348 err = blockif_write(sc->bc, &io->io_req); 388 err = blockif_delete(sc->bc, &io->io_req); 392 err = blockif_flush(sc->bc, &io->io_req); 449 sc->bc = bctxt; 459 if (blockif_candelete(sc->bc)) 464 (void) blockif_set_wce(sc->bc, 0); 527 blockif_close(sc->bc); [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_if.c | 1487 * against the best candidate (bc). Each rule has three possible outcomes; 1511 rule_isdst(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1513 if (!bc->cand_isdst_set) { 1514 bc->cand_isdst = 1515 IN6_ARE_ADDR_EQUAL(&bc->cand_srcaddr, dstinfo->dst_addr); 1516 bc->cand_isdst_set = B_TRUE; 1523 if (cc->cand_isdst == bc->cand_isdst) 1538 rule_scope(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1540 if (!bc->cand_scope_set) { 1541 bc 1568 rule_deprecated(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1597 rule_preferred(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1621 rule_interface(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1653 rule_label(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1683 rule_temporary(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1712 rule_ifprefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1757 rule_zone_specific(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1782 rule_addr_type(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1807 rule_prefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument 1833 rule_must_be_last(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_dump.h | 342 uint32_t bc:24; /* byte count */ member in struct:_DUMP_TABLE_ENTRY_PORT_BLK::__anon33::__anon34 346 uint32_t bc:24; /* byte count */
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | regcomp.c | 106 static bool p_ere_exp(struct parse *p, struct branchc *bc); 108 static int p_branch_eat_delim(struct parse *p, struct branchc *bc); 109 static void p_branch_ins_offset(struct parse *p, struct branchc *bc); 110 static void p_branch_fix_tail(struct parse *p, struct branchc *bc); 111 static bool p_branch_empty(struct parse *p, struct branchc *bc); 112 static bool p_branch_do(struct parse *p, struct branchc *bc); 113 static void p_bre_pre_parse(struct parse *p, struct branchc *bc); 114 static void p_bre_post_parse(struct parse *p, struct branchc *bc); 116 static bool p_simp_re(struct parse *p, struct branchc *bc); 337 p_ere_exp(struct parse *p, struct branchc *bc) argument 513 p_branch_eat_delim(struct parse *p, struct branchc *bc) argument 529 p_branch_ins_offset(struct parse *p, struct branchc *bc) argument 550 p_branch_fix_tail(struct parse *p, struct branchc *bc) argument 566 p_branch_empty(struct parse *p, struct branchc *bc) argument 579 p_branch_do(struct parse *p, struct branchc *bc) argument 599 p_bre_pre_parse(struct parse *p, struct branchc *bc) argument 615 p_bre_post_parse(struct parse *p, struct branchc *bc) argument 639 struct branchc bc; local 683 p_simp_re(struct parse *p, struct branchc *bc) argument [all...] |
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfssubr.c | 1203 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; local 1207 bc = (r == 0 ? 0 : r + nparity); 1211 acols = bc; 1212 scols = MIN(dcols, roundup(bc, nparity + 1)); 1226 rm->rm_bigcols = bc; 1227 rm->rm_skipstart = bc; 1253 else if (c < bc)
|