Home
last modified time | relevance | path

Searched refs:bio_driver2 (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/geom/eli/
H A Dg_eli_integrity.c157 (char *)bp->bio_driver2) / encr_secsize; in g_eli_auth_read_done()
159 errorp = (int *)((char *)bp->bio_driver2 + encr_secsize * nsec + in g_eli_auth_read_done()
195 srcdata = bp->bio_driver2; in g_eli_auth_read_done()
224 errorp = (int *)((char *)bp->bio_driver2 + encr_secsize * nsec); in g_eli_auth_read_done()
343 cbp->bio_data = bp->bio_driver2; in g_eli_auth_write_done()
407 cbp->bio_data = bp->bio_driver2; in g_eli_auth_read()
410 memset((char *)bp->bio_driver2 + cbp->bio_length, 0, in g_eli_auth_read()
480 data = bp->bio_driver2; in g_eli_auth_run()
501 data = bp->bio_driver2; in g_eli_auth_run()
H A Dg_eli_privacy.c183 cbp->bio_data = bp->bio_driver2; in g_eli_crypto_write_done()
232 bp->bio_driver2 = NULL; in g_eli_crypto_read()
293 data = bp->bio_driver2; in g_eli_crypto_run()
H A Dg_eli.c959 bp->bio_driver2 = uma_zalloc(g_eli_uma, M_NOWAIT | in g_eli_alloc_data()
961 if (bp->bio_driver2 != NULL) { in g_eli_alloc_data()
965 if (bp->bio_driver2 != NULL || (bp->bio_flags & BIO_SWAP) != 0) in g_eli_alloc_data()
966 return (bp->bio_driver2 != NULL); in g_eli_alloc_data()
969 bp->bio_driver2 = malloc(sz, M_ELI, g_eli_blocking_malloc ? M_WAITOK : in g_eli_alloc_data()
971 return (bp->bio_driver2 != NULL); in g_eli_alloc_data()
990 if (bp->bio_driver2 == NULL) in g_eli_free_data()
994 uma_zfree(g_eli_uma, bp->bio_driver2); in g_eli_free_data()
999 free(bp->bio_driver2, M_ELI); in g_eli_free_data()
1000 bp->bio_driver2 = NULL; in g_eli_free_data()
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_ns.c90 bio->bio_driver2 = 0; in nvmf_ns_biodone()
113 error = (intptr_t)bio->bio_driver2; in nvmf_ns_biodone()
133 bio->bio_driver2 = (void *)(intptr_t)error; in nvmf_ns_io_complete()
149 free(bio->bio_driver2, M_NVMF); in nvmf_ns_delete_complete()
150 bio->bio_driver2 = (void *)(intptr_t)error; in nvmf_ns_delete_complete()
247 bio->bio_driver2 = dsm_range; in nvmf_ns_submit_bio()
/freebsd/sys/powerpc/ps3/
H A Dps3disk.c376 0, 0, 0, 0, (uint64_t *)&bp->bio_driver2); in ps3disk_strategy()
428 if ((uint64_t)bp->bio_driver2 != tag) in ps3disk_intr()
615 (uint64_t *)&bp->bio_driver2); in ps3disk_transfer()
623 (uint64_t *)&bp->bio_driver2); in ps3disk_transfer()
/freebsd/sys/dev/nvme/
H A Dnvme_ns.c261 if (bp->bio_driver2) in nvme_ns_bio_done()
262 free(bp->bio_driver2, M_NVME); in nvme_ns_bio_done()
498 bp->bio_driver2 = dsm_range; in nvme_ns_bio_process()
/freebsd/sys/geom/cache/
H A Dg_cache.h92 #define G_CACHE_NEXT_BIO2(bp) (bp)->bio_driver2
/freebsd/sys/sys/
H A Dbio.h101 void *bio_driver2; /* Private use by the provider. */ member
/freebsd/sys/dev/mfi/
H A Dmfi_syspd.c256 bio->bio_driver2 = (void *)MFI_SYS_PD_IO; in mfi_syspd_strategy()
H A Dmfi_disk.c292 bio->bio_driver2 = (void *)MFI_LD_IO; in mfi_disk_strategy()
H A Dmfi.c2041 if ((uintptr_t)bio->bio_driver2 == MFI_LD_IO) { in mfi_bio_command()
2043 } else if ((uintptr_t) bio->bio_driver2 == MFI_SYS_PD_IO) { in mfi_bio_command()
/freebsd/sys/geom/
H A Dgeom_io.c510 KASSERT(bp->bio_driver2 == NULL, in g_io_request()
711 bp->bio_driver2 = NULL; in g_io_deliver()
H A Dgeom_subr.c1656 db_printf(" driver2: %p\n", bp->bio_driver2); in DB_SHOW_COMMAND()
/freebsd/sys/geom/raid3/
H A Dg_raid3.c1217 disk = pbp->bio_driver2; in g_raid3_gather()
1688 bp->bio_driver1 = bp->bio_driver2 = NULL; in g_raid3_sync_request()
1837 pbp->bio_driver2 = &sc->sc_disks[sc->sc_ndisks - 1]; in g_raid3_register_request()
1896 pbp->bio_driver2 = disk; in g_raid3_register_request()
/freebsd/sys/geom/raid/
H A Dtr_raid1.c798 mask = (uintptr_t *)(&pbp->bio_driver2); in g_raid_tr_iodone_raid1()