Home
last modified time | relevance | path

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

123

/linux-3.4.99/mm/
Dpage_io.c45 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_swap_bio_write() local
48 if (!uptodate) { in end_swap_bio_write()
71 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_swap_bio_read() local
74 if (!uptodate) { in end_swap_bio_read()
/linux-3.4.99/include/linux/
Dbuffer_head.h48 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);
113 BUFFER_FNS(Uptodate, uptodate)
152 void end_buffer_read_sync(struct buffer_head *bh, int uptodate);
153 void end_buffer_write_sync(struct buffer_head *bh, int uptodate);
154 void end_buffer_async_write(struct buffer_head *bh, int uptodate);
/linux-3.4.99/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()
/linux-3.4.99/fs/logfs/
Ddev_bdev.c69 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in writeseg_end_io() local
75 BUG_ON(!uptodate); /* FIXME: Retry io or write elsewhere */ in writeseg_end_io()
176 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in erase_end_io() local
180 BUG_ON(!uptodate); /* FIXME: Retry io or write elsewhere */ in erase_end_io()
/linux-3.4.99/fs/exofs/
Dore_raid.c487 bool uptodate; in _read_4_write_first_stripe() local
498 &uptodate); in _read_4_write_first_stripe()
502 if (!uptodate) in _read_4_write_first_stripe()
555 bool uptodate; in _read_4_write_last_stripe() local
559 &uptodate); in _read_4_write_last_stripe()
566 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
588 *uptodate = true; in __r4w_get_page()
590 *uptodate = PageUptodate(page); in __r4w_get_page()
591 EXOFS_DBGMSG("index=0x%lx uptodate=%d\n", index, *uptodate); in __r4w_get_page()
596 *uptodate = true; in __r4w_get_page()
/linux-3.4.99/fs/nfs/objlayout/
Dobjio_osd.c485 static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate) in __r4w_get_page() argument
494 *uptodate = true; in __r4w_get_page()
511 *uptodate = true; in __r4w_get_page()
513 *uptodate = PageUptodate(page); in __r4w_get_page()
514 dprintk("%s: index=0x%lx uptodate=%d\n", __func__, index, *uptodate); in __r4w_get_page()
/linux-3.4.99/fs/ocfs2/
Dbuffer_head_io.h32 int uptodate);
DMakefile40 uptodate.o \
/linux-3.4.99/fs/
Dbuffer.c122 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch() argument
124 if (uptodate) { in __end_buffer_read_notouch()
137 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync() argument
139 __end_buffer_read_notouch(bh, uptodate); in end_buffer_read_sync()
144 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync() argument
148 if (uptodate) { in end_buffer_write_sync()
258 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read() argument
269 if (uptodate) { in end_buffer_async_read()
320 void end_buffer_async_write(struct buffer_head *bh, int uptodate) in end_buffer_async_write() argument
331 if (uptodate) { in end_buffer_async_write()
[all …]
Dmpage.c46 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in mpage_end_io() local
55 if (uptodate) { in mpage_end_io()
63 if (!uptodate) { in mpage_end_io()
/linux-3.4.99/include/trace/events/
Dbtrfs.h346 TP_PROTO(struct page *page, u64 start, u64 end, int uptodate),
348 TP_ARGS(page, start, end, uptodate),
355 __field( int, uptodate )
364 __entry->uptodate = uptodate;
374 (unsigned long long)__entry->end, __entry->uptodate)
/linux-3.4.99/fs/btrfs/
Dextent_io.c2246 int uptodate = (err == 0); in end_extent_writepage() local
2254 end, NULL, uptodate); in end_extent_writepage()
2256 uptodate = 0; in end_extent_writepage()
2259 if (!uptodate && tree->ops && in end_extent_writepage()
2268 if (!uptodate) { in end_extent_writepage()
2334 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_bio_extent_readpage() local
2345 uptodate = 0; in end_bio_extent_readpage()
2381 if (uptodate && tree->ops && tree->ops->readpage_end_io_hook) { in end_bio_extent_readpage()
2385 uptodate = 0; in end_bio_extent_readpage()
2390 if (!uptodate && tree->ops && tree->ops->readpage_io_failed_hook) { in end_bio_extent_readpage()
[all …]
/linux-3.4.99/fs/nfs/blocklayout/
Dblocklayout.c202 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in bl_end_io_read() local
211 if (uptodate) in bl_end_io_read()
214 if (!uptodate) { in bl_end_io_read()
360 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in bl_end_io_write_zero() local
374 if (unlikely(!uptodate)) { in bl_end_io_write_zero()
386 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in bl_end_io_write() local
389 if (!uptodate) { in bl_end_io_write()
/linux-3.4.99/fs/xfs/
Dxfs_aops.c676 int count = 0, done = 0, uptodate = 1; in xfs_convert_page() local
718 uptodate = 0; in xfs_convert_page()
751 if (uptodate && bh == head) in xfs_convert_page()
899 int err, imap_valid = 0, uptodate = 1; in xfs_vm_writepage() local
958 uptodate = 0; in xfs_vm_writepage()
1026 if (uptodate && bh == head) in xfs_vm_writepage()
/linux-3.4.99/include/scsi/
Dosd_ore.h112 struct page * (*get_page)(void *priv, u64 page_index, bool *uptodate);
/linux-3.4.99/drivers/md/
Draid5.c1660 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_read_request() local
1671 uptodate); in raid5_end_read_request()
1686 if (uptodate) { in raid5_end_read_request()
1768 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_write_request() local
1793 uptodate); in raid5_end_write_request()
1800 if (!uptodate) in raid5_end_write_request()
1807 if (!uptodate) { in raid5_end_write_request()
2570 if ((s->uptodate == disks - 1) && in fetch_block()
2590 s->uptodate++; in fetch_block()
2592 } else if (s->uptodate == disks-2 && s->failed >= 2) { in fetch_block()
[all …]
Draid5.h252 int locked, uptodate, to_read, to_write, failed, written; member
Dmultipath.c88 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in multipath_end_request() local
93 if (uptodate) in multipath_end_request()
Draid1.c295 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid1_end_read_request() local
306 if (uptodate) in raid1_end_read_request()
318 uptodate = 1; in raid1_end_read_request()
322 if (uptodate) in raid1_end_read_request()
380 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid1_end_write_request() local
391 if (!uptodate) { in raid1_end_write_request()
1522 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_sync_write() local
1532 if (!uptodate) { in end_sync_write()
1568 md_done_sync(mddev, s, uptodate); in end_sync_write()
/linux-3.4.99/fs/gfs2/
Dlops.c154 static void gfs2_log_write_endio(struct buffer_head *bh, int uptodate) in gfs2_log_write_endio() argument
159 end_buffer_write_sync(bh, uptodate); in gfs2_log_write_endio()
196 static void gfs2_fake_write_endio(struct buffer_head *bh, int uptodate) in gfs2_fake_write_endio() argument
202 end_buffer_write_sync(bh, uptodate); in gfs2_fake_write_endio()
/linux-3.4.99/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()
824 int uptodate = 1; in ntfs_write_block() local
827 uptodate = 0; in ntfs_write_block()
832 if (uptodate) in ntfs_write_block()
/linux-3.4.99/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()

123