/drivers/ide/ |
D | ide-floppy.c | 71 static int ide_floppy_end_request(ide_drive_t *drive, int uptodate, int nsecs) in ide_floppy_end_request() argument 79 switch (uptodate) { in ide_floppy_end_request() 89 error = uptodate; in ide_floppy_end_request() 99 ide_end_request(drive, uptodate, nsecs); in ide_floppy_end_request() 122 int uptodate = pc->error ? 0 : 1; in ide_floppy_callback() local 131 uptodate = 1; /* FIXME */ in ide_floppy_callback() 154 ide_floppy_end_request(drive, uptodate, 0); in ide_floppy_callback()
|
D | ide-io.c | 59 int uptodate, unsigned int nr_bytes, int dequeue) in __ide_end_request() argument 64 if (uptodate <= 0) in __ide_end_request() 65 error = uptodate ? uptodate : -EIO; in __ide_end_request() 107 int ide_end_request (ide_drive_t *drive, int uptodate, int nr_sectors) in ide_end_request() argument 119 return __ide_end_request(drive, rq, uptodate, nr_bytes, 1); in ide_end_request() 139 int uptodate, int nr_sectors) in ide_end_dequeued_request() argument 143 return __ide_end_request(drive, rq, uptodate, nr_sectors << 9, 0); in ide_end_dequeued_request()
|
D | ide-cd.c | 248 static void cdrom_end_request(ide_drive_t *drive, int uptodate) in cdrom_end_request() argument 254 "nsectors: %d\n", __func__, rq->cmd[0], uptodate, in cdrom_end_request() 257 if (blk_sense_request(rq) && uptodate) { in cdrom_end_request() 289 uptodate = 1; in cdrom_end_request() 297 __func__, uptodate, nsectors); in cdrom_end_request() 299 ide_end_request(drive, uptodate, nsectors); in cdrom_end_request() 767 int dma_error = 0, dma, stat, thislen, uptodate = 0; in cdrom_newpc_intr() local 821 uptodate = 1; in cdrom_newpc_intr() 829 uptodate = 0; in cdrom_newpc_intr() 831 cdrom_end_request(drive, uptodate); in cdrom_newpc_intr() [all …]
|
D | ide-tape.c | 480 static int idetape_end_request(ide_drive_t *drive, int uptodate, int nr_sects) in idetape_end_request() argument 489 switch (uptodate) { in idetape_end_request() 492 default: error = uptodate; in idetape_end_request() 499 ide_end_request(drive, uptodate, nr_sects); in idetape_end_request() 517 int uptodate = pc->error ? 0 : 1; in ide_tape_callback() local 528 if (uptodate) in ide_tape_callback() 550 uptodate = pc->error; in ide_tape_callback() 551 } else if (pc->c[0] == READ_POSITION && uptodate) { in ide_tape_callback() 563 uptodate = 0; in ide_tape_callback() 574 idetape_end_request(drive, uptodate, 0); in ide_tape_callback()
|
D | ide-gd.c | 148 static int ide_gd_end_request(ide_drive_t *drive, int uptodate, int nrsecs) argument 150 return drive->disk_ops->end_request(drive, uptodate, nrsecs);
|
/drivers/md/ |
D | raid5.c | 1072 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_read_request() local 1083 uptodate); in raid5_end_read_request() 1089 if (uptodate) { in raid5_end_read_request() 1154 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_write_request() local 1162 uptodate); in raid5_end_write_request() 1168 if (!uptodate) in raid5_end_write_request() 1933 if ((s->uptodate == disks - 1) && in fetch_block5() 1946 s->uptodate++; in fetch_block5() 2001 if ((s->uptodate == disks - 1) && in handle_stripe_fill6() 2007 s->uptodate++; in handle_stripe_fill6() [all …]
|
D | raid1.c | 261 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid1_end_read_request() local 272 if (uptodate) in raid1_end_read_request() 284 uptodate = 1; in raid1_end_read_request() 288 if (uptodate) in raid1_end_read_request() 306 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid1_end_write_request() local 328 if (!uptodate) { in raid1_end_write_request() 1211 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_sync_write() local 1223 if (!uptodate) { in end_sync_write() 1242 md_done_sync(mddev, s, uptodate); in end_sync_write()
|
D | multipath.c | 82 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in multipath_end_request() local 87 if (uptodate) in multipath_end_request()
|
D | raid10.c | 254 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid10_end_read_request() local 267 if (uptodate) { in raid10_end_read_request() 295 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid10_end_write_request() local 308 if (!uptodate) { in raid10_end_write_request() 1251 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in end_sync_write() local 1262 if (!uptodate) in end_sync_write()
|
D | dm-raid1.c | 513 int uptodate = 0; in write_callback() local 533 uptodate = 1; in write_callback() 535 if (unlikely(!uptodate)) { in write_callback()
|
D | bitmap.c | 365 static void end_bitmap_write(struct buffer_head *bh, int uptodate) in end_bitmap_write() argument 370 if (!uptodate) { in end_bitmap_write()
|
/drivers/block/paride/ |
D | pf.c | 753 static void pf_end_request(int uptodate) in pf_end_request() argument 756 end_request(pf_req, uptodate); in pf_end_request()
|
/drivers/block/ |
D | pktcdvd.c | 1469 static void pkt_finish_packet(struct packet_data *pkt, int uptodate) in pkt_finish_packet() argument 1473 if (!uptodate) in pkt_finish_packet() 1481 bio_endio(bio, uptodate ? 0 : -EIO); in pkt_finish_packet() 1489 int uptodate; in pkt_run_state_machine() local 1536 uptodate = test_bit(BIO_UPTODATE, &pkt->w_bio->bi_flags); in pkt_run_state_machine() 1537 pkt_finish_packet(pkt, uptodate); in pkt_run_state_machine()
|
D | floppy.c | 2316 static void request_done(int uptodate) in request_done() argument 2324 reschedule_timeout(MAXTIMEOUT, "request done %d", uptodate); in request_done() 2331 if (uptodate) { in request_done()
|
/drivers/scsi/ |
D | sg.c | 178 static void sg_rq_end_io(struct request *rq, int uptodate); 1247 static void sg_rq_end_io(struct request *rq, int uptodate) in sg_rq_end_io() argument
|
D | scsi_lib.c | 288 static void scsi_end_async(struct request *req, int uptodate) in scsi_end_async() argument
|
D | st.c | 460 static void st_scsi_execute_end(struct request *req, int uptodate) in st_scsi_execute_end() argument
|