Searched refs:brtvd (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | brt.c | 330 brt_vdev_entcount_get(const brt_vdev_t *brtvd, uint64_t idx) in brt_vdev_entcount_get() argument 333 ASSERT3U(idx, <, brtvd->bv_size); in brt_vdev_entcount_get() 335 if (unlikely(brtvd->bv_need_byteswap)) { in brt_vdev_entcount_get() 336 return (BSWAP_16(brtvd->bv_entcount[idx])); in brt_vdev_entcount_get() 338 return (brtvd->bv_entcount[idx]); in brt_vdev_entcount_get() 343 brt_vdev_entcount_set(brt_vdev_t *brtvd, uint64_t idx, uint16_t entcnt) in brt_vdev_entcount_set() argument 346 ASSERT3U(idx, <, brtvd->bv_size); in brt_vdev_entcount_set() 348 if (unlikely(brtvd->bv_need_byteswap)) { in brt_vdev_entcount_set() 349 brtvd->bv_entcount[idx] = BSWAP_16(entcnt); in brt_vdev_entcount_set() 351 brtvd->bv_entcount[idx] = entcnt; in brt_vdev_entcount_set() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 2197 brt_vdev_t *brtvd = spa->spa_brt_vdevs[vdevid]; in dump_brt() local 2198 if (!brtvd->bv_initiated) { in dump_brt() 2203 zdb_nicenum(brtvd->bv_totalcount, count, sizeof (count)); in dump_brt() 2204 zdb_nicebytes(brtvd->bv_usedspace, used, sizeof (used)); in dump_brt() 2205 zdb_nicebytes(brtvd->bv_savedspace, saved, sizeof (saved)); in dump_brt() 2222 brt_vdev_t *brtvd = spa->spa_brt_vdevs[vdevid]; in dump_brt() local 2223 if (!brtvd->bv_initiated) in dump_brt() 2231 brtvd->bv_mos_entries); in dump_brt() 2236 brtvd->bv_mos_entries, in dump_brt() 8294 brt_vdev_t *brtvd = spa->spa_brt_vdevs[vdevid]; in dump_mos_leaks() local [all …]
|