/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_ep.c | 1478 bp->buf_ds.ds_va, bp->buf_ds.ds_len, bp->buf_ds.ds_key); in rds_post_control_message() 1602 bp1 = bp; in rds_build_n_post_msg() 1644 bp1 = bp; in rds_build_n_post_msg() 1676 bp->buf_ds.ds_va, bp->buf_ds.ds_key, bp->buf_ds.ds_len); in rds_build_n_post_msg() 1781 while ((bp != NULL) && (bp != tmp)) { in rds_resend_messages() 1784 bp = bp->buf_nextp; in rds_resend_messages() 1810 bp = bp->buf_nextp; in rds_resend_messages() 1819 if (bp) { in rds_resend_messages() 1826 tmp = bp; in rds_resend_messages() 1835 bp = bp->buf_nextp; in rds_resend_messages() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | evchannels.c | 1059 evch_bind_t *bp; in evch_chbind() local 1132 bp->bd_channel = p; in evch_chbind() 1133 bp->bd_sublst = NULL; in evch_chbind() 1136 *scpp = bp; in evch_chbind() 1147 evch_chunbind(evch_bind_t *bp) in evch_chunbind() argument 1246 bp->bd_sublst = esp; in evch_chsubscribe() 1315 bp->bd_sublst = sdp; in evch_chsubscribe() 1372 bp->bd_sublst = next; in evch_chunsubscribe() 1884 evch_chunbind(bp); in sysevent_evc_unbind() 2208 evch_bind_t *bp = NULL; in evch_usrchanopen() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/ |
H A D | _stdfun.c | 56 static void* bp; in _stdfun() local 68 bp = dlopen("/usr/bin/stdio.dll", 0); in _stdfun() 70 if (bp && (vp->vec[1] = (Fun_f)dlsym(bp, vp->name))) in _stdfun()
|
/illumos-gate/usr/src/lib/libmp/common/ |
H A D | mout.c | 87 char *bp; in m_out() local 106 bp = obuf + 7 * xlen - 1; in m_out() 107 *bp-- = 0; in m_out() 111 *bp-- = (char)(r + '0'); in m_out() 114 *bp-- = ' '; in m_out() 117 *bp-- = '-'; in m_out() 118 (void) fprintf(f, "%s\n", bp + 1); in m_out()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_bmap.c | 710 struct buf *bp; in ud_read_next_cont() local 721 error = bp->b_error; in ud_read_next_cont() 730 ud_common_ad(ip, bp); in ud_read_next_cont() 732 brelse(bp); in ud_read_next_cont() 1254 struct buf *bp; in ud_zero_it() local 1273 bp->b_edev = ip->i_dev; in ud_zero_it() 1276 bp->b_bcount = dummy; in ud_zero_it() 1277 bp->b_un.b_addr = kmem_zalloc(bp->b_bcount, KM_SLEEP); in ud_zero_it() 1278 bp->b_file = ip->i_vnode; in ud_zero_it() 1279 bp->b_offset = -1; in ud_zero_it() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | bptree.c | 121 bptree_add(objset_t *os, uint64_t obj, blkptr_t *bp, uint64_t birth_txg, in bptree_add() argument 139 bte.be_bp = *bp; in bptree_add() 152 bptree_visit_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, in bptree_visit_cb() argument 158 if (bp == NULL || BP_IS_HOLE(bp)) in bptree_visit_cb() 161 err = ba->ba_func(ba->ba_arg, bp, ba->ba_tx); in bptree_visit_cb() 163 ba->ba_phys->bt_bytes -= bp_get_dsize_sync(spa, bp); in bptree_visit_cb() 164 ba->ba_phys->bt_comp -= BP_GET_PSIZE(bp); in bptree_visit_cb() 165 ba->ba_phys->bt_uncomp -= BP_GET_UCSIZE(bp); in bptree_visit_cb()
|
H A D | zil.c | 161 if (BP_IS_EMBEDDED(bp)) in zil_bp_tree_add() 164 dva = BP_IDENTITY(bp); in zil_bp_tree_add() 285 if (BP_IS_HOLE(bp)) { in zil_read_log_data() 446 if (BP_IS_HOLE(bp) || bp->blk_birth < first_txg || in zil_claim_log_block() 500 bp->blk_birth >= claim_txg && zil_bp_tree_add(zilog, bp) == 0 && in zil_free_log_record() 501 !BP_IS_HOLE(bp)) in zil_free_log_record() 523 lwb->lwb_blk = *bp; in zil_alloc_lwb() 877 blkptr_t *bp; in zil_check_log_chain() local 892 if (!BP_IS_HOLE(bp)) { in zil_check_log_chain() 1385 blkptr_t *bp; in zil_lwb_write_issue() local [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 217 register char *bp; local 342 bp = MXHostBuf; 370 n = strlen(bp); 386 bp, pref); 400 bp += n; 401 if (bp[-1] != '.') 403 *bp++ = '.'; 406 *bp++ = '\0'; 576 if (bp[-1] != '.') 578 *bp++ = '.'; [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | mouse8042.c | 766 mblk_t *bp; in mouse8042_process_data_msg() local 769 bp = mp; in mouse8042_process_data_msg() 771 while (bp->b_rptr < bp->b_wptr) { in mouse8042_process_data_msg() 798 next = bp->b_cont; in mouse8042_process_data_msg() 799 freeb(bp); in mouse8042_process_data_msg() 800 bp = next; in mouse8042_process_data_msg() 802 if (bp != NULL) { in mouse8042_process_data_msg() 804 freemsg(bp); in mouse8042_process_data_msg() 812 *bp->b_rptr++); in mouse8042_process_data_msg() 814 next = bp->b_cont; in mouse8042_process_data_msg() [all …]
|
H A D | timod.c | 360 mblk_t *bp; in timodopen() local 438 putnext(q, bp); in timodopen() 1386 mblk_t *bp; in timodrproc() local 1393 bp = nbp; in timodrproc() 2226 mblk_t *bp; in ti_doname() local 2416 mblk_t *bp; in tim_filladdr() local 2478 return (bp); in tim_filladdr() 2487 return (bp); in tim_filladdr() 2612 mblk_t *bp; in ti_expind_on_rdqueues() local 2633 ((bp->b_wptr - bp->b_rptr) >= in ti_expind_on_rdqueues() [all …]
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | action.c | 129 struct base *bp; in do_like() local 135 bp = fp->f_base; in do_like() 141 bp->b_unresolved++; in do_like() 349 bp->b_unresolved++; in do_like() 356 bp->b_src_misc++; in do_like() 358 bp->b_dst_misc++; in do_like() 406 struct base *bp; in do_copy() local 412 bp = fp->f_base; in do_copy() 418 bp->b_unresolved++; in do_copy() 818 bp->b_unresolved++; in do_copy() [all …]
|
H A D | main.c | 125 struct base *bp; in main() local 308 bp = add_base(srcname, dstname); in main() 318 errs |= add_include(bp, argv[ optind++ ]); in main() 324 errs |= evaluate(bp, OPT_SRC, TRUE); in main() 325 errs |= evaluate(bp, OPT_DST, TRUE); in main() 339 for (bp = bases; bp; bp = bp->b_next) { in main() 340 errs |= evaluate(bp, OPT_SRC, FALSE); in main() 341 errs |= evaluate(bp, OPT_DST, FALSE); in main()
|
/illumos-gate/usr/src/uts/common/sys/dktp/ |
H A D | tgcom.h | 51 #define TGCOM_PKT(X, bp, cb, arg) \ argument 53 (((struct tgcom_obj *)(X))->com_data, (bp), (cb), (arg)) 54 #define TGCOM_TRANSPORT(X, bp) \ argument 56 (((struct tgcom_obj *)(X))->com_data, (bp))
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_debug.c | 71 void elink_cb_dbg(struct elink_dev * bp, char * fmt) in elink_cb_dbg() argument 73 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg() 88 void elink_cb_dbg1(struct elink_dev * bp, char * fmt, u32 arg1) in elink_cb_dbg1() argument 90 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg1() 105 void elink_cb_dbg2(struct elink_dev * bp, char * fmt, u32 arg1, u32 arg2) in elink_cb_dbg2() argument 107 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg2() 122 void elink_cb_dbg3(struct elink_dev * bp, char * fmt, u32 arg1, u32 arg2, u32 arg3) in elink_cb_dbg3() argument 124 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg3()
|
/illumos-gate/usr/src/uts/common/sys/1394/targets/av1394/ |
H A D | av1394_impl.h | 213 #define AV1394_DBTYPE(bp) (DB_TYPE(bp) & ~AV1394_M_NOHDR) argument 214 #define AV1394_MARK_NOHDR(bp) (DB_TYPE(bp) |= AV1394_M_NOHDR) argument 215 #define AV1394_IS_NOHDR(bp) (DB_TYPE(bp) & AV1394_M_NOHDR) argument 315 int av1394_putq(av1394_queue_t *q, mblk_t *bp); 316 int av1394_putbq(av1394_queue_t *q, mblk_t *bp);
|
/illumos-gate/usr/src/uts/intel/io/amr/ |
H A D | amr.c | 1516 bp = ac->ac_buf; in amr_tran_start() 1558 if (bp && bp->b_un.b_addr && bp->b_bcount) { in amr_tran_start() 1590 bp_mapin(bp); in amr_tran_start() 1607 if (bp && bp->b_un.b_addr && bp->b_bcount) { in amr_tran_start() 1654 if (bp && bp->b_un.b_addr && bp->b_bcount) { in amr_tran_start() 1659 bzero(bp->b_un.b_addr, bp->b_bcount); in amr_tran_start() 1884 if ((bp == NULL) || (bp->b_bcount == 0)) { in amr_tran_init_pkt() 1900 if ((bp == NULL) || (bp->b_bcount == 0)) { in amr_tran_init_pkt() 2014 if (!(bp && bp->b_un.b_addr && bp->b_bcount)) in amr_mode_sense() 2018 bp_mapin(bp); in amr_mode_sense() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | pcfs_common.c | 77 store_16_bits(uchar_t **bp, uint32_t v) in store_16_bits() argument 79 uchar_t *l = *bp; in store_16_bits() 83 *bp += 2; in store_16_bits() 89 *value = *bp++; in read_16_bits() 90 *value += *bp << 8; in read_16_bits() 103 uchar_t *l = *bp; in store_32_bits() 110 *bp += 4; in store_32_bits() 116 *value = *bp++; in read_32_bits() 117 *value += *bp++ << 8; in read_32_bits() 118 *value += *bp++ << 16; in read_32_bits() [all …]
|
H A D | pcfs_common.h | 76 extern void store_16_bits(uchar_t **bp, uint32_t v); 77 extern void store_32_bits(uchar_t **bp, uint32_t v); 78 extern void read_16_bits(uchar_t *bp, uint32_t *value); 79 extern void read_32_bits(uchar_t *bp, uint32_t *value);
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_inode.c | 452 struct buf *bp; in ufs_iget_internal() local 568 error = ((bp->b_flags & B_ERROR) ? geterror(bp) : 0); in ufs_iget_internal() 570 brelse(bp); in ufs_iget_internal() 582 brelse(bp); in ufs_iget_internal() 893 brelse(bp); in ufs_iupdat() 989 brelse(bp); in ufs_iupdat() 1082 brelse(bp); in indirtrunc() 1097 ldbtob(bp->b_blkno), bp->b_bcount, in indirtrunc() 1098 bp->b_un.b_addr, bp->b_bcount); in indirtrunc() 1109 bp = copy, bap = bp->b_un.b_daddr; in indirtrunc() [all …]
|
/illumos-gate/usr/src/uts/common/io/udmf/ |
H A D | udmf_usbgem.c | 413 uint8_t *bp; in udmf_tx_make_packet() local 441 bp = new->b_rptr; in udmf_tx_make_packet() 442 bp[0] = (uint8_t)pkt_size; in udmf_tx_make_packet() 443 bp[1] = (uint8_t)(pkt_size >> 8); in udmf_tx_make_packet() 444 bp += TX_HEADER_SIZE; in udmf_tx_make_packet() 449 bcopy(tp->b_rptr, bp, n); in udmf_tx_make_packet() 450 bp += n; in udmf_tx_make_packet() 455 while (bp < last_pos) { in udmf_tx_make_packet() 456 *bp++ = 0; in udmf_tx_make_packet() 467 for (i = 0; i < n; i += 8, bp += 8) { in udmf_dump_packet() [all …]
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | ms.c | 470 mblk_t *bp; in msrserv() local 512 cp = (char *)bp->b_wptr; in msrserv() 521 bp->b_wptr = (uchar_t *)cp; in msrserv() 522 putnext(q, bp); in msrserv() 544 bp = NULL; in msrserv() 643 if (bp != NULL) { in msrserv() 646 putnext(q, bp); in msrserv() 887 mblk_t *bp; in msrput() local 1040 bp = mp; in msrput() 1043 readp = (char *)bp->b_rptr; in msrput() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | mbdb.c | 243 register char *bp = buf; local 251 if (bp >= &buf[buflen - 1]) 260 (void) sm_strlcpy(bp, user, buflen - (bp - buf)); 261 *bp = toupper(*bp); 262 bp += strlen(bp); 268 *bp++ = Latin1ToASCII[(unsigned char) *p - 128]; 271 *bp++ = *p; 274 *bp = '\0';
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | gdb.c | 894 struct breakpoint *bp; in find_breakpoint() local 897 if (bp->gpa == gpa) in find_breakpoint() 898 return (bp); in find_breakpoint() 920 if (bp != NULL) { in gdb_cpu_breakpoint() 940 if (bp == NULL) { in gdb_cpu_breakpoint() 1259 free(bp); in remove_all_sw_breakpoints() 1304 if (bp == NULL) { in update_sw_breakpoint() 1310 bp = malloc(sizeof(*bp)); in update_sw_breakpoint() 1311 bp->gpa = gpa; in update_sw_breakpoint() 1318 if (bp != NULL) { in update_sw_breakpoint() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmbest.c | 530 reg Block_t *bp, *tp; local 541 bp = BLOCK(seg->baddr); 545 bp = LAST(bp); /**/ASSERT(vmisfree(vd,bp)); 546 size = SIZE(bp); 547 if(bp == vd->wild) 587 if(bp) 592 LINK(bp) = CACHE(vd)[C_INDEX(SIZE(bp))]; 593 CACHE(vd)[C_INDEX(SIZE(bp))] = bp; 777 reg Block_t *bp; local 800 bp = BLOCK(data); s = SIZE(bp); [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_txdring.c | 602 mblk_t *bp; in vgen_dringsend() local 673 for (bp = mp; bp != NULL; bp = bp->b_cont) { in vgen_dringsend() 747 mblk_t *bp = NULL; in vgen_poll_rcv() local 773 bpt = bp; in vgen_poll_rcv() 776 bp = bp->b_next; in vgen_poll_rcv() 1204 if (bp == NULL) { in vgen_process_dringdata() 1206 bp = mp; in vgen_process_dringdata() 1207 bpt = bp; in vgen_process_dringdata() 1219 bp = bpt = NULL; in vgen_process_dringdata() 1268 if (bp != NULL) { in vgen_process_dringdata() [all …]
|