Lines Matching defs:blocks

1215 		/* We have already checked bad blocks for reads.  Now
1674 struct page **blocks = to_addr_page(percpu, 0);
1706 count = set_syndrome_sources(blocks, offs, sh, SYNDROME_SRC_ALL);
1707 blocks[count] = NULL; /* regenerating p is not necessary */
1708 BUG_ON(blocks[count+1] != dest); /* q should already be set */
1712 tx = async_gen_syndrome(blocks, offs, count+2,
1721 blocks[count++] = sh->dev[i].page;
1727 tx = async_xor_offs(dest, dest_off, blocks, offs, count,
1746 struct page **blocks = to_addr_page(percpu, 0);
1762 blocks[i] = NULL;
1770 blocks[slot] = sh->dev[i].page;
1794 return async_gen_syndrome(blocks, offs, syndrome_disks+2,
1814 blocks[count++] = sh->dev[i].page;
1822 tx = async_xor_offs(dest, dest_off, blocks, offs, count,
1826 count = set_syndrome_sources(blocks, offs, sh, SYNDROME_SRC_ALL);
1830 return async_gen_syndrome(blocks, offs, count+2,
1843 blocks, offs, &submit);
1849 blocks, offs, &submit);
1889 /* Only process blocks that are known to be uptodate */
1915 struct page **blocks = to_addr_page(percpu, 0);
1923 count = set_syndrome_sources(blocks, offs, sh, SYNDROME_SRC_WANT_DRAIN);
1927 tx = async_gen_syndrome(blocks, offs, count+2,
2088 /* check if prexor is active which means only process blocks
2155 struct page **blocks;
2180 blocks = to_addr_page(percpu, j);
2191 count = set_syndrome_sources(blocks, offs, sh, synflags);
2203 tx = async_gen_syndrome(blocks, offs, count+2,
2469 * calculate over all devices (not just the data blocks), using zeros in place
2470 * of the P and Q blocks.
3115 * of blocks for computing Q is different.
3963 * In other cases we only compute blocks from failed
4004 pr_debug("Computing stripe %llu blocks %d,%d\n",
4037 /* look for blocks to read/compute, skip this if a compute
4625 /* We have read all the blocks in this stripe and now we need to
4643 /* so far only the early blocks of this stripe
4644 * have been requested. When later blocks
4754 * if it is recovered enough and has no bad blocks.
5132 * might be able to return some write requests if the parity blocks
5158 /* Now we might consider reading some blocks, either to check/generate
5307 /* Need to write out all blocks after computing parity */
6429 * array, then we need to zero those blocks