Lines Matching refs:rep
600 replication_level_t rep; in get_replication() local
630 rep.zprl_type = type; in get_replication()
631 rep.zprl_children = 1; in get_replication()
632 rep.zprl_parity = 0; in get_replication()
645 rep.zprl_type = type; in get_replication()
646 rep.zprl_children = 0; in get_replication()
651 &rep.zprl_parity) == 0); in get_replication()
652 assert(rep.zprl_parity != 0); in get_replication()
654 rep.zprl_parity = 0; in get_replication()
673 rep.zprl_children++; in get_replication()
718 rep.zprl_type); in get_replication()
770 rep.zprl_type); in get_replication()
787 if (is_raidz_mirror(&lastrep, &rep, &raidz, &mirror) || in get_replication()
788 is_raidz_mirror(&rep, &lastrep, &raidz, &mirror)) { in get_replication()
814 } else if (strcmp(lastrep.zprl_type, rep.zprl_type) != in get_replication()
824 lastrep.zprl_type, rep.zprl_type); in get_replication()
827 } else if (lastrep.zprl_parity != rep.zprl_parity) { in get_replication()
837 rep.zprl_parity, in get_replication()
838 rep.zprl_type); in get_replication()
841 } else if (lastrep.zprl_children != rep.zprl_children) { in get_replication()
851 rep.zprl_children, in get_replication()
852 rep.zprl_type); in get_replication()
857 lastrep = rep; in get_replication()
861 *ret = rep; in get_replication()