Searched refs:uptodate (Results 1 - 22 of 22) sorted by relevance

/drivers/ide/
H A Dide-cd.c527 int dma_error = 0, dma, thislen, uptodate = 0; local
566 uptodate = 1;
586 uptodate = 1;
593 uptodate = 0;
598 uptodate = cmd->nleft ? 0 : 1;
604 if (!(stat & ATA_ERR) && !uptodate && thislen) {
606 uptodate = cmd->nleft ? 0 : 1;
609 if (!uptodate)
671 if (sense && uptodate)
676 uptodate
780 int uptodate = 0; local
[all...]
H A Dide-atapi.c429 int uptodate, error; local
475 uptodate = drive->pc_callback(drive, dsc);
477 if (uptodate == 0)
485 if (rq->cmd_type != REQ_TYPE_FS && uptodate <= 0) {
490 error = uptodate ? 0 : -EIO;
H A Dide-floppy.c67 int uptodate = pc->error ? 0 : 1; local
76 uptodate = 1; /* FIXME */
101 rq->errors = uptodate ? 0 : IDE_DRV_ERROR_GENERAL;
103 return uptodate;
H A Dide-tape.c331 int uptodate = pc->error ? 0 : 1; local
332 int err = uptodate ? 0 : IDE_DRV_ERROR_GENERAL;
344 if (uptodate)
365 uptodate = 0;
371 return uptodate;
/drivers/md/
H A Draid5.h253 int locked, uptodate, to_read, to_write, failed, written; member in struct:stripe_head_state
283 * uptodate
H A Draid1.c317 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); local
328 if (uptodate)
333 * Here we redefine "uptodate" to mean "Don't want to retry"
340 uptodate = 1;
344 if (uptodate) {
402 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); local
413 if (!uptodate) {
1754 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); local
1764 if (!uptodate) {
1800 md_done_sync(mddev, s, uptodate);
1965 int uptodate; local
2006 int uptodate = test_bit(BIO_UPTODATE, &sbio->bi_flags); local
[all...]
H A Draid5.c1102 /* mark the computed target(s) as uptodate */
1374 /* Only process blocks that are known to be uptodate */
1976 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); local
1985 pr_debug("end_read_request %llu/%d, count: %d, uptodate %d.\n",
1987 uptodate);
2006 if (uptodate) {
2100 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); local
2123 pr_debug("end_write_request %llu/%d, count %d, uptodate: %d.\n",
2125 uptodate);
2132 if (!uptodate)
4192 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); local
[all...]
H A Dmultipath.c86 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); local
91 if (uptodate)
H A Draid10.c363 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); local
377 if (uptodate) {
392 * "uptodate" to mean "Don't want to retry"
396 uptodate = 1;
398 if (uptodate) {
443 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); local
463 if (!uptodate) {
1992 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); local
2009 if (!uptodate) {
4637 int uptodate local
[all...]
H A Dbitmap.c292 static void end_bitmap_write(struct buffer_head *bh, int uptodate) argument
296 if (!uptodate)
/drivers/staging/lustre/lustre/llite/
H A Dvvp_page.c199 int uptodate)
205 if (uptodate)
197 vvp_page_export(const struct lu_env *env, const struct cl_page_slice *slice, int uptodate) argument
H A Dvvp_dev.c423 seq_page_flag(seq, vmpage, uptodate, has_flags);
/drivers/block/
H A Dpktcdvd.c1342 static void pkt_finish_packet(struct packet_data *pkt, int uptodate) argument
1346 if (!uptodate)
1351 bio_endio(bio, uptodate ? 0 : -EIO);
1356 int uptodate; local
1403 uptodate = test_bit(BIO_UPTODATE, &pkt->w_bio->bi_flags);
1404 pkt_finish_packet(pkt, uptodate);
H A Dfloppy.c2223 static void request_done(int uptodate) argument
2232 snprintf(msg, sizeof(msg), "request done %d", uptodate);
2242 if (uptodate) {
/drivers/block/drbd/
H A Ddrbd_worker.c177 int uptodate = bio_flagged(bio, BIO_UPTODATE); local
186 if (!error && !uptodate) {
192 * fail the request by clearing the uptodate flag,
218 int uptodate = bio_flagged(bio, BIO_UPTODATE); local
220 if (!error && !uptodate) {
224 * fail the request by clearing the uptodate flag,
H A Ddrbd_bitmap.c950 int uptodate = bio_flagged(bio, BIO_UPTODATE); local
954 * fail the request by clearing the uptodate flag,
957 if (!error && !uptodate)
/drivers/staging/lustre/lustre/include/
H A Dcl_object.h885 * Announces whether the page contains valid data or not by \a uptodate.
891 const struct cl_page_slice *slice, int uptodate);
2881 struct cl_page *pg, int uptodate);
/drivers/staging/lustre/lustre/obdclass/
H A Dcl_page.c1131 * by the \a uptodate argument.
1135 void cl_page_export(const struct lu_env *env, struct cl_page *pg, int uptodate) argument
1140 const struct cl_page_slice *, int), uptodate);
/drivers/target/
H A Dtarget_core_pscsi.c1137 static void pscsi_req_done(struct request *req, int uptodate) argument
/drivers/scsi/
H A Dsg.c191 static void sg_rq_end_io(struct request *rq, int uptodate);
1320 sg_rq_end_io(struct request *rq, int uptodate) argument
H A Dscsi_error.c1939 static void eh_lock_door_done(struct request *req, int uptodate) argument
H A Dst.c467 static void st_scsi_execute_end(struct request *req, int uptodate)
465 st_scsi_execute_end(struct request *req, int uptodate) argument

Completed in 420 milliseconds