Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/ide/
Dide-cd.c527 int dma_error = 0, dma, thislen, uptodate = 0; in cdrom_newpc_intr() local
566 uptodate = 1; in cdrom_newpc_intr()
586 uptodate = 1; in cdrom_newpc_intr()
593 uptodate = 0; in cdrom_newpc_intr()
598 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr()
604 if (!(stat & ATA_ERR) && !uptodate && thislen) { in cdrom_newpc_intr()
606 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr()
609 if (!uptodate) in cdrom_newpc_intr()
671 if (sense && uptodate) in cdrom_newpc_intr()
676 uptodate = 1; in cdrom_newpc_intr()
[all …]
Dide-floppy.c67 int uptodate = pc->error ? 0 : 1; in ide_floppy_callback() local
76 uptodate = 1; /* FIXME */ in ide_floppy_callback()
101 rq->errors = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; in ide_floppy_callback()
103 return uptodate; in ide_floppy_callback()
Dide-atapi.c429 int uptodate, error; in ide_pc_intr() local
475 uptodate = drive->pc_callback(drive, dsc); in ide_pc_intr()
477 if (uptodate == 0) in ide_pc_intr()
485 if (rq->cmd_type != REQ_TYPE_FS && uptodate <= 0) { in ide_pc_intr()
490 error = uptodate ? 0 : -EIO; 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-4.1.27/include/linux/
Dbuffer_head.h51 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);
116 BUFFER_FNS(Uptodate, uptodate)
161 void end_buffer_read_sync(struct buffer_head *bh, int uptodate);
162 void end_buffer_write_sync(struct buffer_head *bh, int uptodate);
163 void end_buffer_async_write(struct buffer_head *bh, int uptodate);
Dpage-flags.h370 CLEARPAGEFLAG(Uptodate, uptodate)
Dfs.h73 typedef void (dax_iodone_t)(struct buffer_head *bh_map, int uptodate);
/linux-4.1.27/mm/
Dpage_io.c48 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_swap_bio_write() local
51 if (!uptodate) { in end_swap_bio_write()
74 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_swap_bio_read() local
77 if (!uptodate) { in end_swap_bio_read()
/linux-4.1.27/fs/logfs/
Ddev_bdev.c58 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in writeseg_end_io() local
64 BUG_ON(!uptodate); /* FIXME: Retry io or write elsewhere */ in writeseg_end_io()
158 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in erase_end_io() local
162 BUG_ON(!uptodate); /* FIXME: Retry io or write elsewhere */ in erase_end_io()
/linux-4.1.27/fs/btrfs/
Dordered-data.h169 u64 file_offset, u64 io_size, int uptodate);
173 int uptodate);
Dextent_io.c2453 int uptodate = (err == 0); in end_extent_writepage() local
2461 end, NULL, uptodate); in end_extent_writepage()
2463 uptodate = 0; in end_extent_writepage()
2466 if (!uptodate) { in end_extent_writepage()
2525 int uptodate) in endio_readpage_release_extent() argument
2530 if (uptodate && tree->track_uptodate) in endio_readpage_release_extent()
2549 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_bio_extent_readpage() local
2563 uptodate = 0; in end_bio_extent_readpage()
2596 if (likely(uptodate && tree->ops && in end_bio_extent_readpage()
2602 uptodate = 0; in end_bio_extent_readpage()
[all …]
Dordered-data.c310 u64 *file_offset, u64 io_size, int uptodate) in btrfs_dec_test_first_ordered_pending() argument
350 if (!uptodate) in btrfs_dec_test_first_ordered_pending()
380 u64 file_offset, u64 io_size, int uptodate) in btrfs_dec_test_ordered_pending() argument
414 if (!uptodate) in btrfs_dec_test_ordered_pending()
Dextent_io.h82 struct extent_state *state, int uptodate);
Dinode.c2985 struct extent_state *state, int uptodate) in btrfs_writepage_end_io_hook() argument
2993 trace_btrfs_writepage_end_io_hook(page, start, end, uptodate); in btrfs_writepage_end_io_hook()
2997 end - start + 1, uptodate)) in btrfs_writepage_end_io_hook()
7736 int uptodate; member
7748 done->uptodate = 1; in btrfs_retry_endio_nocsum()
7770 done.uptodate = 0; in __btrfs_correct_data_nocsum()
7783 if (!done.uptodate) { in __btrfs_correct_data_nocsum()
7799 int uptodate; in btrfs_retry_endio() local
7806 uptodate = 1; in btrfs_retry_endio()
7815 uptodate = 0; in btrfs_retry_endio()
[all …]
Dcheck-integrity.c347 static void btrfsic_bh_end_io(struct buffer_head *bh, int uptodate);
2258 static void btrfsic_bh_end_io(struct buffer_head *bh, int uptodate) in btrfsic_bh_end_io() argument
2261 int iodone_w_error = !uptodate; in btrfsic_bh_end_io()
2289 bh->b_end_io(bh, uptodate); in btrfsic_bh_end_io()
Dctree.c1635 int uptodate; in btrfs_realloc_node() local
1682 uptodate = btrfs_buffer_uptodate(cur, gen, 0); in btrfs_realloc_node()
1684 uptodate = 0; in btrfs_realloc_node()
1685 if (!cur || !uptodate) { in btrfs_realloc_node()
1692 } else if (!uptodate) { in btrfs_realloc_node()
Draid56.c854 static void rbio_orig_end_io(struct btrfs_raid_bio *rbio, int err, int uptodate) in rbio_orig_end_io() argument
867 if (uptodate) in rbio_orig_end_io()
Dfree-space-cache.c380 int uptodate) in io_ctl_prepare_pages() argument
393 if (uptodate && !PageUptodate(page)) { in io_ctl_prepare_pages()
Ddisk-io.c3138 static void btrfs_end_buffer_write_sync(struct buffer_head *bh, int uptodate) in btrfs_end_buffer_write_sync() argument
3140 if (uptodate) { in btrfs_end_buffer_write_sync()
/linux-4.1.27/fs/exofs/
Dore_raid.c492 bool uptodate; in _read_4_write_first_stripe() local
503 &uptodate); in _read_4_write_first_stripe()
507 if (!uptodate) in _read_4_write_first_stripe()
559 bool uptodate; in _read_4_write_last_stripe() local
563 &uptodate); in _read_4_write_last_stripe()
570 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()
596 *uptodate = true; in __r4w_get_page()
598 *uptodate = PageUptodate(page); in __r4w_get_page()
599 EXOFS_DBGMSG2("index=0x%lx uptodate=%d\n", index, *uptodate); in __r4w_get_page()
604 *uptodate = true; in __r4w_get_page()
/linux-4.1.27/fs/nfs/objlayout/
Dobjio_osd.c454 static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate) in __r4w_get_page() argument
464 *uptodate = true; in __r4w_get_page()
480 *uptodate = true; in __r4w_get_page()
482 *uptodate = PageUptodate(page); in __r4w_get_page()
483 dprintk("%s: index=0x%lx uptodate=%d\n", __func__, index, *uptodate); in __r4w_get_page()
/linux-4.1.27/fs/ocfs2/
Dbuffer_head_io.h32 int uptodate);
DMakefile40 uptodate.o \
/linux-4.1.27/fs/
Dbuffer.c150 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch() argument
152 if (uptodate) { in __end_buffer_read_notouch()
165 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync() argument
167 __end_buffer_read_notouch(bh, uptodate); in end_buffer_read_sync()
172 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync() argument
174 if (uptodate) { in end_buffer_write_sync()
279 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read() argument
290 if (uptodate) { in end_buffer_async_read()
340 void end_buffer_async_write(struct buffer_head *bh, int uptodate) in end_buffer_async_write() argument
350 if (uptodate) { in end_buffer_async_write()
[all …]
Ddirect-io.c460 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in dio_bio_complete() local
464 if (!uptodate) in dio_bio_complete()
479 return uptodate ? 0 : -EIO; in dio_bio_complete()
/linux-4.1.27/drivers/md/
Draid1.c317 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid1_end_read_request() local
328 if (uptodate) in raid1_end_read_request()
340 uptodate = 1; in raid1_end_read_request()
344 if (uptodate) { in raid1_end_read_request()
402 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid1_end_write_request() local
413 if (!uptodate) { in raid1_end_write_request()
1759 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_sync_write() local
1769 if (!uptodate) { in end_sync_write()
1805 md_done_sync(mddev, s, uptodate); in end_sync_write()
1970 int uptodate; in process_checks() local
[all …]
Dmultipath.c86 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in multipath_end_request() local
91 if (uptodate) in multipath_end_request()
Draid5.h261 int locked, uptodate, to_read, to_write, failed, written; member
Draid5.c2291 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_read_request() local
2302 uptodate); in raid5_end_read_request()
2321 if (uptodate) { in raid5_end_read_request()
2415 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_write_request() local
2440 uptodate); in raid5_end_write_request()
2447 if (!uptodate) in raid5_end_write_request()
2454 if (!uptodate) { in raid5_end_write_request()
2475 if (sh->batch_head && !uptodate && !replacement) in raid5_end_write_request()
3360 if ((s->uptodate == disks - 1) && in fetch_block()
3380 s->uptodate++; in fetch_block()
[all …]
Draid10.c363 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid10_end_read_request() local
377 if (uptodate) { in raid10_end_read_request()
396 uptodate = 1; in raid10_end_read_request()
398 if (uptodate) { in raid10_end_read_request()
443 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid10_end_write_request() local
463 if (!uptodate) { in raid10_end_write_request()
1982 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_sync_write() local
1999 if (!uptodate) { in end_sync_write()
4619 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_reshape_write() local
4636 if (!uptodate) { in end_reshape_write()
Dbitmap.c314 static void end_bitmap_write(struct buffer_head *bh, int uptodate) in end_bitmap_write() argument
318 if (!uptodate) in end_bitmap_write()
/linux-4.1.27/include/trace/events/
Dbtrfs.h364 TP_PROTO(struct page *page, u64 start, u64 end, int uptodate),
366 TP_ARGS(page, start, end, uptodate),
373 __field( int, uptodate )
382 __entry->uptodate = uptodate;
392 (unsigned long long)__entry->end, __entry->uptodate)
Df2fs.h862 __field(int, uptodate)
872 __entry->uptodate = PageUptodate(page);
882 __entry->uptodate)
/linux-4.1.27/fs/xfs/
Dxfs_aops.c696 int count = 0, done = 0, uptodate = 1; in xfs_convert_page() local
766 uptodate = 0; in xfs_convert_page()
801 if (uptodate && bh == head) in xfs_convert_page()
951 int err, imap_valid = 0, uptodate = 1; in xfs_vm_writepage() local
1062 uptodate = 0; in xfs_vm_writepage()
1135 if (uptodate && bh == head) in xfs_vm_writepage()
/linux-4.1.27/include/scsi/
Dosd_ore.h112 struct page * (*get_page)(void *priv, u64 page_index, bool *uptodate);
/linux-4.1.27/fs/ntfs/
Daops.c58 static void ntfs_end_buffer_async_read(struct buffer_head *bh, int uptodate) in ntfs_end_buffer_async_read() argument
71 if (likely(uptodate)) { in ntfs_end_buffer_async_read()
823 int uptodate = 1; in ntfs_write_block() local
826 uptodate = 0; in ntfs_write_block()
831 if (uptodate) in ntfs_write_block()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dvvp_page.c199 int uptodate) in vvp_page_export() argument
205 if (uptodate) in vvp_page_export()
Dvvp_dev.c425 seq_page_flag(seq, vmpage, uptodate, has_flags); in vvp_pgcache_page_show()
/linux-4.1.27/fs/nilfs2/
Dsegbuf.c343 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in nilfs_end_bio_write() local
351 if (!uptodate) in nilfs_end_bio_write()
/linux-4.1.27/fs/ext4/
Dfile.c195 static void ext4_end_io_unwritten(struct buffer_head *bh, int uptodate) in ext4_end_io_unwritten() argument
201 if (!uptodate) in ext4_end_io_unwritten()
Dialloc.c105 void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate) in ext4_end_bitmap_read() argument
107 if (uptodate) { in ext4_end_bitmap_read()
Dext4.h2250 extern void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate);
/linux-4.1.27/fs/jbd/
Dcommit.c29 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync() argument
32 if (uptodate) in journal_end_buffer_io_sync()
/linux-4.1.27/drivers/block/
Dpktcdvd.c1342 static void pkt_finish_packet(struct packet_data *pkt, int uptodate) in pkt_finish_packet() argument
1346 if (!uptodate) in pkt_finish_packet()
1351 bio_endio(bio, uptodate ? 0 : -EIO); in pkt_finish_packet()
1356 int uptodate; in pkt_run_state_machine() local
1403 uptodate = test_bit(BIO_UPTODATE, &pkt->w_bio->bi_flags); in pkt_run_state_machine()
1404 pkt_finish_packet(pkt, uptodate); in pkt_run_state_machine()
Dfloppy.c2223 static void request_done(int uptodate) in request_done() argument
2232 snprintf(msg, sizeof(msg), "request done %d", uptodate); in request_done()
2242 if (uptodate) { in request_done()
/linux-4.1.27/fs/nfs/blocklayout/
Dblocklayout.c322 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in bl_end_io_write() local
325 if (!uptodate) { in bl_end_io_write()
/linux-4.1.27/fs/jbd2/
Dcommit.c35 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync() argument
40 if (uptodate) in journal_end_buffer_io_sync()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_worker.c177 int uptodate = bio_flagged(bio, BIO_UPTODATE); in drbd_peer_request_endio() local
186 if (!error && !uptodate) { in drbd_peer_request_endio()
218 int uptodate = bio_flagged(bio, BIO_UPTODATE); in drbd_request_endio() local
220 if (!error && !uptodate) { in drbd_request_endio()
Ddrbd_bitmap.c950 int uptodate = bio_flagged(bio, BIO_UPTODATE); in drbd_bm_endio() local
957 if (!error && !uptodate) in drbd_bm_endio()
/linux-4.1.27/block/
Dbsg.c302 static void bsg_rq_end_io(struct request *rq, int uptodate) in bsg_rq_end_io() argument
309 bd->name, rq, bc, bc->bio, uptodate); in bsg_rq_end_io()
/linux-4.1.27/Documentation/networking/
Dxfrm_sync.txt16 This way a backup stays as closely uptodate as an active member.
/linux-4.1.27/Documentation/vm/
Dpage_migration96 and set to not being uptodate so that all accesses to the new
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcl_page.c1135 void cl_page_export(const struct lu_env *env, struct cl_page *pg, int uptodate) in cl_page_export() argument
1140 const struct cl_page_slice *, int), uptodate); in cl_page_export()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dcl_object.h891 const struct cl_page_slice *slice, int uptodate);
2881 struct cl_page *pg, int uptodate);
/linux-4.1.27/fs/reiserfs/
Djournal.c619 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()
/linux-4.1.27/Documentation/filesystems/nfs/
Drpc-cache.txt113 done when the found cache item is not uptodate, but the is reason to
/linux-4.1.27/Documentation/filesystems/
Dgfs2-glocks.txt99 indicates that it is caching uptodate data.
DLocking386 void (*b_end_io)(struct buffer_head *bh, int uptodate);
Dvfs.txt625 unlocked and marked uptodate once the read completes.
/linux-4.1.27/drivers/target/
Dtarget_core_pscsi.c1090 static void pscsi_req_done(struct request *req, int uptodate) in pscsi_req_done() argument
/linux-4.1.27/drivers/scsi/
Dsg.c191 static void sg_rq_end_io(struct request *rq, int uptodate);
1280 sg_rq_end_io(struct request *rq, int uptodate) in sg_rq_end_io() argument
Dscsi_error.c1942 static void eh_lock_door_done(struct request *req, int uptodate) in eh_lock_door_done() argument
Dst.c474 static void st_scsi_execute_end(struct request *req, int uptodate) in st_scsi_execute_end() argument
/linux-4.1.27/Documentation/sysctl/
Dvm.txt393 no other uptodate copy of the data it will kill to prevent any data
/linux-4.1.27/Documentation/block/
Dbiodoc.txt1112 right thing to use is bio_endio(bio, uptodate) instead.