Home
last modified time | relevance | path

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

12

/linux-6.12.1/include/trace/events/
Derofs.h94 __field(int, uptodate)
103 __entry->uptodate = folio_test_uptodate(folio);
112 __entry->uptodate,
Dbtrfs.h649 bool uptodate),
651 TP_ARGS(inode, start, len, uptodate),
657 __field( bool, uptodate )
665 __entry->uptodate = uptodate;
672 __entry->len, !!__entry->uptodate)
735 int uptodate),
737 TP_ARGS(inode, start, end, uptodate),
743 __field( int, uptodate )
751 __entry->uptodate = uptodate;
758 __entry->end, __entry->uptodate)
Dmmflags.h104 DEF_PAGEFLAG_NAME(uptodate), \
/linux-6.12.1/fs/btrfs/
Dordered-data.h167 bool uptodate);
170 u64 num_bytes, bool uptodate);
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()
Draid56.c144 unsigned int uptodate:8; member
263 ASSERT(rbio->stripe_sectors[i].uptodate); in cache_rbio_pages()
273 rbio->stripe_sectors[i].uptodate = 1; in cache_rbio_pages()
308 if (!rbio->stripe_sectors[i].uptodate) in full_page_sectors_uptodate()
349 dest->stripe_sectors[i].uptodate = true; in steal_rbio_page()
1311 sector->uptodate = 1; in generate_pq_vertical()
1320 sector->uptodate = 1; in generate_pq_vertical()
1516 sector->uptodate = 1; in set_bio_pages_uptodate()
1967 sector->uptodate = 1; in recover_vertical()
1975 sector->uptodate = 1; in recover_vertical()
[all …]
Dsubpage.c475 uptodate, start, len); in btrfs_subpage_set_uptodate()
480 if (subpage_test_bitmap_all_set(fs_info, subpage, uptodate)) in btrfs_subpage_set_uptodate()
490 uptodate, start, len); in btrfs_subpage_clear_uptodate()
660 IMPLEMENT_BTRFS_SUBPAGE_TEST_OP(uptodate);
732 IMPLEMENT_BTRFS_PAGE_OPS(uptodate, folio_mark_uptodate, folio_clear_uptodate,
878 GET_SUBPAGE_BITMAP(subpage, fs_info, uptodate, &uptodate_bitmap); in btrfs_subpage_dump_bitmap()
Dextent_io.c426 static void end_folio_read(struct folio *folio, bool uptodate, u64 start, u32 len) in end_folio_read() argument
433 if (uptodate && btrfs_verify_folio(folio, start, len)) in end_folio_read()
522 bool uptodate = !bio->bi_status; in end_bbio_data_read() local
556 if (likely(uptodate)) { in end_bbio_data_read()
580 end_folio_read(folio, uptodate, start, len); in end_bbio_data_read()
1630 bool uptodate = !bbio->bio.bi_status; in end_bbio_meta_write() local
1634 if (!uptodate) in end_bbio_meta_write()
2941 int uptodate = 1; in alloc_extent_buffer() local
3052 uptodate = 0; in alloc_extent_buffer()
3062 if (uptodate) in alloc_extent_buffer()
[all …]
Dsubpage.h149 DECLARE_BTRFS_SUBPAGE_OPS(uptodate);
/linux-6.12.1/fs/
Dbuffer.c143 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
160 __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()
245 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read() argument
256 if (uptodate) { in end_buffer_async_read()
346 static void end_buffer_async_read_io(struct buffer_head *bh, int uptodate) in end_buffer_async_read_io() argument
353 if (uptodate && (decrypt || verify)) { in end_buffer_async_read_io()
[all …]
/linux-6.12.1/fs/bcachefs/
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()
Dbtree_locking.c481 if (path->uptodate == BTREE_ITER_NEED_RELOCK) in btree_path_get_locks()
482 path->uptodate = BTREE_ITER_UPTODATE; in btree_path_get_locks()
484 return path->uptodate < BTREE_ITER_NEED_RELOCK; in btree_path_get_locks()
842 BUG_ON(path->uptodate == BTREE_ITER_UPTODATE && in bch2_btree_path_verify_locks()
Dbtree_key_cache.c272 path->uptodate = BTREE_ITER_UPTODATE; in btree_key_cache_create()
286 ck_path->uptodate = BTREE_ITER_UPTODATE; in btree_key_cache_fill()
346 path->uptodate = BTREE_ITER_UPTODATE; in btree_path_traverse_cached_fast()
365 path->uptodate = BTREE_ITER_NEED_TRAVERSE; in bch2_btree_path_traverse_cached()
Dfs-io-pagecache.h67 bool uptodate; member
Dbtree_iter.h51 path->uptodate = max_t(unsigned, path->uptodate, u); in btree_path_set_dirty()
244 if (trans->paths[path].uptodate < BTREE_ITER_NEED_RELOCK) in bch2_btree_path_traverse()
Dbtree_locking.h408 EBUG_ON(path->uptodate); in btree_path_set_should_be_locked()
Dbtree_iter.c684 if (path->uptodate == BTREE_ITER_UPTODATE && !path->cached) { in bch2_trans_node_add()
1025 if (trans->paths[idx].uptodate) { in bch2_btree_path_traverse_all()
1211 path->uptodate = BTREE_ITER_UPTODATE; in bch2_btree_path_traverse_one()
1533 prt_printf(out, " uptodate %u locks_want %u", path->uptodate, path->locks_want); in bch2_btree_path_to_text()
1754 path->uptodate = BTREE_ITER_NEED_TRAVERSE; in bch2_path_get()
1816 EBUG_ON(path->uptodate != BTREE_ITER_UPTODATE); in bch2_btree_path_peek_slot()
2013 EBUG_ON(btree_iter_path(trans, iter)->uptodate); in bch2_btree_iter_next_node()
/linux-6.12.1/fs/ocfs2/
DMakefile39 uptodate.o \
/linux-6.12.1/include/linux/
Dbuffer_head.h48 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.12.1/Documentation/filesystems/iomap/
Doperations.rst32 mapping, managing uptodate and dirty state, or writeback of pagecache
139 The uptodate (memory contents are at least as new as what's on disk) and
144 tracks the per-fsblock uptodate and dirty state itself.
151 * ``uptodate``: iomap will try to keep folios fully up to date.
153 uptodate.
154 The folio itself will be marked uptodate when all fsblocks within the
155 folio are uptodate.
654 Regions of the pagecache with a folio mapped and uptodate fsblocks
669 Regions of the pagecache with no folio mapped, or a !uptodate fsblock
/linux-6.12.1/fs/iomap/
Dbuffered-io.c76 bool uptodate = true; in iomap_set_range_uptodate() local
80 uptodate = ifs_set_range_uptodate(folio, ifs, off, len); in iomap_set_range_uptodate()
84 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()
310 folio_end_read(folio, uptodate); in iomap_finish_folio_read()
/linux-6.12.1/drivers/md/
Draid1.c364 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()
2040 static void put_sync_write_buf(struct r1bio *r1_bio, int uptodate) in put_sync_write_buf() argument
2051 md_done_sync(mddev, s, uptodate); in put_sync_write_buf()
2058 int uptodate = !bio->bi_status; in end_sync_write() local
2064 if (!uptodate) { in end_sync_write()
2077 put_sync_write_buf(r1_bio, uptodate); in end_sync_write()
Draid5.h285 int locked, uptodate, to_read, to_write, failed, written; member
/linux-6.12.1/fs/f2fs/
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()
865 if (uptodate && !PageUptodate(pages[index + i])) in f2fs_all_cluster_page_ready()
/linux-6.12.1/fs/jbd2/
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()

12