Lines Matching refs:bvphys

544 	brt_vdev_phys_t *bvphys;  in brt_vdev_load()  local
555 bvphys = db->db_data; in brt_vdev_load()
557 spa->spa_brt_rangesize = bvphys->bvp_rangesize; in brt_vdev_load()
559 ASSERT3U(spa->spa_brt_rangesize, ==, bvphys->bvp_rangesize); in brt_vdev_load()
565 ASSERT3U(bvphys->bvp_size, <=, brtvd->bv_size); in brt_vdev_load()
571 MIN(brtvd->bv_size, bvphys->bvp_size) * sizeof (uint16_t), in brt_vdev_load()
576 ASSERT(bvphys->bvp_mos_entries != 0); in brt_vdev_load()
577 VERIFY0(dnode_hold(spa->spa_meta_objset, bvphys->bvp_mos_entries, brtvd, in brt_vdev_load()
580 brtvd->bv_mos_entries = bvphys->bvp_mos_entries; in brt_vdev_load()
583 (bvphys->bvp_byteorder != BRT_NATIVE_BYTEORDER); in brt_vdev_load()
584 brtvd->bv_totalcount = bvphys->bvp_totalcount; in brt_vdev_load()
585 brtvd->bv_usedspace = bvphys->bvp_usedspace; in brt_vdev_load()
586 brtvd->bv_savedspace = bvphys->bvp_savedspace; in brt_vdev_load()
783 brt_vdev_phys_t *bvphys; in brt_vdev_sync() local
805 bvphys = db->db_data; in brt_vdev_sync()
806 bvphys->bvp_mos_entries = brtvd->bv_mos_entries; in brt_vdev_sync()
807 bvphys->bvp_size = brtvd->bv_size; in brt_vdev_sync()
809 bvphys->bvp_byteorder = BRT_NON_NATIVE_BYTEORDER; in brt_vdev_sync()
811 bvphys->bvp_byteorder = BRT_NATIVE_BYTEORDER; in brt_vdev_sync()
813 bvphys->bvp_totalcount = brtvd->bv_totalcount; in brt_vdev_sync()
814 bvphys->bvp_rangesize = spa->spa_brt_rangesize; in brt_vdev_sync()
815 bvphys->bvp_usedspace = brtvd->bv_usedspace; in brt_vdev_sync()
816 bvphys->bvp_savedspace = brtvd->bv_savedspace; in brt_vdev_sync()