Lines Matching refs:algorithm
292 const unsigned int algorithm; /* RAID algorithm. */ member
601 unsigned int algorithm, in raid10_format_to_md_layout() argument
614 if (algorithm == ALGORITHM_RAID10_DEFAULT || in raid10_format_to_md_layout()
615 algorithm == ALGORITHM_RAID10_NEAR) in raid10_format_to_md_layout()
618 else if (algorithm == ALGORITHM_RAID10_OFFSET) { in raid10_format_to_md_layout()
624 } else if (algorithm == ALGORITHM_RAID10_FAR) { in raid10_format_to_md_layout()
640 switch (rtp->algorithm) { in __got_raid10()
676 (__got_raid10(rtp, layout) || rtp->algorithm == layout)) in get_raid_type_by_ll()
768 rs->md.layout = raid_type->algorithm; in raid_set_alloc()
1522 if ((rt->algorithm == ALGORITHM_RAID10_DEFAULT || in parse_raid_params()
1523 rt->algorithm == ALGORITHM_RAID10_NEAR) && in parse_raid_params()