/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/ |
H A D | bnx_hw_cpu.c | 48 u32_t bp; member 263 cpu_reg.bp = OFFSETOF(reg_space_t, rxp.rxp_cpu_hw_breakpoint); in init_5706_cpus() 311 cpu_reg.bp = OFFSETOF(reg_space_t, txp.txp_cpu_hw_breakpoint); in init_5706_cpus() 359 cpu_reg.bp = OFFSETOF(reg_space_t, tpat.tpat_cpu_hw_breakpoint); in init_5706_cpus() 407 cpu_reg.bp = OFFSETOF(reg_space_t, com.com_cpu_hw_breakpoint); in init_5706_cpus() 455 cpu_reg.bp = OFFSETOF(reg_space_t, cp.cp_cpu_hw_breakpoint); in init_5706_cpus() 521 cpu_reg.bp = OFFSETOF(reg_space_t, rxp.rxp_cpu_hw_breakpoint); in init_5709_cpus() 569 cpu_reg.bp = OFFSETOF(reg_space_t, txp.txp_cpu_hw_breakpoint); in init_5709_cpus() 617 cpu_reg.bp = OFFSETOF(reg_space_t, tpat.tpat_cpu_hw_breakpoint); in init_5709_cpus() 665 cpu_reg.bp = OFFSETOF(reg_space_t, com.com_cpu_hw_breakpoint); in init_5709_cpus() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fssnap_if.c | 114 fssnap_strategy(void *snapshot_id, struct buf *bp) in fssnap_strategy() argument 117 (snapops.fssnap_strategy)(snapshot_id, bp); in fssnap_strategy()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.c | 3457 if (bp == NULL) { in ql_diagnostic_loopback() 3463 pld = bp + 4; in ql_diagnostic_loopback() 4851 data = *bp++; in ql_24xx_flash_desc() 7301 uint8_t *bp; in ql_flash_layout_table() local 7326 w16 = (uint16_t)CHAR_TO_SHORT(bp[cnt], bp[cnt + 1]); in ql_flash_layout_table() 7392 w16 = (uint16_t)CHAR_TO_SHORT(bp[cnt], bp[cnt + 1]); in ql_process_flt() 7402 eaddr = bp + len; in ql_process_flt() 7867 if ((dxfer = ql_send_buffer_data(mem.bp, bp, mem.size, in ql_dump_sfp() 7876 bp = (caddr_t)bp + mem.size; in ql_dump_sfp() 8209 uint32_t *bp; in ql_get_fwfcetrace() local [all …]
|
/illumos-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.c | 235 char *bp; in gem_dump_packet() local 240 bp = msg; in gem_dump_packet() 259 sprintf(bp, in gem_dump_packet() 283 sprintf(bp, "("); in gem_dump_packet() 293 sprintf(bp, ")"); in gem_dump_packet() 1255 caddr_t bp; in gem_setup_txbuf_copy() local 1404 bp = mp->b_rptr; in gem_txbuf_options() 1508 uint8_t *bp; in gem_send_common() local 1518 bp = mp->b_rptr; in gem_send_common() 1769 uint8_t *bp; in gem_get_packet_default() local [all …]
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | tip.c | 574 unsigned char *bp; in parwrite() local 576 bp = buf; in parwrite() 578 *bp = partab[(*bp)&0377]; in parwrite() 579 bp++; in parwrite()
|
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | synch.c | 72 uint8_t bp; in is_enabled() local 78 get_bool_prop(pg, SCF_PROPERTY_ENABLED, &bp) == 0) { in is_enabled() 80 return (bp); in is_enabled() 84 get_bool_prop(pg, SCF_PROPERTY_ENABLED, &bp) == 0) { in is_enabled() 86 return (bp); in is_enabled()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_api.c | 1498 if (bp == NULL) { in fmd_buf_create() 1535 if (bp != NULL) { in fmd_buf_destroy() 1555 if (bp == NULL) { in fmd_buf_read() 1560 bcopy(bp->buf_data, buf, MIN(bp->buf_size, size)); in fmd_buf_read() 1561 if (size > bp->buf_size) in fmd_buf_read() 1562 bzero((char *)buf + bp->buf_size, size - bp->buf_size); in fmd_buf_read() 1575 if (bp == NULL) { in fmd_buf_write() 1598 bcopy(buf, bp->buf_data, MIN(bp->buf_size, size)); in fmd_buf_write() 1599 bp->buf_flags |= FMD_BUF_DIRTY; in fmd_buf_write() 1615 fmd_buf_t *bp; in fmd_buf_size() local [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_proc.c | 848 char *cp, *bp; in multihomed() local 899 if ((bp = strtok(buf, " \t")) == NULL) { /* no address field */ in multihomed() 907 if ((cp = strtok(bp, ",")) != NULL) { /* multihomed host */ in multihomed() 955 if ((bp = strtok(cp, " \t")) == NULL) /* no address field */ in multihomed() 959 bp = strtok(bp, ","); in multihomed() 961 bestaddr = inet_addr(bp); in multihomed() 1452 char *cp, *bp; in omultihomed() local 1498 if ((bp = strtok(cp, "\t")) == NULL) /* No address field */ in omultihomed() 1502 bp = strtok(bp, ","); in omultihomed() 1504 bestaddr = inet_addr(bp); in omultihomed()
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | object.c | 622 const char *bp; in tx_cmd_value() local 637 bp = (char *)cur->tx_values; in tx_cmd_value() 640 value_len = *(uint32_t *)bp; in tx_cmd_value() 641 bp += sizeof (uint32_t) + TX_SIZE(value_len); in tx_cmd_value() 645 bp += sizeof (uint32_t); in tx_cmd_value() 646 *val = bp; in tx_cmd_value()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | utils.c | 135 char buf[1024], *bp, *nlp, *ebp; in flprintf() local 149 bp = buf; in flprintf() 151 while (bp < ebp) { in flprintf() 152 if ((nlp = strchr(bp, '\n')) == NULL) in flprintf() 154 if (nlp > bp) { in flprintf() 156 syslog(LOG_DEBUG, "%s", bp); in flprintf() 158 bp = nlp + 1; in flprintf()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | cache.c | 186 cache_free_bus(bus_t *bp) in cache_free_bus() argument 188 free(bp->name); in cache_free_bus() 189 free(bp->btype); in cache_free_bus() 190 free(bp->kstat_name); in cache_free_bus() 191 free(bp->pname); in cache_free_bus() 192 free(bp->controllers); in cache_free_bus() 193 free(bp); in cache_free_bus()
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_cpu.c | 66 dr_cpu_unit_is_sane(dr_board_t *bp, dr_cpu_unit_t *cp) in dr_cpu_unit_is_sane() argument 69 ASSERT(cp->sbc_cm.sbdev_bp == bp); in dr_cpu_unit_is_sane() 72 _NOTE(ARGUNUSED(bp)) in dr_cpu_unit_is_sane() 710 dr_board_t *bp; in dr_cpu_status() local 714 bp = hp->h_bd; in dr_cpu_status() 717 devset &= DR_DEVS_PRESENT(bp); in dr_cpu_status() 741 cp = dr_get_cpu_unit(bp, DR_CMP_CORE_UNUM(cmp, core)); in dr_cpu_status()
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_cpu.c | 83 dr_cpu_unit_is_sane(dr_board_t *bp, dr_cpu_unit_t *cp) in dr_cpu_unit_is_sane() argument 94 ASSERT(cp->sbc_cm.sbdev_bp == bp); in dr_cpu_unit_is_sane() 98 _NOTE(ARGUNUSED(bp)) in dr_cpu_unit_is_sane() 763 dr_board_t *bp; in dr_cpu_status() local 767 bp = hp->h_bd; in dr_cpu_status() 770 devset &= DR_DEVS_PRESENT(bp); in dr_cpu_status() 793 cp = dr_get_cpu_unit(bp, DR_CMP_CORE_UNUM(cmp, core)); in dr_cpu_status()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_els.c | 1093 uint8_t *bp; in emlxs_handle_unsol_rscn() local 1100 bp = mp->virt; in emlxs_handle_unsol_rscn() 1169 uint8_t *bp; in emlxs_process_unsol_flogi() local 1189 bp = mp->virt; in emlxs_process_unsol_flogi() 1242 uint8_t *bp; in emlxs_handle_unsol_flogi() local 1318 uint8_t *bp; in emlxs_process_unsol_plogi() local 1459 uint8_t *bp; in emlxs_handle_unsol_plogi() local 2062 uint8_t *bp; in emlxs_handle_unsol_gen_cmd() local 2127 uint8_t *bp; in emlxs_handle_unsol_echo() local 2202 uint8_t *bp; in emlxs_handle_unsol_rtv() local [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/rds/ |
H A D | rdsib_buf.h | 161 void rds_free_buf(rds_bufpool_t *pool, rds_buf_t *bp, uint_t nbuf); 166 void rds_free_recv_buf(rds_buf_t *bp, uint_t nbuf);
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | jobs.c | 2010 if(!jp && pid && (bp=bp->prev)) in job_chksave() 2012 count = bp->count; in job_chksave() 2013 jp = bp->list; in job_chksave() 2026 bp->count--; in job_chksave() 2043 *bp = bck; in job_subsave() 2044 bp->prev = bck.prev; in job_subsave() 2047 bck.prev = bp; in job_subsave() 2049 return((void*)bp); in job_subsave() 2070 bck.list = bp->list; in job_subrestore() 2072 bck.prev = bp->prev; in job_subrestore() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_misc.c | 1545 if (bp != NULL) { in snprintf_blkptr() 1546 if (BP_GET_TYPE(bp) & DMU_OT_NEWTYPE) { in snprintf_blkptr() 1548 DMU_OT_BYTESWAP(BP_GET_TYPE(bp)); in snprintf_blkptr() 1550 DMU_OT_IS_METADATA(BP_GET_TYPE(bp)) ? in snprintf_blkptr() 1557 if (!BP_IS_EMBEDDED(bp)) { in snprintf_blkptr() 1671 spa_set_rootblkptr(spa_t *spa, const blkptr_t *bp) in spa_set_rootblkptr() argument 1673 spa->spa_uberblock.ub_rootbp = *bp; in spa_set_rootblkptr() 2032 bp_get_dsize_sync(spa_t *spa, const blkptr_t *bp) in bp_get_dsize_sync() argument 2036 for (int d = 0; d < BP_GET_NDVAS(bp); d++) in bp_get_dsize_sync() 2043 bp_get_dsize(spa_t *spa, const blkptr_t *bp) in bp_get_dsize() argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | proto.c | 2887 bp = ip; 2898 ip = bp; 2956 bp = ip; 3042 bp = ip; 3130 bp = ip; 3231 bp = ip; 3388 bp = ip; 4179 …if (*bp == 'r' && !sstrncmp( bp, "register", 8) && (*(bp + 8) == ' ' || *(bp + 8) == '\t')) bp += … 4202 if (m > bp) op = memcopy(op, bp, m - bp); 4228 if (m > bp) op = memcopy(op, bp, m - bp); [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | queue.c | 3925 char *bp; local 3944 bp = NULL; 4062 delim = *bp; 4063 *bp = '\0'; 4075 *bp = delim; 4076 bp = NULL; 4175 bp); 4373 p = bp; 4516 SM_FREE(bp); 4601 SM_FREE(bp); [all …]
|
H A D | savemail.c | 1503 static char *bp = NULL; local 1533 if (bp != NULL) 1534 sm_free(bp); /* XXX */ 1535 bp = sm_pmalloc_x(l); 1540 for (p = bp; *t != '\0'; ) 1556 return bp; 1575 static char *bp = NULL; local 1586 if (bp != NULL) 1587 sm_free(bp); /* XXX */ 1588 bp = xalloc(l); [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | brand.c | 282 brand_zone_count(struct brand *bp) in brand_zone_count() argument 289 if (l->bl_brand == bp) { in brand_zone_count() 299 brand_unregister_zone(struct brand *bp) in brand_unregister_zone() argument 305 if (list->bl_brand == bp) { in brand_unregister_zone() 317 brand_t *bp = p->p_zone->zone_brand; in brand_setbrand() local 319 ASSERT(bp != NULL); in brand_setbrand() 328 p->p_brand = bp; in brand_setbrand() 336 brand_t *bp = p->p_zone->zone_brand; in brand_clearbrand() local 338 ASSERT(bp != NULL); in brand_clearbrand()
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | jobs.c | 803 unsigned char *bp; local 806 for (savebp = bp = locstak(); loptind < argc; loptind++) { 814 if (bp >= brkend) 815 growstak(bp); 816 *bp++ = *cp++; 818 if (bp >= brkend) 819 growstak(bp); 820 *bp++ = SPACE; 822 endstak(bp);
|
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 1342 if ((bp != NULL) && (bp->b_bcount > 0)) { in scsa1394_scsi_init_pkt() 1365 if ((bp != NULL) && ((bp->b_flags & (B_PAGEIO | B_PHYS)) != 0) && in scsa1394_scsi_init_pkt() 1368 bp_mapin(bp); in scsa1394_scsi_init_pkt() 1525 cmd->sc_bp = bp; in scsa1394_cmd_buf_dma_alloc() 1529 bioerror(bp, 0); in scsa1394_cmd_buf_dma_alloc() 1534 if (bp->b_flags & B_READ) { in scsa1394_cmd_buf_dma_alloc() 1587 bioerror(bp, error); in scsa1394_cmd_buf_dma_alloc() 1609 bioerror(bp, 0); in scsa1394_cmd_buf_dma_alloc() 1617 bioerror(bp, 0); in scsa1394_cmd_buf_dma_alloc() 1625 bioerror(bp, 0); in scsa1394_cmd_buf_dma_alloc() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | bpobj.h | 68 typedef int bpobj_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx); 83 void bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx);
|
/illumos-gate/usr/src/cmd/captoinfo/ |
H A D | captoinfo.c | 129 static char *bp; /* termcap raw string table */ variable 173 char *tbuf = bp; in checktermcap() 272 if ((tret = otgetent(bp, term_name)) != 1) { in filltables() 283 (void) cpr(trace, bp); in filltables() 394 char *b = &bp[0], *l = buflongname; in getlongname() 397 if (bp[2] == '|') in getlongname() 398 b = &bp[3]; in getlongname() 405 if (b != &bp[0]) { in getlongname() 407 "'%2.2s' removed.\n", progname, bp); in getlongname() 1525 bp = &_bp[0]; in main()
|