Lines Matching refs:WRITE
460 q->rq.pending[READ] = q->rq.pending[WRITE] = 0; in blk_init_free_list()
564 if ((rw == WRITE) || (rw == READ && rl->pending[READ] > rlim)) in get_request()
704 } else if (rw == WRITE) { in drive_stat_acct()
786 case WRITE: in account_io_start()
804 case WRITE: in account_io_end()
901 if (req->cmd == READ || req->cmd == WRITE) in blkdev_release_request()
905 if (rl->pending[WRITE] > q->nr_requests) in blkdev_release_request()
906 printk("blk: writes: %u\n", rl->pending[WRITE]); in blkdev_release_request()
907 if (rl->pending[READ] + rl->pending[WRITE] > q->nr_requests) in blkdev_release_request()
908 printk("blk: r/w: %u + %u > %u\n", rl->pending[READ], rl->pending[WRITE], q->nr_requests); in blkdev_release_request()
1015 case WRITE: in __make_request()
1311 …printk(KERN_DEBUG "%s: %s block %lu/%u on %s\n", current->comm, rw == WRITE ? "WRITE" : "READ", bh… in submit_bh()
1315 case WRITE: in submit_bh()
1381 if ((rw & WRITE) && is_read_only(bhs[0]->b_dev)) { in ll_rw_block()
1397 case WRITE: in ll_rw_block()