Home
last modified time | relevance | path

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

/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()
/drivers/md/
Draid5.c1723 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_read_request() local
1734 uptodate); in raid5_end_read_request()
1753 if (uptodate) { in raid5_end_read_request()
1844 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_write_request() local
1869 uptodate); in raid5_end_write_request()
1876 if (!uptodate) in raid5_end_write_request()
1883 if (!uptodate) { in raid5_end_write_request()
2670 if ((s->uptodate == disks - 1) && in fetch_block()
2690 s->uptodate++; in fetch_block()
2692 } else if (s->uptodate == disks-2 && s->failed >= 2) { in fetch_block()
[all …]
Draid5.h249 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.c299 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid1_end_read_request() local
310 if (uptodate) in raid1_end_read_request()
322 uptodate = 1; in raid1_end_read_request()
326 if (uptodate) { in raid1_end_read_request()
384 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid1_end_write_request() local
395 if (!uptodate) { in raid1_end_write_request()
1645 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_sync_write() local
1655 if (!uptodate) { in end_sync_write()
1691 md_done_sync(mddev, s, uptodate); in end_sync_write()
Draid10.c363 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid10_end_read_request() local
378 if (uptodate) { in raid10_end_read_request()
398 uptodate = 1; in raid10_end_read_request()
401 if (uptodate) { in raid10_end_read_request()
446 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid10_end_write_request() local
466 if (!uptodate) { in raid10_end_write_request()
1988 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_sync_write() local
2005 if (!uptodate) { in end_sync_write()
4612 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_reshape_write() local
4629 if (!uptodate) { in end_reshape_write()
Dbitmap.c292 static void end_bitmap_write(struct buffer_head *bh, int uptodate) in end_bitmap_write() argument
296 if (!uptodate) in end_bitmap_write()
/drivers/block/drbd/
Ddrbd_worker.c174 int uptodate = bio_flagged(bio, BIO_UPTODATE); in drbd_peer_request_endio() local
181 if (!error && !uptodate) { in drbd_peer_request_endio()
213 int uptodate = bio_flagged(bio, BIO_UPTODATE); in drbd_request_endio() local
215 if (!error && !uptodate) { in drbd_request_endio()
Ddrbd_bitmap.c957 int uptodate = bio_flagged(bio, BIO_UPTODATE); in bm_async_io_complete() local
964 if (!error && !uptodate) in bm_async_io_complete()
/drivers/block/
Dpktcdvd.c1346 static void pkt_finish_packet(struct packet_data *pkt, int uptodate) in pkt_finish_packet() argument
1350 if (!uptodate) in pkt_finish_packet()
1355 bio_endio(bio, uptodate ? 0 : -EIO); in pkt_finish_packet()
1360 int uptodate; in pkt_run_state_machine() local
1407 uptodate = test_bit(BIO_UPTODATE, &pkt->w_bio->bi_flags); in pkt_run_state_machine()
1408 pkt_finish_packet(pkt, uptodate); in pkt_run_state_machine()
Dfloppy.c2209 static void request_done(int uptodate) in request_done() argument
2218 snprintf(msg, sizeof(msg), "request done %d", uptodate); in request_done()
2228 if (uptodate) { in request_done()
/drivers/target/
Dtarget_core_pscsi.c1129 static void pscsi_req_done(struct request *req, int uptodate) in pscsi_req_done() argument
/drivers/scsi/
Dsg.c188 static void sg_rq_end_io(struct request *rq, int uptodate);
1280 static void sg_rq_end_io(struct request *rq, int uptodate) in sg_rq_end_io() argument
Dscsi_error.c1630 static void eh_lock_door_done(struct request *req, int uptodate) in eh_lock_door_done() argument
Dst.c456 static void st_scsi_execute_end(struct request *req, int uptodate) in st_scsi_execute_end() argument