Home
last modified time | relevance | path

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

12

/Linux-v6.1/include/linux/
Dbuffer_head.h50 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);
201 void end_buffer_read_sync(struct buffer_head *bh, int uptodate);
202 void end_buffer_write_sync(struct buffer_head *bh, int uptodate);
203 void end_buffer_async_write(struct buffer_head *bh, int uptodate);
Dpage-flags.h760 CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL)
/Linux-v6.1/fs/
Dbuffer.c142 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch() argument
144 if (uptodate) { in __end_buffer_read_notouch()
157 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync() argument
159 __end_buffer_read_notouch(bh, uptodate); in end_buffer_read_sync()
164 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync() argument
166 if (uptodate) { in end_buffer_write_sync()
244 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read() argument
255 if (uptodate) { in end_buffer_async_read()
320 static void end_buffer_async_read_io(struct buffer_head *bh, int uptodate) in end_buffer_async_read_io() argument
323 if (uptodate && in end_buffer_async_read_io()
[all …]
/Linux-v6.1/include/trace/events/
Derofs.h89 __field(int, uptodate)
98 __entry->uptodate = PageUptodate(page);
107 __entry->uptodate,
Dbtrfs.h723 int uptodate),
725 TP_ARGS(inode, start, end, uptodate),
731 __field( int, uptodate )
739 __entry->uptodate = uptodate;
746 __entry->end, __entry->uptodate)
Df2fs.h1226 __field(int, uptodate)
1237 __entry->uptodate = PageUptodate(page);
1247 __entry->uptodate)
/Linux-v6.1/fs/iomap/
Dbuffered-io.c34 unsigned long uptodate[]; member
61 iop = kzalloc(struct_size(iop, uptodate, BITS_TO_LONGS(nr_blocks)), in iomap_page_create()
66 bitmap_fill(iop->uptodate, nr_blocks); in iomap_page_create()
82 WARN_ON_ONCE(bitmap_full(iop->uptodate, nr_blocks) != in iomap_page_release()
113 if (!test_bit(i, iop->uptodate)) in iomap_adjust_read_range()
123 if (test_bit(i, iop->uptodate)) { in iomap_adjust_read_range()
156 bitmap_set(iop->uptodate, first, last - first + 1); in iomap_iop_set_range_uptodate()
157 if (bitmap_full(iop->uptodate, i_blocks_per_folio(inode, folio))) in iomap_iop_set_range_uptodate()
454 if (!test_bit(i, iop->uptodate)) in iomap_is_partially_uptodate()
1357 if (iop && !test_bit(i, iop->uptodate)) in iomap_writepage_map()
/Linux-v6.1/fs/btrfs/
Dextent_io.c863 static void end_page_read(struct page *page, bool uptodate, u64 start, u32 len) in end_page_read() argument
870 if (uptodate) { in end_page_read()
891 static void end_sector_io(struct page *page, u64 offset, bool uptodate) in end_sector_io() argument
897 end_page_read(page, uptodate, offset, sectorsize); in end_sector_io()
898 if (uptodate) in end_sector_io()
936 bool uptodate = false; in submit_data_read_repair() local
944 uptodate = true; in submit_data_read_repair()
965 end_sector_io(page, start + offset, uptodate); in submit_data_read_repair()
974 const bool uptodate = (err == 0); in end_extent_writepage() local
979 btrfs_writepage_endio_finish_ordered(inode, page, start, end, uptodate); in end_extent_writepage()
[all …]
Draid56.c63 unsigned int uptodate:8; member
158 rbio->stripe_sectors[i].uptodate = 1; in cache_rbio_pages()
193 if (!rbio->stripe_sectors[i].uptodate) in full_page_sectors_uptodate()
234 dest->stripe_sectors[i].uptodate = true; in steal_rbio_page()
1238 sector->uptodate = 1; in finish_rmw()
1247 sector->uptodate = 1; in finish_rmw()
1484 sector->uptodate = 1; in set_bio_pages_uptodate()
1573 if (sector->uptodate) in raid56_rmw_stripe()
2015 sector->uptodate = 1; in __raid_recover_end_io()
2019 sector->uptodate = 1; in __raid_recover_end_io()
[all …]
Dsubpage.c416 uptodate, start, len); in btrfs_subpage_set_uptodate()
421 if (subpage_test_bitmap_all_set(fs_info, subpage, uptodate)) in btrfs_subpage_set_uptodate()
431 uptodate, start, len); in btrfs_subpage_clear_uptodate()
629 IMPLEMENT_BTRFS_SUBPAGE_TEST_OP(uptodate);
696 IMPLEMENT_BTRFS_PAGE_OPS(uptodate, SetPageUptodate, ClearPageUptodate,
Dordered-data.h178 u64 num_bytes, bool uptodate);
Dsubpage.h143 DECLARE_BTRFS_SUBPAGE_OPS(uptodate);
Dordered-data.c298 u64 num_bytes, bool uptodate) in btrfs_mark_ordered_io_finished() argument
398 if (!uptodate) in btrfs_mark_ordered_io_finished()
/Linux-v6.1/fs/ocfs2/
DMakefile39 uptodate.o \
/Linux-v6.1/fs/ntfs/
Daops.c45 static void ntfs_end_buffer_async_read(struct buffer_head *bh, int uptodate) in ntfs_end_buffer_async_read() argument
58 if (likely(uptodate)) { in ntfs_end_buffer_async_read()
805 int uptodate = 1; in ntfs_write_block() local
808 uptodate = 0; in ntfs_write_block()
813 if (uptodate) in ntfs_write_block()
/Linux-v6.1/drivers/md/
Draid1.c367 int uptodate = !bio->bi_status; in raid1_end_read_request() local
377 if (uptodate) in raid1_end_read_request()
394 uptodate = 1; in raid1_end_read_request()
398 if (uptodate) { in raid1_end_read_request()
1945 static void put_sync_write_buf(struct r1bio *r1_bio, int uptodate) in put_sync_write_buf() argument
1956 md_done_sync(mddev, s, uptodate); in put_sync_write_buf()
1963 int uptodate = !bio->bi_status; in end_sync_write() local
1971 if (!uptodate) { in end_sync_write()
1987 put_sync_write_buf(r1_bio, uptodate); in end_sync_write()
Draid5.h285 int locked, uptodate, to_read, to_write, failed, written; member
Draid5.c3961 if ((s->uptodate == disks - 1) && in fetch_block()
3982 s->uptodate++; in fetch_block()
3984 } else if (s->uptodate == disks-2 && s->failed >= 2) { in fetch_block()
4006 s->uptodate += 2; in fetch_block()
4356 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
4360 s->uptodate--; in handle_parity_checks5()
4376 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
4423 s->uptodate++; in handle_parity_checks5()
4482 s->uptodate--; in handle_parity_checks6()
4593 s->uptodate++; in handle_parity_checks6()
[all …]
/Linux-v6.1/fs/f2fs/
Dcompress.c846 int index, int nr_pages, bool uptodate) in f2fs_all_cluster_page_ready() argument
849 int i = uptodate ? 0 : 1; in f2fs_all_cluster_page_ready()
855 if (uptodate && (pgidx % cc->cluster_size)) in f2fs_all_cluster_page_ready()
864 if (uptodate && !PageUptodate(pages[index + i])) in f2fs_all_cluster_page_ready()
/Linux-v6.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()
/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Dprintk-formats.rst552 %pGp 0x17ffffc0002036(referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff)
/Linux-v6.1/Documentation/filesystems/
Dnetfs_library.rst364 uptodate, unlocking them or dropping their refs - the helpers need to deal
392 unlocked (and marked uptodate if applicable).
440 * Will be marked uptodate.
/Linux-v6.1/fs/ext4/
Dialloc.c69 void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate) in ext4_end_bitmap_read() argument
71 if (uptodate) { in ext4_end_bitmap_read()
/Linux-v6.1/fs/reiserfs/
Djournal.c617 static void reiserfs_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in reiserfs_end_buffer_io_sync() argument
624 if (uptodate) in reiserfs_end_buffer_io_sync()
633 static void reiserfs_end_ordered_io(struct buffer_head *bh, int uptodate) in reiserfs_end_ordered_io() argument
635 if (uptodate) in reiserfs_end_ordered_io()
/Linux-v6.1/Documentation/filesystems/nfs/
Drpc-cache.rst126 done when the found cache item is not uptodate, but the is reason to

12