/freebsd/sys/dev/nvme/ |
H A D | nvme_ns.c | 148 bp->bio_resid = bp->bio_bcount; in nvme_ns_strategy_done() 167 bp->bio_resid = bp->bio_bcount; in nvme_ns_strategy() 273 bp->bio_resid = bp->bio_bcount; in nvme_ns_bio_done() 388 *num_bios = nvme_get_num_segments(bp->bio_offset, bp->bio_bcount, in nvme_construct_child_bios() 397 rem_bcount = bp->bio_bcount; in nvme_construct_child_bios() 407 child->bio_bcount = min(rem_bcount, in nvme_construct_child_bios() 415 child->bio_bcount, PAGE_SIZE); in nvme_construct_child_bios() 416 ma_offset = (ma_offset + child->bio_bcount) & in nvme_construct_child_bios() 423 data += child->bio_bcount; in nvme_construct_child_bios() 425 cur_offset += child->bio_bcount; in nvme_construct_child_bios() [all …]
|
H A D | nvme_ns_cmd.c | 62 lba_count = bp->bio_bcount / nvme_ns_get_sector_size(ns); in nvme_ns_cmd_read_bio() 100 lba_count = bp->bio_bcount / nvme_ns_get_sector_size(ns); in nvme_ns_cmd_write_bio()
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf_ns.c | 97 bio->bio_resid = bio->bio_bcount; in nvmf_ns_biodone() 130 KASSERT(xfered <= bio->bio_bcount, in nvmf_ns_io_complete() 134 bio->bio_resid = bio->bio_bcount - xfered; in nvmf_ns_io_complete() 145 bio->bio_resid = bio->bio_bcount; in nvmf_ns_delete_complete() 183 lba_count = bio->bio_bcount / ns->lba_size; in nvmf_ns_submit_bio() 188 lba_count = bio->bio_bcount / ns->lba_size; in nvmf_ns_submit_bio() 200 lba_count = bio->bio_bcount / ns->lba_size; in nvmf_ns_submit_bio() 239 nvmf_capsule_append_data(req->nc, &mem, bio->bio_bcount, in nvmf_ns_submit_bio() 315 bio->bio_resid = bio->bio_bcount; in nvmf_ns_strategy() 450 bio->bio_resid = bio->bio_bcount; in nvmf_shutdown_ns() [all …]
|
/freebsd/sys/dev/altera/sdcard/ |
H A D | altera_sdcard_io.c | 309 bp->bio_bcount); in altera_sdcard_io_start_internal() 334 KASSERT(bp->bio_bcount == ALTERA_SDCARD_SECTORSIZE, in altera_sdcard_io_start() 403 bp->bio_pblkno, bp->bio_bcount, asr, rr1, in altera_sdcard_io_complete() 423 bp->bio_pblkno, bp->bio_bcount, in altera_sdcard_io_complete() 430 bp->bio_bcount); in altera_sdcard_io_complete()
|
/freebsd/sys/dev/cfi/ |
H A D | cfi_disk.c | 189 resid = bp->bio_bcount; in cfi_disk_read() 228 resid = bp->bio_bcount; in cfi_disk_write() 318 if (bp->bio_bcount == 0) { in cfi_disk_strategy() 319 bp->bio_resid = bp->bio_bcount; in cfi_disk_strategy()
|
/freebsd/sys/dev/firewire/ |
H A D | fwmem.c | 337 bp->bio_resid = bp->bio_bcount; in fwmem_biodone() 366 iolen = MIN(bp->bio_bcount, MAXLEN); in fwmem_strategy() 395 bp->bio_resid = bp->bio_bcount - iolen; in fwmem_strategy() 402 bp->bio_resid = bp->bio_bcount; in fwmem_strategy()
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_flash.c | 303 bp->bio_bcount); in opalflash_task() 307 bp->bio_data, bp->bio_bcount); in opalflash_task() 311 bp->bio_data, bp->bio_bcount); in opalflash_task()
|
/freebsd/tools/debugscripts/ |
H A D | gdbinit.kernel | 21 $bp->b_io.bio_bcount, \ 28 $bp->b_io.bio_bcount, \ 74 printf "\nb_io.bio_bcount: " 75 output $bp->b_io.bio_bcount 161 printf "\n b_io.bio_bcount " 162 output/x bp->b_io.bio_bcount
|
/freebsd/sys/kern/ |
H A D | subr_disk.c | 59 if (bp->bio_bcount <= DEV_BSIZE) { in disk_err() 68 (intmax_t)(bp->bio_pblkno + (bp->bio_bcount - 1) / DEV_BSIZE)); in disk_err()
|
H A D | kern_physio.c | 148 bp->bio_bcount = bp->bio_length; in physio()
|
/freebsd/sys/dev/aac/ |
H A D | aac_disk.c | 156 if (bp->bio_bcount == 0) { in aac_disk_strategy() 157 bp->bio_resid = bp->bio_bcount; in aac_disk_strategy() 339 bp->bio_resid = bp->bio_bcount; in aac_biodone()
|
/freebsd/sys/dev/pst/ |
H A D | pst-raid.c | 258 request->bp->bio_resid = request->bp->bio_bcount - reply->donecount; in pst_done() 300 msg->bytecount = request->bp->bio_bcount; in pst_rw() 304 request->bp->bio_bcount, sgl_flag)) in pst_rw()
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_pt.c | 195 bp->bio_resid = bp->bio_bcount; in ptstrategy() 443 bp->bio_bcount, in ptstart() 522 bp->bio_resid = bp->bio_bcount; in ptdone()
|
/freebsd/sys/cam/ata/ |
H A D | ata_da.c | 2001 int count = bp->bio_bcount / softc->params.secsize; in ada_dsmtrim_req_create() 2044 if (bp->bio_bcount / softc->params.secsize > in ada_dsmtrim_req_create() 2105 uint16_t count = bp->bio_bcount / softc->params.secsize; in ada_cfaerase() 2259 bp->bio_bcount = bp->bio_length; in ada_zone_cmd() 2361 uint16_t count = bp->bio_bcount / softc->params.secsize; in adastart() 2416 round_page(bp->bio_bcount + bp->bio_ma_offset) / in adastart() 2425 bp->bio_bcount, in adastart() 2780 bp->bio_resid = bp->bio_bcount; in adazonedone() 2803 bp->bio_resid = bp->bio_bcount; in adazonedone() 2814 bp->bio_resid = bp->bio_bcount; in adazonedone() [all …]
|
/freebsd/sys/dev/mfi/ |
H A D | mfi_disk.c | 269 bio->bio_resid = bio->bio_bcount; in mfi_disk_strategy() 305 bio->bio_resid = bio->bio_bcount; in mfi_disk_complete()
|
/freebsd/sys/cam/nvme/ |
H A D | nvme_da.c | 275 count = bp->bio_bcount / softc->disk->d_sectorsize; in nda_nvme_rw_bio() 282 bp->bio_bcount, /* dxfer_len */ in nda_nvme_rw_bio() 1065 round_page(bp->bio_bcount + bp->bio_ma_offset) / in ndastart() 1106 htole32(bp1->bio_bcount / softc->disk->d_sectorsize); in ndastart() 1205 bp->bio_resid = bp->bio_bcount; in ndadone() 1255 bp2->bio_resid = bp1->bio_bcount; in ndadone()
|
/freebsd/sys/dev/flash/ |
H A D | n25q.c | 452 bp->bio_data, bp->bio_bcount); in n25q_task() 456 bp->bio_data, bp->bio_bcount); in n25q_task()
|
H A D | mx25l.c | 655 bp->bio_data, bp->bio_bcount); in mx25l_task() 659 bp->bio_data, bp->bio_bcount); in mx25l_task()
|
/freebsd/sys/powerpc/ps3/ |
H A D | ps3disk.c | 365 bp->bio_resid = bp->bio_bcount; in ps3disk_strategy() 380 if (bp->bio_bcount % sc->sc_blksize != 0) { in ps3disk_strategy() 387 bp->bio_bcount, ps3disk_transfer, bp, 0); in ps3disk_strategy()
|
/freebsd/sys/sys/ |
H A D | bio.h | 92 long bio_bcount; /* Valid bytes in buffer. */ member
|
/freebsd/sys/dev/mmc/ |
H A D | mmcsd.c | 1180 end = bp->bio_pblkno + (bp->bio_bcount / sz); in mmcsd_rw() 1254 end = bp->bio_pblkno + (bp->bio_bcount / sz); in mmcsd_delete() 1400 bp.bio_bcount = length; in mmcsd_dump() 1403 end = bp.bio_pblkno + bp.bio_bcount / disk->d_sectorsize; in mmcsd_dump() 1454 bp->bio_resid = bp->bio_bcount; in mmcsd_task() 1462 end = bp->bio_pblkno + (bp->bio_bcount / sz); in mmcsd_task()
|
/freebsd/sys/dev/ida/ |
H A D | ida_disk.c | 120 bp->bio_resid = bp->bio_bcount; in idad_strategy()
|
/freebsd/sys/dev/nvd/ |
H A D | nvd.c | 211 bp->bio_resid = bp->bio_bcount; in nvd_bio_submit() 259 bp->bio_resid = bp->bio_bcount; in nvd_gone()
|
/freebsd/sys/dev/mlx/ |
H A D | mlx_disk.c | 178 bp->bio_resid = bp->bio_bcount; in mlxd_strategy()
|
/freebsd/sys/powerpc/mambo/ |
H A D | mambo_disk.c | 219 end = bp->bio_pblkno + (bp->bio_bcount / sz); in mambodisk_task()
|