/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-cd.c | 613 int dma_error = 0, dma, thislen, uptodate = 0; in cdrom_newpc_intr() local 652 uptodate = 1; in cdrom_newpc_intr() 673 uptodate = 1; in cdrom_newpc_intr() 680 uptodate = 0; in cdrom_newpc_intr() 687 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr() 693 if (!(stat & ATA_ERR) && !uptodate && thislen) { in cdrom_newpc_intr() 695 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr() 698 if (!uptodate) in cdrom_newpc_intr() 769 if (sense && uptodate) in cdrom_newpc_intr() 774 uptodate in cdrom_newpc_intr() 880 int uptodate = 0; ide_cd_do_request() local [all...] |
H A D | ide-atapi.c | 455 int uptodate; in ide_pc_intr() local 502 uptodate = drive->pc_callback(drive, dsc); in ide_pc_intr() 504 if (uptodate == 0) in ide_pc_intr() 512 if (blk_rq_is_passthrough(rq) && uptodate <= 0) { in ide_pc_intr() 517 error = uptodate ? BLK_STS_OK : BLK_STS_IOERR; in ide_pc_intr()
|
H A D | ide-floppy.c | 69 int uptodate = pc->error ? 0 : 1; in ide_floppy_callback() local 78 uptodate = 1; /* FIXME */ in ide_floppy_callback() 103 scsi_req(rq)->result = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; in ide_floppy_callback() 105 return uptodate; in ide_floppy_callback()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | ordered-data.h | 158 u64 file_offset, u64 io_size, int uptodate); 162 int uptodate);
|
H A D | ordered-data.c | 313 u64 *file_offset, u64 io_size, int uptodate) in btrfs_dec_test_first_ordered_pending() 353 if (!uptodate) in btrfs_dec_test_first_ordered_pending() 383 u64 file_offset, u64 io_size, int uptodate) in btrfs_dec_test_ordered_pending() 416 if (!uptodate) in btrfs_dec_test_ordered_pending() 311 btrfs_dec_test_first_ordered_pending(struct btrfs_inode *inode, struct btrfs_ordered_extent **cached, u64 *file_offset, u64 io_size, int uptodate) btrfs_dec_test_first_ordered_pending() argument 381 btrfs_dec_test_ordered_pending(struct btrfs_inode *inode, struct btrfs_ordered_extent **cached, u64 file_offset, u64 io_size, int uptodate) btrfs_dec_test_ordered_pending() argument
|
H A D | extent_io.c | 2714 int uptodate = (err == 0); in end_extent_writepage() local 2717 btrfs_writepage_endio_finish_ordered(page, start, end, uptodate); in end_extent_writepage() 2719 if (!uptodate) { in end_extent_writepage() 2729 * clear the uptodate bits on error 2778 int uptodate) in endio_readpage_release_extent() 2783 if (uptodate && tree->track_uptodate) in endio_readpage_release_extent() 2790 * clear the uptodate bits on error 2791 * set the uptodate bits if things worked 2792 * set the page up to date if all extents in the tree are uptodate 2802 int uptodate in end_bio_extent_readpage() local 2777 endio_readpage_release_extent(struct extent_io_tree *tree, u64 start, u64 len, int uptodate) endio_readpage_release_extent() argument 5201 int uptodate = 1; alloc_extent_buffer() local [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | ordered-data.h | 172 bool uptodate); 175 u64 num_bytes, bool uptodate);
|
H A D | raid56.c | 66 unsigned int uptodate:8; member 161 * use the page uptodate bit in the stripe cache array 181 * a data sector it should still be uptodate as it is in cache_rbio_pages() 185 ASSERT(rbio->stripe_sectors[i].uptodate); in cache_rbio_pages() 195 rbio->stripe_sectors[i].uptodate = 1; in cache_rbio_pages() 230 if (!rbio->stripe_sectors[i].uptodate) in full_page_sectors_uptodate() 268 /* Also update the sector->uptodate bits. */ in steal_rbio_page() 271 dest->stripe_sectors[i].uptodate = true; in steal_rbio_page() 290 * Stealing an rbio means taking all the uptodate pages from the stripe array 315 * all data stripe pages present and uptodate in steal_rbio() [all...] |
H A D | extent_io.c | 433 static void end_page_read(struct page *page, bool uptodate, u64 start, u32 len) in end_page_read() argument 440 if (uptodate && btrfs_verify_page(page, start)) in end_page_read() 453 * clear the uptodate bits on error 507 bool uptodate; member 516 * Will release processed extent when any of @inode, @uptodate, the range is 523 bool uptodate) in endio_readpage_release_extent() 533 * Contiguous to processed extent, just uptodate the end. in endio_readpage_release_extent() 543 if (processed->inode == inode && processed->uptodate == uptodate && in endio_readpage_release_extent() 561 processed->uptodate in endio_readpage_release_extent() 521 endio_readpage_release_extent(struct processed_extent *processed, struct btrfs_inode *inode, u64 start, u64 end, bool uptodate) endio_readpage_release_extent() argument 599 bool uptodate = !bio->bi_status; end_bio_extent_readpage() local 1615 bool uptodate = !bbio->bio.bi_status; extent_buffer_write_end_io() local 3569 int uptodate = 1; alloc_extent_buffer() local 3962 bool uptodate = !bbio->bio.bi_status; extent_buffer_read_end_io() local [all...] |
H A D | subpage.c | 392 uptodate, start, len); in btrfs_subpage_set_uptodate() 397 if (subpage_test_bitmap_all_set(fs_info, subpage, uptodate)) in btrfs_subpage_set_uptodate() 407 uptodate, start, len); in btrfs_subpage_clear_uptodate() 576 IMPLEMENT_BTRFS_SUBPAGE_TEST_OP(uptodate); variable 642 IMPLEMENT_BTRFS_PAGE_OPS(uptodate, SetPageUptodate, ClearPageUptodate, 737 GET_SUBPAGE_BITMAP(subpage, subpage_info, uptodate, &uptodate_bitmap); in btrfs_subpage_dump_bitmap() 746 "start=%llu len=%u page=%llu, bitmaps uptodate=%*pbl error=%*pbl dirty=%*pbl writeback=%*pbl ordered=%*pbl checked=%*pbl", in btrfs_subpage_dump_bitmap()
|
H A D | ordered-data.c | 309 u64 len, bool uptodate) in can_finish_ordered_extent() 344 if (!uptodate) in can_finish_ordered_extent() 374 bool uptodate) in btrfs_finish_ordered_extent() 380 trace_btrfs_finish_ordered_extent(inode, file_offset, len, uptodate); in btrfs_finish_ordered_extent() 383 ret = can_finish_ordered_extent(ordered, page, file_offset, len, uptodate); in btrfs_finish_ordered_extent() 406 u64 num_bytes, bool uptodate) in btrfs_mark_ordered_io_finished() 416 uptodate); in btrfs_mark_ordered_io_finished() 470 if (can_finish_ordered_extent(entry, page, cur, len, uptodate)) { in btrfs_mark_ordered_io_finished() 307 can_finish_ordered_extent(struct btrfs_ordered_extent *ordered, struct page *page, u64 file_offset, u64 len, bool uptodate) can_finish_ordered_extent() argument 372 btrfs_finish_ordered_extent(struct btrfs_ordered_extent *ordered, struct page *page, u64 file_offset, u64 len, bool uptodate) btrfs_finish_ordered_extent() argument 404 btrfs_mark_ordered_io_finished(struct btrfs_inode *inode, struct page *page, u64 file_offset, u64 num_bytes, bool uptodate) btrfs_mark_ordered_io_finished() argument
|
H A D | subpage.h | 11 * For subpage we pack all uptodate/dirty/writeback/ordered bitmaps into 142 DECLARE_BTRFS_SUBPAGE_OPS(uptodate); variable
|
/kernel/linux/linux-6.6/fs/ |
H A D | buffer.c | 143 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() 286 * If all of the buffers are uptodate then we can set the page in end_buffer_async_read() 287 * uptodate in end_buffer_async_read() 353 end_buffer_async_read_io(struct buffer_head *bh, int uptodate) end_buffer_async_read_io() argument 384 end_buffer_async_write(struct buffer_head *bh, int uptodate) end_buffer_async_write() argument 1008 bool uptodate = folio_test_uptodate(folio); folio_init_buffers() local [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | erofs.h | 92 __field(int, uptodate) 101 __entry->uptodate = PageUptodate(page); 105 TP_printk("dev = (%d,%d), nid = %llu, %s, index = %lu, uptodate = %d " 110 __entry->uptodate,
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | erofs.h | 94 __field(int, uptodate) 103 __entry->uptodate = folio_test_uptodate(folio); 107 TP_printk("dev = (%d,%d), nid = %llu, %s, index = %lu, uptodate = %d " 112 __entry->uptodate,
|
H A D | btrfs.h | 666 bool uptodate), 668 TP_ARGS(inode, start, len, uptodate), 674 __field( bool, uptodate ) 682 __entry->uptodate = uptodate; 686 TP_printk_btrfs("root=%llu(%s) ino=%llu start=%llu len=%llu uptodate=%d", 689 __entry->len, !!__entry->uptodate) 752 int uptodate), 754 TP_ARGS(inode, start, end, uptodate), 760 __field( int, uptodate ) [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | buffer.c | 142 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() 286 * uptodate then we can set the page uptodate in end_buffer_async_read() 320 end_buffer_async_read_io(struct buffer_head *bh, int uptodate) end_buffer_async_read_io() argument 342 end_buffer_async_write(struct buffer_head *bh, int uptodate) end_buffer_async_write() argument 924 int uptodate = PageUptodate(page); init_page_buffers() local 2543 end_buffer_read_nobh(struct buffer_head *bh, int uptodate) end_buffer_read_nobh() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | buffer_head.h | 49 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate); 140 * If somebody else already set this uptodate, they will in set_buffer_uptodate() 199 void end_buffer_read_sync(struct buffer_head *bh, int uptodate); 200 void end_buffer_write_sync(struct buffer_head *bh, int uptodate); 201 void end_buffer_async_write(struct buffer_head *bh, int uptodate);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | buffer_head.h | 48 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate); 142 * If somebody else already set this uptodate, they will in set_buffer_uptodate() 208 void end_buffer_read_sync(struct buffer_head *bh, int uptodate); 209 void end_buffer_write_sync(struct buffer_head *bh, int uptodate); 210 void end_buffer_async_write(struct buffer_head *bh, int uptodate);
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | Makefile | 39 uptodate.o \
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | Makefile | 39 uptodate.o \
|
/kernel/linux/linux-5.10/fs/iomap/ |
H A D | buffered-io.c | 26 * to track sub-page uptodate status and I/O completions. 32 unsigned long uptodate[]; member 60 iop = kzalloc(struct_size(iop, uptodate, BITS_TO_LONGS(nr_blocks)), in iomap_page_create() 64 bitmap_fill(iop->uptodate, nr_blocks); in iomap_page_create() 79 WARN_ON_ONCE(bitmap_full(iop->uptodate, nr_blocks) != in iomap_page_release() 102 * per-block uptodate status and adjust the offset and length if needed in iomap_adjust_read_range() 103 * to avoid reading in already uptodate ranges. in iomap_adjust_read_range() 108 /* move forward for each leading block marked uptodate */ in iomap_adjust_read_range() 110 if (!test_bit(i, iop->uptodate)) in iomap_adjust_read_range() 118 /* truncate len if we find any trailing uptodate bloc in iomap_adjust_read_range() [all...] |
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | aops.c | 32 * @uptodate: whether @bh is now uptodate or not 39 * page has been completed and mark the page uptodate or set the error bit on 45 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() 112 * If none of the buffers had errors then we can set the page uptodate, in ntfs_end_buffer_async_read() 154 * applies the mst fixups to the page before finally marking it uptodate and 315 * of the page and set the buffer uptodate. in ntfs_read_block() 663 * all non-uptodate buffers and set them uptodate (an in ntfs_write_block() 803 int uptodate = 1; ntfs_write_block() local [all...] |
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | aops.c | 32 * @uptodate: whether @bh is now uptodate or not 39 * page has been completed and mark the page uptodate or set the error bit on 45 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() 112 * If none of the buffers had errors then we can set the page uptodate, in ntfs_end_buffer_async_read() 154 * applies the mst fixups to the page before finally marking it uptodate and 315 * of the page and set the buffer uptodate. in ntfs_read_block() 665 * all non-uptodate buffers and set them uptodate (an in ntfs_write_block() 805 int uptodate = 1; ntfs_write_block() local [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid1.c | 361 int uptodate = !bio->bi_status; in raid1_end_read_request() local 371 if (uptodate) in raid1_end_read_request() 381 * Here we redefine "uptodate" to mean "Don't want to retry" in raid1_end_read_request() 388 uptodate = 1; in raid1_end_read_request() 392 if (uptodate) { in raid1_end_read_request() 1894 static void put_sync_write_buf(struct r1bio *r1_bio, int uptodate) in put_sync_write_buf() argument 1905 md_done_sync(mddev, s, uptodate); in put_sync_write_buf() 1912 int uptodate = !bio->bi_status; in end_sync_write() local 1920 if (!uptodate) { in end_sync_write() 1936 put_sync_write_buf(r1_bio, uptodate); in end_sync_write() [all...] |