Searched refs:sio_nr_dvas (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dsl_scan.c | 286 uint32_t sio_nr_dvas; member 317 (sizeof (scan_io_t) + ((sio)->sio_nr_dvas * sizeof (dva_t))) 374 ASSERT3U(sio->sio_nr_dvas, >, 0); in sio_free() 375 ASSERT3U(sio->sio_nr_dvas, <=, SPA_DVAS_PER_BP); in sio_free() 377 kmem_cache_free(sio_cache[sio->sio_nr_dvas - 1], sio); in sio_free() 444 ASSERT3U(sio->sio_nr_dvas, >, 0); in sio2bp() 445 ASSERT3U(sio->sio_nr_dvas, <=, SPA_DVAS_PER_BP); in sio2bp() 447 memcpy(bp->blk_dva, sio->sio_dva, sio->sio_nr_dvas * sizeof (dva_t)); in sio2bp() 457 sio->sio_nr_dvas = BP_GET_NDVAS(bp); in bp2sio() 465 for (int i = 0, j = dva_i; i < sio->sio_nr_dvas; i++, j++) { in bp2sio() [all …]
|