Lines Matching defs:uptodate
143 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate)
145 if (uptodate) {
158 void end_buffer_read_sync(struct buffer_head *bh, int uptodate)
160 __end_buffer_read_notouch(bh, uptodate);
165 void end_buffer_write_sync(struct buffer_head *bh, int uptodate)
167 if (uptodate) {
245 static void end_buffer_async_read(struct buffer_head *bh, int uptodate)
256 if (uptodate) {
286 * If all of the buffers are uptodate then we can set the page
287 * uptodate.
353 static void end_buffer_async_read_io(struct buffer_head *bh, int uptodate)
360 if (uptodate && (decrypt || verify)) {
375 uptodate = 0;
377 end_buffer_async_read(bh, uptodate);
384 void end_buffer_async_write(struct buffer_head *bh, int uptodate)
394 if (uptodate) {
703 * If the page has buffers, the uptodate buffers are set dirty, to preserve
1008 bool uptodate = folio_test_uptodate(folio);
1017 if (uptodate)
1168 * individually become uptodate. But their backing page remains not
1169 * uptodate - even if all of its buffers are uptodate. A subsequent
1170 * block_read_full_folio() against that folio will discover all the uptodate
1171 * buffers, will set the folio uptodate and will perform no I/O.
1690 * it not-uptodate - nobody can expect anything from a newly allocated buffer
1781 * NOTE! All mapped/uptodate combinations are valid:
1790 * "Dirty" is valid only with the last case (mapped+uptodate).
1972 * If a folio has any new buffers, zero them out here, and mark them uptodate
2203 * uptodate then we can optimize away a bogus read_folio() for
2205 * uptodate as a result of this (potentially partial) write.
2213 * bringing partial write blocks uptodate first.
2249 * The buffers that were written will now be uptodate, so
2253 * into a buffer, it will not be marked uptodate, so a
2257 * non uptodate folio as a zero-length write, and force the
2315 * uptodate or not.
2318 * of the folio are uptodate.
2428 * All buffers are uptodate - we can set the folio uptodate
2447 * the underlying blockdev brought it uptodate (the sct fix).
3062 * bh_uptodate_or_lock - Test whether the buffer is uptodate