Searched defs:bc (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_cbufcall.c82 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/libsmbfs/smb/
H A Dnegprot.c115 uint16_t dindex, bc; local
237 err = md_get_uint16le(mbp, &bc); /* ByteCount */
354 len = (int)bc - SMB_GUIDLEN;
376 if (bc < eklen || eklen < NTLM_CHAL_SZ) {
H A Dssnsetup.c296 uint16_t bc, len1, len2, sblen; local
394 md_get_uint16le(mbp, &bc); /* byte count */
399 if (sblen == 0 || bc < sblen)
412 err = md_get_uint16le(mbp, &bc); /* byte count */
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinit_color.c127 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 Dldaputf8.c141 unsigned long sc, bc; local
150 for (bp = brk; (bc = LDAP_UTF8GETCC(bp)) != 0;) {
151 if (sc == bc)
168 if ((bc = LDAP_UTF8GETCC(bp)) == sc) {
177 } while (bc != 0);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/ioboard/
H A Dioboard.c224 uint_t bc, ac; local
242 bc = 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 Dcompress.c242 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/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c449 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/boot/sys/boot/common/
H A Dbcache.c84 #define BHASH(bc, blkno) ((blkno) & ((bc)->bcache_nblks - 1))
85 #define BCACHE_LOOKUP(bc, blkno) \
86 ((bc)->bcache_ctl[BHASH((bc), (blkno))].bc_blkno != (blkno))
90 static void bcache_invalidate(struct bcache *bc, daddr_t blkno);
91 static void bcache_insert(struct bcache *bc, daddr_t blkno);
92 static void bcache_free_instance(struct bcache *bc);
123 struct bcache *bc = malloc(sizeof (struct bcache)); local
129 if (bc
171 struct bcache *bc = cache; local
189 struct bcache *bc = dd->dv_cache; local
213 struct bcache *bc = dd->dv_cache; local
330 struct bcache *bc = dd->dv_cache; local
408 bcache_free_instance(struct bcache *bc) argument
423 bcache_insert(struct bcache *bc, daddr_t blkno) argument
438 bcache_invalidate(struct bcache *bc, daddr_t blkno) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c260 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/lib/libresolv2/common/nameser/
H A Dns_name.c744 int ac, bc; local
746 while (ac = *a, bc = *b, ac != 0 && bc != 0) {
747 if ((ac & NS_CMPRSFLGS) != 0 || (bc & NS_CMPRSFLGS) != 0) {
751 if (a + ac >= ae || b + bc >= be) {
755 if (ac != bc || strncasecmp((const char *) ++a,
758 a += ac, b += bc;
760 return (ac == 0 && bc == 0);
/illumos-gate/usr/src/cmd/dd/
H A Ddd.c1818 int bc; local
1832 bc = write(obf, (char *)obuf, oc);
1833 if (bc != oc) {
1834 if (bc < 0)
1839 "wrote %d bytes, expected %d\n"), bc, oc);
1844 obytes += bc;
1851 bc = obc;
1854 } while (--bc);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky_subr.c517 kmem_bufctl_audit_t bc; local
519 if (mdb_vread(&bc, sizeof (bc), addr) == -1) {
525 depth = MIN(bc.bc_depth, KMEM_STACK_DEPTH);
537 leaky_add_leak(TYPE_KMEM, addr, (uintptr_t)bc.bc_addr,
538 bc.bc_timestamp, bc.bc_stack + 1, depth,
539 (uintptr_t)bc.bc_cache, 0);
899 kmem_bufctl_audit_t bc; local
915 if (mdb_vread(&bc, sizeo
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c834 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/fs/smbclnt/netsmb/
H A Dsmb_rq.c688 u_int16_t tmp, bc, dcount; local
759 if ((error2 = md_get_uint16le(mdp, &bc)) != 0)
818 u_int16_t bc; local
885 if ((error2 = md_get_uint16le(mdp, &bc)) != 0)
H A Dsmb_smb.c871 uint16_t bc, cnt, dlen, rcnt, todo; local
909 md_get_uint16le(mdp, &bc); /* byte count */
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_dma.c87 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/uts/common/io/fibre-channel/fca/qlc/
H A Dql_ioctl.c1554 * 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/uts/common/io/
H A Dconsconfig_dacf.c2138 char *kc, *bc, *defcons_kern_buf; local
2178 bc = (char *)(uintptr_t)defcons_buf;
2179 while (*kc++ = *bc++)
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregcomp.c1023 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/inet/ip/
H A Dip6_if.c1487 * 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/fs/smbclnt/smbfs/
H A Dsmbfs_smb.c1743 uint16_t ec, dlen, bc; local
1797 md_get_uint16le(mdp, &bc);
1805 if (bc < 3)
1807 bc -= 3;
1810 if (dlen != bc || dlen % SMB_DENTRYLEN != 0)
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_dump.h342 uint32_t bc:24; /* byte count */ member in struct:_DUMP_TABLE_ENTRY_PORT_BLK::__anon7317::__anon7318
346 uint32_t bc:24; /* byte count */
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz.c457 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; local
472 bc = (r == 0 ? 0 : r + nparity);
484 acols = bc;
485 scols = MIN(dcols, roundup(bc, nparity + 1));
497 rm->rm_bigcols = bc;
498 rm->rm_skipstart = bc;
526 else if (c < bc)
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c1178 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; local
1182 bc = (r == 0 ? 0 : r + nparity);
1186 acols = bc;
1187 scols = MIN(dcols, roundup(bc, nparity + 1));
1199 rm->rm_bigcols = bc;
1200 rm->rm_skipstart = bc;
1226 else if (c < bc)

Completed in 351 milliseconds

12