Home
last modified time | relevance | path

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

123

/freebsd-11-stable/sys/dev/nvme/
HDnvme_ns.c136 bp->bio_resid = bp->bio_bcount; in nvme_ns_strategy_done()
155 bp->bio_resid = bp->bio_bcount; in nvme_ns_strategy()
248 bp->bio_resid = bp->bio_bcount; in nvme_ns_bio_done()
360 *num_bios = nvme_get_num_segments(bp->bio_offset, bp->bio_bcount, in nvme_construct_child_bios()
369 rem_bcount = bp->bio_bcount; in nvme_construct_child_bios()
379 child->bio_bcount = min(rem_bcount, in nvme_construct_child_bios()
387 child->bio_bcount, PAGE_SIZE); in nvme_construct_child_bios()
388 ma_offset = (ma_offset + child->bio_bcount) & in nvme_construct_child_bios()
395 data += child->bio_bcount; in nvme_construct_child_bios()
397 cur_offset += child->bio_bcount; in nvme_construct_child_bios()
[all …]
HDnvme_ns_cmd.c65 lba_count = bp->bio_bcount / nvme_ns_get_sector_size(ns); in nvme_ns_cmd_read_bio()
105 lba_count = bp->bio_bcount / nvme_ns_get_sector_size(ns); in nvme_ns_cmd_write_bio()
/freebsd-11-stable/sys/dev/nand/
HDnand_geom.c326 bp->bio_data, bp->bio_bcount); in nand_io_proc()
330 bp->bio_data, bp->bio_bcount); in nand_io_proc()
336 bp->bio_data, bp->bio_bcount); in nand_io_proc()
340 bp->bio_data, bp->bio_bcount); in nand_io_proc()
348 bp->bio_bcount); in nand_io_proc()
351 bp->bio_bcount); in nand_io_proc()
362 bp->bio_resid = bp->bio_bcount; in nand_io_proc()
458 bp->bio_resid = bp->bio_bcount; in destroy_geom_disk()
HDnand_cdev.c245 bp->bio_data, bp->bio_bcount); in nand_strategy()
249 bp->bio_data, bp->bio_bcount); in nand_strategy()
257 bp->bio_resid = bp->bio_bcount; in nand_strategy()
/freebsd-11-stable/sys/dev/altera/sdcard/
HDaltera_sdcard_io.c306 bp->bio_bcount); in altera_sdcard_io_start_internal()
331 KASSERT(bp->bio_bcount == ALTERA_SDCARD_SECTORSIZE, in altera_sdcard_io_start()
400 bp->bio_pblkno, bp->bio_bcount, asr, rr1, in altera_sdcard_io_complete()
420 bp->bio_pblkno, bp->bio_bcount, in altera_sdcard_io_complete()
427 bp->bio_bcount); in altera_sdcard_io_complete()
/freebsd-11-stable/sys/dev/cfi/
HDcfi_disk.c190 resid = bp->bio_bcount; in cfi_disk_read()
229 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-11-stable/sys/dev/firewire/
HDfwmem.c335 bp->bio_resid = bp->bio_bcount; in fwmem_biodone()
364 iolen = MIN(bp->bio_bcount, MAXLEN); in fwmem_strategy()
393 bp->bio_resid = bp->bio_bcount - iolen; in fwmem_strategy()
400 bp->bio_resid = bp->bio_bcount; in fwmem_strategy()
/freebsd-11-stable/tools/debugscripts/
HDgdbinit.kernel22 $bp->b_io.bio_bcount, \
29 $bp->b_io.bio_bcount, \
75 printf "\nb_io.bio_bcount: "
76 output $bp->b_io.bio_bcount
162 printf "\n b_io.bio_bcount "
163 output/x bp->b_io.bio_bcount
/freebsd-11-stable/sys/kern/
HDsubr_disk.c54 if (bp->bio_bcount <= DEV_BSIZE) { in disk_err()
63 (intmax_t)(bp->bio_pblkno + (bp->bio_bcount - 1) / DEV_BSIZE)); in disk_err()
HDsubr_bus_dma.c145 bio->bio_bcount)); in _bus_dmamap_load_bio()
150 bio->bio_bcount, bio->bio_ma_offset, flags, NULL, nsegs)); in _bus_dmamap_load_bio()
153 bio->bio_bcount, kernel_pmap, flags, NULL, nsegs)); in _bus_dmamap_load_bio()
/freebsd-11-stable/sys/dev/aac/
HDaac_disk.c158 if (bp->bio_bcount == 0) { in aac_disk_strategy()
159 bp->bio_resid = bp->bio_bcount; in aac_disk_strategy()
336 bp->bio_resid = bp->bio_bcount; in aac_biodone()
/freebsd-11-stable/sys/cam/nvme/
HDnvme_da.c241 count = bp->bio_bcount / softc->disk->d_sectorsize; in nda_nvme_rw_bio()
248 bp->bio_bcount, /* dxfer_len */ in nda_nvme_rw_bio()
897 round_page(bp->bio_bcount + bp->bio_ma_offset) / in ndastart()
911 bp->bio_bcount / softc->disk->d_sectorsize; in ndastart()
991 bp->bio_resid = bp->bio_bcount; in ndadone()
1024 bp1->bio_resid = bp1->bio_bcount; in ndadone()
/freebsd-11-stable/sys/dev/pst/
HDpst-raid.c250 request->bp->bio_resid = request->bp->bio_bcount - reply->donecount; in pst_done()
292 msg->bytecount = request->bp->bio_bcount; in pst_rw()
296 request->bp->bio_bcount, sgl_flag)) in pst_rw()
/freebsd-11-stable/sys/cam/ata/
HData_da.c1896 int count = bp->bio_bcount / softc->params.secsize; in ada_dsmtrim_req_create()
1937 if (bp->bio_bcount / softc->params.secsize > in ada_dsmtrim_req_create()
1995 uint16_t count = bp->bio_bcount / softc->params.secsize; in ada_cfaerase()
2149 bp->bio_bcount = bp->bio_length; in ada_zone_cmd()
2251 uint16_t count = bp->bio_bcount / softc->params.secsize; in adastart()
2306 round_page(bp->bio_bcount + bp->bio_ma_offset) / in adastart()
2315 bp->bio_bcount, in adastart()
2649 bp->bio_resid = bp->bio_bcount; in adazonedone()
2672 bp->bio_resid = bp->bio_bcount; in adazonedone()
2683 bp->bio_resid = bp->bio_bcount; in adazonedone()
[all …]
/freebsd-11-stable/sys/cam/scsi/
HDscsi_pt.c198 bp->bio_resid = bp->bio_bcount; in ptstrategy()
446 bp->bio_bcount, in ptstart()
525 bp->bio_resid = bp->bio_bcount; in ptdone()
HDscsi_sa.c902 bp->bio_resid = bp->bio_bcount; in sastrategy()
950 if (bp->bio_bcount == 0) { in sastrategy()
963 ((bp->bio_bcount & softc->blk_mask) != 0)) || in sastrategy()
965 ((bp->bio_bcount % softc->min_blk) != 0))) { in sastrategy()
973 } else if ((bp->bio_bcount > softc->max_blk) || in sastrategy()
974 (bp->bio_bcount < softc->min_blk) || in sastrategy()
975 (bp->bio_bcount & softc->blk_mask) != 0) { in sastrategy()
997 ("sastrategy: queuing a %ld %s byte %s\n", bp->bio_bcount, in sastrategy()
2617 bp->bio_resid = bp->bio_bcount; in sastart()
2684 length = bp->bio_bcount; in sastart()
[all …]
HDscsi_da.c2918 bp->bio_bcount = bp->bio_length; in da_zone_cmd()
3075 /*block_count*/bp->bio_bcount / in dastart()
3078 /*dxfer_len*/ bp->bio_bcount, in dastart()
3692 count = bp1->bio_bcount / softc->params.secsize; in da_delete_unmap()
3757 totalcount + bp1->bio_bcount / in da_delete_unmap()
3808 count = bp1->bio_bcount / softc->params.secsize; in da_delete_trim()
3852 if (bp1->bio_bcount / softc->params.secsize > in da_delete_trim()
3896 count += bp1->bio_bcount / softc->params.secsize; in da_delete_ws()
3909 count + bp1->bio_bcount / in da_delete_ws()
4086 bp->bio_resid = bp->bio_bcount; in dazonedone()
[all …]
/freebsd-11-stable/sys/dev/mfi/
HDmfi_disk.c269 bio->bio_resid = bio->bio_bcount; in mfi_disk_strategy()
310 bio->bio_resid = bio->bio_bcount; in mfi_disk_complete()
/freebsd-11-stable/sys/powerpc/ps3/
HDps3disk.c367 bp->bio_resid = bp->bio_bcount; in ps3disk_strategy()
382 if (bp->bio_bcount % sc->sc_blksize != 0) { in ps3disk_strategy()
389 bp->bio_bcount, ps3disk_transfer, bp, 0); in ps3disk_strategy()
/freebsd-11-stable/sys/sys/
HDbio.h89 long bio_bcount; /* Valid bytes in buffer. */ member
/freebsd-11-stable/sys/dev/mmc/
HDmmcsd.c1188 end = bp->bio_pblkno + (bp->bio_bcount / sz); in mmcsd_rw()
1262 end = bp->bio_pblkno + (bp->bio_bcount / sz); in mmcsd_delete()
1409 bp.bio_bcount = length; in mmcsd_dump()
1412 end = bp.bio_pblkno + bp.bio_bcount / disk->d_sectorsize; in mmcsd_dump()
1462 bp->bio_resid = bp->bio_bcount; in mmcsd_task()
1470 end = bp->bio_pblkno + (bp->bio_bcount / sz); in mmcsd_task()
/freebsd-11-stable/sys/dev/nvd/
HDnvd.c206 bp->bio_resid = bp->bio_bcount; in nvd_bio_submit()
254 bp->bio_resid = bp->bio_bcount; in nvd_gone()
/freebsd-11-stable/sys/dev/ida/
HDida_disk.c115 bp->bio_resid = bp->bio_bcount; in idad_strategy()
/freebsd-11-stable/sys/dev/amr/
HDamr_disk.c180 bio->bio_resid = bio->bio_bcount; in amrd_strategy()
/freebsd-11-stable/sys/dev/mlx/
HDmlx_disk.c175 bp->bio_resid = bp->bio_bcount; in mlxd_strategy()

123