Lines Matching defs:uptodate
26 * to track sub-page uptodate status and I/O completions.
32 unsigned long uptodate[];
60 iop = kzalloc(struct_size(iop, uptodate, BITS_TO_LONGS(nr_blocks)),
64 bitmap_fill(iop->uptodate, nr_blocks);
79 WARN_ON_ONCE(bitmap_full(iop->uptodate, nr_blocks) !=
102 * per-block uptodate status and adjust the offset and length if needed
103 * to avoid reading in already uptodate ranges.
108 /* move forward for each leading block marked uptodate */
110 if (!test_bit(i, iop->uptodate))
118 /* truncate len if we find any trailing uptodate block(s) */
120 if (test_bit(i, iop->uptodate)) {
154 bitmap_set(iop->uptodate, first, last - first + 1);
155 if (bitmap_full(iop->uptodate, i_blocks_per_page(inode, page)))
308 * For that we have to include any leading non-uptodate ranges, but
427 * uptodate or not.
430 * we want to read within the page are uptodate.
450 if (!test_bit(i, iop->uptodate))
675 * The blocks that were entirely written will now be uptodate, so we
678 * partially written into a block, it will not be marked uptodate, so a
682 * uptodate page as a zero-length write, and force the caller to redo
1361 if (iop && !test_bit(i, iop->uptodate))