Home
last modified time | relevance | path

Searched refs:uptodate (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.15/include/trace/events/
H A Derofs.h94 __field(int, uptodate)
103 __entry->uptodate = folio_test_uptodate(folio);
112 __entry->uptodate,
H A Dbtrfs.h650 bool uptodate),
652 TP_ARGS(inode, start, len, uptodate),
658 __field( bool, uptodate )
666 __entry->uptodate = uptodate;
673 __entry->len, !!__entry->uptodate)
736 int uptodate),
738 TP_ARGS(inode, start, end, uptodate),
744 __field( int, uptodate )
752 __entry->uptodate = uptodate;
759 __entry->end, __entry->uptodate)
H A Dmmflags.h146 DEF_PAGEFLAG_NAME(uptodate), \
/linux-6.15/fs/btrfs/
H A Dordered-data.h168 bool uptodate);
171 u64 num_bytes, bool uptodate);
H A Dordered-data.c336 u64 len, bool uptodate) in can_finish_ordered_extent() argument
371 if (!uptodate) in can_finish_ordered_extent()
401 bool uptodate) in btrfs_finish_ordered_extent() argument
407 trace_btrfs_finish_ordered_extent(inode, file_offset, len, uptodate); in btrfs_finish_ordered_extent()
411 uptodate); in btrfs_finish_ordered_extent()
442 if (!uptodate && !test_bit(BTRFS_ORDERED_NOCOW, &ordered->flags)) in btrfs_finish_ordered_extent()
464 u64 num_bytes, bool uptodate) in btrfs_mark_ordered_io_finished() argument
473 uptodate); in btrfs_mark_ordered_io_finished()
527 if (can_finish_ordered_extent(entry, folio, cur, len, uptodate)) { in btrfs_mark_ordered_io_finished()
H A Dsubpage.c373 uptodate, start, len); in btrfs_subpage_set_uptodate()
378 if (subpage_test_bitmap_all_set(fs_info, folio, uptodate)) in btrfs_subpage_set_uptodate()
388 uptodate, start, len); in btrfs_subpage_clear_uptodate()
558 IMPLEMENT_BTRFS_SUBPAGE_TEST_OP(uptodate);
652 IMPLEMENT_BTRFS_PAGE_OPS(uptodate, folio_mark_uptodate, folio_clear_uptodate,
796 GET_SUBPAGE_BITMAP(fs_info, folio, uptodate, &uptodate_bitmap); in btrfs_subpage_dump_bitmap()
H A Draid56.c144 unsigned int uptodate:8; member
273 rbio->stripe_sectors[i].uptodate = 1; in cache_rbio_pages()
308 if (!rbio->stripe_sectors[i].uptodate) in full_page_sectors_uptodate()
1310 sector->uptodate = 1; in generate_pq_vertical()
1319 sector->uptodate = 1; in generate_pq_vertical()
1515 sector->uptodate = 1; in set_bio_pages_uptodate()
1966 sector->uptodate = 1; in recover_vertical()
1974 sector->uptodate = 1; in recover_vertical()
2554 p_sector.uptodate = 1; in finish_parity_scrub()
2565 q_sector.uptodate = 1; in finish_parity_scrub()
[all …]
H A Dsubpage.h171 DECLARE_BTRFS_SUBPAGE_OPS(uptodate);
H A Dextent_io.c430 if (uptodate && btrfs_verify_folio(folio, start, len)) in end_folio_read()
519 bool uptodate = !bio->bi_status; in end_bbio_data_read() local
551 if (likely(uptodate)) { in end_bbio_data_read()
576 end_folio_read(folio, uptodate, start, len); in end_bbio_data_read()
3222 int uptodate = 1; in alloc_extent_buffer() local
3332 uptodate = 0; in alloc_extent_buffer()
3342 if (uptodate) in alloc_extent_buffer()
3635 bool uptodate = !bbio->bio.bi_status; in end_bbio_meta_read() local
3646 if (uptodate && in end_bbio_meta_read()
3648 uptodate = false; in end_bbio_meta_read()
[all …]
/linux-6.15/fs/
H A Dbuffer.c145 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()
267 if (uptodate) { in end_buffer_async_read()
363 if (uptodate && (decrypt || verify)) { in end_buffer_async_read_io()
378 uptodate = 0; in end_buffer_async_read_io()
380 end_buffer_async_read(bh, uptodate); in end_buffer_async_read_io()
397 if (uptodate) { in end_buffer_async_write()
1009 bool uptodate = folio_test_uptodate(folio); in folio_init_buffers() local
[all …]
/linux-6.15/fs/ocfs2/
H A DMakefile39 uptodate.o \
/linux-6.15/fs/bcachefs/
H A Dfs-io-pagecache.c173 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 Dbtree_locking.c496 if (path->uptodate == BTREE_ITER_NEED_RELOCK) in btree_path_get_locks()
497 path->uptodate = BTREE_ITER_UPTODATE; in btree_path_get_locks()
499 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 Dbtree_key_cache.c281 ck_path->uptodate = BTREE_ITER_UPTODATE; in btree_key_cache_create()
376 path->uptodate = BTREE_ITER_UPTODATE; in btree_path_traverse_cached_fast()
396 path->uptodate = BTREE_ITER_NEED_TRAVERSE; in bch2_btree_path_traverse_cached()
402 BUG_ON(path->uptodate); in bch2_btree_path_traverse_cached()
H A Dfs-io-pagecache.h67 bool uptodate; member
H A Dbtree_iter.h52 path->uptodate = max_t(unsigned, path->uptodate, u); in btree_path_set_dirty()
245 if (trans->paths[path].uptodate < BTREE_ITER_NEED_RELOCK) in bch2_btree_path_traverse()
H A Dbtree_locking.h412 EBUG_ON(path->uptodate); in btree_path_set_should_be_locked()
/linux-6.15/include/linux/
H A Dbuffer_head.h49 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-6.15/Documentation/filesystems/iomap/
H A Doperations.rst32 mapping, managing uptodate and dirty state, or writeback of pagecache
141 The uptodate (memory contents are at least as new as what's on disk) and
146 tracks the per-fsblock uptodate and dirty state itself.
153 * ``uptodate``: iomap will try to keep folios fully up to date.
155 uptodate.
156 The folio itself will be marked uptodate when all fsblocks within the
157 folio are uptodate.
685 Regions of the pagecache with a folio mapped and uptodate fsblocks
700 Regions of the pagecache with no folio mapped, or a !uptodate fsblock
/linux-6.15/fs/iomap/
H A Dbuffered-io.c72 bool uptodate = true; in iomap_set_range_uptodate() local
76 uptodate = ifs_set_range_uptodate(folio, ifs, off, len); in iomap_set_range_uptodate()
80 if (uptodate) in iomap_set_range_uptodate()
291 bool uptodate = !error; in iomap_finish_folio_read() local
299 uptodate = ifs_set_range_uptodate(folio, ifs, off, len); in iomap_finish_folio_read()
306 folio_end_read(folio, uptodate); in iomap_finish_folio_read()
/linux-6.15/drivers/md/
H A Draid1.c366 int uptodate = !bio->bi_status; in raid1_end_read_request() local
376 if (uptodate) in raid1_end_read_request()
393 uptodate = 1; in raid1_end_read_request()
397 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 Draid5.h285 int locked, uptodate, to_read, to_write, failed, written; member
/linux-6.15/fs/jbd2/
H A Dcommit.c32 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-6.15/fs/f2fs/
H A Dcompress.c847 int index, int nr_pages, bool uptodate) in f2fs_all_cluster_page_ready() argument
850 int i = uptodate ? 0 : 1; in f2fs_all_cluster_page_ready()
856 if (uptodate && (pgidx % cc->cluster_size)) in f2fs_all_cluster_page_ready()
867 if (uptodate && !folio_test_uptodate(folio)) in f2fs_all_cluster_page_ready()
/linux-6.15/Documentation/translations/zh_CN/core-api/
H A Dprintk-formats.rst552 %pGp 0x17ffffc0002036(referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff)

12