| /Linux-v5.4/drivers/ide/ |
| D | ide-cd.c | 612 int dma_error = 0, dma, thislen, uptodate = 0; in cdrom_newpc_intr() local 651 uptodate = 1; in cdrom_newpc_intr() 672 uptodate = 1; in cdrom_newpc_intr() 679 uptodate = 0; in cdrom_newpc_intr() 686 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr() 692 if (!(stat & ATA_ERR) && !uptodate && thislen) { in cdrom_newpc_intr() 694 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr() 697 if (!uptodate) in cdrom_newpc_intr() 768 if (sense && uptodate) in cdrom_newpc_intr() 773 uptodate = 1; in cdrom_newpc_intr() [all …]
|
| D | ide-floppy.c | 68 int uptodate = pc->error ? 0 : 1; in ide_floppy_callback() local 77 uptodate = 1; /* FIXME */ in ide_floppy_callback() 102 scsi_req(rq)->result = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; in ide_floppy_callback() 104 return uptodate; in ide_floppy_callback()
|
| D | ide-atapi.c | 456 int uptodate; in ide_pc_intr() local 503 uptodate = drive->pc_callback(drive, dsc); in ide_pc_intr() 505 if (uptodate == 0) in ide_pc_intr() 513 if (blk_rq_is_passthrough(rq) && uptodate <= 0) { in ide_pc_intr() 518 error = uptodate ? BLK_STS_OK : BLK_STS_IOERR; in ide_pc_intr()
|
| D | ide-tape.c | 331 int uptodate = pc->error ? 0 : 1; in ide_tape_callback() local 332 int err = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; in ide_tape_callback() 344 if (uptodate) in ide_tape_callback() 365 uptodate = 0; in ide_tape_callback() 371 return uptodate; in ide_tape_callback()
|
| /Linux-v5.4/include/linux/ |
| D | buffer_head.h | 52 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate); 120 BUFFER_FNS(Uptodate, uptodate) 165 void end_buffer_read_sync(struct buffer_head *bh, int uptodate); 166 void end_buffer_write_sync(struct buffer_head *bh, int uptodate); 167 void end_buffer_async_write(struct buffer_head *bh, int uptodate);
|
| D | iomap.h | 142 DECLARE_BITMAP(uptodate, PAGE_SIZE / 512);
|
| D | page-flags.h | 530 CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL)
|
| /Linux-v5.4/fs/iomap/ |
| D | buffered-io.c | 33 bitmap_zero(iop->uptodate, PAGE_SIZE / SECTOR_SIZE); in iomap_page_create() 86 if (!test_bit(i, iop->uptodate)) in iomap_adjust_read_range() 96 if (test_bit(i, iop->uptodate)) { in iomap_adjust_read_range() 128 bool uptodate = true; in iomap_set_range_uptodate() local 133 set_bit(i, iop->uptodate); in iomap_set_range_uptodate() 134 else if (!test_bit(i, iop->uptodate)) in iomap_set_range_uptodate() 135 uptodate = false; in iomap_set_range_uptodate() 139 if (uptodate && !PageError(page)) in iomap_set_range_uptodate() 446 if (!test_bit(i, iop->uptodate)) in iomap_is_partially_uptodate()
|
| /Linux-v5.4/fs/btrfs/ |
| D | ordered-data.h | 158 u64 file_offset, u64 io_size, int uptodate); 162 int uptodate);
|
| D | ordered-data.c | 304 u64 *file_offset, u64 io_size, int uptodate) in btrfs_dec_test_first_ordered_pending() argument 345 if (!uptodate) in btrfs_dec_test_first_ordered_pending() 375 u64 file_offset, u64 io_size, int uptodate) in btrfs_dec_test_ordered_pending() argument 409 if (!uptodate) in btrfs_dec_test_ordered_pending()
|
| D | extent_io.c | 2618 int uptodate = (err == 0); in end_extent_writepage() local 2621 btrfs_writepage_endio_finish_ordered(page, start, end, uptodate); in end_extent_writepage() 2623 if (!uptodate) { in end_extent_writepage() 2682 int uptodate) in endio_readpage_release_extent() argument 2687 if (uptodate && tree->track_uptodate) in endio_readpage_release_extent() 2706 int uptodate = !bio->bi_status; in end_bio_extent_readpage() local 2755 if (likely(uptodate)) { in end_bio_extent_readpage() 2760 uptodate = 0; in end_bio_extent_readpage() 2768 if (likely(uptodate)) in end_bio_extent_readpage() 2786 uptodate = !bio->bi_status; in end_bio_extent_readpage() [all …]
|
| D | inode.c | 95 const bool uptodate); 3251 u64 end, int uptodate) in btrfs_writepage_endio_finish_ordered() argument 3259 trace_btrfs_writepage_end_io_hook(page, start, end, uptodate); in btrfs_writepage_endio_finish_ordered() 3263 end - start + 1, uptodate)) in btrfs_writepage_endio_finish_ordered() 7960 int uptodate; member 7979 done->uptodate = 1; in btrfs_retry_endio_nocsum() 8016 done.uptodate = 0; in __btrfs_correct_data_nocsum() 8031 if (!done.uptodate) { in __btrfs_correct_data_nocsum() 8057 int uptodate; in btrfs_retry_endio() local 8065 uptodate = 1; in btrfs_retry_endio() [all …]
|
| D | check-integrity.c | 335 static void btrfsic_bh_end_io(struct buffer_head *bh, int uptodate); 2151 static void btrfsic_bh_end_io(struct buffer_head *bh, int uptodate) in btrfsic_bh_end_io() argument 2154 int iodone_w_error = !uptodate; in btrfsic_bh_end_io() 2180 bh->b_end_io(bh, uptodate); in btrfsic_bh_end_io()
|
| /Linux-v5.4/include/trace/events/ |
| D | erofs.h | 92 __field(int, uptodate) 101 __entry->uptodate = PageUptodate(page); 110 __entry->uptodate,
|
| D | btrfs.h | 619 TP_PROTO(const struct page *page, u64 start, u64 end, int uptodate), 621 TP_ARGS(page, start, end, uptodate), 628 __field( int, uptodate ) 637 __entry->uptodate = uptodate; 647 __entry->end, __entry->uptodate)
|
| D | f2fs.h | 1206 __field(int, uptodate) 1217 __entry->uptodate = PageUptodate(page); 1227 __entry->uptodate)
|
| /Linux-v5.4/fs/ |
| D | buffer.c | 147 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch() argument 149 if (uptodate) { in __end_buffer_read_notouch() 162 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync() argument 164 __end_buffer_read_notouch(bh, uptodate); in end_buffer_read_sync() 169 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync() argument 171 if (uptodate) { in end_buffer_write_sync() 253 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read() argument 264 if (uptodate) { in end_buffer_async_read() 314 void end_buffer_async_write(struct buffer_head *bh, int uptodate) in end_buffer_async_write() argument 324 if (uptodate) { in end_buffer_async_write() [all …]
|
| /Linux-v5.4/fs/ocfs2/ |
| D | Makefile | 39 uptodate.o \
|
| /Linux-v5.4/fs/ntfs/ |
| D | aops.c | 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() 806 int uptodate = 1; in ntfs_write_block() local 809 uptodate = 0; in ntfs_write_block() 814 if (uptodate) in ntfs_write_block()
|
| /Linux-v5.4/drivers/md/ |
| D | raid1.c | 343 int uptodate = !bio->bi_status; in raid1_end_read_request() local 353 if (uptodate) in raid1_end_read_request() 370 uptodate = 1; in raid1_end_read_request() 374 if (uptodate) { in raid1_end_read_request() 1909 static void put_sync_write_buf(struct r1bio *r1_bio, int uptodate) in put_sync_write_buf() argument 1920 md_done_sync(mddev, s, uptodate); in put_sync_write_buf() 1927 int uptodate = !bio->bi_status; in end_sync_write() local 1935 if (!uptodate) { in end_sync_write() 1951 put_sync_write_buf(r1_bio, uptodate); in end_sync_write()
|
| D | raid5.h | 275 int locked, uptodate, to_read, to_write, failed, written; member
|
| D | raid5.c | 3646 if ((s->uptodate == disks - 1) && in fetch_block() 3667 s->uptodate++; in fetch_block() 3669 } else if (s->uptodate == disks-2 && s->failed >= 2) { in fetch_block() 3691 s->uptodate += 2; in fetch_block() 4045 BUG_ON(s->uptodate != disks); in handle_parity_checks5() 4049 s->uptodate--; in handle_parity_checks5() 4065 BUG_ON(s->uptodate != disks); in handle_parity_checks5() 4112 s->uptodate++; in handle_parity_checks5() 4171 s->uptodate--; in handle_parity_checks6() 4282 s->uptodate++; in handle_parity_checks6() [all …]
|
| /Linux-v5.4/fs/jbd2/ |
| D | commit.c | 32 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-v5.4/fs/ext4/ |
| D | ialloc.c | 69 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-v5.4/fs/reiserfs/ |
| D | journal.c | 621 static void reiserfs_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in reiserfs_end_buffer_io_sync() argument 628 if (uptodate) in reiserfs_end_buffer_io_sync() 637 static void reiserfs_end_ordered_io(struct buffer_head *bh, int uptodate) in reiserfs_end_ordered_io() argument 639 if (uptodate) in reiserfs_end_ordered_io()
|