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) {
347 static void end_buffer_async_read_io(struct buffer_head *bh, int uptodate)
354 if (uptodate && (decrypt || verify)) {
369 uptodate = 0;
371 end_buffer_async_read(bh, uptodate);
378 static void end_buffer_async_write(struct buffer_head *bh, int uptodate)
388 if (uptodate) {
696 * If the page has buffers, the uptodate buffers are set dirty, to preserve
1001 bool uptodate = folio_test_uptodate(folio);
1011 if (uptodate)
1156 * individually become uptodate. But their backing page remains not
1157 * uptodate - even if all of its buffers are uptodate. A subsequent
1158 * block_read_full_folio() against that folio will discover all the uptodate
1159 * buffers, will set the folio uptodate and will perform no I/O.
1687 * it not-uptodate - nobody can expect anything from a newly allocated buffer
1767 * NOTE! All mapped/uptodate combinations are valid:
1776 * "Dirty" is valid only with the last case (mapped+uptodate).
1960 * If a folio has any new buffers, zero them out here, and mark them uptodate
2188 * uptodate then we can optimize away a bogus read_folio() for
2190 * uptodate as a result of this (potentially partial) write.
2198 * bringing partial write blocks uptodate first.
2234 * The buffers that were written will now be uptodate, so
2238 * into a buffer, it will not be marked uptodate, so a
2242 * non uptodate folio as a zero-length write, and force the
2300 * uptodate or not.
2303 * of the folio are uptodate.
2412 * All buffers are uptodate or get_block() returned an
2429 * the underlying blockdev brought it uptodate (the sct fix).
3040 * bh_uptodate_or_lock - Test whether the buffer is uptodate