Lines Matching refs:uptodate
142 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate)
144 if (uptodate) {
157 void end_buffer_read_sync(struct buffer_head *bh, int uptodate)
159 __end_buffer_read_notouch(bh, uptodate);
164 void end_buffer_write_sync(struct buffer_head *bh, int uptodate)
166 if (uptodate) {
244 static void end_buffer_async_read(struct buffer_head *bh, int uptodate)
255 if (uptodate) {
286 * uptodate then we can set the page uptodate.
320 static void end_buffer_async_read_io(struct buffer_head *bh, int uptodate)
323 if (uptodate &&
333 uptodate = 0;
335 end_buffer_async_read(bh, uptodate);
342 void end_buffer_async_write(struct buffer_head *bh, int uptodate)
352 if (uptodate) {
595 * If warn is true, then emit a warning if the page is not uptodate and has
622 * If the page has buffers, the uptodate buffers are set dirty, to preserve
924 int uptodate = PageUptodate(page);
933 if (uptodate)
1093 * individually become uptodate. But their backing page remains not
1094 * uptodate - even if all of its buffers are uptodate. A subsequent
1095 * block_read_full_page() against that page will discover all the uptodate
1096 * buffers, will set the page uptodate and will perform no I/O.
1596 * it not-uptodate - nobody can expect anything from a newly allocated buffer
1684 * NOTE! All mapped/uptodate combinations are valid:
1693 * "Dirty" is valid only with the last case (mapped+uptodate).
1877 * If a page has any new buffers, zero them out here, and mark them uptodate
2094 * uptodate then we can optimize away a bogus readpage() for
2096 * uptodate as a result of this (potentially partial) write.
2105 * bringing partial write blocks uptodate first.
2143 * The buffers that were written will now be uptodate, so we
2147 * will not be marked uptodate, so a readpage might come in and
2151 * non uptodate page as a zero-length write, and force the
2209 * uptodate or not.
2212 * we want to read are uptodate.
2313 * All buffers are uptodate - we can set the page uptodate
2332 * the underlying blockdev brought it uptodate (the sct fix).
2543 static void end_buffer_read_nobh(struct buffer_head *bh, int uptodate)
2545 __end_buffer_read_notouch(bh, uptodate);
2573 * On entry, the page is fully not uptodate.
2574 * On exit the page is fully uptodate in the areas outside (from,to)
3375 * bh_uptodate_or_lock - Test whether the buffer is uptodate