Home
last modified time | relevance | path

Searched refs:bio_bcount (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/sys/dev/nvme/
H A Dnvme_ns.c148 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 Dnvme_ns_cmd.c62 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 Dnvmf_ns.c97 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 Daltera_sdcard_io.c309 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 Dcfi_disk.c189 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 Dfwmem.c337 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 Dopal_flash.c303 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 Dgdbinit.kernel21 $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 Dsubr_disk.c59 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 Dkern_physio.c148 bp->bio_bcount = bp->bio_length; in physio()
/freebsd/sys/dev/aac/
H A Daac_disk.c156 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 Dpst-raid.c258 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 Dscsi_pt.c195 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 Data_da.c2001 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 Dmfi_disk.c269 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 Dnvme_da.c275 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 Dn25q.c452 bp->bio_data, bp->bio_bcount); in n25q_task()
456 bp->bio_data, bp->bio_bcount); in n25q_task()
H A Dmx25l.c655 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 Dps3disk.c365 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 Dbio.h92 long bio_bcount; /* Valid bytes in buffer. */ member
/freebsd/sys/dev/mmc/
H A Dmmcsd.c1180 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 Dida_disk.c120 bp->bio_resid = bp->bio_bcount; in idad_strategy()
/freebsd/sys/dev/nvd/
H A Dnvd.c211 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 Dmlx_disk.c178 bp->bio_resid = bp->bio_bcount; in mlxd_strategy()
/freebsd/sys/powerpc/mambo/
H A Dmambo_disk.c219 end = bp->bio_pblkno + (bp->bio_bcount / sz); in mambodisk_task()

123