Home
last modified time | relevance | path

Searched refs:far_set_size (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/md/
H A Draid10.h50 int far_set_size; /* The number of devices in a set, member
H A Draid10.c625 set = d / geo->far_set_size; in __raid10_find_phys()
634 d %= geo->far_set_size; in __raid10_find_phys()
635 d += geo->far_set_size * set; in __raid10_find_phys()
672 int far_set_start = (dev / geo->far_set_size) * geo->far_set_size; in raid10_find_virt()
673 int far_set_size = geo->far_set_size; in raid10_find_virt() local
681 far_set_size = geo->far_set_size; in raid10_find_virt()
682 far_set_size += (geo->raid_disks % geo->far_set_size); in raid10_find_virt()
694 dev += far_set_size; in raid10_find_virt()
4017 geo->far_set_size = disks; in setup_geo()
4022 WARN(geo->far_set_size < fc, in setup_geo()
[all …]