disks 36 crypto/async_tx/async_pq.c const unsigned char *scfs, int disks, disks 46 crypto/async_tx/async_pq.c int src_cnt = disks - 2; disks 76 crypto/async_tx/async_pq.c dma_dest[0] = unmap->addr[disks - 2]; disks 77 crypto/async_tx/async_pq.c dma_dest[1] = unmap->addr[disks - 1]; disks 107 crypto/async_tx/async_pq.c do_sync_gen_syndrome(struct page **blocks, unsigned int offset, int disks, disks 112 crypto/async_tx/async_pq.c int start = -1, stop = disks - 3; disks 119 crypto/async_tx/async_pq.c for (i = 0; i < disks; i++) { disks 121 crypto/async_tx/async_pq.c BUG_ON(i > disks - 3); /* P or Q can't be zero */ disks 125 crypto/async_tx/async_pq.c if (i < disks - 2) { disks 135 crypto/async_tx/async_pq.c raid6_call.xor_syndrome(disks, start, stop, len, srcs); disks 137 crypto/async_tx/async_pq.c raid6_call.gen_syndrome(disks, len, srcs); disks 163 crypto/async_tx/async_pq.c async_gen_syndrome(struct page **blocks, unsigned int offset, int disks, disks 166 crypto/async_tx/async_pq.c int src_cnt = disks - 2; disks 168 crypto/async_tx/async_pq.c &P(blocks, disks), 2, disks 173 crypto/async_tx/async_pq.c BUG_ON(disks > MAX_DISKS || !(P(blocks, disks) || Q(blocks, disks))); disks 176 crypto/async_tx/async_pq.c unmap = dmaengine_get_unmap_data(device->dev, disks, GFP_NOWAIT); disks 190 crypto/async_tx/async_pq.c __func__, disks, len); disks 211 crypto/async_tx/async_pq.c if (P(blocks, disks)) disks 212 crypto/async_tx/async_pq.c unmap->addr[j++] = dma_map_page(device->dev, P(blocks, disks), disks 220 crypto/async_tx/async_pq.c if (Q(blocks, disks)) disks 221 crypto/async_tx/async_pq.c unmap->addr[j++] = dma_map_page(device->dev, Q(blocks, disks), disks 236 crypto/async_tx/async_pq.c pr_debug("%s: (sync) disks: %d len: %zu\n", __func__, disks, len); disks 241 crypto/async_tx/async_pq.c if (!P(blocks, disks)) { disks 242 crypto/async_tx/async_pq.c P(blocks, disks) = pq_scribble_page; disks 245 crypto/async_tx/async_pq.c if (!Q(blocks, disks)) { disks 246 crypto/async_tx/async_pq.c Q(blocks, disks) = pq_scribble_page; disks 249 crypto/async_tx/async_pq.c do_sync_gen_syndrome(blocks, offset, disks, len, submit); disks 256 crypto/async_tx/async_pq.c pq_val_chan(struct async_submit_ctl *submit, struct page **blocks, int disks, size_t len) disks 262 crypto/async_tx/async_pq.c disks, len); disks 281 crypto/async_tx/async_pq.c async_syndrome_val(struct page **blocks, unsigned int offset, int disks, disks 285 crypto/async_tx/async_pq.c struct dma_chan *chan = pq_val_chan(submit, blocks, disks, len); disks 292 crypto/async_tx/async_pq.c BUG_ON(disks < 4 || disks > MAX_DISKS); disks 295 crypto/async_tx/async_pq.c unmap = dmaengine_get_unmap_data(device->dev, disks, GFP_NOWAIT); disks 297 crypto/async_tx/async_pq.c if (unmap && disks <= dma_maxpq(device, 0) && disks 304 crypto/async_tx/async_pq.c __func__, disks, len); disks 307 crypto/async_tx/async_pq.c for (i = 0; i < disks-2; i++) disks 318 crypto/async_tx/async_pq.c if (!P(blocks, disks)) { disks 322 crypto/async_tx/async_pq.c pq[0] = dma_map_page(dev, P(blocks, disks), disks 328 crypto/async_tx/async_pq.c if (!Q(blocks, disks)) { disks 332 crypto/async_tx/async_pq.c pq[1] = dma_map_page(dev, Q(blocks, disks), disks 357 crypto/async_tx/async_pq.c struct page *p_src = P(blocks, disks); disks 358 crypto/async_tx/async_pq.c struct page *q_src = Q(blocks, disks); disks 366 crypto/async_tx/async_pq.c __func__, disks, len); disks 384 crypto/async_tx/async_pq.c tx = async_xor(spare, blocks, offset, disks-2, len, submit); disks 392 crypto/async_tx/async_pq.c P(blocks, disks) = NULL; disks 393 crypto/async_tx/async_pq.c Q(blocks, disks) = spare; disks 395 crypto/async_tx/async_pq.c tx = async_gen_syndrome(blocks, offset, disks, len, submit); disks 403 crypto/async_tx/async_pq.c P(blocks, disks) = p_src; disks 404 crypto/async_tx/async_pq.c Q(blocks, disks) = q_src; disks 146 crypto/async_tx/async_raid6_recov.c __2data_recov_4(int disks, size_t bytes, int faila, int failb, disks 158 crypto/async_tx/async_raid6_recov.c p = blocks[disks-2]; disks 159 crypto/async_tx/async_raid6_recov.c q = blocks[disks-1]; disks 185 crypto/async_tx/async_raid6_recov.c __2data_recov_5(int disks, size_t bytes, int faila, int failb, disks 200 crypto/async_tx/async_raid6_recov.c for (i = 0; i < disks-2; i++) { disks 210 crypto/async_tx/async_raid6_recov.c p = blocks[disks-2]; disks 211 crypto/async_tx/async_raid6_recov.c q = blocks[disks-1]; disks 259 crypto/async_tx/async_raid6_recov.c __2data_recov_n(int disks, size_t bytes, int faila, int failb, disks 271 crypto/async_tx/async_raid6_recov.c p = blocks[disks-2]; disks 272 crypto/async_tx/async_raid6_recov.c q = blocks[disks-1]; disks 280 crypto/async_tx/async_raid6_recov.c blocks[disks-2] = dp; disks 283 crypto/async_tx/async_raid6_recov.c blocks[disks-1] = dq; disks 286 crypto/async_tx/async_raid6_recov.c tx = async_gen_syndrome(blocks, 0, disks, bytes, submit); disks 291 crypto/async_tx/async_raid6_recov.c blocks[disks-2] = p; disks 292 crypto/async_tx/async_raid6_recov.c blocks[disks-1] = q; disks 336 crypto/async_tx/async_raid6_recov.c async_raid6_2data_recov(int disks, size_t bytes, int faila, int failb, disks 346 crypto/async_tx/async_raid6_recov.c pr_debug("%s: disks: %d len: %zu\n", __func__, disks, bytes); disks 357 crypto/async_tx/async_raid6_recov.c for (i = 0; i < disks; i++) disks 363 crypto/async_tx/async_raid6_recov.c raid6_2data_recov(disks, bytes, faila, failb, ptrs); disks 371 crypto/async_tx/async_raid6_recov.c for (i = 0; i < disks-2 && non_zero_srcs < 4; i++) disks 386 crypto/async_tx/async_raid6_recov.c return __2data_recov_4(disks, bytes, faila, failb, blocks, submit); disks 393 crypto/async_tx/async_raid6_recov.c return __2data_recov_5(disks, bytes, faila, failb, blocks, submit); disks 395 crypto/async_tx/async_raid6_recov.c return __2data_recov_n(disks, bytes, faila, failb, blocks, submit); disks 409 crypto/async_tx/async_raid6_recov.c async_raid6_datap_recov(int disks, size_t bytes, int faila, disks 422 crypto/async_tx/async_raid6_recov.c pr_debug("%s: disks: %d len: %zu\n", __func__, disks, bytes); disks 433 crypto/async_tx/async_raid6_recov.c for (i = 0; i < disks; i++) disks 439 crypto/async_tx/async_raid6_recov.c raid6_datap_recov(disks, bytes, faila, ptrs); disks 448 crypto/async_tx/async_raid6_recov.c for (i = 0; i < disks-2; i++) { disks 460 crypto/async_tx/async_raid6_recov.c p = blocks[disks-2]; disks 461 crypto/async_tx/async_raid6_recov.c q = blocks[disks-1]; disks 468 crypto/async_tx/async_raid6_recov.c blocks[disks-1] = dq; disks 486 crypto/async_tx/async_raid6_recov.c tx = async_gen_syndrome(blocks, 0, disks, bytes, submit); disks 491 crypto/async_tx/async_raid6_recov.c blocks[disks-1] = q; disks 34 crypto/async_tx/raid6test.c static void makedata(int disks) disks 38 crypto/async_tx/raid6test.c for (i = 0; i < disks; i++) { disks 44 crypto/async_tx/raid6test.c static char disk_type(int d, int disks) disks 46 crypto/async_tx/raid6test.c if (d == disks - 2) disks 48 crypto/async_tx/raid6test.c else if (d == disks - 1) disks 55 crypto/async_tx/raid6test.c static void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, struct page **ptrs) disks 65 crypto/async_tx/raid6test.c if (failb == disks-1) { disks 66 crypto/async_tx/raid6test.c if (faila == disks-2) { disks 69 crypto/async_tx/raid6test.c tx = async_gen_syndrome(ptrs, 0, disks, bytes, &submit); disks 76 crypto/async_tx/raid6test.c BUG_ON(disks > NDISKS); disks 81 crypto/async_tx/raid6test.c for (i = disks; i-- ; ) { disks 92 crypto/async_tx/raid6test.c tx = async_gen_syndrome(ptrs, 0, disks, bytes, &submit); disks 95 crypto/async_tx/raid6test.c if (failb == disks-2) { disks 98 crypto/async_tx/raid6test.c tx = async_raid6_datap_recov(disks, bytes, faila, ptrs, &submit); disks 102 crypto/async_tx/raid6test.c tx = async_raid6_2data_recov(disks, bytes, faila, failb, ptrs, &submit); disks 107 crypto/async_tx/raid6test.c tx = async_syndrome_val(ptrs, 0, disks, bytes, &result, spare, &submit); disks 112 crypto/async_tx/raid6test.c __func__, faila, failb, disks); disks 119 crypto/async_tx/raid6test.c static int test_disks(int i, int j, int disks) disks 129 crypto/async_tx/raid6test.c raid6_dual_recov(disks, PAGE_SIZE, i, j, dataptrs); disks 135 crypto/async_tx/raid6test.c __func__, i, j, i, disk_type(i, disks), j, disk_type(j, disks), disks 144 crypto/async_tx/raid6test.c static int test(int disks, int *tests) disks 152 crypto/async_tx/raid6test.c recovi = data[disks]; disks 153 crypto/async_tx/raid6test.c recovj = data[disks+1]; disks 154 crypto/async_tx/raid6test.c spare = data[disks+2]; disks 156 crypto/async_tx/raid6test.c makedata(disks); disks 159 crypto/async_tx/raid6test.c memset(page_address(data[disks-2]), 0xee, PAGE_SIZE); disks 160 crypto/async_tx/raid6test.c memset(page_address(data[disks-1]), 0xee, PAGE_SIZE); disks 165 crypto/async_tx/raid6test.c tx = async_gen_syndrome(dataptrs, 0, disks, PAGE_SIZE, &submit); disks 169 crypto/async_tx/raid6test.c pr("error: initial gen_syndrome(%d) timed out\n", disks); disks 173 crypto/async_tx/raid6test.c pr("testing the %d-disk case...\n", disks); disks 174 crypto/async_tx/raid6test.c for (i = 0; i < disks-1; i++) disks 175 crypto/async_tx/raid6test.c for (j = i+1; j < disks; j++) { disks 177 crypto/async_tx/raid6test.c err += test_disks(i, j, disks); disks 417 drivers/block/floppy.c static struct gendisk *disks[N_DRIVE]; disks 4057 drivers/block/floppy.c set_capacity(disks[drive], floppy_sizes[new_dev]); disks 4535 drivers/block/floppy.c return get_disk_and_module(disks[drive]); disks 4557 drivers/block/floppy.c disks[drive] = alloc_disk(1); disks 4558 drivers/block/floppy.c if (!disks[drive]) { disks 4563 drivers/block/floppy.c disks[drive]->queue = blk_mq_init_sq_queue(&tag_sets[drive], disks 4566 drivers/block/floppy.c if (IS_ERR(disks[drive]->queue)) { disks 4567 drivers/block/floppy.c err = PTR_ERR(disks[drive]->queue); disks 4568 drivers/block/floppy.c disks[drive]->queue = NULL; disks 4572 drivers/block/floppy.c blk_queue_bounce_limit(disks[drive]->queue, BLK_BOUNCE_HIGH); disks 4573 drivers/block/floppy.c blk_queue_max_hw_sectors(disks[drive]->queue, 64); disks 4574 drivers/block/floppy.c disks[drive]->major = FLOPPY_MAJOR; disks 4575 drivers/block/floppy.c disks[drive]->first_minor = TOMINOR(drive); disks 4576 drivers/block/floppy.c disks[drive]->fops = &floppy_fops; disks 4577 drivers/block/floppy.c disks[drive]->events = DISK_EVENT_MEDIA_CHANGE; disks 4578 drivers/block/floppy.c sprintf(disks[drive]->disk_name, "fd%d", drive); disks 4711 drivers/block/floppy.c disks[drive]->private_data = (void *)(long)drive; disks 4712 drivers/block/floppy.c disks[drive]->flags |= GENHD_FL_REMOVABLE; disks 4713 drivers/block/floppy.c device_add_disk(&floppy_device[drive].dev, disks[drive], NULL); disks 4721 drivers/block/floppy.c del_gendisk(disks[drive]); disks 4736 drivers/block/floppy.c if (!disks[drive]) disks 4738 drivers/block/floppy.c if (disks[drive]->queue) { disks 4740 drivers/block/floppy.c blk_cleanup_queue(disks[drive]->queue); disks 4741 drivers/block/floppy.c disks[drive]->queue = NULL; disks 4744 drivers/block/floppy.c put_disk(disks[drive]); disks 4966 drivers/block/floppy.c del_gendisk(disks[drive]); disks 4969 drivers/block/floppy.c blk_cleanup_queue(disks[drive]->queue); disks 4978 drivers/block/floppy.c disks[drive]->queue = NULL; disks 4980 drivers/block/floppy.c put_disk(disks[drive]); disks 41 drivers/block/swim3.c static struct gendisk *disks[MAX_FLOPPIES]; disks 825 drivers/block/swim3.c struct request_queue *q = disks[fs->index]->queue; disks 1221 drivers/block/swim3.c disks[floppy_count++] = disk; disks 893 drivers/md/dm-raid.c list_add_tail(&rs->dev[i].rdev.same_set, &rs->md.disks); disks 899 drivers/md/dm-raid.c list_add_tail(&rs->journal_dev.rdev.same_set, &rs->md.disks); disks 194 drivers/md/md-bitmap.c rdev = list_entry(&mddev->disks, struct md_rdev, same_set); disks 199 drivers/md/md-bitmap.c list_for_each_entry_continue_rcu(rdev, &mddev->disks, same_set) { disks 40 drivers/md/md-linear.c if (sector < conf->disks[mid].end_sector) disks 46 drivers/md/md-linear.c return conf->disks + lo; disks 64 drivers/md/md-linear.c struct request_queue *q = bdev_get_queue(conf->disks[i].rdev->bdev); disks 92 drivers/md/md-linear.c conf = kzalloc(struct_size(conf, disks, raid_disks), GFP_KERNEL); disks 101 drivers/md/md-linear.c struct dev_info *disk = conf->disks + j; disks 140 drivers/md/md-linear.c conf->disks[0].end_sector = conf->disks[0].rdev->sectors; disks 143 drivers/md/md-linear.c conf->disks[i].end_sector = disks 144 drivers/md/md-linear.c conf->disks[i-1].end_sector + disks 145 drivers/md/md-linear.c conf->disks[i].rdev->sectors; disks 15 drivers/md/md-linear.h struct dev_info disks[0]; disks 28 drivers/md/md-multipath.c int i, disks = conf->raid_disks; disks 36 drivers/md/md-multipath.c for (i = 0; i < disks; i++) { disks 603 drivers/md/md.c if (!mddev->raid_disks && list_empty(&mddev->disks) && disks 628 drivers/md/md.c INIT_LIST_HEAD(&mddev->disks); disks 1163 drivers/md/md.c sb->disks[rdev->desc_nr].state & disks 1292 drivers/md/md.c if (sb->disks[rdev->desc_nr].state & ( disks 1311 drivers/md/md.c desc = sb->disks + rdev->desc_nr; disks 1413 drivers/md/md.c sb->disks[0].state = (1<<MD_DISK_REMOVED); disks 1434 drivers/md/md.c d = &sb->disks[rdev2->desc_nr]; disks 1463 drivers/md/md.c mdp_disk_t *d = &sb->disks[i]; disks 1478 drivers/md/md.c sb->this_disk = sb->disks[rdev->desc_nr]; disks 2213 drivers/md/md.c if (list_empty(&mddev->disks)) disks 2350 drivers/md/md.c list_add_rcu(&rdev->same_set, &mddev->disks); disks 2449 drivers/md/md.c while (!list_empty(&mddev->disks)) { disks 2450 drivers/md/md.c rdev = list_first_entry(&mddev->disks, struct md_rdev, disks 4266 drivers/md/md.c if (list_empty(&mddev->disks) && disks 4459 drivers/md/md.c if (!IS_ERR(rdev) && !list_empty(&mddev->disks)) { disks 4461 drivers/md/md.c = list_entry(mddev->disks.next, disks 4601 drivers/md/md.c else if (!list_empty(&mddev->disks)) disks 5597 drivers/md/md.c if (list_empty(&mddev->disks)) disks 5920 drivers/md/md.c if (list_empty(&mddev->disks)) disks 6239 drivers/md/md.c if (list_empty(&mddev->disks)) disks 6320 drivers/md/md.c || !list_empty(&mddev->disks)) { disks 6519 drivers/md/md.c if (!list_empty(&mddev->disks)) { disks 6521 drivers/md/md.c = list_entry(mddev->disks.next, disks 7402 drivers/md/md.c if (!list_empty(&mddev->disks)) { disks 8025 drivers/md/md.c if (mddev->pers || mddev->raid_disks || !list_empty(&mddev->disks)) { disks 8058 drivers/md/md.c if (!list_empty(&mddev->disks)) { disks 279 drivers/md/md.h struct list_head disks; disks 657 drivers/md/md.h list_for_each_entry(rdev, &((mddev)->disks), same_set) disks 660 drivers/md/md.h list_for_each_entry_safe(rdev, tmp, &((mddev)->disks), same_set) disks 663 drivers/md/md.h list_for_each_entry_rcu(rdev, &((mddev)->disks), same_set) disks 1331 drivers/md/raid1.c int i, disks; disks 1384 drivers/md/raid1.c disks = conf->raid_disks * 2; disks 1389 drivers/md/raid1.c for (i = 0; i < disks; i++) { disks 1479 drivers/md/raid1.c for (i = 0; i < disks; i++) { disks 2195 drivers/md/raid1.c int disks = conf->raid_disks * 2; disks 2210 drivers/md/raid1.c for (i = 0; i < disks ; i++) { disks 1591 drivers/md/raid10.c int disks, ncopies; disks 1593 drivers/md/raid10.c disks = conf->prev.raid_disks; disks 1596 drivers/md/raid10.c disks = conf->geo.raid_disks; disks 1611 drivers/md/raid10.c this = (this+1) % disks; disks 1615 drivers/md/raid10.c first = (first + ncopies) % disks; disks 3578 drivers/md/raid10.c int layout, chunk, disks; disks 3583 drivers/md/raid10.c disks = mddev->raid_disks - mddev->delta_disks; disks 3588 drivers/md/raid10.c disks = mddev->raid_disks; disks 3595 drivers/md/raid10.c disks = mddev->raid_disks + mddev->delta_disks; disks 3606 drivers/md/raid10.c geo->raid_disks = disks; disks 3612 drivers/md/raid10.c geo->far_set_size = disks; disks 3616 drivers/md/raid10.c geo->far_set_size = disks/fc; disks 310 drivers/md/raid5-cache.c struct stripe_head *sh, int disks) disks 314 drivers/md/raid5-cache.c for (i = sh->disks; i--; ) { disks 469 drivers/md/raid5-cache.c for (i = sh->disks; i--; ) disks 485 drivers/md/raid5-cache.c for (i = sh->disks; i--; ) disks 927 drivers/md/raid5-cache.c for (i = 0; i < sh->disks; i++) { disks 1016 drivers/md/raid5-cache.c for (i = 0; i < sh->disks; i++) { disks 1866 drivers/md/raid5-cache.c for (i = sh->disks; i--; ) disks 1879 drivers/md/raid5-cache.c for (disk_index = 0; disk_index < sh->disks; disk_index++) { disks 1895 drivers/md/raid5-cache.c for (disk_index = 0; disk_index < sh->disks; disk_index++) { disks 1901 drivers/md/raid5-cache.c rdev = rcu_dereference(conf->disks[disk_index].rdev); disks 1911 drivers/md/raid5-cache.c rrdev = rcu_dereference(conf->disks[disk_index].replacement); disks 2218 drivers/md/raid5-cache.c for (i = sh->disks; i--; ) { disks 2384 drivers/md/raid5-cache.c for (i = sh->disks; i--; ) { disks 2637 drivers/md/raid5-cache.c int disks) disks 2684 drivers/md/raid5-cache.c for (i = disks; i--; ) { disks 2732 drivers/md/raid5-cache.c for (i = disks; i--; ) { disks 2765 drivers/md/raid5-cache.c sh->dev[0].orig_page == conf->disks[0].extra_page; disks 2767 drivers/md/raid5-cache.c for (i = sh->disks; i--; ) disks 2790 drivers/md/raid5-cache.c for (i = sh->disks; i--; ) { disks 2794 drivers/md/raid5-cache.c dev->orig_page = conf->disks[i].extra_page; disks 2822 drivers/md/raid5-cache.c for (i = sh->disks; i--; ) { disks 2897 drivers/md/raid5-cache.c for (i = 0; i < sh->disks; i++) { disks 17 drivers/md/raid5-log.h struct stripe_head_state *s, int disks); disks 25 drivers/md/raid5-log.h struct stripe_head *sh, int disks); disks 161 drivers/md/raid5-ppl.c int disks = sh->disks; disks 183 drivers/md/raid5-ppl.c for (i = disks; i--;) { disks 193 drivers/md/raid5-ppl.c NULL, sh, (void *) (srcs + sh->disks + 2)); disks 298 drivers/md/raid5-ppl.c for (i = 0; i < sh->disks; i++) { disks 483 drivers/md/raid5-ppl.c for (i = 0; i < sh->disks; i++) { disks 631 drivers/md/raid5-ppl.c rdev = rcu_dereference(conf->disks[i].rdev); disks 895 drivers/md/raid5-ppl.c rdev = conf->disks[dd_idx].rdev; disks 946 drivers/md/raid5-ppl.c parity_rdev = conf->disks[sh.pd_idx].rdev; disks 1418 drivers/md/raid5-ppl.c struct md_rdev *rdev = conf->disks[i].rdev; disks 118 drivers/md/raid5.c if (sh->qd_idx == sh->disks - 1) disks 222 drivers/md/raid5.c for (i = sh->disks; i--; ) disks 503 drivers/md/raid5.c sh->disks = previous ? conf->previous_raid_disks : conf->raid_disks; disks 508 drivers/md/raid5.c for (i = sh->disks; i--; ) { disks 564 drivers/md/raid5.c struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev); disks 566 drivers/md/raid5.c rdev = rcu_dereference(conf->disks[i].replacement); disks 590 drivers/md/raid5.c struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev); disks 592 drivers/md/raid5.c rdev = rcu_dereference(conf->disks[i].replacement); disks 701 drivers/md/raid5.c BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); disks 702 drivers/md/raid5.c return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); disks 982 drivers/md/raid5.c int i, disks = sh->disks; disks 994 drivers/md/raid5.c for (i = disks; i--; ) { disks 1023 drivers/md/raid5.c rrdev = rcu_dereference(conf->disks[i].replacement); disks 1025 drivers/md/raid5.c rdev = rcu_dereference(conf->disks[i].rdev); disks 1300 drivers/md/raid5.c for (i = sh->disks; i--; ) { disks 1338 drivers/md/raid5.c for (i = sh->disks; i--; ) { disks 1401 drivers/md/raid5.c return (void *) (to_addr_page(percpu, i) + sh->disks + 2); disks 1407 drivers/md/raid5.c int disks = sh->disks; disks 1423 drivers/md/raid5.c for (i = disks; i--; ) disks 1452 drivers/md/raid5.c int disks = sh->disks; disks 1453 drivers/md/raid5.c int syndrome_disks = sh->ddf_layout ? disks : (disks - 2); disks 1458 drivers/md/raid5.c for (i = 0; i < disks; i++) disks 1480 drivers/md/raid5.c i = raid6_next_disk(i, disks); disks 1489 drivers/md/raid5.c int disks = sh->disks; disks 1529 drivers/md/raid5.c for (i = disks; i-- ; ) { disks 1547 drivers/md/raid5.c int i, count, disks = sh->disks; disks 1548 drivers/md/raid5.c int syndrome_disks = sh->ddf_layout ? disks : disks-2; disks 1569 drivers/md/raid5.c for (i = 0; i < disks ; i++) disks 1582 drivers/md/raid5.c i = raid6_next_disk(i, disks); disks 1614 drivers/md/raid5.c for (i = disks; i-- ; ) { disks 1671 drivers/md/raid5.c int disks = sh->disks; disks 1683 drivers/md/raid5.c for (i = disks; i--; ) { disks 1723 drivers/md/raid5.c int disks = sh->disks; disks 1730 drivers/md/raid5.c for (i = disks; i--; ) { disks 1793 drivers/md/raid5.c int disks = sh->disks; disks 1802 drivers/md/raid5.c for (i = disks; i--; ) { disks 1808 drivers/md/raid5.c for (i = disks; i--; ) { disks 1841 drivers/md/raid5.c int disks = sh->disks; disks 1855 drivers/md/raid5.c for (i = 0; i < sh->disks; i++) { disks 1861 drivers/md/raid5.c if (i >= sh->disks) { disks 1876 drivers/md/raid5.c for (i = disks; i--; ) { disks 1884 drivers/md/raid5.c for (i = disks; i--; ) { disks 1938 drivers/md/raid5.c for (i = 0; i < sh->disks; i++) { disks 1944 drivers/md/raid5.c if (i >= sh->disks) { disks 1998 drivers/md/raid5.c int disks = sh->disks; disks 2015 drivers/md/raid5.c for (i = disks; i--; ) { disks 2054 drivers/md/raid5.c int overlap_clear = 0, i, disks = sh->disks; disks 2116 drivers/md/raid5.c for (i = disks; i--; ) { disks 2132 drivers/md/raid5.c int disks, struct r5conf *conf) disks 2148 drivers/md/raid5.c for (i = 0; i < disks; i++) { disks 2386 drivers/md/raid5.c ndisks[i] = conf->disks[i]; disks 2400 drivers/md/raid5.c kfree(conf->disks); disks 2401 drivers/md/raid5.c conf->disks = ndisks; disks 2465 drivers/md/raid5.c int disks = sh->disks, i; disks 2470 drivers/md/raid5.c for (i=0 ; i<disks; i++) disks 2477 drivers/md/raid5.c if (i == disks) { disks 2488 drivers/md/raid5.c rdev = conf->disks[i].replacement; disks 2490 drivers/md/raid5.c rdev = conf->disks[i].rdev; disks 2596 drivers/md/raid5.c int disks = sh->disks, i; disks 2602 drivers/md/raid5.c for (i = 0 ; i < disks; i++) { disks 2604 drivers/md/raid5.c rdev = conf->disks[i].rdev; disks 2608 drivers/md/raid5.c rdev = conf->disks[i].replacement; disks 2616 drivers/md/raid5.c rdev = conf->disks[i].rdev; disks 2623 drivers/md/raid5.c if (i == disks) { disks 2918 drivers/md/raid5.c int raid_disks = sh->disks; disks 3095 drivers/md/raid5.c int i, pd_idx = sh->pd_idx, qd_idx = sh->qd_idx, disks = sh->disks; disks 3108 drivers/md/raid5.c for (i = disks; i--; ) { disks 3137 drivers/md/raid5.c if (s->locked + conf->max_degraded == disks) disks 3147 drivers/md/raid5.c for (i = disks; i--; ) { disks 3249 drivers/md/raid5.c for (i = 0; i < sh->disks; i++) { disks 3339 drivers/md/raid5.c int disks = previous ? conf->previous_raid_disks : conf->raid_disks; disks 3342 drivers/md/raid5.c stripe * (disks - conf->max_degraded) disks 3350 drivers/md/raid5.c struct stripe_head_state *s, int disks) disks 3354 drivers/md/raid5.c for (i = disks; i--; ) { disks 3361 drivers/md/raid5.c rdev = rcu_dereference(conf->disks[i].rdev); disks 3487 drivers/md/raid5.c struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev); disks 3494 drivers/md/raid5.c rdev = rcu_dereference(conf->disks[i].replacement); disks 3516 drivers/md/raid5.c rdev = rcu_dereference(sh->raid_conf->disks[disk_idx].replacement); disks 3528 drivers/md/raid5.c int disk_idx, int disks) disks 3624 drivers/md/raid5.c int disk_idx, int disks) disks 3629 drivers/md/raid5.c if (need_this_block(sh, s, disk_idx, disks)) { disks 3646 drivers/md/raid5.c if ((s->uptodate == disks - 1) && disks 3669 drivers/md/raid5.c } else if (s->uptodate == disks-2 && s->failed >= 2) { disks 3674 drivers/md/raid5.c for (other = disks; other--; ) { disks 3711 drivers/md/raid5.c int disks) disks 3735 drivers/md/raid5.c for (i = disks; i--; ) disks 3736 drivers/md/raid5.c if (fetch_block(sh, s, i, disks)) disks 3751 drivers/md/raid5.c struct stripe_head *sh, int disks) disks 3759 drivers/md/raid5.c for (i = disks; i--; ) disks 3868 drivers/md/raid5.c int disks) disks 3890 drivers/md/raid5.c } else for (i = disks; i--; ) { disks 3902 drivers/md/raid5.c rmw += 2*disks; /* cannot read it */ disks 3913 drivers/md/raid5.c rcw += 2*disks; disks 3926 drivers/md/raid5.c for (i = disks; i--; ) { disks 3956 drivers/md/raid5.c for (i = disks; i--; ) { disks 3983 drivers/md/raid5.c for (i = disks; i--; ) { disks 4012 drivers/md/raid5.c if (rcw > disks && rmw > disks && disks 4034 drivers/md/raid5.c struct stripe_head_state *s, int disks) disks 4045 drivers/md/raid5.c BUG_ON(s->uptodate != disks); disks 4065 drivers/md/raid5.c BUG_ON(s->uptodate != disks); disks 4128 drivers/md/raid5.c int disks) disks 4313 drivers/md/raid5.c for (i = 0; i < sh->disks; i++) disks 4377 drivers/md/raid5.c int disks = sh->disks; disks 4392 drivers/md/raid5.c for (i=disks; i--; ) { disks 4436 drivers/md/raid5.c rdev = rcu_dereference(conf->disks[i].replacement); disks 4447 drivers/md/raid5.c rdev = rcu_dereference(conf->disks[i].rdev); disks 4495 drivers/md/raid5.c conf->disks[i].rdev); disks 4508 drivers/md/raid5.c conf->disks[i].rdev); disks 4517 drivers/md/raid5.c conf->disks[i].replacement); disks 4539 drivers/md/raid5.c conf->disks[i].replacement); disks 4644 drivers/md/raid5.c for (i = 0; i < sh->disks; i++) { disks 4658 drivers/md/raid5.c for (i = 0; i < head_sh->disks; i++) disks 4674 drivers/md/raid5.c int disks = sh->disks; disks 4761 drivers/md/raid5.c handle_failed_stripe(conf, sh, &s, disks); disks 4784 drivers/md/raid5.c for (i = disks; i--; ) { disks 4827 drivers/md/raid5.c handle_stripe_clean_event(conf, sh, disks); disks 4830 drivers/md/raid5.c r5c_handle_cached_data_endio(conf, sh, disks); disks 4839 drivers/md/raid5.c || (s.syncing && (s.uptodate + s.compute < disks)) disks 4842 drivers/md/raid5.c handle_stripe_fill(sh, &s, disks); disks 4863 drivers/md/raid5.c handle_stripe_dirtying(conf, sh, &s, disks); disks 4870 drivers/md/raid5.c disks); disks 4883 drivers/md/raid5.c disks); disks 4900 drivers/md/raid5.c handle_parity_checks6(conf, sh, &s, disks); disks 4902 drivers/md/raid5.c handle_parity_checks5(conf, sh, &s, disks); disks 4984 drivers/md/raid5.c sh->disks = conf->raid_disks; disks 5014 drivers/md/raid5.c for (i = disks; i--; ) { disks 5019 drivers/md/raid5.c rdev = conf->disks[i].rdev; disks 5026 drivers/md/raid5.c rdev = conf->disks[i].rdev; disks 5032 drivers/md/raid5.c rdev = conf->disks[i].replacement; disks 5035 drivers/md/raid5.c rdev = conf->disks[i].rdev; disks 5237 drivers/md/raid5.c rdev = rcu_dereference(conf->disks[dd_idx].replacement); disks 5240 drivers/md/raid5.c rdev = rcu_dereference(conf->disks[dd_idx].rdev); disks 5922 drivers/md/raid5.c for (j=sh->disks; j--;) { disks 6098 drivers/md/raid5.c struct md_rdev *rdev = READ_ONCE(conf->disks[i].rdev); disks 6805 drivers/md/raid5.c if (conf->disks[i].extra_page) disks 6806 drivers/md/raid5.c put_page(conf->disks[i].extra_page); disks 6807 drivers/md/raid5.c kfree(conf->disks); disks 6974 drivers/md/raid5.c conf->disks = kcalloc(max_disks, sizeof(struct disk_info), disks 6977 drivers/md/raid5.c if (!conf->disks) disks 6981 drivers/md/raid5.c conf->disks[i].extra_page = alloc_page(GFP_KERNEL); disks 6982 drivers/md/raid5.c if (!conf->disks[i].extra_page) disks 7028 drivers/md/raid5.c disk = conf->disks + raid_disk; disks 7316 drivers/md/raid5.c rdev = conf->disks[i].rdev; disks 7317 drivers/md/raid5.c if (!rdev && conf->disks[i].replacement) { disks 7319 drivers/md/raid5.c rdev = conf->disks[i].replacement; disks 7320 drivers/md/raid5.c conf->disks[i].replacement = NULL; disks 7322 drivers/md/raid5.c conf->disks[i].rdev = rdev; disks 7326 drivers/md/raid5.c if (conf->disks[i].replacement && disks 7521 drivers/md/raid5.c struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev); disks 7544 drivers/md/raid5.c tmp = conf->disks + i; disks 7561 drivers/md/raid5.c tmp = conf->disks + i; disks 7601 drivers/md/raid5.c struct disk_info *p = conf->disks + number; disks 7724 drivers/md/raid5.c conf->disks[rdev->saved_raid_disk].rdev == NULL) disks 7728 drivers/md/raid5.c p = conf->disks + disk; disks 7742 drivers/md/raid5.c p = conf->disks + disk; disks 8053 drivers/md/raid5.c struct md_rdev *rdev = conf->disks[d].rdev; disks 8056 drivers/md/raid5.c rdev = conf->disks[d].replacement; disks 213 drivers/md/raid5.h int disks; /* disks in stripe */ disks 670 drivers/md/raid5.h struct disk_info *disks; disks 156 include/linux/raid/pq.h extern void (*raid6_2data_recov)(int disks, size_t bytes, int faila, int failb, disks 158 include/linux/raid/pq.h extern void (*raid6_datap_recov)(int disks, size_t bytes, int faila, disks 160 include/linux/raid/pq.h void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, disks 201 include/uapi/linux/raid/md_p.h mdp_disk_t disks[MD_SB_DISKS]; disks 149 lib/raid6/algos.c void *(*const dptrs)[(65536/PAGE_SIZE)+2], const int disks) disks 152 lib/raid6/algos.c int start = (disks>>1)-1, stop = disks-3; /* work on the second half of the disks */ disks 174 lib/raid6/algos.c (*algo)->gen_syndrome(disks, PAGE_SIZE, *dptrs); disks 197 lib/raid6/algos.c (*algo)->xor_syndrome(disks, start, stop, disks 231 lib/raid6/algos.c const int disks = (65536/PAGE_SIZE)+2; disks 239 lib/raid6/algos.c for (i = 0; i < disks-2; i++) disks 250 lib/raid6/algos.c dptrs[disks-2] = syndromes; disks 251 lib/raid6/algos.c dptrs[disks-1] = syndromes + PAGE_SIZE; disks 254 lib/raid6/algos.c gen_best = raid6_choose_gen(&dptrs, disks); disks 36 lib/raid6/avx2.c static void raid6_avx21_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 42 lib/raid6/avx2.c z0 = disks - 3; /* Highest data disk */ disks 84 lib/raid6/avx2.c static void raid6_avx21_xor_syndrome(int disks, int start, int stop, disks 92 lib/raid6/avx2.c p = dptr[disks-2]; /* XOR parity */ disks 93 lib/raid6/avx2.c q = dptr[disks-1]; /* RS syndrome */ disks 143 lib/raid6/avx2.c static void raid6_avx22_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 149 lib/raid6/avx2.c z0 = disks - 3; /* Highest data disk */ disks 194 lib/raid6/avx2.c static void raid6_avx22_xor_syndrome(int disks, int start, int stop, disks 202 lib/raid6/avx2.c p = dptr[disks-2]; /* XOR parity */ disks 203 lib/raid6/avx2.c q = dptr[disks-1]; /* RS syndrome */ disks 275 lib/raid6/avx2.c static void raid6_avx24_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 281 lib/raid6/avx2.c z0 = disks - 3; /* Highest data disk */ disks 355 lib/raid6/avx2.c static void raid6_avx24_xor_syndrome(int disks, int start, int stop, disks 363 lib/raid6/avx2.c p = dptr[disks-2]; /* XOR parity */ disks 364 lib/raid6/avx2.c q = dptr[disks-1]; /* RS syndrome */ disks 44 lib/raid6/avx512.c static void raid6_avx5121_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 50 lib/raid6/avx512.c z0 = disks - 3; /* Highest data disk */ disks 101 lib/raid6/avx512.c static void raid6_avx5121_xor_syndrome(int disks, int start, int stop, disks 109 lib/raid6/avx512.c p = dptr[disks-2]; /* XOR parity */ disks 110 lib/raid6/avx512.c q = dptr[disks-1]; /* RS syndrome */ disks 171 lib/raid6/avx512.c static void raid6_avx5122_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 177 lib/raid6/avx512.c z0 = disks - 3; /* Highest data disk */ disks 233 lib/raid6/avx512.c static void raid6_avx5122_xor_syndrome(int disks, int start, int stop, disks 241 lib/raid6/avx512.c p = dptr[disks-2]; /* XOR parity */ disks 242 lib/raid6/avx512.c q = dptr[disks-1]; /* RS syndrome */ disks 330 lib/raid6/avx512.c static void raid6_avx5124_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 336 lib/raid6/avx512.c z0 = disks - 3; /* Highest data disk */ disks 423 lib/raid6/avx512.c static void raid6_avx5124_xor_syndrome(int disks, int start, int stop, disks 431 lib/raid6/avx512.c p = dptr[disks-2]; /* XOR parity */ disks 432 lib/raid6/avx512.c q = dptr[disks-1]; /* RS syndrome */ disks 35 lib/raid6/mmx.c static void raid6_mmx1_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 41 lib/raid6/mmx.c z0 = disks - 3; /* Highest data disk */ disks 83 lib/raid6/mmx.c static void raid6_mmx2_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 89 lib/raid6/mmx.c z0 = disks - 3; /* Highest data disk */ disks 30 lib/raid6/neon.c static void raid6_neon ## _n ## _gen_syndrome(int disks, \ disks 36 lib/raid6/neon.c raid6_neon ## _n ## _gen_syndrome_real(disks, \ disks 40 lib/raid6/neon.c static void raid6_neon ## _n ## _xor_syndrome(int disks, \ disks 47 lib/raid6/neon.c raid6_neon ## _n ## _xor_syndrome_real(disks, \ disks 20 lib/raid6/recov.c static void raid6_2data_recov_intx1(int disks, size_t bytes, int faila, disks 28 lib/raid6/recov.c p = (u8 *)ptrs[disks-2]; disks 29 lib/raid6/recov.c q = (u8 *)ptrs[disks-1]; disks 36 lib/raid6/recov.c ptrs[disks-2] = dp; disks 39 lib/raid6/recov.c ptrs[disks-1] = dq; disks 41 lib/raid6/recov.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 46 lib/raid6/recov.c ptrs[disks-2] = p; disks 47 lib/raid6/recov.c ptrs[disks-1] = q; disks 64 lib/raid6/recov.c static void raid6_datap_recov_intx1(int disks, size_t bytes, int faila, disks 70 lib/raid6/recov.c p = (u8 *)ptrs[disks-2]; disks 71 lib/raid6/recov.c q = (u8 *)ptrs[disks-1]; disks 77 lib/raid6/recov.c ptrs[disks-1] = dq; disks 79 lib/raid6/recov.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 83 lib/raid6/recov.c ptrs[disks-1] = q; disks 108 lib/raid6/recov.c void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, void **ptrs) disks 116 lib/raid6/recov.c if ( failb == disks-1 ) { disks 117 lib/raid6/recov.c if ( faila == disks-2 ) { disks 119 lib/raid6/recov.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 126 lib/raid6/recov.c if ( failb == disks-2 ) { disks 128 lib/raid6/recov.c raid6_datap_recov(disks, bytes, faila, ptrs); disks 131 lib/raid6/recov.c raid6_2data_recov(disks, bytes, faila, failb, ptrs); disks 18 lib/raid6/recov_avx2.c static void raid6_2data_recov_avx2(int disks, size_t bytes, int faila, disks 26 lib/raid6/recov_avx2.c p = (u8 *)ptrs[disks-2]; disks 27 lib/raid6/recov_avx2.c q = (u8 *)ptrs[disks-1]; disks 34 lib/raid6/recov_avx2.c ptrs[disks-2] = dp; disks 37 lib/raid6/recov_avx2.c ptrs[disks-1] = dq; disks 39 lib/raid6/recov_avx2.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 44 lib/raid6/recov_avx2.c ptrs[disks-2] = p; disks 45 lib/raid6/recov_avx2.c ptrs[disks-1] = q; disks 188 lib/raid6/recov_avx2.c static void raid6_datap_recov_avx2(int disks, size_t bytes, int faila, disks 195 lib/raid6/recov_avx2.c p = (u8 *)ptrs[disks-2]; disks 196 lib/raid6/recov_avx2.c q = (u8 *)ptrs[disks-1]; disks 202 lib/raid6/recov_avx2.c ptrs[disks-1] = dq; disks 204 lib/raid6/recov_avx2.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 208 lib/raid6/recov_avx2.c ptrs[disks-1] = q; disks 24 lib/raid6/recov_avx512.c static void raid6_2data_recov_avx512(int disks, size_t bytes, int faila, disks 32 lib/raid6/recov_avx512.c p = (u8 *)ptrs[disks-2]; disks 33 lib/raid6/recov_avx512.c q = (u8 *)ptrs[disks-1]; disks 43 lib/raid6/recov_avx512.c ptrs[disks-2] = dp; disks 46 lib/raid6/recov_avx512.c ptrs[disks-1] = dq; disks 48 lib/raid6/recov_avx512.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 53 lib/raid6/recov_avx512.c ptrs[disks-2] = p; disks 54 lib/raid6/recov_avx512.c ptrs[disks-1] = q; disks 227 lib/raid6/recov_avx512.c static void raid6_datap_recov_avx512(int disks, size_t bytes, int faila, disks 234 lib/raid6/recov_avx512.c p = (u8 *)ptrs[disks-2]; disks 235 lib/raid6/recov_avx512.c q = (u8 *)ptrs[disks-1]; disks 244 lib/raid6/recov_avx512.c ptrs[disks-1] = dq; disks 246 lib/raid6/recov_avx512.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 250 lib/raid6/recov_avx512.c ptrs[disks-1] = q; disks 29 lib/raid6/recov_neon.c static void raid6_2data_recov_neon(int disks, size_t bytes, int faila, disks 36 lib/raid6/recov_neon.c p = (u8 *)ptrs[disks - 2]; disks 37 lib/raid6/recov_neon.c q = (u8 *)ptrs[disks - 1]; disks 46 lib/raid6/recov_neon.c ptrs[disks - 2] = dp; disks 49 lib/raid6/recov_neon.c ptrs[disks - 1] = dq; disks 51 lib/raid6/recov_neon.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 56 lib/raid6/recov_neon.c ptrs[disks - 2] = p; disks 57 lib/raid6/recov_neon.c ptrs[disks - 1] = q; disks 69 lib/raid6/recov_neon.c static void raid6_datap_recov_neon(int disks, size_t bytes, int faila, disks 75 lib/raid6/recov_neon.c p = (u8 *)ptrs[disks - 2]; disks 76 lib/raid6/recov_neon.c q = (u8 *)ptrs[disks - 1]; disks 84 lib/raid6/recov_neon.c ptrs[disks - 1] = dq; disks 86 lib/raid6/recov_neon.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 90 lib/raid6/recov_neon.c ptrs[disks - 1] = q; disks 23 lib/raid6/recov_s390xc.c static void raid6_2data_recov_s390xc(int disks, size_t bytes, int faila, disks 31 lib/raid6/recov_s390xc.c p = (u8 *)ptrs[disks-2]; disks 32 lib/raid6/recov_s390xc.c q = (u8 *)ptrs[disks-1]; disks 39 lib/raid6/recov_s390xc.c ptrs[disks-2] = dp; disks 42 lib/raid6/recov_s390xc.c ptrs[disks-1] = dq; disks 44 lib/raid6/recov_s390xc.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 49 lib/raid6/recov_s390xc.c ptrs[disks-2] = p; disks 50 lib/raid6/recov_s390xc.c ptrs[disks-1] = q; disks 72 lib/raid6/recov_s390xc.c static void raid6_datap_recov_s390xc(int disks, size_t bytes, int faila, disks 79 lib/raid6/recov_s390xc.c p = (u8 *)ptrs[disks-2]; disks 80 lib/raid6/recov_s390xc.c q = (u8 *)ptrs[disks-1]; disks 86 lib/raid6/recov_s390xc.c ptrs[disks-1] = dq; disks 88 lib/raid6/recov_s390xc.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 92 lib/raid6/recov_s390xc.c ptrs[disks-1] = q; disks 18 lib/raid6/recov_ssse3.c static void raid6_2data_recov_ssse3(int disks, size_t bytes, int faila, disks 28 lib/raid6/recov_ssse3.c p = (u8 *)ptrs[disks-2]; disks 29 lib/raid6/recov_ssse3.c q = (u8 *)ptrs[disks-1]; disks 36 lib/raid6/recov_ssse3.c ptrs[disks-2] = dp; disks 39 lib/raid6/recov_ssse3.c ptrs[disks-1] = dq; disks 41 lib/raid6/recov_ssse3.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 46 lib/raid6/recov_ssse3.c ptrs[disks-2] = p; disks 47 lib/raid6/recov_ssse3.c ptrs[disks-1] = q; disks 193 lib/raid6/recov_ssse3.c static void raid6_datap_recov_ssse3(int disks, size_t bytes, int faila, disks 202 lib/raid6/recov_ssse3.c p = (u8 *)ptrs[disks-2]; disks 203 lib/raid6/recov_ssse3.c q = (u8 *)ptrs[disks-1]; disks 209 lib/raid6/recov_ssse3.c ptrs[disks-1] = dq; disks 211 lib/raid6/recov_ssse3.c raid6_call.gen_syndrome(disks, bytes, ptrs); disks 215 lib/raid6/recov_ssse3.c ptrs[disks-1] = q; disks 40 lib/raid6/sse1.c static void raid6_sse11_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 46 lib/raid6/sse1.c z0 = disks - 3; /* Highest data disk */ disks 99 lib/raid6/sse1.c static void raid6_sse12_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 105 lib/raid6/sse1.c z0 = disks - 3; /* Highest data disk */ disks 36 lib/raid6/sse2.c static void raid6_sse21_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 42 lib/raid6/sse2.c z0 = disks - 3; /* Highest data disk */ disks 87 lib/raid6/sse2.c static void raid6_sse21_xor_syndrome(int disks, int start, int stop, disks 95 lib/raid6/sse2.c p = dptr[disks-2]; /* XOR parity */ disks 96 lib/raid6/sse2.c q = dptr[disks-1]; /* RS syndrome */ disks 146 lib/raid6/sse2.c static void raid6_sse22_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 152 lib/raid6/sse2.c z0 = disks - 3; /* Highest data disk */ disks 198 lib/raid6/sse2.c static void raid6_sse22_xor_syndrome(int disks, int start, int stop, disks 206 lib/raid6/sse2.c p = dptr[disks-2]; /* XOR parity */ disks 207 lib/raid6/sse2.c q = dptr[disks-1]; /* RS syndrome */ disks 278 lib/raid6/sse2.c static void raid6_sse24_gen_syndrome(int disks, size_t bytes, void **ptrs) disks 284 lib/raid6/sse2.c z0 = disks - 3; /* Highest data disk */ disks 364 lib/raid6/sse2.c static void raid6_sse24_xor_syndrome(int disks, int start, int stop, disks 372 lib/raid6/sse2.c p = dptr[disks-2]; /* XOR parity */ disks 373 lib/raid6/sse2.c q = dptr[disks-1]; /* RS syndrome */