Lines Matching defs:blocks

1130 		/* We have already checked bad blocks for reads.  Now
1596 struct page **blocks = to_addr_page(percpu, 0);
1628 count = set_syndrome_sources(blocks, offs, sh, SYNDROME_SRC_ALL);
1629 blocks[count] = NULL; /* regenerating p is not necessary */
1630 BUG_ON(blocks[count+1] != dest); /* q should already be set */
1634 tx = async_gen_syndrome(blocks, offs, count+2,
1643 blocks[count++] = sh->dev[i].page;
1649 tx = async_xor_offs(dest, dest_off, blocks, offs, count,
1668 struct page **blocks = to_addr_page(percpu, 0);
1684 blocks[i] = NULL;
1692 blocks[slot] = sh->dev[i].page;
1716 return async_gen_syndrome(blocks, offs, syndrome_disks+2,
1736 blocks[count++] = sh->dev[i].page;
1744 tx = async_xor_offs(dest, dest_off, blocks, offs, count,
1748 count = set_syndrome_sources(blocks, offs, sh, SYNDROME_SRC_ALL);
1752 return async_gen_syndrome(blocks, offs, count+2,
1765 blocks, offs, &submit);
1771 blocks, offs, &submit);
1811 /* Only process blocks that are known to be uptodate */
1837 struct page **blocks = to_addr_page(percpu, 0);
1845 count = set_syndrome_sources(blocks, offs, sh, SYNDROME_SRC_WANT_DRAIN);
1849 tx = async_gen_syndrome(blocks, offs, count+2,
2010 /* check if prexor is active which means only process blocks
2077 struct page **blocks;
2102 blocks = to_addr_page(percpu, j);
2113 count = set_syndrome_sources(blocks, offs, sh, synflags);
2125 tx = async_gen_syndrome(blocks, offs, count+2,
2398 * calculate over all devices (not just the data blocks), using zeros in place
2399 * of the P and Q blocks.
3027 * of blocks for computing Q is different.
3851 * In other cases we only compute blocks from failed
3892 pr_debug("Computing stripe %llu blocks %d,%d\n",
3925 /* look for blocks to read/compute, skip this if a compute
4513 /* We have read all the blocks in this stripe and now we need to
4530 /* so far only the early blocks of this stripe
4531 * have been requested. When later blocks
4641 * if it is recovered enough and has no bad blocks.
5019 * might be able to return some write requests if the parity blocks
5045 /* Now we might consider reading some blocks, either to check/generate
5192 /* Need to write out all blocks after computing parity */
6106 * array, then we need to zero those blocks