Searched refs:spa_max_replication (Results 1 – 6 of 6) sorted by relevance
180 ASSERT(newval <= spa_max_replication(os->os_spa)); in copies_changed_cb()439 os->os_copies = spa_max_replication(spa); in dmu_objset_open_impl()1141 os->os_copies = spa_max_replication(os->os_spa); in dmu_objset_sync()
723 zp->zp_copies <= spa_max_replication(spa)); in zio_write()1165 spa_max_replication(spa)) == BP_GET_NDVAS(bp)); in zio_write_bp_init()1927 int gbh_copies = MIN(copies + 1, spa_max_replication(spa)); in zio_write_gang_block()2438 ASSERT3U(zio->io_prop.zp_copies, <=, spa_max_replication(spa)); in zio_dva_allocate()
1724 spa_max_replication(spa_t *spa) in spa_max_replication() function
1823 zp->zp_copies = MIN(copies, spa_max_replication(os->os_spa)); in dmu_write_policy()
2489 ASSERT(ndvas > 0 && ndvas <= spa_max_replication(spa)); in metaslab_alloc()
780 extern int spa_max_replication(spa_t *spa);