Searched refs:comp_dev (Results 1 – 2 of 2) sorted by relevance
272 md_dev64_t comp_dev; in stripe_set() local275 comp_dev = mdc->un_dev; in stripe_set()276 if (md_getmajor(comp_dev) == md_major) { in stripe_set()278 comp_un = MD_UNIT(md_getminor(comp_dev)); in stripe_set()610 md_dev64_t comp_dev; in stripe_grow() local613 comp_dev = mdc->un_dev; in stripe_grow()615 if (md_getmajor(comp_dev) == md_major) { in stripe_grow()616 comp_un = MD_UNIT(md_getminor(comp_dev)); in stripe_grow()618 md_set_parent(comp_dev, MD_SID(new_un)); in stripe_grow()
1095 md_dev64_t comp_dev; in reset_raid() local1112 comp_dev = column->un_dev; in reset_raid()1113 if (md_getmajor(comp_dev) == md_major) { in reset_raid()1114 comp_un = MD_UNIT(md_getminor(comp_dev)); in reset_raid()1116 md_reset_parent(comp_dev); in reset_raid()