near_copies 1739 drivers/md/dm-raid.c unsigned int near_copies; near_copies 1776 drivers/md/dm-raid.c near_copies = __raid10_near_copies(mddev->layout); near_copies 1781 drivers/md/dm-raid.c if (near_copies > 1 && near_copies 1782 drivers/md/dm-raid.c !(mddev->raid_disks % near_copies)) { near_copies 1783 drivers/md/dm-raid.c mddev->raid_disks /= near_copies; near_copies 1789 drivers/md/dm-raid.c if (near_copies == 1 && near_copies 1798 drivers/md/dm-raid.c max(near_copies, __raid10_far_copies(mddev->layout)) == mddev->raid_disks) near_copies 581 drivers/md/raid10.c chunk *= geo->near_copies; near_copies 590 drivers/md/raid10.c for (n = 0; n < geo->near_copies; n++) { near_copies 600 drivers/md/raid10.c d += geo->near_copies; near_copies 666 drivers/md/raid10.c dev -= fc * geo->near_copies; near_copies 672 drivers/md/raid10.c if (dev < (geo->near_copies + far_set_start)) near_copies 673 drivers/md/raid10.c dev += far_set_size - geo->near_copies; near_copies 675 drivers/md/raid10.c dev -= geo->near_copies; near_copies 680 drivers/md/raid10.c sector_div(vchunk, geo->near_copies); near_copies 814 drivers/md/raid10.c if (geo->near_copies > 1 && !pending) near_copies 1541 drivers/md/raid10.c && (conf->geo.near_copies < conf->geo.raid_disks near_copies 1542 drivers/md/raid10.c || conf->prev.near_copies < near_copies 1559 drivers/md/raid10.c if (conf->geo.near_copies < conf->geo.raid_disks) near_copies 1561 drivers/md/raid10.c if (conf->geo.near_copies > 1) near_copies 1562 drivers/md/raid10.c seq_printf(seq, " %d near-copies", conf->geo.near_copies); near_copies 1594 drivers/md/raid10.c ncopies = conf->prev.near_copies; near_copies 1597 drivers/md/raid10.c ncopies = conf->geo.near_copies; near_copies 2853 drivers/md/raid10.c chunks = conf->geo.raid_disks / conf->geo.near_copies; near_copies 2854 drivers/md/raid10.c if (conf->geo.raid_disks % conf->geo.near_copies == 0) near_copies 3011 drivers/md/raid10.c if (conf->geo.near_copies < conf->geo.raid_disks && near_copies 3539 drivers/md/raid10.c sector_div(size, conf->geo.near_copies); near_copies 3554 drivers/md/raid10.c sector_div(size, conf->geo.near_copies); near_copies 3607 drivers/md/raid10.c geo->near_copies = nc; near_copies 3769 drivers/md/raid10.c if (conf->geo.raid_disks % conf->geo.near_copies) near_copies 3773 drivers/md/raid10.c (conf->geo.raid_disks / conf->geo.near_copies)); near_copies 3896 drivers/md/raid10.c stripe /= conf->geo.near_copies; near_copies 4372 drivers/md/raid10.c s *= geo->near_copies; near_copies 4386 drivers/md/raid10.c s *= geo->near_copies; near_copies 4744 drivers/md/raid10.c stripe /= conf->geo.near_copies; near_copies 37 drivers/md/raid10.h int near_copies; /* number of copies laid out