/freebsd/sys/geom/vinum/ |
H A D | geom_vinum_plex.c | 63 addr = bp->bio_data; in gv_plex_start() 275 cbp->bio_data = addr; in gv_plex_normal_request() 288 g_free(bp->bio_data); in gv_plex_normal_request() 354 wp->data[i] ^= bp->bio_data[i]; in gv_plex_raid5_done() 389 cbp->bio_data[i] ^= bp->bio_data[i]; in gv_plex_raid5_done() 446 g_free(bp->bio_data); in gv_plex_raid5_done() 473 if (bp->bio_data[i] != pbp->bio_data[i]) { in gv_check_parity() 518 cbp->bio_data[i] ^= pbp->bio_data[i]; in gv_normal_parity() 587 bp->bio_data = data; in gv_sync_request() 623 BIO_WRITE, bp->bio_data); in gv_sync_complete() [all …]
|
H A D | geom_vinum_raid5.c | 92 g_free(wp->waiting->bio_data); in gv_raid5_start() 98 g_free(wp->parity->bio_data); in gv_raid5_start() 119 g_free(cbp->bio_data); in gv_raid5_start() 128 g_free(bp->bio_data); in gv_raid5_start() 500 bcopy(addr, cbp->bio_data, wp->length); in gv_raid5_request() 649 cbp->bio_data = g_malloc(wp->length, M_WAITOK | M_ZERO); in gv_raid5_clone_bio() 652 cbp->bio_data = addr; in gv_raid5_clone_bio()
|
/freebsd/sys/geom/journal/ |
H A D | g_journal.c | 664 gj_free(bp->bio_data, bp->bio_length); in g_journal_metadata_done() 708 bp->bio_data = sector; in g_journal_metadata_update() 747 strlcpy(bp->bio_data, bp->bio_to->name, bp->bio_length); in g_journal_start() 786 bp->bio_data = NULL; in g_journal_new_bio() 788 bp->bio_data = gj_malloc(bp->bio_length, flags); in g_journal_new_bio() 789 if (bp->bio_data != NULL) in g_journal_new_bio() 790 bcopy(data, bp->bio_data, bp->bio_length); in g_journal_new_bio() 798 (bp)->bio_data, flags) 881 if (cbp->bio_data != NULL) { in g_journal_insert() 882 gj_free(cbp->bio_data, cend - cstart); in g_journal_insert() [all …]
|
/freebsd/sys/geom/shsec/ |
H A D | g_shsec.c | 262 bcopy(bp->bio_data, pbp->bio_data, pbp->bio_length); in g_shsec_done() 265 g_shsec_xor1((uint32_t *)bp->bio_data, in g_shsec_done() 266 (uint32_t *)pbp->bio_data, in g_shsec_done() 270 if (bp->bio_data != NULL) { in g_shsec_done() 271 explicit_bzero(bp->bio_data, bp->bio_length); in g_shsec_done() 272 uma_zfree(g_shsec_zone, bp->bio_data); in g_shsec_done() 353 cbp->bio_data = uma_zalloc(g_shsec_zone, M_NOWAIT); in g_shsec_start() 354 if (cbp->bio_data == NULL) { in g_shsec_start() 361 dst = (uint32_t *)cbp->bio_data; in g_shsec_start() 362 bcopy(bp->bio_data, dst, len); in g_shsec_start() [all …]
|
/freebsd/sys/geom/eli/ |
H A D | g_eli_integrity.c | 196 dstdata = bp->bio_data; in g_eli_auth_read_done() 343 cbp->bio_data = bp->bio_driver2; in g_eli_auth_write_done() 353 cbp2->bio_data = cbp->bio_data + maxphys; in g_eli_auth_write_done() 407 cbp->bio_data = bp->bio_driver2; in g_eli_auth_read() 421 cbp2->bio_data = cbp->bio_data + maxphys; in g_eli_auth_read() 478 plaindata = bp->bio_data; in g_eli_auth_run()
|
H A D | g_eli_privacy.c | 183 cbp->bio_data = bp->bio_driver2; in g_eli_crypto_write_done() 301 bcopy(bp->bio_data, data, bp->bio_length); in g_eli_crypto_run() 307 data = bp->bio_data; in g_eli_crypto_run()
|
/freebsd/sys/dev/cfi/ |
H A D | cfi_disk.c | 191 uint8_t *dp = (uint8_t *)bp->bio_data; in cfi_disk_read() 197 uint16_t *dp = (uint16_t *)bp->bio_data; in cfi_disk_read() 203 uint32_t *dp = (uint32_t *)bp->bio_data; in cfi_disk_read() 251 bcopy(bp->bio_data, in cfi_disk_write() 303 bcopy(&dev, bp->bio_data, sizeof(dev)); in cfi_disk_getattr()
|
/freebsd/sys/geom/ |
H A D | geom_disk.c | 181 gkd = (struct g_kerneldump*)bp->bio_data; in g_disk_kerneldump() 205 memcpy(&sc->state, bp->bio_data, sizeof(sc->state)); in g_disk_setstate() 243 kmsan_check(bp2->bio_data, bp2->bio_completed, "g_disk_done"); in g_disk_done() 308 seg = (bus_dma_segment_t *)bp->bio_data; in g_disk_advance() 309 end = (bus_dma_segment_t *)bp->bio_data + bp->bio_ma_n; in g_disk_advance() 319 bp->bio_data = (void *)seg; in g_disk_advance() 326 bp->bio_data += off; in g_disk_advance() 369 seg = (bus_dma_segment_t *)bp->bio_data; in g_disk_vlist_limit() 370 end = (bus_dma_segment_t *)bp->bio_data + bp->bio_ma_n; in g_disk_vlist_limit() 408 firstseg = (bus_dma_segment_t*)bp->bio_data; in g_disk_limit() [all …]
|
H A D | geom_io.c | 214 bp2->bio_data = bp->bio_data; in g_clone_bio() 250 bp2->bio_data = bp->bio_data; in g_duplicate_bio() 299 bp->bio_data = ptr; in g_io_getattr() 385 bp->bio_data = NULL; in g_io_flush() 525 KASSERT(bp->bio_data != NULL, in g_io_request() 529 KASSERT(bp->bio_data == NULL, in g_io_request() 786 bp->bio_data = (caddr_t)addr + bp->bio_ma_offset; in g_io_transient_map_bio() 895 bp->bio_data = ptr; in g_read_data() 951 bp->bio_data = ptr; in g_write_data() 984 bp->bio_data = NULL; in g_delete_data()
|
H A D | geom_ccd.c | 484 addr = bp->bio_data; in g_ccd_start() 647 cbp->bio_data = addr; in ccdbuffer() 663 cbp->bio_data = cb[0]->bio_data; in ccdbuffer()
|
/freebsd/sys/kern/ |
H A D | kern_physio.c | 163 bp->bio_data = sa + poff; in physio() 168 bp->bio_data = unmapped_buf; in physio() 172 bp->bio_data = base; in physio()
|
/freebsd/sys/geom/stripe/ |
H A D | g_stripe.c | 277 g_stripe_copy(sc, bp->bio_data, bp->bio_caller1, bp->bio_offset, in g_stripe_done() 279 bp->bio_data = bp->bio_caller1; in g_stripe_done() 312 addr = bp->bio_data; in g_stripe_start_fast() 327 cbp->bio_data = addr; in g_stripe_start_fast() 355 cbp->bio_caller1 = cbp->bio_data; in g_stripe_start_fast() 356 cbp->bio_data = NULL; in g_stripe_start_fast() 379 cbp->bio_data = addr; in g_stripe_start_fast() 402 cbp->bio_data = data; in g_stripe_start_fast() 419 cbp->bio_data = cbp->bio_caller1; in g_stripe_start_fast() 462 addr = bp->bio_data; in g_stripe_start_economic() [all...] |
/freebsd/tools/debugscripts/ |
H A D | gdbinit.kernel | 20 $bp->b_io.bio_data, \ 27 $bp->b_io.bio_data, \ 80 printf "\nb_io.bio_data: " 81 output $bp->b_io.bio_data 136 printf "Buffer data:\n%s", (char *) bp->b_io.bio_data 167 printf "\n b_io.bio_data " 168 output/x bp->b_io.bio_data
|
/freebsd/sys/dev/firewire/ |
H A D | fwmem.c | 372 bp->bio_data, fwmem_biodone); in fwmem_strategy() 377 iolen, bp->bio_data, fwmem_biodone); in fwmem_strategy() 383 bp->bio_data, fwmem_biodone); in fwmem_strategy() 388 iolen, bp->bio_data, fwmem_biodone); in fwmem_strategy()
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_disk.c | 85 r = OF_read(sc->ofwd_instance, (void *)bp->bio_data, in ofwd_startio() 89 r = OF_write(sc->ofwd_instance, (void *)bp->bio_data, in ofwd_startio()
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_flash.c | 139 bcopy(&dev, bp->bio_data, sizeof(dev)); in opalflash_getattr() 307 bp->bio_data, bp->bio_bcount); in opalflash_task() 311 bp->bio_data, bp->bio_bcount); in opalflash_task()
|
/freebsd/sys/geom/uzip/ |
H A D | g_uzip.c | 186 memcpy(bp->bio_data + bp->bio_completed, sc->last_buf + blkofs, in g_uzip_cached() 251 bzero(bp->bio_data + bp->bio_completed, zsize); in g_uzip_request() 306 bp2->bio_data = malloc(bp2->bio_length, M_GEOM_UZIP, M_NOWAIT); in g_uzip_request() 307 if (bp2->bio_data == NULL) { in g_uzip_request() 378 data = bp->bio_data + sc->toc[blk].offset % pp->sectorsize; in g_uzip_do() 379 data2 = bp2->bio_data + bp2->bio_completed; in g_uzip_do() 447 free(bp->bio_data, M_GEOM_UZIP); in g_uzip_do() 467 (intmax_t)bp->bio_offset, (intmax_t)bp->bio_length, bp->bio_data)); in g_uzip_start()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | vdev_geom.c | 408 bios[j]->bio_data = (caddr_t)p; in vdev_geom_io() 1214 bp->bio_data = unmapped_buf; in vdev_geom_io_start() 1218 bp->bio_data = abd_borrow_buf(zio->io_abd, in vdev_geom_io_start() 1221 bp->bio_data = abd_borrow_buf_copy(zio->io_abd, in vdev_geom_io_start() 1228 bp->bio_data = NULL; in vdev_geom_io_start() 1234 bp->bio_data = NULL; in vdev_geom_io_start() 1266 abd_return_buf_copy(zio->io_abd, bp->bio_data, in vdev_geom_io_done() 1269 abd_return_buf(zio->io_abd, bp->bio_data, in vdev_geom_io_done()
|
/freebsd/sys/dev/flash/ |
H A D | n25q.c | 415 bcopy(&dev, bp->bio_data, sizeof(dev)); in n25q_getattr() 452 bp->bio_data, bp->bio_bcount); in n25q_task() 456 bp->bio_data, bp->bio_bcount); in n25q_task()
|
/freebsd/sys/dev/md/ |
H A D | md.c | 661 (bus_dma_segment_t *)bp->bio_data : NULL; in mdstart_malloc() 671 dst = bp->bio_data; in mdstart_malloc() 855 mdcopyto_vlist(p, (bus_dma_segment_t *)bp->bio_data, in mdstart_preload() 858 bcopy(p, bp->bio_data, bp->bio_length); in mdstart_preload() 860 cpu_flush_dcache(bp->bio_data, bp->bio_length); in mdstart_preload() 864 mdcopyfrom_vlist((bus_dma_segment_t *)bp->bio_data, in mdstart_preload() 867 bcopy(bp->bio_data, p, bp->bio_length); in mdstart_preload() 943 vlist = (bus_dma_segment_t *)bp->bio_data; in mdstart_vnode() 974 aiov.iov_base = bp->bio_data; in mdstart_vnode() 1037 p = bp->bio_data; in mdstart_swap() [all …]
|
/freebsd/sys/geom/raid3/ |
H A D | g_raid3.c | 271 addr = (u_char *)bp->bio_data; in g_raid3_is_zero() 1011 KASSERT(cbp->bio_data != NULL, ("NULL bio_data")); in g_raid3_destroy_bio() 1013 g_raid3_free(sc, cbp->bio_data, size); in g_raid3_destroy_bio() 1048 cbp->bio_data = g_raid3_alloc(sc, size, memflag); in g_raid3_clone_bio() 1049 if (cbp->bio_data == NULL) { in g_raid3_clone_bio() 1097 bcopy(pbp->bio_data + padd, cbp->bio_data + cadd, atom); in g_raid3_scatter() 1111 bcopy(cbp->bio_data, bp->bio_data, in g_raid3_scatter() [all...] |
/freebsd/sys/geom/raid/ |
H A D | tr_raid1e.c | 475 bp->bio_data = trs->trso_buffer; in g_raid_tr_raid1e_rebuild_some() 700 addr = bp->bio_data; in g_raid_tr_iostart_raid1e_read() 728 cbp->bio_data = addr; in g_raid_tr_iostart_raid1e_read() 770 addr = bp->bio_data; in g_raid_tr_iostart_raid1e_write() 804 cbp->bio_data = addr; in g_raid_tr_iostart_raid1e_write() 1036 cbp->bio_data = bp->bio_data; in g_raid_tr_iodone_raid1e()
|
H A D | tr_raid0.c | 211 addr = bp->bio_data; in g_raid_tr_iostart_raid0() 241 cbp->bio_data = addr; in g_raid_tr_iostart_raid0()
|
H A D | tr_concat.c | 233 addr = bp->bio_data; in g_raid_tr_iostart_concat() 261 cbp->bio_data = addr; in g_raid_tr_iostart_concat()
|
/freebsd/sys/dev/altera/sdcard/ |
H A D | altera_sdcard_io.c | 308 altera_sdcard_write_rxtx_buffer(sc, bp->bio_data, in altera_sdcard_io_start_internal() 429 altera_sdcard_read_rxtx_buffer(sc, bp->bio_data, in altera_sdcard_io_complete()
|