Home
last modified time | relevance | path

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

12

/linux/include/trace/events/
H A Derofs.h94 __field(int, uptodate)
103 __entry->uptodate = folio_test_uptodate(folio);
112 __entry->uptodate,
H A Dbtrfs.h649 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 Dmmflags.h146 DEF_PAGEFLAG_NAME(uptodate), \
/linux/fs/btrfs/
H A Dordered-data.c352 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 Dordered-data.h168 bool uptodate);
171 u64 num_bytes, bool uptodate);
H A Dsubpage.c366 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 Dextent_io.c417 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 Dsubpage.h182 DECLARE_BTRFS_SUBPAGE_OPS(uptodate);
/linux/fs/
H A 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
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 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_key_cache.c290 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 Dbtree_locking.c476 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 Dfs-io-pagecache.h67 bool uptodate; member
H A Dbtree_iter.h54 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 Dbtree_locking.h418 EBUG_ON(path->uptodate); in btree_path_set_should_be_locked()
H A Dbtree_iter.c686 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 Dbtree_types.h322 enum btree_path_uptodate uptodate:2; member
/linux/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/fs/ocfs2/
H A DMakefile39 uptodate.o \
/linux/Documentation/filesystems/iomap/
H A Doperations.rst32 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 Dbuffered-io.c63 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 Draid1.c365 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 Draid5.c3878 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 Dcompress.c848 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 Dprintk-formats.rst551 %pGp 0x17ffffc0002036(referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff)

12