READ 105 arch/arm64/kvm/pmu.c PMEVTYPER_CASES(READ); READ 160 arch/sh/math-emu/math.c READ(FRn, Rm + R0 + 4); READ 162 arch/sh/math-emu/math.c READ(FRn, Rm + R0); READ 164 arch/sh/math-emu/math.c READ(FRn, Rm + R0); READ 176 arch/sh/math-emu/math.c READ(FRn, Rm + 4); READ 178 arch/sh/math-emu/math.c READ(FRn, Rm); READ 180 arch/sh/math-emu/math.c READ(FRn, Rm); READ 192 arch/sh/math-emu/math.c READ(FRn, Rm + 4); READ 194 arch/sh/math-emu/math.c READ(FRn, Rm); READ 197 arch/sh/math-emu/math.c READ(FRn, Rm); READ 452 arch/sh/math-emu/math.c READ(*reg, Rn); READ 224 block/bio-integrity.c if (bio_data_dir(bio) == READ) { READ 1252 block/bio.c else if (bio_data_dir(bio) == READ) READ 1483 block/bio.c bio_release_pages(bio, bio_data_dir(bio) == READ); READ 128 block/blk-core.c REQ_OP_NAME(READ), READ 1288 block/blk-iocost.c for (rw = READ; rw <= WRITE; rw++) { READ 1303 block/blk-iocost.c for (rw = READ; rw <= WRITE; rw++) { READ 1547 block/blk-iocost.c missed_ppm[READ] > ppm_rthr || READ 1552 block/blk-iocost.c missed_ppm[READ] <= ppm_rthr * UNBUSY_THR_PCT / 100 && READ 1883 block/blk-iocost.c rw = READ; READ 224 block/blk-map.c int reading = rq_data_dir(rq) == READ; READ 494 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) { READ 500 block/blk-throttle.c tg->bps[READ][LIMIT_MAX] = U64_MAX; READ 502 block/blk-throttle.c tg->iops[READ][LIMIT_MAX] = UINT_MAX; READ 504 block/blk-throttle.c tg->bps_conf[READ][LIMIT_MAX] = U64_MAX; READ 506 block/blk-throttle.c tg->iops_conf[READ][LIMIT_MAX] = UINT_MAX; READ 555 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) READ 582 block/blk-throttle.c if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || READ 583 block/blk-throttle.c tg->iops[READ][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) { READ 598 block/blk-throttle.c tg->bps[READ][LIMIT_LOW] = 0; READ 600 block/blk-throttle.c tg->iops[READ][LIMIT_LOW] = 0; READ 777 block/blk-throttle.c rw == READ ? 'R' : 'W', tg->slice_start[rw], READ 789 block/blk-throttle.c rw == READ ? 'R' : 'W', tg->slice_start[rw], READ 805 block/blk-throttle.c rw == READ ? 'R' : 'W', tg->slice_start[rw], READ 874 block/blk-throttle.c rw == READ ? 'R' : 'W', nr_slices, bytes_trim, io_trim, READ 1084 block/blk-throttle.c bio = throtl_peek_queued(&sq->queued[READ]); READ 1166 block/blk-throttle.c while ((bio = throtl_peek_queued(&sq->queued[READ])) && READ 1255 block/blk-throttle.c sq->nr_queued[READ] + sq->nr_queued[WRITE], READ 1256 block/blk-throttle.c sq->nr_queued[READ], sq->nr_queued[WRITE]); READ 1317 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) READ 1374 block/blk-throttle.c tg_bps_limit(tg, READ), tg_bps_limit(tg, WRITE), READ 1375 block/blk-throttle.c tg_iops_limit(tg, READ), tg_iops_limit(tg, WRITE)); READ 1470 block/blk-throttle.c .private = offsetof(struct throtl_grp, bps[READ][LIMIT_MAX]), READ 1482 block/blk-throttle.c .private = offsetof(struct throtl_grp, iops[READ][LIMIT_MAX]), READ 1537 block/blk-throttle.c if (tg->bps_conf[READ][off] == bps_dft && READ 1539 block/blk-throttle.c tg->iops_conf[READ][off] == iops_dft && READ 1546 block/blk-throttle.c if (tg->bps_conf[READ][off] != U64_MAX) READ 1548 block/blk-throttle.c tg->bps_conf[READ][off]); READ 1552 block/blk-throttle.c if (tg->iops_conf[READ][off] != UINT_MAX) READ 1554 block/blk-throttle.c tg->iops_conf[READ][off]); READ 1603 block/blk-throttle.c v[0] = tg->bps_conf[READ][index]; READ 1605 block/blk-throttle.c v[2] = tg->iops_conf[READ][index]; READ 1649 block/blk-throttle.c tg->bps_conf[READ][index] = v[0]; READ 1651 block/blk-throttle.c tg->iops_conf[READ][index] = v[2]; READ 1655 block/blk-throttle.c tg->bps[READ][index] = v[0]; READ 1657 block/blk-throttle.c tg->iops[READ][index] = v[2]; READ 1660 block/blk-throttle.c tg->bps[READ][LIMIT_LOW] = min(tg->bps_conf[READ][LIMIT_LOW], READ 1661 block/blk-throttle.c tg->bps_conf[READ][LIMIT_MAX]); READ 1664 block/blk-throttle.c tg->iops[READ][LIMIT_LOW] = min(tg->iops_conf[READ][LIMIT_LOW], READ 1665 block/blk-throttle.c tg->iops_conf[READ][LIMIT_MAX]); READ 1672 block/blk-throttle.c if (!(tg->bps[READ][LIMIT_LOW] || tg->iops[READ][LIMIT_LOW] || READ 1676 block/blk-throttle.c tg->bps[READ][LIMIT_LOW] = 0; READ 1678 block/blk-throttle.c tg->iops[READ][LIMIT_LOW] = 0; READ 1743 block/blk-throttle.c if (tg->bps[READ][LIMIT_LOW] || tg->iops[READ][LIMIT_LOW]) READ 1744 block/blk-throttle.c rtime = tg->last_low_overflow_time[READ]; READ 1767 block/blk-throttle.c if (!parent->bps[READ][LIMIT_LOW] && READ 1768 block/blk-throttle.c !parent->iops[READ][LIMIT_LOW] && READ 1813 block/blk-throttle.c read_limit = tg->bps[READ][LIMIT_LOW] || tg->iops[READ][LIMIT_LOW]; READ 1817 block/blk-throttle.c if (read_limit && sq->nr_queued[READ] && READ 1821 block/blk-throttle.c (!read_limit || sq->nr_queued[READ])) READ 1982 block/blk-throttle.c if (tg->bps[READ][LIMIT_LOW]) { READ 1983 block/blk-throttle.c bps = tg->last_bytes_disp[READ] * HZ; READ 1985 block/blk-throttle.c if (bps >= tg->bps[READ][LIMIT_LOW]) READ 1986 block/blk-throttle.c tg->last_low_overflow_time[READ] = now; READ 1996 block/blk-throttle.c if (tg->iops[READ][LIMIT_LOW]) { READ 1997 block/blk-throttle.c iops = tg->last_io_disp[READ] * HZ / elapsed_time; READ 1998 block/blk-throttle.c if (iops >= tg->iops[READ][LIMIT_LOW]) READ 1999 block/blk-throttle.c tg->last_low_overflow_time[READ] = now; READ 2015 block/blk-throttle.c tg->last_bytes_disp[READ] = 0; READ 2017 block/blk-throttle.c tg->last_io_disp[READ] = 0; READ 2049 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) { READ 2080 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) { READ 2106 block/blk-throttle.c td->avg_buckets[READ][i].latency, READ 2107 block/blk-throttle.c td->avg_buckets[READ][i].valid, READ 2191 block/blk-throttle.c rw == READ ? 'R' : 'W', READ 2195 block/blk-throttle.c sq->nr_queued[READ], sq->nr_queued[WRITE]); READ 2323 block/blk-throttle.c while ((bio = throtl_peek_queued(&sq->queued[READ]))) READ 2363 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) READ 2379 block/blk-throttle.c td->latency_buckets[READ] = __alloc_percpu(sizeof(struct latency_bucket) * READ 2381 block/blk-throttle.c if (!td->latency_buckets[READ]) { READ 2388 block/blk-throttle.c free_percpu(td->latency_buckets[READ]); READ 2407 block/blk-throttle.c free_percpu(td->latency_buckets[READ]); READ 2419 block/blk-throttle.c free_percpu(q->td->latency_buckets[READ]); READ 2439 block/blk-throttle.c td->avg_buckets[READ][i].latency = DFL_HD_BASELINE_LATENCY; READ 212 block/blk-wbt.c return (stat[READ].nr_samples >= 1 && READ 251 block/blk-wbt.c (thislat > rwb->min_lat_nsec && !stat[READ].nr_samples)) { READ 275 block/blk-wbt.c if (stat[READ].min > rwb->min_lat_nsec) { READ 276 block/blk-wbt.c trace_wbt_lat(bdi, stat[READ].min); READ 677 block/blk-wbt.c return READ; READ 348 block/bounce.c if (rw == READ) READ 352 block/bounce.c if (rw == READ) READ 115 block/bsg.c if (rq_data_dir(rq) == READ) READ 169 block/mq-deadline.c dd->next_rq[READ] = NULL; READ 206 block/mq-deadline.c if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) READ 213 block/mq-deadline.c if (data_dir == READ || !blk_queue_is_zoned(rq->q)) READ 242 block/mq-deadline.c if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) READ 249 block/mq-deadline.c if (data_dir == READ || !blk_queue_is_zoned(rq->q)) READ 283 block/mq-deadline.c reads = !list_empty(&dd->fifo_list[READ]); READ 291 block/mq-deadline.c rq = deadline_next_request(dd, READ); READ 303 block/mq-deadline.c BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[READ])); READ 309 block/mq-deadline.c data_dir = READ; READ 397 block/mq-deadline.c BUG_ON(!list_empty(&dd->fifo_list[READ])); READ 422 block/mq-deadline.c INIT_LIST_HEAD(&dd->fifo_list[READ]); READ 424 block/mq-deadline.c dd->sort_list[READ] = RB_ROOT; READ 426 block/mq-deadline.c dd->fifo_expire[READ] = read_expire; READ 613 block/mq-deadline.c SHOW_FUNCTION(deadline_read_expire_show, dd->fifo_expire[READ], 1); READ 636 block/mq-deadline.c STORE_FUNCTION(deadline_read_expire_store, &dd->fifo_expire[READ], 0, INT_MAX, 1); READ 704 block/mq-deadline.c DEADLINE_DEBUGFS_DDIR_ATTRS(READ, read) READ 550 drivers/ata/libata-sff.c if (rw == READ) READ 566 drivers/ata/libata-sff.c if (rw == READ) { READ 610 drivers/ata/libata-sff.c if (rw == READ) READ 626 drivers/ata/libata-sff.c if (rw == READ) { READ 777 drivers/ata/libata-sff.c int rw = (qc->tf.flags & ATA_TFLAG_WRITE) ? WRITE : READ; READ 75 drivers/ata/pata_buddha.c if (rw == READ) READ 87 drivers/ata/pata_buddha.c if (rw == READ) { READ 489 drivers/ata/pata_ep93xx.c if (rw == READ) READ 503 drivers/ata/pata_ep93xx.c if (rw == READ) { READ 59 drivers/ata/pata_falcon.c if (rw == READ) { READ 78 drivers/ata/pata_falcon.c if (rw == READ) { READ 53 drivers/ata/pata_gayle.c if (rw == READ) READ 65 drivers/ata/pata_gayle.c if (rw == READ) { READ 56 drivers/ata/pata_ixp4xx_cf.c if (rw == READ) READ 68 drivers/ata/pata_ixp4xx_cf.c if (rw == READ) { READ 312 drivers/ata/pata_legacy.c if (rw == READ) READ 319 drivers/ata/pata_legacy.c if (rw == READ) { READ 367 drivers/ata/pata_octeon_cf.c if (rw == READ) { READ 96 drivers/ata/pata_pcmcia.c if (rw == READ) READ 274 drivers/ata/pata_samsung_cf.c if (rw == READ) READ 453 drivers/ata/sata_inic162x.c if (atapi_cmd_type(qc->cdb[0]) == READ) READ 458 drivers/ata/sata_rcar.c if (rw == READ) READ 474 drivers/ata/sata_rcar.c if (rw == READ) { READ 1469 drivers/block/amiflop.c (rq_data_dir(rq) == READ) ? "read" : "write"); READ 1483 drivers/block/amiflop.c if (rq_data_dir(rq) == READ) { READ 815 drivers/block/ataflop.c if (ReqCmd == READ) { READ 1205 drivers/block/ataflop.c if (ReqCmd == READ) { READ 1467 drivers/block/ataflop.c read_track = (ReqCmd == READ && fd_request->error_count == 0); READ 117 drivers/block/cryptoloop.c if (cmd == READ) { READ 507 drivers/block/drbd/drbd_receiver.c iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, size); READ 2540 drivers/block/floppy.c if (rq_data_dir(current_req) == READ) { READ 102 drivers/block/loop.c if (cmd == READ) { READ 350 drivers/block/loop.c iov_iter_bvec(&i, READ, &bvec, 1, bvec.bv_len); READ 391 drivers/block/loop.c iov_iter_bvec(&i, READ, &b, 1, b.bv_len); READ 398 drivers/block/loop.c ret = lo_do_transfer(lo, READ, page, 0, bvec.bv_page, READ 624 drivers/block/loop.c return lo_rw_aio(lo, cmd, pos, READ); READ 2064 drivers/block/mtip32xx/mtip32xx.c int dma_dir = rq_data_dir(rq) == READ ? DMA_FROM_DEVICE : DMA_TO_DEVICE; READ 3428 drivers/block/mtip32xx/mtip32xx.c if (rq_data_dir(rq) == READ || !dd->unal_qdepth) READ 677 drivers/block/nbd.c iov_iter_kvec(&to, READ, &iov, 1, sizeof(reply)); READ 738 drivers/block/nbd.c iov_iter_bvec(&to, READ, &bvec, 1, bvec.bv_len); READ 818 drivers/block/paride/pcd.c if (rq_data_dir(bd->rq) != READ) { READ 860 drivers/block/paride/pf.c if (pf_cmd == READ) READ 815 drivers/block/pktcdvd.c if (bio_data_dir(bio) == READ) READ 896 drivers/block/pktcdvd.c if (bio_data_dir(bio) == READ) READ 2452 drivers/block/pktcdvd.c if (bio_data_dir(bio) == READ) { READ 406 drivers/block/skd_main.c if (data_dir == READ) READ 520 drivers/block/skd_main.c skreq->data_dir = data_dir == READ ? DMA_FROM_DEVICE : DMA_TO_DEVICE; READ 476 drivers/block/sunvdc.c if (rq_data_dir(req) == READ) { READ 96 drivers/block/z2ram.c if (rq_data_dir(req) == READ) READ 538 drivers/ide/ide-cd.c if (rq_data_dir(rq) == READ) READ 193 drivers/ide/ide-disk.c drive->name, rq_data_dir(rq) == READ ? "read" : "writ", READ 36 drivers/ide/ide-eh.c if ((stat & ATA_DRQ) && rq_data_dir(rq) == READ && READ 40 drivers/ide/ide-eh.c ide_pad_transfer(drive, READ, nsect * SECTOR_SIZE); READ 203 drivers/ide/ide-floppy.c pc->c[0] = cmd == READ ? GPCMD_READ_10 : GPCMD_WRITE_10; READ 161 drivers/ide/pdc202xx_old.c word_count = (rq_data_dir(rq) == READ) ? READ 1367 drivers/input/keyboard/applespi.c trace_applespi_bad_crc(ET_RD_CRC, READ, buffer, buflen); READ 707 drivers/isdn/mISDN/l1oip_core.c iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, recvbuf_size); READ 65 drivers/lightnvm/pblk-init.c if (bio_data_dir(bio) == READ) { READ 57 drivers/lightnvm/pblk.h PBLK_READ = READ, READ 141 drivers/md/bcache/io.c int is_read = (bio_data_dir(bio) == READ ? 1 : 0); READ 1683 drivers/md/dm-cache-target.c atomic_inc(bio_data_dir(bio) == READ ? READ 1689 drivers/md/dm-cache-target.c atomic_inc(bio_data_dir(bio) == READ ? READ 1373 drivers/md/dm-clone-target.c } else if (bio_data_dir(bio) == READ) { READ 1433 drivers/md/dm-crypt.c if (rw == READ && !error) { READ 1706 drivers/md/dm-crypt.c if (bio_data_dir(io->base_bio) == READ) READ 1716 drivers/md/dm-crypt.c if (bio_data_dir(io->base_bio) == READ) READ 2805 drivers/md/dm-crypt.c if (bio_data_dir(io->base_bio) == READ) { READ 217 drivers/md/dm-dust.c if (bio_data_dir(bio) == READ) READ 130 drivers/md/dm-flakey.c fc->corrupt_bio_rw = READ; READ 341 drivers/md/dm-flakey.c if (bio_data_dir(bio) == READ) { READ 390 drivers/md/dm-flakey.c if (!*error && pb->bio_submitted && (bio_data_dir(bio) == READ)) { READ 391 drivers/md/dm-flakey.c if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == READ) && READ 143 drivers/md/dm-io.c if (bio->bi_status && bio_data_dir(bio) == READ) READ 421 drivers/md/dm-kcopyd.c if (job->rw == READ || !test_bit(DM_KCOPYD_WRITE_SEQ, &job->flags)) { READ 576 drivers/md/dm-kcopyd.c if (job->rw == READ) READ 823 drivers/md/dm-kcopyd.c job->rw = READ; READ 688 drivers/md/dm-log-writes.c if (bio_data_dir(bio) == READ) READ 187 drivers/md/dm-stats.c return atomic_read(&shared->in_flight[READ]) + READ 224 drivers/md/dm-stats.c atomic_read(&shared->in_flight[READ]), READ 314 drivers/md/dm-stats.c atomic_set(&s->stat_shared[ni].in_flight[READ], 0); READ 501 drivers/md/dm-stats.c in_flight_read = (unsigned)atomic_read(&shared->in_flight[READ]); READ 504 drivers/md/dm-stats.c p->io_ticks[READ] += difference; READ 680 drivers/md/dm-stats.c shared->tmp.sectors[READ] = 0; READ 682 drivers/md/dm-stats.c shared->tmp.ios[READ] = 0; READ 684 drivers/md/dm-stats.c shared->tmp.merges[READ] = 0; READ 686 drivers/md/dm-stats.c shared->tmp.ticks[READ] = 0; READ 688 drivers/md/dm-stats.c shared->tmp.io_ticks[READ] = 0; READ 698 drivers/md/dm-stats.c shared->tmp.sectors[READ] += READ_ONCE(p->sectors[READ]); READ 700 drivers/md/dm-stats.c shared->tmp.ios[READ] += READ_ONCE(p->ios[READ]); READ 702 drivers/md/dm-stats.c shared->tmp.merges[READ] += READ_ONCE(p->merges[READ]); READ 704 drivers/md/dm-stats.c shared->tmp.ticks[READ] += READ_ONCE(p->ticks[READ]); READ 706 drivers/md/dm-stats.c shared->tmp.io_ticks[READ] += READ_ONCE(p->io_ticks[READ]); READ 731 drivers/md/dm-stats.c p->sectors[READ] -= shared->tmp.sectors[READ]; READ 733 drivers/md/dm-stats.c p->ios[READ] -= shared->tmp.ios[READ]; READ 735 drivers/md/dm-stats.c p->merges[READ] -= shared->tmp.merges[READ]; READ 737 drivers/md/dm-stats.c p->ticks[READ] -= shared->tmp.ticks[READ]; READ 739 drivers/md/dm-stats.c p->io_ticks[READ] -= shared->tmp.io_ticks[READ]; READ 845 drivers/md/dm-stats.c shared->tmp.ios[READ], READ 846 drivers/md/dm-stats.c shared->tmp.merges[READ], READ 847 drivers/md/dm-stats.c shared->tmp.sectors[READ], READ 848 drivers/md/dm-stats.c dm_jiffies_to_msec64(s, shared->tmp.ticks[READ]), READ 856 drivers/md/dm-stats.c dm_jiffies_to_msec64(s, shared->tmp.io_ticks[READ]), READ 1916 drivers/md/dm-thin.c if (bio_data_dir(bio) == READ) { READ 1970 drivers/md/dm-thin.c if (bio_data_dir(bio) == READ && tc->origin_dev) { READ 2043 drivers/md/dm-thin.c if (rw != READ) { READ 804 drivers/md/dm-writecache.c writecache_wait_for_ios(wc, READ); READ 1081 drivers/md/dm-writecache.c if (rw == READ) { READ 1194 drivers/md/dm-writecache.c if (bio_data_dir(bio) == READ) { READ 1461 drivers/md/dm-writecache.c writecache_wait_for_ios(wc, READ); READ 1381 drivers/md/md-cluster.c if ((direction == READ) && READ 110 drivers/md/md-faulty.c case ReadPersistent*2+READ: return 1; READ 111 drivers/md/md-faulty.c case ReadFixable*2+READ: return 1; READ 115 drivers/md/md-faulty.c case AllPersist*2+READ: READ 192 drivers/md/md-faulty.c bio_end_sector(bio), READ)) READ 611 drivers/md/raid1.c md_cluster_ops->area_resyncing(conf->mddev, READ, this_sector, READ 1584 drivers/md/raid1.c if (bio_data_dir(bio) == READ) READ 2092 drivers/md/raid1.c READ) != 0) READ 2323 drivers/md/raid1.c conf->tmppage, READ)) { READ 738 drivers/md/raid10.c md_cluster_ops->area_resyncing(conf->mddev, READ, this_sector, READ 1515 drivers/md/raid10.c if (bio_data_dir(bio) == READ) READ 2305 drivers/md/raid10.c && (rw == READ || test_bit(WriteErrorSeen, &rdev->flags))) READ 2482 drivers/md/raid10.c READ)) { READ 5613 drivers/md/raid5.c if (rw == READ && mddev->degraded == 0 && READ 59 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG_READ(fmt, args...) PWC_DEBUG(READ, fmt, ##args) READ 161 drivers/media/v4l2-core/videobuf-dma-sg.c rw = READ; READ 180 drivers/media/v4l2-core/videobuf-dma-sg.c if (rw == READ) READ 272 drivers/memstick/core/memstick.c mrq->data_dir = READ; READ 302 drivers/memstick/core/memstick.c mrq->data_dir = READ; READ 1905 drivers/memstick/core/ms_block.c if (rq_data_dir(msb->req) == READ) READ 639 drivers/memstick/core/mspro_block.c memstick_init_req_sg(*mrq, msb->data_dir == READ READ 728 drivers/memstick/core/mspro_block.c msb->transfer_cmd = msb->data_dir == READ READ 755 drivers/memstick/core/mspro_block.c if (msb->data_dir == READ) { READ 991 drivers/memstick/core/mspro_block.c msb->data_dir = READ; READ 1092 drivers/memstick/core/mspro_block.c msb->data_dir = READ; READ 390 drivers/memstick/host/jmb38x_ms.c if (host->req->data_dir == READ) READ 419 drivers/memstick/host/jmb38x_ms.c host->req->data_dir == READ READ 437 drivers/memstick/host/jmb38x_ms.c t_val |= host->req->data_dir == READ READ 487 drivers/memstick/host/jmb38x_ms.c host->req->data_dir == READ READ 491 drivers/memstick/host/jmb38x_ms.c if (host->req->data_dir == READ) READ 557 drivers/memstick/host/jmb38x_ms.c if (host->req->data_dir == READ) { READ 140 drivers/memstick/host/rtsx_pci_ms.c __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", READ 143 drivers/memstick/host/rtsx_pci_ms.c if (data_dir == READ) { READ 180 drivers/memstick/host/rtsx_pci_ms.c err = rtsx_pci_transfer_data(pcr, sg, 1, data_dir == READ, 10000); READ 355 drivers/memstick/host/rtsx_pci_ms.c if (req->data_dir == READ) { READ 242 drivers/memstick/host/rtsx_usb_ms.c __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", READ 245 drivers/memstick/host/rtsx_usb_ms.c if (data_dir == READ) { READ 473 drivers/memstick/host/rtsx_usb_ms.c if (req->data_dir == READ) READ 281 drivers/memstick/host/tifm_ms.c host->req->data_dir == READ READ 352 drivers/memstick/host/tifm_ms.c host->req->data_dir == READ READ 609 drivers/memstick/host/tifm_ms.c host->req->data_dir == READ READ 3066 drivers/misc/vmw_vmci/vmci_queue_pair.c iov_iter_kvec(&to, READ, &v, 1, buf_size); READ 3111 drivers/misc/vmw_vmci/vmci_queue_pair.c iov_iter_kvec(&to, READ, &v, 1, buf_size); READ 1306 drivers/mmc/core/block.c if (rq_data_dir(req) == READ) { READ 1339 drivers/mmc/core/block.c if (mmc_host_is_spi(card->host) && (rq_data_dir(req) == READ) && READ 1358 drivers/mmc/core/block.c (rq_data_dir(req) == READ) ? READ 1570 drivers/mmc/core/block.c rq_data_dir(req) == READ) READ 1579 drivers/mmc/core/block.c brq->cmd.opcode = rq_data_dir(req) == READ ? readcmd : writecmd; READ 1757 drivers/mmc/core/block.c int type = rq_data_dir(req) == READ ? MMC_BLK_READ : MMC_BLK_WRITE; READ 1837 drivers/mmc/core/block.c if (!mmc_large_sector(card) && rq_data_dir(req) == READ && READ 1859 drivers/mmc/core/block.c if (mmc_host_is_spi(card->host) || rq_data_dir(req) == READ) READ 1883 drivers/mmc/core/block.c int type = rq_data_dir(req) == READ ? MMC_BLK_READ : MMC_BLK_WRITE; READ 43 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h INIT_PORT_DCB_CMD(__pcmd, __port, READ, FW_PORT_ACTION_DCB_READ_RECV) READ 46 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h INIT_PORT_DCB_CMD(__pcmd, __port, READ, FW_PORT_ACTION_DCB_READ_TRANS) READ 49 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h INIT_PORT_DCB_CMD(__pcmd, __port, READ, FW_PORT_ACTION_DCB_READ_DET) READ 481 drivers/net/ppp/ppp_generic.c iov_iter_init(&to, READ, &iov, 1, count); READ 191 drivers/nvdimm/blk.c (rw == READ) ? "READ" : "WRITE", READ 1273 drivers/nvdimm/btt.c ret = btt_rw_integrity(btt, bip, arena, postmap, READ); READ 268 drivers/nvdimm/claim.c if (rw == READ) { READ 670 drivers/nvme/host/tcp.c nvme_tcp_init_iter(req, READ); READ 2128 drivers/nvme/host/tcp.c nvme_tcp_init_iter(req, READ); READ 81 drivers/nvme/target/admin-cmd.c host_reads = part_stat_read(ns->bdev->bd_part, ios[READ]); READ 83 drivers/nvme/target/admin-cmd.c sectors[READ]), 1000); READ 113 drivers/nvme/target/admin-cmd.c host_reads += part_stat_read(ns->bdev->bd_part, ios[READ]); READ 115 drivers/nvme/target/admin-cmd.c part_stat_read(ns->bdev->bd_part, sectors[READ]), 1000); READ 105 drivers/nvme/target/io-cmd-file.c rw = READ; READ 305 drivers/nvme/target/tcp.c iov_iter_kvec(&cmd->recv_msg.msg_iter, READ, cmd->iov, READ 721 drivers/s390/block/dasd.c if (rq_data_dir(req) == READ) READ 729 drivers/s390/block/dasd.c if (rq_data_dir(req) == READ) READ 749 drivers/s390/block/dasd.c if (rq_data_dir(req) == READ) READ 860 drivers/s390/block/dasd.c rq_data_dir(req) == READ, READ 878 drivers/s390/block/dasd.c rq_data_dir(req) == READ, READ 896 drivers/s390/block/dasd.c rq_data_dir(req) == READ, READ 1783 drivers/s390/block/dasd.c if (rq_data_dir((struct request *)cqr->callback_data) == READ) { READ 514 drivers/s390/block/dasd_diag.c if (rq_data_dir(req) == READ) READ 3856 drivers/s390/block/dasd_eckd.c if (rq_data_dir(req) == READ) READ 3962 drivers/s390/block/dasd_eckd.c rq_data_dir(req) == READ) READ 4049 drivers/s390/block/dasd_eckd.c if (rq_data_dir(req) == READ) READ 4384 drivers/s390/block/dasd_eckd.c if (rq_data_dir(req) == READ) { READ 4584 drivers/s390/block/dasd_eckd.c (((rq_data_dir(req) == READ) && cmdrtd) || READ 4652 drivers/s390/block/dasd_eckd.c if (rq_data_dir(req) == READ) READ 4793 drivers/s390/block/dasd_eckd.c if (rq_data_dir(req) == READ) READ 98 drivers/s390/block/dasd_fba.c else if (rw == READ) READ 118 drivers/s390/block/dasd_fba.c else if (rw == READ) READ 455 drivers/s390/block/dasd_fba.c if (rq_data_dir(req) == READ) { READ 605 drivers/s390/block/dasd_fba.c if (rq_data_dir(req) == READ) READ 902 drivers/s390/block/dcssblk.c if (bio_data_dir(bio) == READ) { READ 197 drivers/s390/block/scm_blk.c msb->oc = (rq_data_dir(req) == READ) ? MSB_OC_READ : MSB_OC_WRITE; READ 214 drivers/s390/block/xpram.c if (bio_data_dir(bio) == READ) { READ 1716 drivers/scsi/sg.c int rw = hp->dxfer_direction == SG_DXFER_TO_DEV ? WRITE : READ; READ 1557 drivers/scsi/st.c count, (is_read ? READ : WRITE)); READ 4926 drivers/scsi/st.c res = get_user_pages_fast(uaddr, nr_pages, rw == READ ? FOLL_WRITE : 0, READ 1242 drivers/target/iscsi/iscsi_target_util.c iov_iter_kvec(&msg.msg_iter, READ, count->iov, count->iov_count, data); READ 343 drivers/target/target_core_file.c iov_iter_bvec(&iter, READ, bvec, sgl_nents, len); READ 480 drivers/target/target_core_file.c iov_iter_bvec(&iter, READ, bvec, nolb, len); READ 441 drivers/tty/serial/jsm/jsm_neo.c jsm_dbg(READ, &ch->ch_bd->pci_dev, READ 453 drivers/tty/serial/jsm/jsm_neo.c jsm_dbg(READ, &ch->ch_bd->pci_dev, "DATA/LSR pair: %x %x\n", READ 523 drivers/tty/serial/jsm/jsm_tty.c jsm_dbg(READ, &ch->ch_bd->pci_dev, "start\n"); READ 550 drivers/tty/serial/jsm/jsm_tty.c jsm_dbg(READ, &ch->ch_bd->pci_dev, "start\n"); READ 558 drivers/tty/serial/jsm/jsm_tty.c jsm_dbg(READ, &ch->ch_bd->pci_dev, READ 575 drivers/tty/serial/jsm/jsm_tty.c jsm_dbg(READ, &ch->ch_bd->pci_dev, READ 581 drivers/tty/serial/jsm/jsm_tty.c jsm_dbg(READ, &ch->ch_bd->pci_dev, "start 2\n"); READ 769 drivers/tty/serial/jsm/jsm_tty.c jsm_dbg(READ, &ch->ch_bd->pci_dev, READ 779 drivers/tty/serial/jsm/jsm_tty.c jsm_dbg(READ, &ch->ch_bd->pci_dev, READ 807 drivers/tty/serial/jsm/jsm_tty.c jsm_dbg(READ, &ch->ch_bd->pci_dev, READ 816 drivers/tty/serial/jsm/jsm_tty.c jsm_dbg(READ, &ch->ch_bd->pci_dev, READ 312 drivers/usb/usbip/usbip_common.c iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, size); READ 1173 drivers/vhost/net.c iov_iter_init(&msg.msg_iter, READ, vq->iov, 1, 1); READ 1180 drivers/vhost/net.c iov_iter_init(&msg.msg_iter, READ, vq->iov, in, vhost_len); READ 547 drivers/vhost/scsi.c iov_iter_init(&iov_iter, READ, &cmd->tvc_resp_iov, READ 1002 drivers/vhost/scsi.c iov_iter_init(&in_iter, READ, &vq->iov[vc.out], vc.in, READ 1139 drivers/vhost/scsi.c iov_iter_init(&iov_iter, READ, &vq->iov[vc->out], vc->in, sizeof(rsp)); READ 1161 drivers/vhost/scsi.c iov_iter_init(&iov_iter, READ, &vq->iov[vc->out], vc->in, sizeof(rsp)); READ 844 drivers/vhost/vhost.c iov_iter_init(&f, READ, vq->iotlb_iov, ret, size); READ 2130 drivers/vhost/vhost.c iov_iter_init(&from, READ, vq->indirect, ret, len); READ 157 drivers/vhost/vsock.c iov_iter_init(&iov_iter, READ, &vq->iov[out], in, iov_len); READ 190 drivers/xen/pvcalls-back.c iov_iter_kvec(&msg.msg_iter, READ, vec, 1, size); READ 196 drivers/xen/pvcalls-back.c iov_iter_kvec(&msg.msg_iter, READ, vec, 2, size); READ 54 fs/9p/vfs_addr.c iov_iter_bvec(&to, READ, &bvec, 1, PAGE_SIZE); READ 111 fs/9p/vfs_dir.c iov_iter_kvec(&to, READ, &kvec, 1, buflen); READ 35 fs/9p/xattr.c iov_iter_kvec(&to, READ, &kvec, 1, buffer_size); READ 357 fs/afs/cmservice.c iov_iter_discard(&call->iter, READ, call->count2 * 3 * 4); READ 371 fs/afs/fsclient.c iov_iter_bvec(&call->iter, READ, call->bvec, 1, size); READ 1139 fs/afs/internal.h iov_iter_kvec(&call->iter, READ, call->kvec, 1, size); READ 1154 fs/afs/internal.h iov_iter_discard(&call->iter, READ, size); READ 468 fs/afs/rxrpc.c iov_iter_kvec(&msg.msg_iter, READ, NULL, 0, 0); READ 518 fs/afs/rxrpc.c iov_iter_kvec(&call->iter, READ, NULL, 0, 0); READ 483 fs/afs/yfsclient.c iov_iter_bvec(&call->iter, READ, call->bvec, 1, size); READ 1539 fs/aio.c ret = aio_setup_rw(READ, iocb, &iovec, vectored, compat, &iter); READ 1542 fs/aio.c ret = rw_verify_area(READ, file, &req->ki_pos, iov_iter_count(&iter)); READ 241 fs/block_dev.c if (iov_iter_rw(iter) == READ) { READ 348 fs/block_dev.c bool is_read = (iov_iter_rw(iter) == READ), is_sync; READ 8716 fs/btrfs/inode.c if (iov_iter_rw(iter) != READ || !iter_is_iovec(iter)) READ 840 fs/ceph/file.c iov_iter_bvec(&i, READ, osd_data->bvec_pos.bvecs, READ 1059 fs/ceph/file.c iov_iter_bvec(&i, READ, bvecs, num_pages, len); READ 849 fs/cifs/connect.c iov_iter_kvec(&smb_msg.msg_iter, READ, &iov, 1, to_read); READ 861 fs/cifs/connect.c iov_iter_bvec(&smb_msg.msg_iter, READ, &bv, 1, to_read); READ 3845 fs/cifs/file.c rc = setup_aio_ctx_iter(ctx, to, READ); READ 1104 fs/dax.c if (iov_iter_rw(iter) == READ) { READ 1196 fs/direct-io.c if (iov_iter_rw(iter) == READ && !count) READ 1212 fs/direct-io.c if (iov_iter_rw(iter) == READ) { READ 1231 fs/direct-io.c if (iov_iter_rw(iter) == READ && offset >= dio->i_size) { READ 1311 fs/direct-io.c dio->should_dirty = iter_is_iovec(iter) && iov_iter_rw(iter) == READ; READ 1368 fs/direct-io.c if (iov_iter_rw(iter) == READ && (dio->flags & DIO_LOCKING)) READ 1380 fs/direct-io.c (iov_iter_rw(iter) == READ || dio->result == count)) READ 675 fs/dlm/lowcomms.c iov_iter_kvec(&msg.msg_iter, READ, iov, nvec, len); READ 3889 fs/ext4/inode.c if (iov_iter_rw(iter) == READ) READ 2845 fs/f2fs/data.c if (do_opu && !down_read_trylock(&fi->i_gc_rwsem[READ])) { READ 2854 fs/f2fs/data.c down_read(&fi->i_gc_rwsem[READ]); READ 2863 fs/f2fs/data.c up_read(&fi->i_gc_rwsem[READ]); READ 1072 fs/f2fs/f2fs.h #define is_read_io(rw) ((rw) == READ) READ 1092 fs/f2fs/gc.c if (!down_write_trylock(&fi->i_gc_rwsem[READ])) READ 1097 fs/f2fs/gc.c up_write(&fi->i_gc_rwsem[READ]); READ 1121 fs/f2fs/gc.c up_write(&fi->i_gc_rwsem[READ]); READ 901 fs/f2fs/super.c init_rwsem(&fi->i_gc_rwsem[READ]); READ 2879 fs/fuse/file.c iov_iter_init(&ii, READ, out_iov, out_iovs, transferred); READ 3080 fs/fuse/file.c if ((iov_iter_rw(iter) == READ) && (offset > i_size)) READ 1368 fs/io_uring.c if (rw == READ) { READ 1411 fs/io_uring.c ret = io_import_iovec(req->ctx, READ, s, &iovec, &iter); READ 1420 fs/io_uring.c ret = rw_verify_area(READ, file, &kiocb->ki_pos, iov_count); READ 1427 fs/io_uring.c ret2 = loop_rw_iter(READ, file, kiocb, &iter); READ 1450 fs/io_uring.c io_async_list_note(READ, req, iov_count); READ 2173 fs/io_uring.c return &ctx->pending_async[READ]; READ 431 fs/iomap/direct-io.c if (iov_iter_rw(iter) == READ) { READ 435 fs/iomap/direct-io.c if (iter_is_iovec(iter) && iov_iter_rw(iter) == READ) READ 502 fs/iomap/direct-io.c if (iov_iter_rw(iter) == READ && pos >= dio->i_size) { READ 110 fs/nfs/blocklayout/blocklayout.c bio_op(bio) == READ ? "read" : "write", READ 317 fs/nfs/blocklayout/blocklayout.c READ, READ 274 fs/nfs/direct.c if (iov_iter_rw(iter) == READ) READ 1142 fs/nfs/nfs2xdr.c PROC(READ, readargs, readres, 3), READ 2533 fs/nfs/nfs3xdr.c PROC(READ, read, read, 3), READ 7526 fs/nfs/nfs4xdr.c PROC(READ, enc_read, dec_read), READ 907 fs/nfsd/vfs.c iov_iter_kvec(&iter, READ, vec, vlen, *count); READ 2466 fs/ocfs2/aops.c if (iov_iter_rw(iter) == READ) READ 905 fs/ocfs2/cluster/tcp.c iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, len); READ 311 fs/orangefs/inode.c iov_iter_bvec(&iter, READ, &bv, 1, PAGE_SIZE); READ 393 fs/read_write.c read_write == READ ? F_RDLCK : F_WRLCK); READ 400 fs/read_write.c read_write == READ ? MAY_READ : MAY_WRITE); READ 412 fs/read_write.c iov_iter_init(&iter, READ, &iov, 1, len); READ 457 fs/read_write.c ret = rw_verify_area(READ, file, pos, count); READ 690 fs/read_write.c if (type == READ) READ 713 fs/read_write.c if (type == READ) { READ 928 fs/read_write.c ret = rw_verify_area(READ, file, pos, tot_len); READ 933 fs/read_write.c ret = do_iter_readv_writev(file, iter, pos, READ, flags); READ 935 fs/read_write.c ret = do_loop_readv_writev(file, iter, pos, READ, flags); READ 995 fs/read_write.c ret = import_iovec(READ, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); READ 1184 fs/read_write.c ret = compat_import_iovec(READ, vec, vlen, UIO_FASTIOV, &iov, &iter); READ 1420 fs/read_write.c retval = rw_verify_area(READ, in.file, &pos, count); READ 1639 fs/read_write.c ret = rw_verify_area(READ, file_in, &pos_in, len); READ 303 fs/splice.c iov_iter_pipe(&to, READ, pipe, len); READ 386 fs/splice.c iov_iter_pipe(&to, READ, pipe, len + offset); READ 865 fs/splice.c ret = rw_verify_area(READ, in, ppos, len); READ 1323 fs/splice.c *type = READ; READ 56 include/linux/bio.h (op_is_write(bio_op(bio)) ? WRITE : READ) READ 675 include/linux/blkdev.h #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ) READ 206 include/linux/ceph/rados.h f(READ, __CEPH_OSD_OP(RD, DATA, 1), "read") \ READ 145 include/linux/nd.h return ndns->rw_bytes(ndns, offset, buf, size, READ, flags); READ 56 include/linux/uio.h return i->type & ~(READ | WRITE); READ 86 include/linux/uio.h return i->type & (READ | WRITE); READ 158 include/trace/events/iocost.h __entry->read_missed_ppm = missed_ppm[READ]; READ 231 kernel/trace/blktrace.c what |= ddir_act[op_is_write(op) ? WRITE : READ]; READ 440 lib/iov_iter.c WARN_ON(direction & ~(READ | WRITE)); READ 441 lib/iov_iter.c direction &= READ | WRITE; READ 1135 lib/iov_iter.c WARN_ON(direction & ~(READ | WRITE)); READ 1136 lib/iov_iter.c i->type = ITER_KVEC | (direction & (READ | WRITE)); READ 1148 lib/iov_iter.c WARN_ON(direction & ~(READ | WRITE)); READ 1149 lib/iov_iter.c i->type = ITER_BVEC | (direction & (READ | WRITE)); READ 1161 lib/iov_iter.c BUG_ON(direction != READ); READ 1163 lib/iov_iter.c i->type = ITER_PIPE | READ; READ 1183 lib/iov_iter.c BUG_ON(direction != READ); READ 1184 lib/iov_iter.c i->type = ITER_DISCARD | READ; READ 267 mm/process_vm_access.c int dir = vm_write ? WRITE : READ; READ 325 mm/process_vm_access.c int dir = vm_write ? WRITE : READ; READ 2076 net/9p/client.c iov_iter_kvec(&to, READ, &kv, 1, count); READ 519 net/ceph/messenger.c iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, len); READ 538 net/ceph/messenger.c iov_iter_bvec(&msg.msg_iter, READ, &bvec, 1, length); READ 83 net/compat.c err = compat_import_iovec(save_addr ? READ : WRITE, READ 1623 net/netfilter/ipvs/ip_vs_sync.c iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, buflen); READ 292 net/smc/smc_clc.c iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, READ 336 net/smc/smc_clc.c iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, datlen); READ 915 net/socket.c iov_iter_kvec(&msg->msg_iter, READ, vec, num, size); READ 1992 net/socket.c err = import_single_range(READ, ubuf, size, &iov, &msg.msg_iter); READ 2229 net/socket.c err = import_iovec(save_addr ? READ : WRITE, READ 333 net/sunrpc/svcsock.c iov_iter_kvec(&msg.msg_iter, READ, iov, nr, buflen); READ 360 net/sunrpc/xprtsock.c iov_iter_kvec(&msg->msg_iter, READ, kvec, 1, count); READ 369 net/sunrpc/xprtsock.c iov_iter_bvec(&msg->msg_iter, READ, bvec, nr, count); READ 377 net/sunrpc/xprtsock.c iov_iter_discard(&msg->msg_iter, READ, count); READ 397 net/tipc/topsrv.c iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, iov.iov_len); READ 45 sound/isa/es1688/es1688_lib.c return inb(ES1688P(chip, READ)); READ 97 sound/isa/es1688/es1688_lib.c if (inb(ES1688P(chip, READ)) != 0xaa) { READ 130 sound/isa/es1688/es1688_lib.c snd_printdd("ESS: [0x%lx] reset failed... 0x%x\n", chip->port, inb(ES1688P(chip, READ))); READ 139 sound/isa/es1688/es1688_lib.c major = inb(ES1688P(chip, READ)); READ 141 sound/isa/es1688/es1688_lib.c minor = inb(ES1688P(chip, READ)); READ 40 sound/isa/sb/sb8_midi.c byte = inb(SBP(chip, READ)); READ 51 sound/isa/sb/sb_common.c val = inb(SBP(chip, READ)); READ 72 sound/isa/sb/sb_common.c if (inb(SBP(chip, READ)) == 0xaa) READ 1044 tools/perf/builtin-kvm.c perf_evsel__reset_sample_bit(pos, READ); READ 43 tools/perf/trace/beauty/flock.c P_CMD(READ); READ 20 tools/perf/trace/beauty/mmap.c P_MMAP_PROT(READ); READ 952 tools/perf/util/evsel.c perf_evsel__set_sample_bit(evsel, READ); READ 33 tools/perf/util/perf_event_attr_fprintf.c bit_name(READ), bit_name(CALLCHAIN), bit_name(ID), bit_name(CPU), READ 177 tools/testing/selftests/powerpc/benchmarks/context_switch.c assert(read(pipe_fd1[READ], &c, 1) == 1); READ 195 tools/testing/selftests/powerpc/benchmarks/context_switch.c assert(read(pipe_fd2[READ], &c, 1) == 1);