/linux/include/trace/events/ |
H A D | erofs.h | 94 __field(int, uptodate) 103 __entry->uptodate = folio_test_uptodate(folio); 112 __entry->uptodate,
|
H A D | btrfs.h | 649 bool uptodate), 651 TP_ARGS(inode, start, len, uptodate), 657 __field( bool, uptodate ) 665 __entry->uptodate = uptodate; 669 TP_printk_btrfs("root=%llu(%s) ino=%llu start=%llu len=%llu uptodate=%d", 672 __entry->len, !!__entry->uptodate) 731 int uptodate), 733 TP_ARGS(inode, start, end, uptodate), 739 __field( int, uptodate ) [all...] |
H A D | mmflags.h | 146 DEF_PAGEFLAG_NAME(uptodate), \
|
/linux/fs/btrfs/ |
H A D | ordered-data.c | 352 u64 len, bool uptodate) in can_finish_ordered_extent() argument 387 if (!uptodate) in can_finish_ordered_extent() 417 bool uptodate) in btrfs_finish_ordered_extent() argument 423 trace_btrfs_finish_ordered_extent(inode, file_offset, len, uptodate); in btrfs_finish_ordered_extent() 427 uptodate); in btrfs_finish_ordered_extent() 458 if (!uptodate && !test_bit(BTRFS_ORDERED_NOCOW, &ordered->flags)) in btrfs_finish_ordered_extent() 480 u64 num_bytes, bool uptodate) in btrfs_mark_ordered_io_finished() argument 489 uptodate); in btrfs_mark_ordered_io_finished() 543 if (can_finish_ordered_extent(entry, folio, cur, len, uptodate)) { in btrfs_mark_ordered_io_finished()
|
H A D | ordered-data.h | 168 bool uptodate); 171 u64 num_bytes, bool uptodate);
|
H A D | subpage.c | 366 uptodate, start, len); in btrfs_subpage_set_uptodate() 371 if (subpage_test_bitmap_all_set(fs_info, folio, uptodate)) in btrfs_subpage_set_uptodate() 381 uptodate, start, len); in btrfs_subpage_clear_uptodate() 568 IMPLEMENT_BTRFS_SUBPAGE_TEST_OP(uptodate); 662 IMPLEMENT_BTRFS_PAGE_OPS(uptodate, folio_mark_uptodate, folio_clear_uptodate, 806 GET_SUBPAGE_BITMAP(fs_info, folio, uptodate, &uptodate_bitmap); in btrfs_subpage_dump_bitmap()
|
H A D | extent_io.c | 417 static void end_folio_read(struct folio *folio, bool uptodate, u64 start, u32 len) in end_folio_read() argument 424 if (uptodate && btrfs_verify_folio(folio, start, len)) in end_folio_read() 509 bool uptodate = !bio->bi_status; in end_bbio_data_read() local 520 if (likely(uptodate)) { in end_bbio_data_read() 546 end_folio_read(folio, uptodate, start, fi.length); in end_bbio_data_read() 3273 int uptodate = 1; in alloc_extent_buffer() local 3383 uptodate = 0; in alloc_extent_buffer() 3392 if (uptodate) in alloc_extent_buffer() 3701 bool uptodate = !bbio->bio.bi_status; in end_bbio_meta_read() local 3712 if (uptodate && in end_bbio_meta_read() [all …]
|
H A D | subpage.h | 182 DECLARE_BTRFS_SUBPAGE_OPS(uptodate);
|
/linux/fs/ |
H A D | buffer.c | 143 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch() argument 145 if (uptodate) { in __end_buffer_read_notouch() 158 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync() argument 161 __end_buffer_read_notouch(bh, uptodate); in end_buffer_read_sync() 165 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync() argument 167 if (uptodate) { in end_buffer_write_sync() 256 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read() argument 267 if (uptodate) { in end_buffer_async_read() 356 static void end_buffer_async_read_io(struct buffer_head *bh, int uptodate) in end_buffer_async_read_io() argument 363 if (uptodate && (decrypt || verify)) { in end_buffer_async_read_io() [all …]
|
/linux/fs/bcachefs/ |
H A D | fs-io-pagecache.c | 173 s->uptodate = true; in __bch2_folio_set() 193 need_set |= !s->uptodate; in bch2_folio_set() 221 if (!bch2_folio(folio)->uptodate) in bch2_folio_set() 418 BUG_ON(!s->uptodate); in __bch2_folio_reservation_get() 530 BUG_ON(!s->uptodate); in bch2_set_folio_dirty()
|
H A D | btree_key_cache.c | 290 ck_path->uptodate = BTREE_ITER_UPTODATE; in btree_key_cache_create() 385 path->uptodate = BTREE_ITER_UPTODATE; in btree_path_traverse_cached_fast() 405 path->uptodate = BTREE_ITER_NEED_TRAVERSE; in bch2_btree_path_traverse_cached() 411 BUG_ON(path->uptodate); in bch2_btree_path_traverse_cached()
|
H A D | btree_locking.c | 476 if (path->uptodate == BTREE_ITER_NEED_RELOCK) in btree_path_get_locks() 477 path->uptodate = BTREE_ITER_UPTODATE; in btree_path_get_locks() 479 return path->uptodate < BTREE_ITER_NEED_RELOCK ? 0 : -1; in btree_path_get_locks() 893 BUG_ON(path->uptodate == BTREE_ITER_UPTODATE); in __bch2_btree_path_verify_locks()
|
H A D | fs-io-pagecache.h | 67 bool uptodate; member
|
H A D | btree_iter.h | 54 path->uptodate = max_t(unsigned, path->uptodate, u); in btree_path_set_dirty() 247 if (trans->paths[path].uptodate < BTREE_ITER_NEED_RELOCK) in bch2_btree_path_traverse()
|
H A D | btree_locking.h | 418 EBUG_ON(path->uptodate); in btree_path_set_should_be_locked()
|
H A D | btree_iter.c | 686 if (path->uptodate == BTREE_ITER_UPTODATE && !path->cached) { in bch2_trans_node_add() 1045 if (trans->paths[idx].uptodate) { in bch2_btree_path_traverse_all() 1231 path->uptodate = BTREE_ITER_UPTODATE; in bch2_btree_path_traverse_one() 1560 prt_printf(out, " uptodate %u locks_want %u", path->uptodate, path->locks_want); in bch2_btree_path_to_text() 1785 path->uptodate = BTREE_ITER_NEED_TRAVERSE; in bch2_path_get() 1840 EBUG_ON(path->uptodate != BTREE_ITER_UPTODATE); in bch2_btree_path_peek_slot() 2038 EBUG_ON(btree_iter_path(trans, iter)->uptodate); in bch2_btree_iter_next_node()
|
H A D | btree_types.h | 322 enum btree_path_uptodate uptodate:2; member
|
/linux/include/linux/ |
H A D | buffer_head.h | 49 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate); 205 void end_buffer_read_sync(struct buffer_head *bh, int uptodate); 206 void end_buffer_write_sync(struct buffer_head *bh, int uptodate);
|
/linux/fs/ocfs2/ |
H A D | Makefile | 39 uptodate.o \
|
/linux/Documentation/filesystems/iomap/ |
H A D | operations.rst | 32 mapping, managing uptodate and dirty state, or writeback of pagecache 143 The uptodate (memory contents are at least as new as what's on disk) and 148 tracks the per-fsblock uptodate and dirty state itself. 155 * ``uptodate``: iomap will try to keep folios fully up to date. 157 uptodate. 158 The folio itself will be marked uptodate when all fsblocks within the 159 folio are uptodate. 684 Regions of the pagecache with a folio mapped and uptodate fsblocks 699 Regions of the pagecache with no folio mapped, or a !uptodate fsblock
|
/linux/fs/iomap/ |
H A D | buffered-io.c | 63 bool uptodate = true; in iomap_set_range_uptodate() local 70 uptodate = ifs_set_range_uptodate(folio, ifs, off, len); in iomap_set_range_uptodate() 74 if (uptodate) in iomap_set_range_uptodate() 325 bool uptodate = !error; in iomap_finish_folio_read() local 333 uptodate = ifs_set_range_uptodate(folio, ifs, off, len); in iomap_finish_folio_read() 340 folio_end_read(folio, uptodate); in iomap_finish_folio_read()
|
/linux/drivers/md/ |
H A D | raid1.c | 365 int uptodate = !bio->bi_status; in raid1_end_read_request() local 375 if (uptodate) { in raid1_end_read_request() 383 uptodate = 1; in raid1_end_read_request() 394 uptodate = 1; in raid1_end_read_request() 398 if (uptodate) { in raid1_end_read_request() 2066 static void put_sync_write_buf(struct r1bio *r1_bio, int uptodate) in put_sync_write_buf() argument 2077 md_done_sync(mddev, s, uptodate); in put_sync_write_buf() 2084 int uptodate = !bio->bi_status; in end_sync_write() local 2090 if (!uptodate) { in end_sync_write() 2103 put_sync_write_buf(r1_bio, uptodate); in end_sync_write()
|
H A D | raid5.c | 3878 if ((s->uptodate == disks - 1) && in fetch_block() 3899 s->uptodate++; in fetch_block() 3901 } else if (s->uptodate == disks-2 && s->failed >= 2) { in fetch_block() 3923 s->uptodate += 2; in fetch_block() 4270 BUG_ON(s->uptodate != disks); in handle_parity_checks5() 4274 s->uptodate--; in handle_parity_checks5() 4290 BUG_ON(s->uptodate != disks); in handle_parity_checks5() 4336 s->uptodate++; in handle_parity_checks5() 4395 s->uptodate--; in handle_parity_checks6() 4505 s->uptodate++; in handle_parity_checks6() [all …]
|
/linux/fs/f2fs/ |
H A D | compress.c | 848 int index, int nr_pages, bool uptodate) in f2fs_all_cluster_page_ready() argument 851 int i = uptodate ? 0 : 1; in f2fs_all_cluster_page_ready() 857 if (uptodate && (pgidx % cc->cluster_size)) in f2fs_all_cluster_page_ready() 868 if (uptodate && !folio_test_uptodate(folio)) in f2fs_all_cluster_page_ready()
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | printk-formats.rst | 551 %pGp 0x17ffffc0002036(referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff)
|