Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/geom/eli/
HDg_eli_integrity.c158 (char *)bp->bio_driver2) / encr_secsize; in g_eli_auth_read_done()
160 errorp = (int *)((char *)bp->bio_driver2 + encr_secsize * nsec + in g_eli_auth_read_done()
196 srcdata = bp->bio_driver2; in g_eli_auth_read_done()
225 errorp = (int *)((char *)bp->bio_driver2 + encr_secsize * nsec); in g_eli_auth_read_done()
344 cbp->bio_data = bp->bio_driver2; in g_eli_auth_write_done()
408 cbp->bio_data = bp->bio_driver2; in g_eli_auth_read()
411 memset((char *)bp->bio_driver2 + cbp->bio_length, 0, in g_eli_auth_read()
481 data = bp->bio_driver2; in g_eli_auth_run()
502 data = bp->bio_driver2; in g_eli_auth_run()
HDg_eli_privacy.c184 cbp->bio_data = bp->bio_driver2; in g_eli_crypto_write_done()
233 bp->bio_driver2 = NULL; in g_eli_crypto_read()
294 data = bp->bio_driver2; in g_eli_crypto_run()
HDg_eli.c960 bp->bio_driver2 = uma_zalloc(g_eli_uma, M_NOWAIT | in g_eli_alloc_data()
962 if (bp->bio_driver2 != NULL) { in g_eli_alloc_data()
966 if (bp->bio_driver2 != NULL || (bp->bio_flags & BIO_SWAP) != 0) in g_eli_alloc_data()
967 return (bp->bio_driver2 != NULL); in g_eli_alloc_data()
970 bp->bio_driver2 = malloc(sz, M_ELI, g_eli_blocking_malloc ? M_WAITOK : in g_eli_alloc_data()
972 return (bp->bio_driver2 != NULL); in g_eli_alloc_data()
991 if (bp->bio_driver2 == NULL) in g_eli_free_data()
995 uma_zfree(g_eli_uma, bp->bio_driver2); in g_eli_free_data()
1000 free(bp->bio_driver2, M_ELI); in g_eli_free_data()
1001 bp->bio_driver2 = NULL; in g_eli_free_data()
/freebsd-14-stable/sys/powerpc/ps3/
HDps3disk.c377 0, 0, 0, 0, (uint64_t *)&bp->bio_driver2); in ps3disk_strategy()
429 if ((uint64_t)bp->bio_driver2 != tag) in ps3disk_intr()
616 (uint64_t *)&bp->bio_driver2); in ps3disk_transfer()
624 (uint64_t *)&bp->bio_driver2); in ps3disk_transfer()
/freebsd-14-stable/sys/dev/nvme/
HDnvme_ns.c250 if (bp->bio_driver2) in nvme_ns_bio_done()
251 free(bp->bio_driver2, M_NVME); in nvme_ns_bio_done()
486 bp->bio_driver2 = dsm_range; in nvme_ns_bio_process()
/freebsd-14-stable/sys/geom/cache/
HDg_cache.h92 #define G_CACHE_NEXT_BIO2(bp) (bp)->bio_driver2
/freebsd-14-stable/sys/sys/
HDbio.h104 void *bio_driver2; /* Private use by the provider. */ member
/freebsd-14-stable/sys/dev/mfi/
HDmfi_syspd.c256 bio->bio_driver2 = (void *)MFI_SYS_PD_IO; in mfi_syspd_strategy()
HDmfi_disk.c292 bio->bio_driver2 = (void *)MFI_LD_IO; in mfi_disk_strategy()
HDmfi.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-14-stable/sys/geom/
HDgeom_io.c508 KASSERT(bp->bio_driver2 == NULL, in g_io_request()
708 bp->bio_driver2 = NULL; in g_io_deliver()
HDgeom_subr.c1657 db_printf(" driver2: %p\n", bp->bio_driver2); in DB_SHOW_COMMAND()
/freebsd-14-stable/sys/geom/raid3/
HDg_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-14-stable/sys/geom/raid/
HDtr_raid1.c799 mask = (uintptr_t *)(&pbp->bio_driver2); in g_raid_tr_iodone_raid1()