/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | bootp.h | 169 struct bootp_t bp; member 175 struct dhcp_t bp; member
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xdb.h | 69 #define XDB_BP2XREQ(bp) \ argument 70 ((xdb_request_t *)((char *)(bp) - offsetof(xdb_request_t, xr_buf)))
|
/illumos-gate/usr/src/uts/common/sys/scsi/targets/ |
H A D | sgendef.h | 168 #define SET_BP_ERROR(bp, err) bioerror(bp, err); argument
|
/illumos-gate/usr/src/lib/libxcurses/h/posix/ |
H A D | mkslocal.h | 72 #define SETVBUF(fp,bp,f,s) setvbuf(fp,f,bp,s) /* for some SysV and Xenix
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_proto.c | 1198 mblk_t *bp, *payload; in proto_unitdata_req() local 1239 for (bp = payload; bp != NULL; bp = bp->b_cont) { in proto_unitdata_req() 1240 if (DB_TYPE(bp) != M_DATA) in proto_unitdata_req() 1243 size += MBLKL(bp); in proto_unitdata_req() 1253 if ((bp = dls_header(dsp, addr, sap, dlp->dl_priority.dl_max, in proto_unitdata_req() 1267 mac_hcksum_clone(payload, bp); in proto_unitdata_req() 1272 ASSERT(bp->b_cont == NULL); in proto_unitdata_req() 1273 bp->b_cont = payload; in proto_unitdata_req() 1279 if (DLD_TX(dsp, bp, 0, 0) != 0) { in proto_unitdata_req()
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_sdr.c | 421 const ipmi_sdr_cache_ent_t *bp = b; in ipmi_sdr_hash_compare() local 423 if (ap->isc_name == NULL || bp->isc_name == NULL) in ipmi_sdr_hash_compare() 426 if (strcmp(ap->isc_name, bp->isc_name) != 0) in ipmi_sdr_hash_compare() 435 bp->isc_entity_id != IPMI_ET_UNSPECIFIED) { in ipmi_sdr_hash_compare() 436 if (ap->isc_entity_id != bp->isc_entity_id || in ipmi_sdr_hash_compare() 437 ap->isc_entity_inst != bp->isc_entity_inst) in ipmi_sdr_hash_compare()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | zcons.c | 633 mblk_t *bp; in zc_close() local 664 while ((bp = getq(wqp)) != NULL) { in zc_close() 666 putnext(zcs->zc_manager_rdq, bp); in zc_close() 667 else if (bp->b_datap->db_type == M_IOCTL) in zc_close() 668 miocnak(wqp, bp, 0, 0); in zc_close() 670 freemsg(bp); in zc_close()
|
H A D | telmod.c | 209 mblk_t *bp; in telmodopen() local 266 while ((bp = allocb(sizeof (union T_primitives), BPRI_HI)) == NULL) { in telmodopen() 276 bp->b_datap->db_type = M_PROTO; in telmodopen() 277 bp->b_wptr = bp->b_rptr + sizeof (union T_primitives); in telmodopen() 278 tp = (union T_primitives *)bp->b_rptr; in telmodopen() 282 putnext(q, bp); in telmodopen()
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_node.c | 529 struct buf *bp; in pc_nodeupdate() local 549 if (error = pc_getentryblock(pcp, &bp)) { in pc_nodeupdate() 558 *((struct pcdir *)(bp->b_un.b_addr + pcp->pc_eoffset)) = pcp->pc_entry; in pc_nodeupdate() 559 bwrite2(bp); in pc_nodeupdate() 560 error = geterror(bp); in pc_nodeupdate() 561 brelse(bp); in pc_nodeupdate()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | dmu_objset.h | 235 blkptr_t *bp, dmu_objset_type_t type, int levels, int blksz, int ibs, 238 blkptr_t *bp, dmu_objset_type_t type, dmu_tx_t *tx); 239 int dmu_objset_open_impl(spa_t *spa, struct dsl_dataset *ds, blkptr_t *bp,
|
H A D | zil.h | 402 typedef int zil_parse_blk_func_t(zilog_t *zilog, blkptr_t *bp, void *arg, 448 extern void zil_lwb_add_block(struct lwb *lwb, const blkptr_t *bp); 450 extern int zil_bp_tree_add(zilog_t *zilog, const blkptr_t *bp);
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | enum.c | 277 Namval_t *mp,*bp; in lib_init() local 280 bp = sh_addbuiltin("Enum", enum_create, (void*)0); in lib_init() 282 nv_onattr(bp,nv_isattr(mp,NV_PUBLIC)); in lib_init()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/ |
H A D | smartpqi_hba.c | 38 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen, int tgtlen, 451 struct buf *bp, int cmdlen, int statuslen, int tgtlen, int flags, in pqi_init_pkt() argument 526 if (bp != NULL && bp->b_bcount > 0 && in pqi_init_pkt() 532 if ((bp->b_flags & B_READ) != 0) { in pqi_init_pkt() 546 rc = ddi_dma_buf_bind_handle(cmd->pc_dmahdl, bp, in pqi_init_pkt() 559 bioerror(bp, 0); in pqi_init_pkt() 563 bioerror(bp, EFAULT); in pqi_init_pkt() 567 bioerror(bp, EINVAL); in pqi_init_pkt() 601 pkt->pkt_resid = bp->b_bcount - cmd->pc_dma_count; in pqi_init_pkt()
|
/illumos-gate/usr/src/uts/sun/io/eri/ |
H A D | eri.c | 268 mac_hcksum_set(bp, \ 276 bp->b_wptr = bp->b_rptr + \ 297 bp->b_wptr = bp->b_rptr + ETHERHEADER_SIZE + \ 1668 mblk_t *bp; in eri_init_rxbufs() local 3651 mblk_t *bp, *nbp; in eri_read_dma() local 3660 bp = erip->rmblkp[rmdi]; in eri_read_dma() 3701 bp->b_wptr = bp->b_rptr + ERI_FSTBYTE_OFFSET + len; in eri_read_dma() 3710 tail_fcs = bp->b_wptr[0] << 8 | bp->b_wptr[1]; in eri_read_dma() 3711 tail_fcs += bp->b_wptr[2] << 8 | bp->b_wptr[3]; in eri_read_dma() 3800 bp->b_wptr = bp->b_rptr + len; in eri_read_dma() [all …]
|
/illumos-gate/usr/src/uts/common/sys/dktp/ |
H A D | controller.h | 79 #define CTL_MEMSETUP(X, pktp, bp, callback, arg) \ argument 81 (((struct ctl_obj *)(X))->c_data, (pktp), (bp), (callback), (arg))
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_nx.c | 1575 uint8_t *bp, n, *dp; in ql_8021_load_firmware() local 1577 bp = (uint8_t *)(ha->risc_fw[0].code); in ql_8021_load_firmware() 1580 dp[n] = *bp++; in ql_8021_load_firmware() 1588 bp = (uint8_t *)(ha->risc_fw[0].code + flashaddr); in ql_8021_load_firmware() 1592 dp[n] = *bp++; in ql_8021_load_firmware() 1605 dp[n] = *bp++; in ql_8021_load_firmware() 1617 dp[n] = *bp++; in ql_8021_load_firmware() 2306 uint32_t tsize, cnt, *dp, *bp; in ql_8021_get_fw_dump() local 2313 bp = (uint32_t *)ha->dmp_template.bp; in ql_8021_get_fw_dump() 3038 uint32_t cnt, *bp; in ql_8021_md_template_checksum() local [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_objset.c | 430 os->os_rootbp = bp; in dmu_objset_open_impl() 444 ASSERT(BP_IS_AUTHENTICATED(bp)); in dmu_objset_open_impl() 1170 blkptr_t *bp; in dmu_objset_create_sync() local 1182 bp = dsl_dataset_get_blkptr(ds); in dmu_objset_create_sync() 1594 blkptr_t *bp = zio->io_bp; in dmu_objset_write_ready() local 1599 ASSERT(!BP_IS_EMBEDDED(bp)); in dmu_objset_write_ready() 1611 BP_SET_FILL(bp, fill); in dmu_objset_write_ready() 1615 *os->os_rootbp = *bp; in dmu_objset_write_ready() 1624 blkptr_t *bp = zio->io_bp; in dmu_objset_write_done() local 1629 ASSERT(BP_EQUAL(bp, bp_orig)); in dmu_objset_write_done() [all …]
|
H A D | vdev_removal.c | 754 blkptr_t bp = { 0 }; in unalloc_seg() local 757 BP_SET_LSIZE(&bp, size); in unalloc_seg() 758 BP_SET_PSIZE(&bp, size); in unalloc_seg() 759 BP_SET_COMPRESS(&bp, ZIO_COMPRESS_OFF); in unalloc_seg() 760 BP_SET_CHECKSUM(&bp, ZIO_CHECKSUM_OFF); in unalloc_seg() 761 BP_SET_TYPE(&bp, DMU_OT_NONE); in unalloc_seg() 762 BP_SET_LEVEL(&bp, 0); in unalloc_seg() 763 BP_SET_DEDUP(&bp, 0); in unalloc_seg() 767 DVA_SET_OFFSET(&bp.blk_dva[0], in unalloc_seg() 769 DVA_SET_ASIZE(&bp.blk_dva[0], size); in unalloc_seg() [all …]
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | ufs_trans.h | 274 #define TRANS_BUF(ufsvfsp, vof, nb, bp, type) \ argument 276 ldbtob(bp->b_blkno) + (offset_t)(vof), nb, type, \ 277 ufs_trans_push_buf, bp->b_blkno) 279 #define TRANS_BUF_ITEM_128(ufsvfsp, item, base, bp, type) \ argument 281 (((uintptr_t)&(item)) & ~(128 - 1)) - (uintptr_t)(base), 128, bp, type)
|
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/ |
H A D | usbvc.c | 894 bp->b_resid = bp->b_bcount; in usbvc_strategy() 898 bp_mapin(bp); in usbvc_strategy() 923 biodone(bp); in usbvc_strategy() 930 bp->b_private = NULL; in usbvc_strategy() 932 bioerror(bp, EIO); in usbvc_strategy() 933 biodone(bp); in usbvc_strategy() 942 dev_t dev = bp->b_edev; in usbvc_minphys() 955 bp->b_bcount = maxsize; in usbvc_minphys() 2839 bp->b_bcount, bp->b_resid); in usbvc_read_buf() 2847 bp->b_private = NULL; in usbvc_read_buf() [all …]
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac_ioctl.c | 555 struct buf *bp; in aac_send_raw_srb() local 557 bp = ddi_umem_iosetup(cookie, (uintptr_t)usge->addr - \ in aac_send_raw_srb() 560 if (bp == NULL) { in aac_send_raw_srb() 565 if (aac_cmd_dma_alloc(softs, &usge->acp, bp, 0, NULL_FUNC, in aac_send_raw_srb() 625 if (usge->acp.bp) in aac_send_raw_srb() 626 freerbuf(usge->acp.bp); in aac_send_raw_srb()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | char_io.c | 928 char *bp = buffer; in grub_vsprintf() local 938 *bp++ = c; /* putchar(c); */ in grub_vsprintf() 964 *bp++ = *(ptr++); /* putchar(*(ptr++)); */ in grub_vsprintf() 973 *bp++ = (*(dataptr++))&0xff; in grub_vsprintf() 985 *bp++ = c; /* putchar(c); */ in grub_vsprintf() 995 *bp = 0; in grub_vsprintf()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt.h | 722 #define LITTLE_ENDIAN(bp, bytes) argument 727 #define BIG_ENDIAN(bp, bytes) qlt_chg_endian((uint8_t *)bp, bytes) argument 736 #define LITTLE_ENDIAN(bp, bytes) qlt_chg_endian((uint8_t *)bp, bytes) argument 741 #define BIG_ENDIAN(bp, bytes) argument
|
/illumos-gate/usr/src/cmd/ptools/pmap/ |
H A D | pmap_common.c | 48 cmpstacks(const void *ap, const void *bp) in cmpstacks() argument 51 const lwpstack_t *bs = bp; in cmpstacks()
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge.c | 2944 mblk_t *bp; in myri10ge_tx_copy() local 2957 for (len = 0, bp = mp; bp != NULL; bp = bp->b_cont) { in myri10ge_tx_copy() 3010 mblk_t *bp; in myri10ge_copydata() local 3014 bp = mp; in myri10ge_copydata() 3021 bp = bp->b_cont; in myri10ge_copydata() 3030 bp = bp->b_cont; in myri10ge_copydata() 3162 for (bp = mp; bp != NULL; bp = bp->b_cont) { in myri10ge_tx_tso_copy() 3223 for (bp = mp; bp != NULL; bp = bp->b_cont) { in myri10ge_tx_tso_copy() 3387 for (bp = mp; bp != NULL; bp = bp->b_cont) { in myri10ge_send() 3489 for (bp = mp; bp != NULL; bp = bp->b_cont) { in myri10ge_send() [all …]
|