/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rcp.c | 612 bp, in toremote() 837 bp, in tolocal() 1146 BUF *bp; in source() local 1242 amt = bp->cnt; in source() 1415 BUF *bp; in sink() local 1634 cp = bp->buf; in sink() 1675 cp = bp->buf; in sink() 1729 free(bp->buf); in allocbuf() 1731 if (!bp->buf) { in allocbuf() 1736 bp->cnt = size; in allocbuf() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/mem2reg/ |
H A D | global-pointer.c | 5 int b, *bp = &b; in foo_ptr() local 9 *bp = c; in foo_ptr() 11 *bp = d; in foo_ptr() 13 a = *bp; in foo_ptr()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn.c | 486 if (bp == NULL) in eqn_box_free() 489 if (bp->first) in eqn_box_free() 491 if (bp->next) in eqn_box_free() 494 free(bp->text); in eqn_box_free() 495 free(bp->left); in eqn_box_free() 497 free(bp->top); in eqn_box_free() 499 free(bp); in eqn_box_free() 507 bp = mandoc_calloc(1, sizeof(*bp)); in eqn_box_new() 509 return bp; in eqn_box_new() 523 bp->font = bp->parent->font; in eqn_box_alloc() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dnode_sync.c | 142 if (BP_IS_HOLE(bp)) in free_blocks() 164 BP_SET_LSIZE(bp, lsize); in free_blocks() 165 BP_SET_TYPE(bp, type); in free_blocks() 166 BP_SET_LEVEL(bp, lvl); in free_blocks() 272 blkptr_t *bp; in free_children() local 307 bp = db->db.db_data; in free_children() 317 bp += start - dbstart; in free_children() 335 if (BP_IS_HOLE(bp)) in free_children() 350 for (i = 0, bp = db->db.db_data; i < 1 << epbs; i++, bp++) in free_children() 398 bp += start; in dnode_sync_free_range_impl() [all …]
|
H A D | vdev_disk.c | 794 buf_t *bp; in vdev_disk_ldi_physio() local 802 bp = getrbuf(KM_SLEEP); in vdev_disk_ldi_physio() 804 bp->b_bcount = size; in vdev_disk_ldi_physio() 807 bp->b_bufsize = size; in vdev_disk_ldi_physio() 811 if ((error = biowait(bp)) == 0 && bp->b_resid != 0) in vdev_disk_ldi_physio() 813 freerbuf(bp); in vdev_disk_ldi_physio() 908 buf_t *bp; in vdev_disk_io_start() local 1010 bp = &vb->vb_buf; in vdev_disk_io_start() 1012 bioinit(bp); in vdev_disk_io_start() 1020 bp->b_un.b_addr = in vdev_disk_io_start() [all …]
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_tx.c | 360 mblk_t *bp; in nge_send_copy() local 382 bp = mp; in nge_send_copy() 389 for (; bp != NULL; bp = bp->b_cont) { in nge_send_copy() 390 if ((mblen = MBLKL(bp)) == 0) in nge_send_copy() 441 mblk_t *bp; in nge_send_mapped() local 480 for (bp = mp; bp != NULL; bp = bp->b_cont) { in nge_send_mapped() 482 mblen = MBLKL(bp); in nge_send_mapped() 594 mblk_t *bp; in nge_send() local 614 for (frags = 0, bp = mp; bp != NULL; bp = bp->b_cont) { in nge_send() 615 if (MBLKL(bp) == 0) in nge_send() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_name.c | 220 bp = dst; in ns_name_pton2() 222 label = bp++; in ns_name_pton2() 238 label = bp++; in ns_name_pton2() 285 if (bp >= eom) { in ns_name_pton2() 289 *bp++ = '\0'; in ns_name_pton2() 303 label = bp++; in ns_name_pton2() 306 if (bp >= eom) { in ns_name_pton2() 310 *bp++ = (u_char)c; in ns_name_pton2() 324 if (bp >= eom) { in ns_name_pton2() 328 *bp++ = 0; in ns_name_pton2() [all …]
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | percent_x.c | 44 char *bp = result; local 83 if (bp + expansion_len >= end) { 88 memcpy(bp, expansion, expansion_len); 89 bp += expansion_len; 91 *bp = 0;
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | tee.c | 73 register const char* bp; in tee_write() local 81 bp = (const char*)buf; in tee_write() 82 ep = bp + n; in tee_write() 83 while (bp < ep) in tee_write() 85 if ((r = write(fd, bp, ep - bp)) <= 0) in tee_write() 87 bp += r; in tee_write()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_capture.c | 349 volatile char *bp, *bufstop; in scan() local 370 for (bp = buf; bp < bufstop; bp += nhdrp->sbh_totlen) { in scan() 385 hdrp = (struct sb_hdr *)bp; in scan() 418 (bp + nhdrp->sbh_totlen) < bp || in scan() 421 (bp + nhdrp->sbh_origlen) < bp || in scan() 423 (bp + nhdrp->sbh_msglen) < bp || in scan() 436 bp - buf, nhdrp->sbh_totlen); in scan() 508 bp += sizeof (int); in scan() 510 for (bp += sizeof (int); bp <= bufstop; in scan() 511 bp += sizeof (int)) { in scan() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_io.c | 308 bp = icmdp->cmd_un.scsi.bp; in iscsi_task_cleanup() 314 if (bp && bp->b_bcount) { in iscsi_task_cleanup() 686 bp = icmdp->cmd_un.scsi.bp; in iscsi_rx_process_cmd_rsp() 689 if (bp && (bp->b_flags & B_READ)) { in iscsi_rx_process_cmd_rsp() 719 (bp == NULL) ? 0 : bp->b_bcount; in iscsi_rx_process_cmd_rsp() 782 bp = icmdp->cmd_un.scsi.bp; in iscsi_data_rsp_pkt() 911 bp = icmdp->cmd_un.scsi.bp; in iscsi_rx_process_data_rsp() 1933 bp = icmdp->cmd_un.scsi.bp; in iscsi_tx_scsi_data() 1934 if ((bp != NULL) && bp->b_bcount) { in iscsi_tx_scsi_data() 2093 bp = icmdp->cmd_un.scsi.bp; in iscsi_tx_scsi_init_task() [all …]
|
/illumos-gate/usr/src/lib/libnsl/saf/ |
H A D | doconfig.c | 76 char *bp; /* scratch pointer */ in doconfig() local 104 bp = eatwhite(buf); in doconfig() 106 if (*bp == '\0') in doconfig() 115 p = bp; in doconfig() 123 if (strcmp(bp, "assign") == 0) { in doconfig() 128 } else if (strcmp(bp, "push") == 0) { in doconfig() 133 } else if (strcmp(bp, "pop") == 0) { in doconfig() 138 } else if (strcmp(bp, "run") == 0) { in doconfig() 143 } else if (strcmp(bp, "runwait") == 0) { in doconfig()
|
/illumos-gate/usr/src/cmd/ul/ |
H A D | ul.c | 519 char *bp = tcapbuf; in initcap() local 522 CURS_UP = tgetstr("up", &bp); in initcap() 523 CURS_RIGHT = tgetstr("ri", &bp); in initcap() 525 CURS_RIGHT = tgetstr("nd", &bp); in initcap() 526 CURS_LEFT = tgetstr("le", &bp); in initcap() 528 CURS_LEFT = tgetstr("bc", &bp); in initcap() 532 ENTER_STANDOUT = tgetstr("so", &bp); in initcap() 533 EXIT_STANDOUT = tgetstr("se", &bp); in initcap() 536 ENTER_DIM = tgetstr("mh", &bp); in initcap() 537 ENTER_BOLD = tgetstr("md", &bp); in initcap() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | pk0.c | 128 char m, cntl, *p, imask, **bp; in pkaccept() local 164 bp = (char **)pk->p_ib[x]; in pkaccept() 165 *bp = (char *)pk->p_ipool; in pkaccept() 166 pk->p_ipool = bp; in pkaccept() 223 bp = (char **)pk->p_ib[x]; in pkaccept() 225 pk->p_ipool = bp; in pkaccept() 255 char *cp, **bp; local 295 pk->p_ipool = bp; 504 char **bp; in pkclose() local 548 bp = pk->p_ipool; in pkclose() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fssnap.c | 672 bp->b_resid = bp->b_bcount; in snap_strategy() 673 biodone(bp); in snap_strategy() 684 bp->b_resid = bp->b_bcount; in snap_strategy() 685 biodone(bp); in snap_strategy() 694 bp->b_resid = bp->b_bcount; in snap_strategy() 695 biodone(bp); in snap_strategy() 701 bp_mapin(bp); in snap_strategy() 703 bp->b_resid = bp->b_bcount; in snap_strategy() 734 biodone(bp); in snap_strategy() 744 biodone(bp); in snap_strategy() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmpool.c | 122 Block_t *bp, *tp; local 144 for(bp = vd->free; bp; bp = SEGLINK(bp)) 145 if(bp == tp) 167 Block_t *bp; local 178 bp = (Block_t*)data; 179 SIZE(bp) = POOLFREE; 180 SEGLINK(bp) = vd->free; 181 vd->free = bp;
|
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | octet.c | 56 char *bp; in octet_to_hexascii() local 67 for (i = 0, bp = bufp, np = (const uchar_t *)nump; i < nlen; i++) { in octet_to_hexascii() 68 *bp++ = ascii_conv[(np[i] >> 4) & 0x0f]; in octet_to_hexascii() 69 *bp++ = ascii_conv[np[i] & 0x0f]; in octet_to_hexascii() 71 *bp = '\0'; in octet_to_hexascii()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | deliver.c | 4023 bp += strlen(bp); 4241 bp += strlen(bp); 4254 bp += strlen(bp); 4260 bp += strlen(bp); 4268 bp += strlen(bp); 4274 bp += strlen(bp); 4283 bp += strlen(bp); 4307 bp += strlen(bp); 4314 bp += strlen(bp); 4347 bp += strlen(bp); [all …]
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 518 blkptr_t bp; in dump_bpobj() local 521 i * sizeof (bp), sizeof (bp), &bp, 0); in dump_bpobj() 1575 if (BP_GET_LEVEL(bp) > 0 && !BP_IS_HOLE(bp)) { in visit_indirect() 3639 if (bp == NULL) in zdb_blkptr_cb() 4853 if (bp == NULL || BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp)) in zdb_ddt_add_cb() 4864 if (BP_IS_HOLE(bp) || BP_GET_CHECKSUM(bp) == ZIO_CHECKSUM_OFF || in zdb_ddt_add_cb() 4865 BP_GET_LEVEL(bp) > 0 || DMU_OT_IS_METADATA(BP_GET_TYPE(bp))) in zdb_ddt_add_cb() 6095 BP_ZERO(bp); in zdb_read_block() 6211 blkptr_t bp; in zdb_embedded_block() local 6216 bzero(&bp, sizeof (bp)); in zdb_embedded_block() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | ddt.h | 191 extern void ddt_bp_fill(const ddt_phys_t *ddp, blkptr_t *bp, 194 const ddt_phys_t *ddp, blkptr_t *bp); 196 extern void ddt_key_fill(ddt_key_t *ddk, const blkptr_t *bp); 198 extern void ddt_phys_fill(ddt_phys_t *ddp, const blkptr_t *bp); 204 extern ddt_phys_t *ddt_phys_select(const ddt_entry_t *dde, const blkptr_t *bp); 226 extern ddt_t *ddt_select(spa_t *spa, const blkptr_t *bp); 229 extern ddt_entry_t *ddt_lookup(ddt_t *ddt, const blkptr_t *bp, boolean_t add); 230 extern void ddt_prefetch(spa_t *spa, const blkptr_t *bp); 234 const blkptr_t *bp); 236 extern ddt_entry_t *ddt_repair_start(ddt_t *ddt, const blkptr_t *bp);
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | b.c | 369 bp = buf; in cclenter() 375 c = bp[-1]; in cclenter() 380 bp--; in cclenter() 386 bp-buf+2, 100, (char **)&bp, in cclenter() 401 *bp++ = c; in cclenter() 404 *bp = '\0'; in cclenter() 871 uschar *bp; in relex() local 896 bp = buf; in relex() 913 *bp++ = c; in relex() 943 bp - buf + 1, 100, (char **)&bp, in relex() [all …]
|
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_dma.c | 53 struct buf *bp, in ghd_dma_buf_bind_attr() argument 75 bp->b_error = 0; in ghd_dma_buf_bind_attr() 79 status = ddi_dma_buf_bind_handle(gcmdp->cmd_dma_handle, bp, dma_flags, in ghd_dma_buf_bind_attr() 96 bp->b_error = 0; in ghd_dma_buf_bind_attr() 104 bp->b_error = 0; in ghd_dma_buf_bind_attr() 110 bioerror(bp, EINVAL); in ghd_dma_buf_bind_attr() 118 bioerror(bp, EFAULT); in ghd_dma_buf_bind_attr()
|
/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/ |
H A D | print_json.c | 567 int bp; in parse() local 576 bp = 0; in parse() 600 bp = 0; in parse() 601 b[bp++] = c; in parse() 602 b[bp] = '\0'; in parse() 640 b[bp++] = c; in parse() 641 b[bp] = '\0'; in parse() 652 bp++; in parse() 706 b[bp++] = c; in parse() 735 b[bp++] = c; in parse() [all …]
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 1384 if (boff == 0 || bp == NULL || boff >= bp->b_bcount) { in pcfs_readdir() 1386 brelse(bp); in pcfs_readdir() 1387 bp = NULL; in pcfs_readdir() 1423 if (bp) in pcfs_readdir() 1424 brelse(bp); in pcfs_readdir() 2199 if (boff == 0 || *bp == NULL || boff >= (*bp)->b_bcount) { in pc_extract_long_fn() 2201 brelse(*bp); in pc_extract_long_fn() 2202 *bp = NULL; in pc_extract_long_fn() 2236 if (boff == 0 || *bp == NULL || boff >= (*bp)->b_bcount) { in pc_extract_long_fn() 2238 brelse(*bp); in pc_extract_long_fn() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | start_eltorito.S | 103 mov %ax, %bp /* boot file sectors */ 143 push %bp 145 cmp ABS(MaxTransfer), %bp 147 mov ABS(MaxTransfer), %bp 149 mov %bp, 2(%si) 154 pop %bp 157 sub %ax, %bp /* Sectors left */ 164 cmp $0, %bp
|