Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/ide/
Dide-cd.c525 int dma_error = 0, dma, thislen, uptodate = 0; in cdrom_newpc_intr() local
564 uptodate = 1; in cdrom_newpc_intr()
585 uptodate = 1; in cdrom_newpc_intr()
592 uptodate = 0; in cdrom_newpc_intr()
599 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr()
605 if (!(stat & ATA_ERR) && !uptodate && thislen) { in cdrom_newpc_intr()
607 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr()
610 if (!uptodate) in cdrom_newpc_intr()
681 if (sense && uptodate) in cdrom_newpc_intr()
686 uptodate = 1; in cdrom_newpc_intr()
[all …]
Dide-floppy.c68 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()
Dide-atapi.c439 int uptodate; in ide_pc_intr() local
486 uptodate = drive->pc_callback(drive, dsc); in ide_pc_intr()
488 if (uptodate == 0) in ide_pc_intr()
496 if (blk_rq_is_passthrough(rq) && uptodate <= 0) { in ide_pc_intr()
501 error = uptodate ? BLK_STS_OK : BLK_STS_IOERR; in ide_pc_intr()
Dide-tape.c331 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-v4.19/include/linux/
Dbuffer_head.h52 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);
Diomap.h111 DECLARE_BITMAP(uptodate, PAGE_SIZE / 512);
/Linux-v4.19/fs/btrfs/
Dordered-data.h155 u64 file_offset, u64 io_size, int uptodate);
159 int uptodate);
Dordered-data.c299 u64 *file_offset, u64 io_size, int uptodate) in btrfs_dec_test_first_ordered_pending() argument
340 if (!uptodate) in btrfs_dec_test_first_ordered_pending()
370 u64 file_offset, u64 io_size, int uptodate) in btrfs_dec_test_ordered_pending() argument
404 if (!uptodate) in btrfs_dec_test_ordered_pending()
Dextent_io.c2408 int uptodate = (err == 0); in end_extent_writepage() local
2416 uptodate); in end_extent_writepage()
2418 if (!uptodate) { in end_extent_writepage()
2477 int uptodate) in endio_readpage_release_extent() argument
2482 if (uptodate && tree->track_uptodate) in endio_readpage_release_extent()
2501 int uptodate = !bio->bi_status; in end_bio_extent_readpage() local
2548 if (likely(uptodate && tree->ops)) { in end_bio_extent_readpage()
2553 uptodate = 0; in end_bio_extent_readpage()
2561 if (likely(uptodate)) in end_bio_extent_readpage()
2584 uptodate = !bio->bi_status; in end_bio_extent_readpage()
[all …]
Dinode.c103 const bool uptodate);
3159 struct extent_state *state, int uptodate) in btrfs_writepage_end_io_hook() argument
3167 trace_btrfs_writepage_end_io_hook(page, start, end, uptodate); in btrfs_writepage_end_io_hook()
3171 end - start + 1, uptodate)) in btrfs_writepage_end_io_hook()
7822 int uptodate; member
7841 done->uptodate = 1; in btrfs_retry_endio_nocsum()
7878 done.uptodate = 0; in __btrfs_correct_data_nocsum()
7893 if (!done.uptodate) { in __btrfs_correct_data_nocsum()
7919 int uptodate; in btrfs_retry_endio() local
7926 uptodate = 1; in btrfs_retry_endio()
[all …]
/Linux-v4.19/drivers/staging/erofs/include/trace/events/
Derofs.h89 __field(int, uptodate)
98 __entry->uptodate = PageUptodate(page);
107 __entry->uptodate,
/Linux-v4.19/fs/exofs/
Dore_raid.c527 bool uptodate; in _read_4_write_first_stripe() local
538 &uptodate); in _read_4_write_first_stripe()
542 if (!uptodate) in _read_4_write_first_stripe()
594 bool uptodate; in _read_4_write_last_stripe() local
598 &uptodate); in _read_4_write_last_stripe()
605 if (!uptodate) in _read_4_write_last_stripe()
Dinode.c568 static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate) in __r4w_get_page() argument
579 *uptodate = true; in __r4w_get_page()
595 *uptodate = PageUptodate(page); in __r4w_get_page()
596 EXOFS_DBGMSG2("index=0x%lx uptodate=%d\n", index, *uptodate); in __r4w_get_page()
601 *uptodate = true; in __r4w_get_page()
/Linux-v4.19/fs/
Dbuffer.c146 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch() argument
148 if (uptodate) { in __end_buffer_read_notouch()
161 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync() argument
163 __end_buffer_read_notouch(bh, uptodate); in end_buffer_read_sync()
168 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync() argument
170 if (uptodate) { in end_buffer_write_sync()
251 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read() argument
262 if (uptodate) { in end_buffer_async_read()
312 void end_buffer_async_write(struct buffer_head *bh, int uptodate) in end_buffer_async_write() argument
322 if (uptodate) { in end_buffer_async_write()
[all …]
Diomap.c119 bitmap_zero(iop->uptodate, PAGE_SIZE / SECTOR_SIZE); in iomap_page_create()
164 if (!test_bit(i, iop->uptodate)) in iomap_adjust_read_range()
174 if (test_bit(i, iop->uptodate)) { in iomap_adjust_read_range()
202 bool uptodate = true; in iomap_set_range_uptodate() local
207 set_bit(i, iop->uptodate); in iomap_set_range_uptodate()
208 else if (!test_bit(i, iop->uptodate)) in iomap_set_range_uptodate()
209 uptodate = false; in iomap_set_range_uptodate()
213 if (uptodate && !PageError(page)) in iomap_set_range_uptodate()
503 if (!test_bit(i, iop->uptodate)) in iomap_is_partially_uptodate()
/Linux-v4.19/fs/ocfs2/
DMakefile39 uptodate.o \
/Linux-v4.19/include/scsi/
Dosd_ore.h112 struct page * (*get_page)(void *priv, u64 page_index, bool *uptodate);
/Linux-v4.19/fs/ntfs/
Daops.c59 static void ntfs_end_buffer_async_read(struct buffer_head *bh, int uptodate) in ntfs_end_buffer_async_read() argument
72 if (likely(uptodate)) { in ntfs_end_buffer_async_read()
820 int uptodate = 1; in ntfs_write_block() local
823 uptodate = 0; in ntfs_write_block()
828 if (uptodate) in ntfs_write_block()
/Linux-v4.19/include/trace/events/
Dbtrfs.h583 TP_PROTO(const struct page *page, u64 start, u64 end, int uptodate),
585 TP_ARGS(page, start, end, uptodate),
592 __field( int, uptodate )
601 __entry->uptodate = uptodate;
611 __entry->end, __entry->uptodate)
Df2fs.h1164 __field(int, uptodate)
1174 __entry->uptodate = PageUptodate(page);
1184 __entry->uptodate)
/Linux-v4.19/drivers/md/
Draid5.h275 int locked, uptodate, to_read, to_write, failed, written; member
Draid1.c330 int uptodate = !bio->bi_status; in raid1_end_read_request() local
340 if (uptodate) in raid1_end_read_request()
357 uptodate = 1; in raid1_end_read_request()
361 if (uptodate) { in raid1_end_read_request()
1867 int uptodate = !bio->bi_status; in end_sync_write() local
1875 if (!uptodate) { in end_sync_write()
1906 md_done_sync(mddev, s, uptodate); in end_sync_write()
Draid5.c3639 if ((s->uptodate == disks - 1) && in fetch_block()
3660 s->uptodate++; in fetch_block()
3662 } else if (s->uptodate == disks-2 && s->failed >= 2) { in fetch_block()
3684 s->uptodate += 2; in fetch_block()
4038 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
4042 s->uptodate--; in handle_parity_checks5()
4058 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
4105 s->uptodate++; in handle_parity_checks5()
4164 s->uptodate--; in handle_parity_checks6()
4188 BUG_ON(s->uptodate < disks - 1); /* We don't need Q to recover */ in handle_parity_checks6()
[all …]
/Linux-v4.19/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-v4.19/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()

12