/linux/fs/btrfs/ |
H A D | ordered-data.h | 167 bool uptodate); 170 u64 num_bytes, bool uptodate);
|
H A D | ordered-data.c | 313 u64 len, bool uptodate) in can_finish_ordered_extent() argument 349 if (!uptodate) in can_finish_ordered_extent() 379 bool uptodate) in btrfs_finish_ordered_extent() argument 385 trace_btrfs_finish_ordered_extent(inode, file_offset, len, uptodate); in btrfs_finish_ordered_extent() 388 ret = can_finish_ordered_extent(ordered, page, file_offset, len, uptodate); in btrfs_finish_ordered_extent() 419 if (!uptodate && !test_bit(BTRFS_ORDERED_NOCOW, &ordered->flags)) in btrfs_finish_ordered_extent() 442 u64 num_bytes, bool uptodate) in btrfs_mark_ordered_io_finished() argument 451 uptodate); in btrfs_mark_ordered_io_finished() 505 if (can_finish_ordered_extent(entry, page, cur, len, uptodate)) { in btrfs_mark_ordered_io_finished()
|
H A D | raid56.c | 65 unsigned int uptodate:8; member 194 rbio->stripe_sectors[i].uptodate = 1; in cache_rbio_pages() 229 if (!rbio->stripe_sectors[i].uptodate) in full_page_sectors_uptodate() 1228 sector->uptodate = 1; in generate_pq_vertical() 1237 sector->uptodate = 1; in generate_pq_vertical() 1433 sector->uptodate = 1; in set_bio_pages_uptodate() 1883 sector->uptodate = 1; in recover_vertical() 1891 sector->uptodate = 1; in recover_vertical() 2471 p_sector.uptodate = 1; in finish_parity_scrub() 2482 q_sector.uptodate = 1; in finish_parity_scrub() [all …]
|
H A D | subpage.c | 434 uptodate, start, len); in btrfs_subpage_set_uptodate() 439 if (subpage_test_bitmap_all_set(fs_info, subpage, uptodate)) in btrfs_subpage_set_uptodate() 449 uptodate, start, len); in btrfs_subpage_clear_uptodate() 619 IMPLEMENT_BTRFS_SUBPAGE_TEST_OP(uptodate); 691 IMPLEMENT_BTRFS_PAGE_OPS(uptodate, folio_mark_uptodate, folio_clear_uptodate, 790 GET_SUBPAGE_BITMAP(subpage, subpage_info, uptodate, &uptodate_bitmap); in btrfs_subpage_dump_bitmap()
|
H A D | extent_io.c | 511 bool uptodate; member 547 if (processed->inode == inode && processed->uptodate == uptodate && in endio_readpage_release_extent() 565 processed->uptodate = uptodate; in endio_readpage_release_extent() 1674 if (!uptodate) in end_bbio_meta_write() 3851 int uptodate = 1; in alloc_extent_buffer() local 3962 uptodate = 0; in alloc_extent_buffer() 3972 if (uptodate) in alloc_extent_buffer() 4323 if (uptodate && in end_bbio_meta_read() 4325 uptodate = false; in end_bbio_meta_read() 4327 if (uptodate) { in end_bbio_meta_read() [all …]
|
H A D | subpage.h | 150 DECLARE_BTRFS_SUBPAGE_OPS(uptodate);
|
/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 | 660 bool uptodate), 662 TP_ARGS(inode, start, len, uptodate), 668 __field( bool, uptodate ) 676 __entry->uptodate = uptodate; 683 __entry->len, !!__entry->uptodate) 746 int uptodate), 748 TP_ARGS(inode, start, end, uptodate), 754 __field( int, uptodate ) 762 __entry->uptodate = uptodate; 769 __entry->end, __entry->uptodate)
|
H A D | mmflags.h | 105 DEF_PAGEFLAG_NAME(uptodate), \
|
/linux/fs/ |
H A D | buffer.c | 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 160 __end_buffer_read_notouch(bh, uptodate); in end_buffer_read_sync() 167 if (uptodate) { in end_buffer_write_sync() 256 if (uptodate) { in end_buffer_async_read() 354 if (uptodate && (decrypt || verify)) { in end_buffer_async_read_io() 369 uptodate = 0; in end_buffer_async_read_io() 371 end_buffer_async_read(bh, uptodate); in end_buffer_async_read_io() 388 if (uptodate) { in end_buffer_async_write() 1008 bool uptodate = folio_test_uptodate(folio); in folio_init_buffers() local [all …]
|
/linux/fs/bcachefs/ |
H A D | fs-io-pagecache.c | 173 s->uptodate = true; in __bch2_folio_set() 200 need_set |= !s->uptodate; in bch2_folio_set() 233 if (!bch2_folio(folio)->uptodate) in bch2_folio_set() 435 BUG_ON(!s->uptodate); in bch2_folio_reservation_get() 509 BUG_ON(!s->uptodate); in bch2_set_folio_dirty()
|
H A D | btree_locking.c | 491 if (path->uptodate == BTREE_ITER_NEED_RELOCK) in btree_path_get_locks() 492 path->uptodate = BTREE_ITER_UPTODATE; in btree_path_get_locks() 494 return path->uptodate < BTREE_ITER_NEED_RELOCK; in btree_path_get_locks() 854 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_key_cache.c | 516 path->uptodate = BTREE_ITER_UPTODATE; in bch2_btree_path_traverse_cached_slowpath() 525 path->uptodate = BTREE_ITER_UPTODATE; in bch2_btree_path_traverse_cached_slowpath() 532 BUG_ON(path->uptodate); in bch2_btree_path_traverse_cached_slowpath() 536 path->uptodate = BTREE_ITER_NEED_TRAVERSE; in bch2_btree_path_traverse_cached_slowpath() 592 path->uptodate = BTREE_ITER_UPTODATE; in bch2_btree_path_traverse_cached()
|
H A D | btree_iter.h | 33 path->uptodate = max_t(unsigned, path->uptodate, u); in btree_path_set_dirty() 226 if (trans->paths[path].uptodate < BTREE_ITER_NEED_RELOCK) in bch2_btree_path_traverse()
|
H A D | btree_locking.h | 387 EBUG_ON(path->uptodate); in btree_path_set_should_be_locked()
|
H A D | btree_iter.c | 698 if (path->uptodate == BTREE_ITER_UPTODATE && !path->cached) { in bch2_trans_node_add() 1026 if (trans->paths[idx].uptodate) { in bch2_btree_path_traverse_all() 1210 path->uptodate = BTREE_ITER_UPTODATE; in bch2_btree_path_traverse_one() 1517 prt_printf(out, " uptodate %u locks_want %u", path->uptodate, path->locks_want); in bch2_btree_path_to_text() 1736 path->uptodate = BTREE_ITER_NEED_TRAVERSE; in bch2_path_get() 1796 EBUG_ON(path->uptodate != BTREE_ITER_UPTODATE); in bch2_btree_path_peek_slot() 1988 EBUG_ON(btree_iter_path(trans, iter)->uptodate); in bch2_btree_iter_next_node()
|
/linux/fs/ocfs2/ |
H A D | Makefile | 39 uptodate.o \
|
/linux/include/linux/ |
H A D | buffer_head.h | 48 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate); 206 void end_buffer_read_sync(struct buffer_head *bh, int uptodate); 207 void end_buffer_write_sync(struct buffer_head *bh, int uptodate);
|
/linux/fs/iomap/ |
H A D | buffered-io.c | 77 bool uptodate = true; in iomap_set_range_uptodate() local 81 uptodate = ifs_set_range_uptodate(folio, ifs, off, len); in iomap_set_range_uptodate() 85 if (uptodate) in iomap_set_range_uptodate() 295 bool uptodate = !error; in iomap_finish_folio_read() local 303 uptodate = ifs_set_range_uptodate(folio, ifs, off, len); in iomap_finish_folio_read() 312 folio_end_read(folio, uptodate); in iomap_finish_folio_read()
|
/linux/drivers/md/ |
H A D | raid1.c | 364 int uptodate = !bio->bi_status; in raid1_end_read_request() local 374 if (uptodate) in raid1_end_read_request() 391 uptodate = 1; in raid1_end_read_request() 395 if (uptodate) { in raid1_end_read_request() 2048 static void put_sync_write_buf(struct r1bio *r1_bio, int uptodate) in put_sync_write_buf() argument 2059 md_done_sync(mddev, s, uptodate); in put_sync_write_buf() 2066 int uptodate = !bio->bi_status; in end_sync_write() local 2072 if (!uptodate) { in end_sync_write() 2085 put_sync_write_buf(r1_bio, uptodate); in end_sync_write()
|
H A D | raid5.h | 285 int locked, uptodate, to_read, to_write, failed, written; member
|
/linux/fs/jbd2/ |
H A D | commit.c | 32 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync() argument 37 if (uptodate) in journal_end_buffer_io_sync()
|
/linux/fs/f2fs/ |
H A D | compress.c | 845 int index, int nr_pages, bool uptodate) in f2fs_all_cluster_page_ready() argument 848 int i = uptodate ? 0 : 1; in f2fs_all_cluster_page_ready() 854 if (uptodate && (pgidx % cc->cluster_size)) in f2fs_all_cluster_page_ready() 863 if (uptodate && !PageUptodate(pages[index + i])) in f2fs_all_cluster_page_ready()
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | printk-formats.rst | 552 %pGp 0x17ffffc0002036(referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff)
|