Lines Matching refs:impl
114 const uint32_t impl = RAIDZ_IMPL_READ(zfs_vdev_raidz_impl); in vdev_raidz_math_get_ops() local
116 switch (impl) { in vdev_raidz_math_get_ops()
136 ASSERT3U(impl, <, raidz_supp_impl_cnt); in vdev_raidz_math_get_ops()
138 if (impl < ARRAY_SIZE(raidz_all_maths)) in vdev_raidz_math_get_ops()
139 ops = raidz_supp_impl[impl]; in vdev_raidz_math_get_ops()
400 int impl, i; in benchmark_raidz_impl() local
402 for (impl = 0; impl < raidz_supp_impl_cnt; impl++) { in benchmark_raidz_impl()
404 curr_impl = raidz_supp_impl[impl]; in benchmark_raidz_impl()
421 raidz_impl_kstats[impl].gen[fn] = speed; in benchmark_raidz_impl()
423 raidz_impl_kstats[impl].rec[fn] = speed; in benchmark_raidz_impl()
430 fstat->gen[fn] = impl; in benchmark_raidz_impl()
434 fstat->rec[fn] = impl; in benchmark_raidz_impl()
592 uint32_t impl = RAIDZ_IMPL_READ(user_sel_impl); in vdev_raidz_impl_set() local
608 impl = math_impl_opts[i].sel; in vdev_raidz_impl_set()
619 impl = i; in vdev_raidz_impl_set()
628 atomic_swap_32(&zfs_vdev_raidz_impl, impl); in vdev_raidz_impl_set()
630 atomic_swap_32(&user_sel_impl, impl); in vdev_raidz_impl_set()
643 const uint32_t impl = RAIDZ_IMPL_READ(zfs_vdev_raidz_impl); in vdev_raidz_impl_get() local
649 fmt = (impl == math_impl_opts[i].sel) ? "[%s] " : "%s "; in vdev_raidz_impl_get()
656 fmt = (i == impl) ? "[%s] " : "%s "; in vdev_raidz_impl_get()