Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/ide/
Dide-cd.c613 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 = 1; in cdrom_newpc_intr()
[all …]
Dide-floppy.c69 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()
Dide-atapi.c455 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()
Dide-tape.c332 int uptodate = pc->error ? 0 : 1; in ide_tape_callback() local
333 int err = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; in ide_tape_callback()
345 if (uptodate) in ide_tape_callback()
366 uptodate = 0; in ide_tape_callback()
372 return uptodate; in ide_tape_callback()
/kernel/linux/linux-5.10/include/linux/
Dbuffer_head.h49 typedef void (bh_end_io_t)(struct buffer_head *bh, int 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);
Dpage-flags.h580 CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL)
/kernel/linux/linux-5.10/fs/btrfs/
Dordered-data.h158 u64 file_offset, u64 io_size, int uptodate);
162 int uptodate);
Dordered-data.c313 u64 *file_offset, u64 io_size, int uptodate) in btrfs_dec_test_first_ordered_pending() argument
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() argument
416 if (!uptodate) in btrfs_dec_test_ordered_pending()
Dextent_io.c2714 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()
2778 int uptodate) in endio_readpage_release_extent() argument
2783 if (uptodate && tree->track_uptodate) in endio_readpage_release_extent()
2802 int uptodate = !bio->bi_status; in end_bio_extent_readpage() local
2849 if (likely(uptodate)) { in end_bio_extent_readpage()
2857 uptodate = 0; in end_bio_extent_readpage()
2865 if (likely(uptodate)) in end_bio_extent_readpage()
2884 uptodate = !bio->bi_status; in end_bio_extent_readpage()
[all …]
Dctree.c1615 int uptodate; in btrfs_realloc_node() local
1664 uptodate = btrfs_buffer_uptodate(cur, gen, 0); in btrfs_realloc_node()
1666 uptodate = 0; in btrfs_realloc_node()
1667 if (!cur || !uptodate) { in btrfs_realloc_node()
1678 } else if (!uptodate) { in btrfs_realloc_node()
/kernel/linux/linux-5.10/include/trace/events/
Derofs.h92 __field(int, uptodate)
101 __entry->uptodate = PageUptodate(page);
110 __entry->uptodate,
Dbtrfs.h655 TP_PROTO(const struct page *page, u64 start, u64 end, int uptodate),
657 TP_ARGS(page, start, end, uptodate),
664 __field( int, uptodate )
673 __entry->uptodate = uptodate;
683 __entry->end, __entry->uptodate)
Df2fs.h1220 __field(int, uptodate)
1231 __entry->uptodate = PageUptodate(page);
1241 __entry->uptodate)
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/fs/iomap/
Dbuffered-io.c32 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()
110 if (!test_bit(i, iop->uptodate)) in iomap_adjust_read_range()
120 if (test_bit(i, iop->uptodate)) { in iomap_adjust_read_range()
154 bitmap_set(iop->uptodate, first, last - first + 1); in iomap_iop_set_range_uptodate()
155 if (bitmap_full(iop->uptodate, i_blocks_per_page(inode, page))) in iomap_iop_set_range_uptodate()
450 if (!test_bit(i, iop->uptodate)) in iomap_is_partially_uptodate()
1361 if (iop && !test_bit(i, iop->uptodate)) in iomap_writepage_map()
/kernel/linux/linux-5.10/fs/ocfs2/
DMakefile39 uptodate.o \
/kernel/linux/linux-5.10/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()
803 int uptodate = 1; in ntfs_write_block() local
806 uptodate = 0; in ntfs_write_block()
811 if (uptodate) in ntfs_write_block()
/kernel/linux/linux-5.10/drivers/md/
Draid1.c361 int uptodate = !bio->bi_status; in raid1_end_read_request() local
371 if (uptodate) in raid1_end_read_request()
388 uptodate = 1; in raid1_end_read_request()
392 if (uptodate) { in raid1_end_read_request()
1891 static void put_sync_write_buf(struct r1bio *r1_bio, int uptodate) in put_sync_write_buf() argument
1902 md_done_sync(mddev, s, uptodate); in put_sync_write_buf()
1909 int uptodate = !bio->bi_status; in end_sync_write() local
1917 if (!uptodate) { in end_sync_write()
1933 put_sync_write_buf(r1_bio, uptodate); in end_sync_write()
Draid5.h284 int locked, uptodate, to_read, to_write, failed, written; member
Draid5.c3857 if ((s->uptodate == disks - 1) && in fetch_block()
3878 s->uptodate++; in fetch_block()
3880 } else if (s->uptodate == disks-2 && s->failed >= 2) { in fetch_block()
3902 s->uptodate += 2; in fetch_block()
4252 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
4256 s->uptodate--; in handle_parity_checks5()
4272 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
4319 s->uptodate++; in handle_parity_checks5()
4378 s->uptodate--; in handle_parity_checks6()
4489 s->uptodate++; in handle_parity_checks6()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/reiserfs/
Djournal.c619 static void reiserfs_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in reiserfs_end_buffer_io_sync() argument
626 if (uptodate) in reiserfs_end_buffer_io_sync()
635 static void reiserfs_end_ordered_io(struct buffer_head *bh, int uptodate) in reiserfs_end_ordered_io() argument
637 if (uptodate) in reiserfs_end_ordered_io()
/kernel/linux/linux-5.10/Documentation/filesystems/nfs/
Drpc-cache.rst126 done when the found cache item is not uptodate, but the is reason to
/kernel/linux/linux-5.10/Documentation/filesystems/
Dgfs2-glocks.rst112 indicates that it is caching uptodate data.

12