| /dflybsd-src/sys/dev/raid/vinum/ |
| H A D | vinuminterrupt.c | 66 struct buf *bp = bio->bio_buf; in complete_rqe() 128 ubio->bio_buf->b_bcount); in complete_rqe() 190 …dst = (char *) ubio->bio_buf->b_data + (rqe->useroffset << DEV_BSHIFT); /* where to put it in user… in complete_rqe() 214 if (ubio->bio_buf->b_resid != 0) /* still something to transfer? */ in complete_rqe() 221 ubio->bio_buf->b_flags |= B_ERROR; /* yes, propagate to user */ in complete_rqe() 222 ubio->bio_buf->b_error = rq->error; in complete_rqe() 228 ubio->bio_buf->b_resid = 0; /* completed our transfer */ in complete_rqe() 272 sbp = (struct sdbuf *) bio->bio_buf; in sdio_done() 274 sbp->bio->bio_buf->b_flags |= B_ERROR; /* propagate upwards */ in sdio_done() 275 sbp->bio->bio_buf->b_error = sbp->b.b_error; in sdio_done() [all …]
|
| H A D | vinumrequest.c | 129 struct buf *bp = bio->bio_buf; in vinumstrategy() 193 struct buf *bp = bio->bio_buf; in vinumstart() 347 (rq->bio->bio_buf->b_cmd & BUF_CMD_READ) ? "Read" : "Write", in launch_requests() 351 rq->bio->bio_buf->b_bcount); in launch_requests() 362 (rq->bio->bio_buf->b_cmd == BUF_CMD_READ) ? "Read" : "Write", in launch_requests() 366 rq->bio->bio_buf->b_bcount); in launch_requests() 397 rqg->lock = lockrange(rqg->lockbase, rqg->rq->bio->bio_buf, &PLEX[rqg->plexno]); in launch_requests() 485 bp = bio->bio_buf; in bre() 523 if (rq->bio->bio_buf->b_cmd == BUF_CMD_READ) /* read request, */ in bre() 605 if (rq->bio->bio_buf->b_cmd == BUF_CMD_READ) /* read request, */ in bre() [all …]
|
| H A D | vinumdaemon.c | 108 (rq->bio->bio_buf->b_cmd == BUF_CMD_READ) ? "Read" : "Write", in vinum_daemon() 112 rq->bio->bio_buf->b_bcount); in vinum_daemon()
|
| /dflybsd-src/sys/dev/disk/dm/crypt/ |
| H A D | dm_target_crypt.c | 924 KTR_LOG(dmcrypt_bio_read_done, bio->bio_buf); in dmtc_bio_read_done() 930 if (bio->bio_buf->b_flags & B_ERROR) { in dmtc_bio_read_done() 965 bytes = bio->bio_buf->b_bcount; in dmtc_crypto_read_start() 987 dmtc->data_buf = bio->bio_buf->b_data; in dmtc_crypto_read_start() 990 bio->bio_buf->b_error = 0; in dmtc_crypto_read_start() 1002 bytes, sectors, bio, bio->bio_buf->b_cmd); in dmtc_crypto_read_start() 1036 KTR_LOG(dmcrypt_crypto_read_start, crp, bio->bio_buf, i, in dmtc_crypto_read_start() 1073 bio->bio_buf->b_error = crp->crp_etype; in dmtc_crypto_cb_read_done() 1085 KTR_LOG(dmcrypt_crypto_cb_read_done, crp, bio->bio_buf, n); in dmtc_crypto_cb_read_done() 1095 if (bio->bio_buf->b_error) { in dmtc_crypto_cb_read_done() [all …]
|
| /dflybsd-src/sys/dev/disk/dm/dmirror/ |
| H A D | dm_target_dmirror.c | 103 mbp = obio->bio_buf; in dmirror_clone_bio() 131 if (bio->bio_buf->b_flags & B_ERROR) { in dmirror_write_done() 211 if (bio->bio_buf->b_flags & B_ERROR) { in dmirror_read_done() 220 bio->bio_buf->b_flags &= ~(B_ERROR | B_INVAL); in dmirror_read_done()
|
| /dflybsd-src/sys/dev/raid/ips/ |
| H A D | ips_commands.c | 94 bio->bio_buf->b_flags |=B_ERROR; in ips_io_request_finish() 95 bio->bio_buf->b_error = EIO; in ips_io_request_finish() 110 struct buf *bp = bio->bio_buf; in ips_io_request_callback() 188 bio->bio_buf->b_flags |= B_ERROR; in ips_flush_request_finish() 189 bio->bio_buf->b_error = EIO; in ips_flush_request_finish() 226 struct buf *bp = bio->bio_buf; in ips_send_io_request() 249 if (bio->bio_buf->b_cmd == BUF_CMD_FLUSH) in ips_start_io_request()
|
| /dflybsd-src/sys/bus/cam/scsi/ |
| H A D | scsi_pt.c | 213 struct buf *bp = bio->bio_buf; in ptstrategy() 363 q_bp = q_bio->bio_buf; in ptoninvalidate() 470 bp = bio->bio_buf; in ptstart() 522 bp = bio->bio_buf; in ptdone() 561 q_bp = q_bio->bio_buf; in ptdone()
|
| /dflybsd-src/sys/dev/disk/xdisk/ |
| H A D | xdisk.c | 900 bp = bio->bio_buf; in xa_start() 966 (tag->bio->bio_buf->b_flags & B_FAILONDIS) == 0) { in xa_start() 1032 struct buf *bp = bio->bio_buf; in xa_release() 1155 bp = bio->bio_buf; in xa_bio_completion() 1252 if (bio->bio_buf->b_flags & B_FAILONDIS) { in xa_bio_completion() 1254 bio->bio_buf); in xa_bio_completion() 1255 bio->bio_buf->b_error = ENXIO; in xa_bio_completion() 1256 bio->bio_buf->b_flags |= B_ERROR; in xa_bio_completion() 1261 bio->bio_buf); in xa_bio_completion()
|
| /dflybsd-src/sys/dev/disk/mmcsd/ |
| H A D | mmcsd.c | 234 q_bp = q_bio->bio_buf; in mmcsd_detach() 302 struct buf *bp = bio->bio_buf; in mmcsd_strategy() 330 struct buf *bp = bio->bio_buf; in mmcsd_rw() 391 struct buf *bp = bio->bio_buf; in mmcsd_delete() 523 bp = bio->bio_buf; in mmcsd_task()
|
| /dflybsd-src/sys/kern/ |
| H A D | vfs_bio.c | 721 bp->b_bio1.bio_buf = bp; in initbufbio() 728 bp->b_bio2.bio_buf = bp; in initbufbio() 773 int index = bio - &bio->bio_buf->b_bio_array[0]; in push_bio() 776 index, bio->bio_buf); in push_bio() 778 nbio = &bio->bio_buf->b_bio_array[index + 1]; in push_bio() 781 nbio->bio_buf = bio->bio_buf; in push_bio() 3254 struct buf *bp = bio->bio_buf; in _biowait() 3317 dsched_buf_enter(bio->bio_buf); /* might stack */ in bio_start_transaction() 3351 struct buf *bp = bio->bio_buf; in vn_strategy() 3405 struct buf *bp = bio->bio_buf; in vn_cache_strategy() [all …]
|
| H A D | kern_device.c | 359 struct buf *bp = bio->bio_buf; in dev_dstrategy() 395 struct buf *bp = bio->bio_buf; in dev_dstrategy_chain() 757 bio->bio_buf->b_flags |= B_ERROR; in nostrategy() 758 bio->bio_buf->b_error = EOPNOTSUPP; in nostrategy()
|
| H A D | subr_disk.c | 1233 bio->bio_buf->b_error = ENXIO; in diskstrategy() 1234 bio->bio_buf->b_flags |= B_ERROR; in diskstrategy() 1362 if (bio->bio_buf->b_flags & B_ORDERED) { in bioqdisksort() 1368 switch(bio->bio_buf->b_cmd) { in bioqdisksort() 1444 n = bio->bio_buf->b_bcount; in bioqwritereorder() 1461 struct buf *bp = bio->bio_buf; in bounds_check_with_mediasize() 1502 struct buf *bp = bio->bio_buf; in diskerr()
|
| /dflybsd-src/sys/vfs/nfs/ |
| H A D | nfs_bio.c | 941 struct buf *bp = bio->bio_buf; in nfs_asyncio() 981 struct buf *bp = bio->bio_buf; in nfs_startio() 1051 struct buf *bp = bio->bio_buf; in nfs_doio() 1074 error = biowait(&bio->bio_buf->b_bio1, "nfsrsw"); in nfs_doio() 1324 bpdone(bio->bio_buf, 0); in nfsiodone_sync() 1333 struct buf *bp = bio->bio_buf; in nfs_readrpc_bio() 1381 struct buf *bp = bio->bio_buf; in nfs_readrpc_bio_done() 1450 struct buf *bp = bio->bio_buf; in nfs_writerpc_bio() 1535 struct buf *bp = bio->bio_buf; in nfs_writerpc_bio_done() 1682 struct buf *bp = bio->bio_buf; in nfs_commitrpc_bio() [all …]
|
| /dflybsd-src/sys/vfs/hammer/ |
| H A D | hammer_io.c | 1469 bp = bio->bio_buf; in hammer_io_direct_read() 1543 bp = bio->bio_buf; in hammer_io_indirect_read() 1624 struct buf *bp = bio->bio_buf; in hammer_indirect_callback() 1649 obp = obio->bio_buf; in hammer_indirect_callback() 1710 KKASSERT(bio->bio_buf->b_cmd == BUF_CMD_WRITE); in hammer_io_direct_write() 1731 bp = bio->bio_buf; in hammer_io_direct_write() 1771 bp = bio->bio_buf; in hammer_io_direct_write() 1789 bp = bio->bio_buf; in hammer_io_direct_write() 1826 bp = nbio->bio_buf; in hammer_io_direct_write_complete()
|
| /dflybsd-src/sys/dev/virtual/virtio/block/ |
| H A D | virtio_blk.c | 461 struct buf *bp = bio->bio_buf; in vtblk_strategy() 733 bp = bio->bio_buf; in vtblk_bio_request() 766 bp = bio->bio_buf; in vtblk_execute_request() 825 bp = bio->bio_buf; in vtblk_vq_intr() 838 devstat_end_transaction_buf(&sc->stats, bio->bio_buf); in vtblk_vq_intr() 922 bio.bio_buf = &bp; in vtblk_write_dump() 947 bio.bio_buf = &bp; in vtblk_flush_dump()
|
| /dflybsd-src/sys/dev/disk/md/ |
| H A D | md.c | 179 struct buf *bp = bio->bio_buf; in mdstrategy() 206 struct buf *bp = bio->bio_buf; in mdstrategy_malloc() 239 bp = bio->bio_buf; in mdstrategy_malloc() 349 struct buf *bp = bio->bio_buf; in mdstrategy_preload()
|
| /dflybsd-src/sys/dev/disk/ccd/ |
| H A D | ccd.c | 788 struct buf *bp = bio->bio_buf; in ccdstrategy() 867 struct buf *bp = bio->bio_buf; in ccdstart() 1061 cbp->cb_buf.b_cmd = bio->bio_buf->b_cmd; in ccdbuffer() 1062 cbp->cb_buf.b_flags |= bio->bio_buf->b_flags; in ccdbuffer() 1102 cbp->cb_buf.b_cmd = bio->bio_buf->b_cmd; in ccdbuffer() 1103 cbp->cb_buf.b_flags |= bio->bio_buf->b_flags; in ccdbuffer() 1137 struct buf *bp = bio->bio_buf; in ccdintr() 1163 struct buf *obp = obio->bio_buf; in ccdiodone()
|
| /dflybsd-src/sys/vfs/mfs/ |
| H A D | mfs_vfsops.c | 154 struct buf *bp = bio->bio_buf; in mfsstrategy() 457 bp = bio->bio_buf; in mfs_start() 538 struct buf *bp = bio->bio_buf; in mfs_doio()
|
| /dflybsd-src/usr.sbin/makefs/hammer2/ |
| H A D | hammer2_strategy.c | 102 bp = biop->bio_buf; in hammer2_vop_strategy() 160 bp = bio->bio_buf; in hammer2_decompress_LZ4_callback() 210 bp = bio->bio_buf; in hammer2_decompress_ZLIB_callback() 354 bp = bio->bio_buf; in hammer2_xop_strategy_read() 425 struct m_buf *bp = bio->bio_buf; in hammer2_strategy_read_completion() 587 bp = bio->bio_buf; /* ephermal */ in hammer2_xop_strategy_write() 651 bp = bio->bio_buf; /* now owned by us */ in hammer2_xop_strategy_write()
|
| /dflybsd-src/sys/dev/raid/amr/ |
| H A D | amr_disk.c | 171 struct buf *bp = bio->bio_buf; in amrd_strategy() 200 struct buf *bp = bio->bio_buf; in amrd_intr()
|
| /dflybsd-src/sys/vfs/hammer2/ |
| H A D | hammer2_strategy.c | 97 bp = biop->bio_buf; in hammer2_vop_strategy() 152 bp = bio->bio_buf; in hammer2_decompress_LZ4_callback() 200 bp = bio->bio_buf; in hammer2_decompress_ZLIB_callback() 342 bp = bio->bio_buf; in hammer2_xop_strategy_read() 408 struct buf *bp = bio->bio_buf; in hammer2_strategy_read_completion() 566 bp = bio->bio_buf; /* ephermal */ in hammer2_xop_strategy_write() 630 bp = bio->bio_buf; /* now owned by us */ in hammer2_xop_strategy_write()
|
| /dflybsd-src/sys/dev/disk/dm/striped/ |
| H A D | dm_target_striped.c | 237 bp = bio->bio_buf; in dm_target_stripe_iodone() 327 nestbuf->b_flags |= bio->bio_buf->b_flags & B_HASBOGUS; in dm_target_stripe_strategy() 351 nestbuf->b_flags |= bio->bio_buf->b_flags & B_HASBOGUS; in dm_target_stripe_strategy()
|
| /dflybsd-src/sys/dev/raid/ida/ |
| H A D | ida_disk.c | 149 struct buf *bp = bio->bio_buf; in idad_strategy() 217 struct buf *bp = bio->bio_buf; in idad_intr()
|
| /dflybsd-src/sys/dev/raid/mlx/ |
| H A D | mlx_disk.c | 160 struct buf *bp = bio->bio_buf; in mlxd_strategy() 195 struct buf *bp = bio->bio_buf; in mlxd_intr()
|
| /dflybsd-src/sys/dev/disk/dm/ |
| H A D | device-mapper.c | 370 struct buf *bp = bio->bio_buf; in dmstrategy() 443 nestbuf->b_flags |= bio->bio_buf->b_flags & B_HASBOGUS; in dmstrategy() 450 nestbuf->b_flags |= bio->bio_buf->b_flags & B_HASBOGUS; in dmstrategy()
|