WRITE 122 arch/arm64/kvm/pmu.c PMEVTYPER_CASES(WRITE); WRITE 210 arch/sh/math-emu/math.c WRITE(FRm, Rn + R0 + 4); WRITE 212 arch/sh/math-emu/math.c WRITE(FRm, Rn + R0); WRITE 214 arch/sh/math-emu/math.c WRITE(FRm, Rn + R0); WRITE 226 arch/sh/math-emu/math.c WRITE(FRm, Rn + 4); WRITE 228 arch/sh/math-emu/math.c WRITE(FRm, Rn); WRITE 230 arch/sh/math-emu/math.c WRITE(FRm, Rn); WRITE 243 arch/sh/math-emu/math.c WRITE(FRm, Rn + 4); WRITE 245 arch/sh/math-emu/math.c WRITE(FRm, Rn); WRITE 248 arch/sh/math-emu/math.c WRITE(FRm, Rn); WRITE 448 arch/sh/math-emu/math.c WRITE(*reg, Rn); WRITE 991 arch/x86/kernel/cpu/microcode/intel.c iov_iter_kvec(&iter, WRITE, &kvec, 1, firmware->size); WRITE 1010 arch/x86/kernel/cpu/microcode/intel.c iov_iter_init(&iter, WRITE, &iov, 1, size); WRITE 116 arch/xtensa/platforms/iss/simdisk.c bio_data_dir(bio) == WRITE); WRITE 295 block/bio-integrity.c if (bio_data_dir(bio) == WRITE) { WRITE 1357 block/bio.c if ((iov_iter_rw(iter) == WRITE && (!map_data || !map_data->null_mapped)) || WRITE 129 block/blk-core.c REQ_OP_NAME(WRITE), WRITE 1288 block/blk-iocost.c for (rw = READ; rw <= WRITE; rw++) { WRITE 1303 block/blk-iocost.c for (rw = READ; rw <= WRITE; rw++) { WRITE 1548 block/blk-iocost.c missed_ppm[WRITE] > ppm_wthr) { WRITE 1553 block/blk-iocost.c missed_ppm[WRITE] <= ppm_wthr * UNBUSY_THR_PCT / 100) { WRITE 1887 block/blk-iocost.c rw = WRITE; WRITE 494 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) { WRITE 501 block/blk-throttle.c tg->bps[WRITE][LIMIT_MAX] = U64_MAX; WRITE 503 block/blk-throttle.c tg->iops[WRITE][LIMIT_MAX] = UINT_MAX; WRITE 505 block/blk-throttle.c tg->bps_conf[WRITE][LIMIT_MAX] = U64_MAX; WRITE 507 block/blk-throttle.c tg->iops_conf[WRITE][LIMIT_MAX] = UINT_MAX; WRITE 555 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) WRITE 582 block/blk-throttle.c if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || WRITE 583 block/blk-throttle.c tg->iops[READ][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) { WRITE 599 block/blk-throttle.c tg->bps[WRITE][LIMIT_LOW] = 0; WRITE 601 block/blk-throttle.c tg->iops[WRITE][LIMIT_LOW] = 0; WRITE 1088 block/blk-throttle.c bio = throtl_peek_queued(&sq->queued[WRITE]); WRITE 1176 block/blk-throttle.c while ((bio = throtl_peek_queued(&sq->queued[WRITE])) && WRITE 1255 block/blk-throttle.c sq->nr_queued[READ] + sq->nr_queued[WRITE], WRITE 1256 block/blk-throttle.c sq->nr_queued[READ], sq->nr_queued[WRITE]); WRITE 1317 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) WRITE 1374 block/blk-throttle.c tg_bps_limit(tg, READ), tg_bps_limit(tg, WRITE), WRITE 1375 block/blk-throttle.c tg_iops_limit(tg, READ), tg_iops_limit(tg, WRITE)); WRITE 1476 block/blk-throttle.c .private = offsetof(struct throtl_grp, bps[WRITE][LIMIT_MAX]), WRITE 1488 block/blk-throttle.c .private = offsetof(struct throtl_grp, iops[WRITE][LIMIT_MAX]), WRITE 1538 block/blk-throttle.c tg->bps_conf[WRITE][off] == bps_dft && WRITE 1540 block/blk-throttle.c tg->iops_conf[WRITE][off] == iops_dft && WRITE 1549 block/blk-throttle.c if (tg->bps_conf[WRITE][off] != U64_MAX) WRITE 1551 block/blk-throttle.c tg->bps_conf[WRITE][off]); WRITE 1555 block/blk-throttle.c if (tg->iops_conf[WRITE][off] != UINT_MAX) WRITE 1557 block/blk-throttle.c tg->iops_conf[WRITE][off]); WRITE 1604 block/blk-throttle.c v[1] = tg->bps_conf[WRITE][index]; WRITE 1606 block/blk-throttle.c v[3] = tg->iops_conf[WRITE][index]; WRITE 1650 block/blk-throttle.c tg->bps_conf[WRITE][index] = v[1]; WRITE 1652 block/blk-throttle.c tg->iops_conf[WRITE][index] = v[3]; WRITE 1656 block/blk-throttle.c tg->bps[WRITE][index] = v[1]; WRITE 1658 block/blk-throttle.c tg->iops[WRITE][index] = v[3]; WRITE 1662 block/blk-throttle.c tg->bps[WRITE][LIMIT_LOW] = min(tg->bps_conf[WRITE][LIMIT_LOW], WRITE 1663 block/blk-throttle.c tg->bps_conf[WRITE][LIMIT_MAX]); WRITE 1666 block/blk-throttle.c tg->iops[WRITE][LIMIT_LOW] = min(tg->iops_conf[WRITE][LIMIT_LOW], WRITE 1667 block/blk-throttle.c tg->iops_conf[WRITE][LIMIT_MAX]); WRITE 1673 block/blk-throttle.c tg->bps[WRITE][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) || WRITE 1677 block/blk-throttle.c tg->bps[WRITE][LIMIT_LOW] = 0; WRITE 1679 block/blk-throttle.c tg->iops[WRITE][LIMIT_LOW] = 0; WRITE 1745 block/blk-throttle.c if (tg->bps[WRITE][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) WRITE 1746 block/blk-throttle.c wtime = tg->last_low_overflow_time[WRITE]; WRITE 1769 block/blk-throttle.c !parent->bps[WRITE][LIMIT_LOW] && WRITE 1770 block/blk-throttle.c !parent->iops[WRITE][LIMIT_LOW]) WRITE 1814 block/blk-throttle.c write_limit = tg->bps[WRITE][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]; WRITE 1818 block/blk-throttle.c (!write_limit || sq->nr_queued[WRITE])) WRITE 1820 block/blk-throttle.c if (write_limit && sq->nr_queued[WRITE] && WRITE 1989 block/blk-throttle.c if (tg->bps[WRITE][LIMIT_LOW]) { WRITE 1990 block/blk-throttle.c bps = tg->last_bytes_disp[WRITE] * HZ; WRITE 1992 block/blk-throttle.c if (bps >= tg->bps[WRITE][LIMIT_LOW]) WRITE 1993 block/blk-throttle.c tg->last_low_overflow_time[WRITE] = now; WRITE 2002 block/blk-throttle.c if (tg->iops[WRITE][LIMIT_LOW]) { WRITE 2003 block/blk-throttle.c iops = tg->last_io_disp[WRITE] * HZ / elapsed_time; WRITE 2004 block/blk-throttle.c if (iops >= tg->iops[WRITE][LIMIT_LOW]) WRITE 2005 block/blk-throttle.c tg->last_low_overflow_time[WRITE] = now; WRITE 2016 block/blk-throttle.c tg->last_bytes_disp[WRITE] = 0; WRITE 2018 block/blk-throttle.c tg->last_io_disp[WRITE] = 0; WRITE 2049 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) { WRITE 2080 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) { WRITE 2108 block/blk-throttle.c td->avg_buckets[WRITE][i].latency, WRITE 2109 block/blk-throttle.c td->avg_buckets[WRITE][i].valid); WRITE 2195 block/blk-throttle.c sq->nr_queued[READ], sq->nr_queued[WRITE]); WRITE 2325 block/blk-throttle.c while ((bio = throtl_peek_queued(&sq->queued[WRITE]))) WRITE 2363 block/blk-throttle.c for (rw = READ; rw <= WRITE; rw++) WRITE 2385 block/blk-throttle.c td->latency_buckets[WRITE] = __alloc_percpu(sizeof(struct latency_bucket) * WRITE 2387 block/blk-throttle.c if (!td->latency_buckets[WRITE]) { WRITE 2408 block/blk-throttle.c free_percpu(td->latency_buckets[WRITE]); WRITE 2420 block/blk-throttle.c free_percpu(q->td->latency_buckets[WRITE]); WRITE 2440 block/blk-throttle.c td->avg_buckets[WRITE][i].latency = DFL_HD_BASELINE_LATENCY; WRITE 213 block/blk-wbt.c stat[WRITE].nr_samples >= RWB_MIN_WRITE_SAMPLES); WRITE 266 block/blk-wbt.c if (stat[WRITE].nr_samples || wb_recent_wait(rwb) || WRITE 679 block/blk-wbt.c return WRITE; WRITE 330 block/bounce.c if (rw == WRITE) { WRITE 170 block/mq-deadline.c dd->next_rq[WRITE] = NULL; WRITE 206 block/mq-deadline.c if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) WRITE 221 block/mq-deadline.c list_for_each_entry(rq, &dd->fifo_list[WRITE], queuelist) { WRITE 242 block/mq-deadline.c if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) WRITE 284 block/mq-deadline.c writes = !list_empty(&dd->fifo_list[WRITE]); WRITE 289 block/mq-deadline.c rq = deadline_next_request(dd, WRITE); WRITE 305 block/mq-deadline.c if (deadline_fifo_request(dd, WRITE) && WRITE 320 block/mq-deadline.c BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[WRITE])); WRITE 324 block/mq-deadline.c data_dir = WRITE; WRITE 398 block/mq-deadline.c BUG_ON(!list_empty(&dd->fifo_list[WRITE])); WRITE 423 block/mq-deadline.c INIT_LIST_HEAD(&dd->fifo_list[WRITE]); WRITE 425 block/mq-deadline.c dd->sort_list[WRITE] = RB_ROOT; WRITE 427 block/mq-deadline.c dd->fifo_expire[WRITE] = write_expire; WRITE 572 block/mq-deadline.c if (!list_empty(&dd->fifo_list[WRITE])) WRITE 614 block/mq-deadline.c SHOW_FUNCTION(deadline_write_expire_show, dd->fifo_expire[WRITE], 1); WRITE 637 block/mq-deadline.c STORE_FUNCTION(deadline_write_expire_store, &dd->fifo_expire[WRITE], 0, INT_MAX, 1); WRITE 705 block/mq-deadline.c DEADLINE_DEBUGFS_DDIR_ATTRS(WRITE, write) WRITE 723 crypto/testmgr.c iov_iter_kvec(&input, WRITE, inputs, nr_inputs, src_total_len); WRITE 1046 crypto/testmgr.c iov_iter_kvec(&input, WRITE, &kv, 1, vec->psize); WRITE 777 drivers/ata/libata-sff.c int rw = (qc->tf.flags & ATA_TFLAG_WRITE) ? WRITE : READ; WRITE 702 drivers/ata/pata_legacy.c if (rw == WRITE) WRITE 709 drivers/ata/pata_legacy.c if (rw == WRITE) { WRITE 352 drivers/block/aoe/aoecmd.c if (f->buf && bio_data_dir(f->buf->bio) == WRITE) { WRITE 960 drivers/block/ataflop.c DPRINT(("fd_rwsec(), Sec=%d, Access=%c\n",ReqSector, ReqCmd == WRITE ? 'w' : 'r' )); WRITE 961 drivers/block/ataflop.c if (ReqCmd == WRITE) { WRITE 1144 drivers/block/ataflop.c if (ReqCmd == WRITE && (status & FDCSTAT_WPROT)) { WRITE 389 drivers/block/drbd/drbd_actlog.c if (drbd_md_sync_page_io(device, device->ldev, sector, WRITE)) { WRITE 1853 drivers/block/drbd/drbd_main.c iov_iter_kvec(&msg.msg_iter, WRITE, &iov, 1, size); WRITE 52 drivers/block/drbd/drbd_req.c req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) WRITE 823 drivers/block/drbd/drbd_req.c if (bio_data_dir(req->master_bio) == WRITE) WRITE 1240 drivers/block/drbd/drbd_req.c if (rw == WRITE && req->private_bio && req->i.size WRITE 1331 drivers/block/drbd/drbd_req.c if (rw == WRITE) { WRITE 1358 drivers/block/drbd/drbd_req.c if (rw != WRITE) { WRITE 1369 drivers/block/drbd/drbd_req.c if (rw == WRITE) WRITE 1375 drivers/block/drbd/drbd_req.c if (rw == WRITE) { WRITE 1404 drivers/block/drbd/drbd_req.c &device->pending_master_completion[rw == WRITE]); WRITE 1409 drivers/block/drbd/drbd_req.c &device->pending_completion[rw == WRITE]); WRITE 1455 drivers/block/drbd/drbd_req.c if (rw == WRITE /* rw != WRITE should not even end up here! */ WRITE 174 drivers/block/drbd/drbd_worker.c bool is_write = bio_data_dir(bio) == WRITE; WRITE 1522 drivers/block/drbd/drbd_worker.c if (bio_data_dir(req->master_bio) == WRITE && req->rq_state & RQ_IN_ACT_LOG) WRITE 2262 drivers/block/floppy.c if (rq_data_dir(req) == WRITE) { WRITE 2543 drivers/block/floppy.c } else if (rq_data_dir(current_req) == WRITE) { WRITE 272 drivers/block/loop.c iov_iter_bvec(&i, WRITE, bvec, 1, bvec->bv_len); WRITE 324 drivers/block/loop.c ret = lo_do_transfer(lo, WRITE, page, 0, bvec.bv_page, WRITE 572 drivers/block/loop.c if (rw == WRITE) WRITE 617 drivers/block/loop.c return lo_rw_aio(lo, cmd, pos, WRITE); WRITE 531 drivers/block/nbd.c iov_iter_kvec(&from, WRITE, &iov, 1, sizeof(request)); WRITE 537 drivers/block/nbd.c if (rq_data_dir(req) == WRITE && WRITE 617 drivers/block/nbd.c iov_iter_bvec(&from, WRITE, &bvec, 1, bvec.bv_len); WRITE 733 drivers/block/nbd.c if (rq_data_dir(req) != WRITE) { WRITE 1158 drivers/block/nbd.c iov_iter_kvec(&from, WRITE, &iov, 1, sizeof(request)); WRITE 862 drivers/block/paride/pf.c else if (pf_cmd == WRITE) WRITE 541 drivers/block/ps3vram.c int write = bio_data_dir(bio) == WRITE; WRITE 537 drivers/block/swim.c if (!fs->disk_in || rq_data_dir(req) == WRITE) { WRITE 333 drivers/block/swim3.c if (rq_data_dir(req) == WRITE) { WRITE 428 drivers/block/swim3.c if (rq_data_dir(req) == WRITE) WRITE 445 drivers/block/swim3.c if (rq_data_dir(req) == WRITE) { WRITE 460 drivers/block/swim3.c if (rq_data_dir(req) == WRITE) WRITE 631 drivers/block/swim3.c (rq_data_dir(fs->cur_req)==WRITE? "writ": "read"), WRITE 716 drivers/block/swim3.c if (rq_data_dir(req) == WRITE) WRITE 749 drivers/block/swim3.c rq_data_dir(req) == WRITE? "writ": "read", WRITE 750 drivers/block/sx8.c if (rq_data_dir(rq) == WRITE) { WRITE 345 drivers/block/virtio_blk.c if (rq_data_dir(req) == WRITE) WRITE 641 drivers/fsi/fsi-sbefifo.c iov_iter_kvec(&ffdc_iter, WRITE, &ffdc_iov, 1, SBEFIFO_MAX_FFDC_SIZE); WRITE 738 drivers/fsi/fsi-sbefifo.c iov_iter_kvec(&resp_iter, WRITE, &resp_iov, 1, rbytes); WRITE 818 drivers/fsi/fsi-sbefifo.c iov_iter_init(&resp_iter, WRITE, &resp_iov, 1, len); WRITE 613 drivers/ide/ide-cd.c int write = (rq_data_dir(rq) == WRITE) ? 1 : 0, rc = 0; WRITE 804 drivers/ide/ide-cd.c int write = rq_data_dir(rq) == WRITE; WRITE 190 drivers/ide/ide-disk.c ledtrig_disk_activity(rq_data_dir(rq) == WRITE); WRITE 210 drivers/ide/ide-floppy.c if (cmd == WRITE) WRITE 224 drivers/ide/ide-floppy.c if (rq_data_dir(rq) == WRITE) WRITE 58 drivers/lightnvm/pblk.h PBLK_WRITE = WRITE,/* Write from write buffer */ WRITE 1283 drivers/md/dm-cache-policy-smq.c if (data_dir == WRITE) { WRITE 601 drivers/md/dm-cache-target.c return bio_data_dir(bio) == WRITE ? WRITE 849 drivers/md/dm-cache-target.c if (bio_data_dir(bio) == WRITE) WRITE 865 drivers/md/dm-cache-target.c if (bio_data_dir(bio) == WRITE) { WRITE 1153 drivers/md/dm-cache-target.c return (bio_data_dir(bio) == WRITE) && WRITE 1777 drivers/md/dm-cache-target.c if (bio_data_dir(bio) == WRITE) { WRITE 1784 drivers/md/dm-cache-target.c if (bio_data_dir(bio) == WRITE && writethrough_mode(cache) && WRITE 312 drivers/md/dm-clone-target.c return (bio_data_dir(bio) == WRITE && bio_sectors(bio) == clone->region_size); WRITE 508 drivers/md/dm-crypt.c if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { WRITE 526 drivers/md/dm-crypt.c if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) WRITE 657 drivers/md/dm-crypt.c if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { WRITE 680 drivers/md/dm-crypt.c if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) WRITE 1019 drivers/md/dm-crypt.c if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { WRITE 1034 drivers/md/dm-crypt.c if (bio_data_dir(ctx->bio_in) == WRITE) { WRITE 1106 drivers/md/dm-crypt.c if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { WRITE 1122 drivers/md/dm-crypt.c if (bio_data_dir(ctx->bio_in) == WRITE) WRITE 1427 drivers/md/dm-crypt.c if (rw == WRITE) WRITE 2771 drivers/md/dm-crypt.c (bio_data_dir(bio) == WRITE || cc->on_disk_tag_size)) WRITE 288 drivers/md/dm-delay.c if (bio_data_dir(bio) == WRITE) { WRITE 1544 drivers/md/dm-era-target.c (bio_data_dir(bio) == WRITE) && WRITE 128 drivers/md/dm-flakey.c fc->corrupt_bio_rw = WRITE; WRITE 160 drivers/md/dm-flakey.c if (test_bit(DROP_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { WRITE 164 drivers/md/dm-flakey.c } else if (test_bit(ERROR_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { WRITE 310 drivers/md/dm-flakey.c (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_opf, WRITE 363 drivers/md/dm-flakey.c if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == WRITE)) { WRITE 440 drivers/md/dm-flakey.c (fc->corrupt_bio_rw == WRITE) ? 'w' : 'r', WRITE 539 drivers/md/dm-kcopyd.c job->rw = WRITE; WRITE 835 drivers/md/dm-kcopyd.c job->rw = WRITE; WRITE 796 drivers/md/dm-log-writes.c if (bio_data_dir(bio) == WRITE && pb->block) { WRITE 127 drivers/md/dm-raid1.c bl = (rw == WRITE) ? &ms->writes : &ms->reads; WRITE 143 drivers/md/dm-raid1.c queue_bio(ms, bio, WRITE); WRITE 1195 drivers/md/dm-raid1.c if (rw == WRITE) { WRITE 1246 drivers/md/dm-raid1.c if (rw == WRITE) { WRITE 1965 drivers/md/dm-snap.c if (bio_data_dir(bio) == WRITE) { WRITE 1974 drivers/md/dm-snap.c bio_data_dir(bio) == WRITE)) { WRITE 2024 drivers/md/dm-snap.c if (bio_data_dir(bio) == WRITE) { WRITE 2144 drivers/md/dm-snap.c if (bio_data_dir(bio) == WRITE && WRITE 2156 drivers/md/dm-snap.c if (bio_data_dir(bio) == WRITE) WRITE 2164 drivers/md/dm-snap.c if (bio_data_dir(bio) == WRITE) { WRITE 2661 drivers/md/dm-snap.c if (bio_data_dir(bio) != WRITE) WRITE 188 drivers/md/dm-stats.c atomic_read(&shared->in_flight[WRITE]); WRITE 225 drivers/md/dm-stats.c atomic_read(&shared->in_flight[WRITE])); WRITE 315 drivers/md/dm-stats.c atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0); WRITE 502 drivers/md/dm-stats.c in_flight_write = (unsigned)atomic_read(&shared->in_flight[WRITE]); WRITE 506 drivers/md/dm-stats.c p->io_ticks[WRITE] += difference; WRITE 645 drivers/md/dm-stats.c ((bi_rw == WRITE) == WRITE 646 drivers/md/dm-stats.c (READ_ONCE(last->last_rw) == WRITE)) WRITE 681 drivers/md/dm-stats.c shared->tmp.sectors[WRITE] = 0; WRITE 683 drivers/md/dm-stats.c shared->tmp.ios[WRITE] = 0; WRITE 685 drivers/md/dm-stats.c shared->tmp.merges[WRITE] = 0; WRITE 687 drivers/md/dm-stats.c shared->tmp.ticks[WRITE] = 0; WRITE 689 drivers/md/dm-stats.c shared->tmp.io_ticks[WRITE] = 0; WRITE 699 drivers/md/dm-stats.c shared->tmp.sectors[WRITE] += READ_ONCE(p->sectors[WRITE]); WRITE 701 drivers/md/dm-stats.c shared->tmp.ios[WRITE] += READ_ONCE(p->ios[WRITE]); WRITE 703 drivers/md/dm-stats.c shared->tmp.merges[WRITE] += READ_ONCE(p->merges[WRITE]); WRITE 705 drivers/md/dm-stats.c shared->tmp.ticks[WRITE] += READ_ONCE(p->ticks[WRITE]); WRITE 707 drivers/md/dm-stats.c shared->tmp.io_ticks[WRITE] += READ_ONCE(p->io_ticks[WRITE]); WRITE 732 drivers/md/dm-stats.c p->sectors[WRITE] -= shared->tmp.sectors[WRITE]; WRITE 734 drivers/md/dm-stats.c p->ios[WRITE] -= shared->tmp.ios[WRITE]; WRITE 736 drivers/md/dm-stats.c p->merges[WRITE] -= shared->tmp.merges[WRITE]; WRITE 738 drivers/md/dm-stats.c p->ticks[WRITE] -= shared->tmp.ticks[WRITE]; WRITE 740 drivers/md/dm-stats.c p->io_ticks[WRITE] -= shared->tmp.io_ticks[WRITE]; WRITE 849 drivers/md/dm-stats.c shared->tmp.ios[WRITE], WRITE 850 drivers/md/dm-stats.c shared->tmp.merges[WRITE], WRITE 851 drivers/md/dm-stats.c shared->tmp.sectors[WRITE], WRITE 852 drivers/md/dm-stats.c dm_jiffies_to_msec64(s, shared->tmp.ticks[WRITE]), WRITE 857 drivers/md/dm-stats.c dm_jiffies_to_msec64(s, shared->tmp.io_ticks[WRITE])); WRITE 1255 drivers/md/dm-thin.c return (bio_data_dir(bio) == WRITE) && WRITE 1827 drivers/md/dm-thin.c if (bio_data_dir(bio) == WRITE || op_is_flush(bio->bi_opf) || WRITE 1880 drivers/md/dm-thin.c if (bio_data_dir(bio) == WRITE && bio->bi_iter.bi_size) { WRITE 2028 drivers/md/dm-thin.c if (lookup_result.shared && (rw == WRITE) && bio->bi_iter.bi_size) { WRITE 653 drivers/md/dm-verity-target.c if (bio_data_dir(bio) == WRITE) WRITE 498 drivers/md/dm-writecache.c writecache_wait_for_ios(wc, WRITE); WRITE 720 drivers/md/dm-writecache.c writecache_wait_for_ios(wc, WRITE); WRITE 805 drivers/md/dm-writecache.c writecache_wait_for_ios(wc, WRITE); WRITE 1208 drivers/md/dm-writecache.c writecache_wait_for_ios(wc, WRITE); WRITE 1622 drivers/md/dm-writecache.c writecache_wait_for_ios(wc, WRITE); WRITE 109 drivers/md/md-faulty.c case WritePersistent*2+WRITE: return 1; WRITE 112 drivers/md/md-faulty.c case ReadFixable*2+WRITE: WRITE 116 drivers/md/md-faulty.c case AllPersist*2+WRITE: return 1; WRITE 169 drivers/md/md-faulty.c if (bio_data_dir(bio) == WRITE) { WRITE 180 drivers/md/md-faulty.c bio_end_sector(bio), WRITE)) WRITE 330 drivers/md/md.c if (bio_data_dir(bio) != WRITE) WRITE 379 drivers/md/md.c if (unlikely(test_bit(MD_BROKEN, &mddev->flags)) && (rw == WRITE)) { WRITE 390 drivers/md/md.c if (mddev->ro == 1 && unlikely(rw == WRITE)) { WRITE 8285 drivers/md/md.c if (bio_data_dir(bi) != WRITE) WRITE 8340 drivers/md/md.c if (bio_data_dir(bi) != WRITE) WRITE 302 drivers/md/raid1.c (bio_data_dir(bio) == WRITE) ? "write" : "read", WRITE 1341 drivers/md/raid1.c md_cluster_ops->area_resyncing(mddev, WRITE, WRITE 1348 drivers/md/raid1.c if (!md_cluster_ops->area_resyncing(mddev, WRITE, WRITE 1959 drivers/md/raid1.c if (rw == WRITE) { WRITE 2077 drivers/md/raid1.c WRITE) == 0) { WRITE 2305 drivers/md/raid1.c conf->tmppage, WRITE); WRITE 1306 drivers/md/raid10.c md_cluster_ops->area_resyncing(mddev, WRITE, WRITE 1313 drivers/md/raid10.c if (!md_cluster_ops->area_resyncing(mddev, WRITE, WRITE 2310 drivers/md/raid10.c if (rw == WRITE) { WRITE 2445 drivers/md/raid10.c s, conf->tmppage, WRITE) WRITE 5745 drivers/md/raid5.c if (rw == WRITE) WRITE 164 drivers/media/v4l2-core/videobuf-dma-sg.c rw = WRITE; WRITE 270 drivers/memstick/core/memstick.c mrq->data_dir = WRITE; WRITE 300 drivers/memstick/core/memstick.c mrq->data_dir = WRITE; WRITE 305 drivers/memstick/core/memstick.c if (mrq->data_dir == WRITE) WRITE 333 drivers/memstick/host/jmb38x_ms.c if (host->req->data_dir == WRITE) WRITE 354 drivers/memstick/host/jmb38x_ms.c if (!length && host->req->data_dir == WRITE) { WRITE 448 drivers/memstick/host/jmb38x_ms.c if (host->req->data_dir == WRITE) { WRITE 284 drivers/memstick/host/r592.c is_write = dev->req->data_dir == WRITE; WRITE 217 drivers/memstick/host/tifm_ms.c t_size = host->req->data_dir == WRITE WRITE 234 drivers/memstick/host/tifm_ms.c if (!length && (host->req->data_dir == WRITE)) { WRITE 294 drivers/memstick/host/tifm_ms.c if (host->req->data_dir == WRITE) WRITE 3022 drivers/misc/vmw_vmci/vmci_queue_pair.c iov_iter_kvec(&from, WRITE, &v, 1, buf_size); WRITE 78 drivers/mmc/core/block.c (rq_data_dir(req) == WRITE)) WRITE 1295 drivers/mmc/core/block.c rq_data_dir(req) == WRITE && WRITE 1374 drivers/mmc/core/block.c (rq_data_dir(req) == WRITE) && WRITE 1730 drivers/mmc/core/block.c (rq_data_dir(req) == WRITE && !mmc_blk_in_tran_state(status)); WRITE 1800 drivers/mmc/core/block.c rq_data_dir(req) == WRITE) { WRITE 6863 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c INIT_CMD(c, HELLO, WRITE); WRITE 6983 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c INIT_CMD(c, BYE, WRITE); WRITE 7000 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c INIT_CMD(c, INITIALIZE, WRITE); WRITE 7017 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c INIT_CMD(c, RESET, WRITE); WRITE 7050 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c INIT_CMD(c, RESET, WRITE); WRITE 7437 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c INIT_CMD(c, INITIALIZE, WRITE); WRITE 1371 drivers/nvdimm/btt.c WRITE); WRITE 2354 drivers/nvme/host/fc.c io_dir = ((rq_data_dir(rq) == WRITE) ? WRITE 1297 drivers/nvme/host/rdma.c if (rq_data_dir(rq) == WRITE && nvme_rdma_queue_idx(queue) && WRITE 173 drivers/nvme/host/tcp.c return rq_data_dir(rq) == WRITE && req->data_len && WRITE 200 drivers/nvme/host/tcp.c return rq_data_dir(blk_mq_rq_from_pdu(req)) == WRITE ? WRITE 246 drivers/nvme/host/tcp.c nvme_tcp_init_iter(req, WRITE); WRITE 918 drivers/nvme/host/tcp.c nvme_tcp_init_iter(req, WRITE); WRITE 952 drivers/nvme/host/tcp.c nvme_tcp_init_iter(req, WRITE); WRITE 2093 drivers/nvme/host/tcp.c else if (rq_data_dir(rq) == WRITE && WRITE 2124 drivers/nvme/host/tcp.c if (rq_data_dir(rq) == WRITE && WRITE 84 drivers/nvme/target/admin-cmd.c host_writes = part_stat_read(ns->bdev->bd_part, ios[WRITE]); WRITE 86 drivers/nvme/target/admin-cmd.c sectors[WRITE]), 1000); WRITE 116 drivers/nvme/target/admin-cmd.c host_writes += part_stat_read(ns->bdev->bd_part, ios[WRITE]); WRITE 118 drivers/nvme/target/admin-cmd.c part_stat_read(ns->bdev->bd_part, sectors[WRITE]), 1000); WRITE 102 drivers/nvme/target/io-cmd-file.c rw = WRITE; WRITE 3104 drivers/s390/block/dasd.c rq_data_dir(req) == WRITE) { WRITE 516 drivers/s390/block/dasd_diag.c else if (rq_data_dir(req) == WRITE) WRITE 3858 drivers/s390/block/dasd_eckd.c else if (rq_data_dir(req) == WRITE) WRITE 3946 drivers/s390/block/dasd_eckd.c if (copy && rq_data_dir(req) == WRITE) WRITE 4051 drivers/s390/block/dasd_eckd.c else if (rq_data_dir(req) == WRITE) WRITE 4387 drivers/s390/block/dasd_eckd.c } else if (rq_data_dir(req) == WRITE) { WRITE 4404 drivers/s390/block/dasd_eckd.c if (rq_data_dir(req) == WRITE) WRITE 4448 drivers/s390/block/dasd_eckd.c if (rq_data_dir(req) == WRITE) { WRITE 4562 drivers/s390/block/dasd_eckd.c if (rq_data_dir(req) == WRITE) WRITE 4585 drivers/s390/block/dasd_eckd.c ((rq_data_dir(req) == WRITE) && cmdwtd))) { WRITE 4639 drivers/s390/block/dasd_eckd.c (rq_data_dir(req) == WRITE)) { WRITE 4654 drivers/s390/block/dasd_eckd.c else if (rq_data_dir(req) == WRITE) WRITE 96 drivers/s390/block/dasd_fba.c if (rw == WRITE) WRITE 116 drivers/s390/block/dasd_fba.c if (rw == WRITE) WRITE 366 drivers/s390/block/dasd_fba.c define_extent(ccw++, cqr->data, WRITE, blksize, first_rec, count); WRITE 378 drivers/s390/block/dasd_fba.c locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); WRITE 398 drivers/s390/block/dasd_fba.c locate_record(ccw++, LO_data++, WRITE, cur_pos, d_count); WRITE 416 drivers/s390/block/dasd_fba.c locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); WRITE 457 drivers/s390/block/dasd_fba.c } else if (rq_data_dir(req) == WRITE) { WRITE 516 drivers/s390/block/dasd_fba.c if (copy && rq_data_dir(req) == WRITE) WRITE 886 drivers/s390/block/dcssblk.c if (bio_data_dir(bio) == WRITE) { WRITE 148 drivers/s390/block/scm_blk.c return rq_data_dir(req) != WRITE || bdev->state != SCM_WR_PROHIBIT; WRITE 95 drivers/s390/net/ctcm_sysfs.c priv->channel[WRITE]->prof.maxmulti); WRITE 97 drivers/s390/net/ctcm_sysfs.c priv->channel[WRITE]->prof.maxcqueue); WRITE 99 drivers/s390/net/ctcm_sysfs.c priv->channel[WRITE]->prof.doios_single); WRITE 101 drivers/s390/net/ctcm_sysfs.c priv->channel[WRITE]->prof.doios_multi); WRITE 103 drivers/s390/net/ctcm_sysfs.c priv->channel[WRITE]->prof.txlen); WRITE 105 drivers/s390/net/ctcm_sysfs.c jiffies_to_usecs(priv->channel[WRITE]->prof.tx_time)); WRITE 132 drivers/s390/net/ctcm_sysfs.c memset(&priv->channel[WRITE]->prof, 0, WRITE 1220 drivers/scsi/scsi_lib.c else if (rq_data_dir(req) == WRITE) WRITE 1170 drivers/scsi/sd.c bool write = rq_data_dir(rq) == WRITE; WRITE 1716 drivers/scsi/sg.c int rw = hp->dxfer_direction == SG_DXFER_TO_DEV ? WRITE : READ; WRITE 486 drivers/scsi/sr.c (rq_data_dir(rq) == WRITE) ? WRITE 1557 drivers/scsi/st.c count, (is_read ? READ : WRITE)); WRITE 3242 drivers/staging/exfat/exfat_super.c if (rw == WRITE) { WRITE 3248 drivers/staging/exfat/exfat_super.c if ((ret < 0) && (rw & WRITE)) WRITE 1298 drivers/target/iscsi/iscsi_target_util.c iov_iter_kvec(&msg.msg_iter, WRITE, iov, iov_count, data); WRITE 507 drivers/tty/serial/jsm/jsm_neo.c jsm_dbg(WRITE, &ch->ch_bd->pci_dev, WRITE 600 drivers/vhost/net.c iov_iter_init(iter, WRITE, vq->iov, out, len); WRITE 855 drivers/vhost/scsi.c iov_iter_init(&vc->out_iter, WRITE, vq->iov, vc->out, vc->out_size); WRITE 805 drivers/vhost/vhost.c iov_iter_init(&t, WRITE, vq->iotlb_iov, ret, size); WRITE 333 drivers/vhost/vsock.c iov_iter_init(&iov_iter, WRITE, vq->iov, out, len); WRITE 131 drivers/xen/pvcalls-back.c iov_iter_kvec(&msg.msg_iter, WRITE, vec, 1, wanted); WRITE 137 drivers/xen/pvcalls-back.c iov_iter_kvec(&msg.msg_iter, WRITE, vec, 2, wanted); WRITE 165 fs/9p/vfs_addr.c iov_iter_bvec(&from, WRITE, &bvec, 1, len); WRITE 241 fs/9p/vfs_addr.c if (iov_iter_rw(iter) == WRITE) { WRITE 110 fs/9p/xattr.c iov_iter_kvec(&from, WRITE, &kvec, 1, value_len); WRITE 402 fs/affs/file.c if (iov_iter_rw(iter) == WRITE) { WRITE 410 fs/affs/file.c if (ret < 0 && iov_iter_rw(iter) == WRITE) WRITE 307 fs/afs/rxrpc.c iov_iter_bvec(&msg->msg_iter, WRITE, bv, nr, bytes); WRITE 438 fs/afs/rxrpc.c iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, call->request_size); WRITE 857 fs/afs/rxrpc.c iov_iter_kvec(&msg.msg_iter, WRITE, NULL, 0, 0); WRITE 897 fs/afs/rxrpc.c iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, len); WRITE 1567 fs/aio.c ret = aio_setup_rw(WRITE, iocb, &iovec, vectored, compat, &iter); WRITE 1570 fs/aio.c ret = rw_verify_area(WRITE, file, &req->ki_pos, iov_iter_count(&iter)); WRITE 8765 fs/btrfs/inode.c if (iov_iter_rw(iter) == WRITE) { WRITE 8806 fs/btrfs/inode.c if (iov_iter_rw(iter) == WRITE) { WRITE 3128 fs/buffer.c if (op == WRITE) { WRITE 944 fs/ceph/file.c bool write = iov_iter_rw(iter) == WRITE; WRITE 3117 fs/cifs/file.c rc = setup_aio_ctx_iter(ctx, from, WRITE); WRITE 4056 fs/cifs/smb2ops.c iov_iter_bvec(&iter, WRITE, bvec, npages, data_len); WRITE 4062 fs/cifs/smb2ops.c iov_iter_kvec(&iter, WRITE, &iov, 1, data_len); WRITE 2028 fs/cifs/smbdirect.c if (iov_iter_rw(&msg->msg_iter) == WRITE) { WRITE 371 fs/cifs/transport.c iov_iter_kvec(&smb_msg.msg_iter, WRITE, &hiov, 1, 4); WRITE 392 fs/cifs/transport.c iov_iter_kvec(&smb_msg.msg_iter, WRITE, iov, n_vec, size); WRITE 408 fs/cifs/transport.c iov_iter_bvec(&smb_msg.msg_iter, WRITE, WRITE 1163 fs/dax.c if (iov_iter_rw(iter) == WRITE) WRITE 1203 fs/dax.c if (iov_iter_rw(iter) == WRITE) { WRITE 1247 fs/direct-io.c else if (iov_iter_rw(iter) == WRITE && end > i_size_read(inode)) WRITE 1253 fs/direct-io.c if (iov_iter_rw(iter) == WRITE) { WRITE 1268 fs/direct-io.c if (dio->is_async && iov_iter_rw(iter) == WRITE) { WRITE 949 fs/ext2/inode.c if (ret < 0 && iov_iter_rw(iter) == WRITE) WRITE 2503 fs/f2fs/data.c down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 2511 fs/f2fs/data.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 2836 fs/f2fs/data.c if (rw == WRITE && whint_mode == WHINT_MODE_OFF) WRITE 2858 fs/f2fs/data.c iter, rw == WRITE ? get_data_block_dio_write : WRITE 2867 fs/f2fs/data.c if (rw == WRITE) { WRITE 3710 fs/f2fs/f2fs.h return (test_opt(sbi, LFS) && (rw == WRITE) && WRITE 3730 fs/f2fs/f2fs.h if (test_opt(sbi, LFS) && (rw == WRITE)) { WRITE 835 fs/f2fs/file.c down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 847 fs/f2fs/file.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 988 fs/f2fs/file.c down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 999 fs/f2fs/file.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1234 fs/f2fs/file.c down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1244 fs/f2fs/file.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1383 fs/f2fs/file.c down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1397 fs/f2fs/file.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1409 fs/f2fs/file.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1482 fs/f2fs/file.c down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1500 fs/f2fs/file.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1870 fs/f2fs/file.c down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1881 fs/f2fs/file.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1894 fs/f2fs/file.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 2648 fs/f2fs/file.c down_write(&F2FS_I(src)->i_gc_rwsem[WRITE]); WRITE 2651 fs/f2fs/file.c if (!down_write_trylock(&F2FS_I(dst)->i_gc_rwsem[WRITE])) WRITE 2669 fs/f2fs/file.c up_write(&F2FS_I(dst)->i_gc_rwsem[WRITE]); WRITE 2671 fs/f2fs/file.c up_write(&F2FS_I(src)->i_gc_rwsem[WRITE]); WRITE 3106 fs/f2fs/file.c down_write(&fi->i_gc_rwsem[WRITE]); WRITE 3108 fs/f2fs/file.c up_write(&fi->i_gc_rwsem[WRITE]); WRITE 1050 fs/f2fs/gc.c &F2FS_I(inode)->i_gc_rwsem[WRITE])) { WRITE 1062 fs/f2fs/gc.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1073 fs/f2fs/gc.c up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); WRITE 1095 fs/f2fs/gc.c &fi->i_gc_rwsem[WRITE])) { WRITE 1120 fs/f2fs/gc.c up_write(&fi->i_gc_rwsem[WRITE]); WRITE 468 fs/f2fs/segment.c down_write(&fi->i_gc_rwsem[WRITE]); WRITE 480 fs/f2fs/segment.c up_write(&fi->i_gc_rwsem[WRITE]); WRITE 902 fs/f2fs/super.c init_rwsem(&fi->i_gc_rwsem[WRITE]); WRITE 269 fs/fat/inode.c if (iov_iter_rw(iter) == WRITE) { WRITE 289 fs/fat/inode.c if (ret < 0 && iov_iter_rw(iter) == WRITE) WRITE 2810 fs/fuse/file.c iov_iter_init(&ii, WRITE, in_iov, in_iovs, in_size); WRITE 3084 fs/fuse/file.c if (async_dio && iov_iter_rw(iter) != WRITE && offset + count > i_size) { WRITE 3100 fs/fuse/file.c io->write = (iov_iter_rw(iter) == WRITE); WRITE 3114 fs/fuse/file.c if ((offset + count > i_size) && iov_iter_rw(iter) == WRITE) WRITE 3126 fs/fuse/file.c if (iov_iter_rw(iter) == WRITE) { WRITE 3148 fs/fuse/file.c if (iov_iter_rw(iter) == WRITE) { WRITE 143 fs/hfs/inode.c if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { WRITE 140 fs/hfsplus/inode.c if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { WRITE 72 fs/hfsplus/wrapper.c if (op != WRITE && data) WRITE 1476 fs/io_uring.c ret = io_import_iovec(req->ctx, WRITE, s, &iovec, &iter); WRITE 1489 fs/io_uring.c io_async_list_note(WRITE, req, iov_count); WRITE 1493 fs/io_uring.c ret = rw_verify_area(WRITE, file, &kiocb->ki_pos, iov_count); WRITE 1518 fs/io_uring.c ret2 = loop_rw_iter(WRITE, file, kiocb, &iter); WRITE 1531 fs/io_uring.c io_async_list_note(WRITE, req, iov_count); WRITE 2176 fs/io_uring.c return &ctx->pending_async[WRITE]; WRITE 479 fs/iomap/direct-io.c if (iov_iter_rw(iter) == WRITE && !wait_for_completion && WRITE 348 fs/jfs/inode.c if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { WRITE 446 fs/nfs/blocklayout/blocklayout.c WRITE, isect, pages[i], &map, &be, WRITE 1143 fs/nfs/nfs2xdr.c PROC(WRITE, writeargs, writeres, 4), WRITE 2534 fs/nfs/nfs3xdr.c PROC(WRITE, write, write, 4), WRITE 7527 fs/nfs/nfs4xdr.c PROC(WRITE, enc_write, dec_write), WRITE 983 fs/nfsd/vfs.c iov_iter_kvec(&iter, WRITE, vec, vlen, *cnt); WRITE 299 fs/nilfs2/inode.c if (iov_iter_rw(iter) == WRITE) WRITE 55 fs/orangefs/inode.c iov_iter_bvec(&iter, WRITE, &bv, 1, wlen); WRITE 119 fs/orangefs/inode.c iov_iter_bvec(&iter, WRITE, ow->bv, ow->npages, ow->len); WRITE 601 fs/orangefs/inode.c enum ORANGEFS_io_type type = iov_iter_rw(iter) == WRITE ? WRITE 481 fs/read_write.c iov_iter_init(&iter, WRITE, &iov, 1, len); WRITE 553 fs/read_write.c ret = rw_verify_area(WRITE, file, pos, count); WRITE 965 fs/read_write.c ret = rw_verify_area(WRITE, file, pos, tot_len); WRITE 970 fs/read_write.c ret = do_iter_readv_writev(file, iter, pos, WRITE, flags); WRITE 972 fs/read_write.c ret = do_loop_readv_writev(file, iter, pos, WRITE, flags); WRITE 1012 fs/read_write.c ret = import_iovec(WRITE, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); WRITE 1292 fs/read_write.c ret = compat_import_iovec(WRITE, vec, vlen, UIO_FASTIOV, &iov, &iter); WRITE 1438 fs/read_write.c retval = rw_verify_area(WRITE, out.file, &out_pos, count); WRITE 1643 fs/read_write.c ret = rw_verify_area(WRITE, file_out, &pos_out, len); WRITE 3277 fs/reiserfs/inode.c if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { WRITE 745 fs/splice.c iov_iter_bvec(&from, WRITE, array, n, sd.total_len - left); WRITE 1060 fs/splice.c ret = rw_verify_area(WRITE, out, opos, len); WRITE 1148 fs/splice.c ret = rw_verify_area(WRITE, out, &offset, len); WRITE 1321 fs/splice.c *type = WRITE; WRITE 1355 fs/splice.c if (iov_iter_rw(iter) == WRITE) WRITE 225 fs/udf/inode.c if (unlikely(ret < 0 && iov_iter_rw(iter) == WRITE)) WRITE 56 include/linux/bio.h (op_is_write(bio_op(bio)) ? WRITE : READ) WRITE 675 include/linux/blkdev.h #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ) WRITE 228 include/linux/ceph/rados.h f(WRITE, __CEPH_OSD_OP(WR, DATA, 1), "write") \ WRITE 164 include/linux/nd.h return ndns->rw_bytes(ndns, offset, buf, size, WRITE, flags); WRITE 56 include/linux/uio.h return i->type & ~(READ | WRITE); WRITE 86 include/linux/uio.h return i->type & (READ | WRITE); WRITE 159 include/trace/events/iocost.h __entry->write_missed_ppm = missed_ppm[WRITE]; WRITE 249 kernel/power/swap.c if (bio_data_dir(bio) == WRITE) WRITE 231 kernel/trace/blktrace.c what |= ddir_act[op_is_write(op) ? WRITE : READ]; WRITE 440 lib/iov_iter.c WARN_ON(direction & ~(READ | WRITE)); WRITE 441 lib/iov_iter.c direction &= READ | WRITE; WRITE 1135 lib/iov_iter.c WARN_ON(direction & ~(READ | WRITE)); WRITE 1136 lib/iov_iter.c i->type = ITER_KVEC | (direction & (READ | WRITE)); WRITE 1148 lib/iov_iter.c WARN_ON(direction & ~(READ | WRITE)); WRITE 1149 lib/iov_iter.c i->type = ITER_BVEC | (direction & (READ | WRITE)); WRITE 1298 lib/iov_iter.c iov_iter_rw(i) != WRITE ? FOLL_WRITE : 0, WRITE 1381 lib/iov_iter.c iov_iter_rw(i) != WRITE ? FOLL_WRITE : 0, p); WRITE 296 mm/page_io.c iov_iter_bvec(&from, WRITE, &bv, 1, PAGE_SIZE); WRITE 267 mm/process_vm_access.c int dir = vm_write ? WRITE : READ; WRITE 325 mm/process_vm_access.c int dir = vm_write ? WRITE : READ; WRITE 472 net/bluetooth/6lowpan.c iov_iter_kvec(&msg.msg_iter, WRITE, &iv, 1, skb->len); WRITE 59 net/bluetooth/a2mp.c iov_iter_kvec(&msg.msg_iter, WRITE, &iv, 1, total_len); WRITE 619 net/bluetooth/smp.c iov_iter_kvec(&msg.msg_iter, WRITE, iv, 2, 1 + len); WRITE 83 net/compat.c err = compat_import_iovec(save_addr ? READ : WRITE, WRITE 676 net/socket.c iov_iter_kvec(&msg->msg_iter, WRITE, vec, num, size); WRITE 702 net/socket.c iov_iter_kvec(&msg->msg_iter, WRITE, vec, num, size); WRITE 1931 net/socket.c err = import_single_range(WRITE, buff, len, &iov, &msg.msg_iter); WRITE 2229 net/socket.c err = import_iovec(save_addr ? READ : WRITE, WRITE 761 net/sunrpc/xprtsock.c iov_iter_kvec(&msg->msg_iter, WRITE, vec, 1, vec->iov_len); WRITE 773 net/sunrpc/xprtsock.c iov_iter_bvec(&msg->msg_iter, WRITE, xdr->bvec, WRITE 798 net/sunrpc/xprtsock.c iov_iter_kvec(&msg->msg_iter, WRITE, iov, 2, len); WRITE 569 net/tls/tls_device.c iov_iter_kvec(&msg_iter, WRITE, &iov, 1, size); WRITE 644 net/tls/tls_device.c iov_iter_kvec(&msg_iter, WRITE, NULL, 0, 0); WRITE 36 security/keys/compat.c ret = compat_import_iovec(WRITE, _payload_iov, ioc, WRITE 1249 security/keys/keyctl.c ret = import_single_range(WRITE, (void __user *)_payload, plen, WRITE 1281 security/keys/keyctl.c ret = import_iovec(WRITE, _payload_iov, ioc, WRITE 190 sound/isa/sb/sb8_midi.c outb(byte, SBP(chip, WRITE)); WRITE 44 tools/perf/trace/beauty/flock.c P_CMD(WRITE); WRITE 21 tools/perf/trace/beauty/mmap.c P_MMAP_PROT(WRITE); WRITE 180 tools/testing/selftests/powerpc/benchmarks/context_switch.c assert(write(pipe_fd2[WRITE], &c, 1) == 1); WRITE 192 tools/testing/selftests/powerpc/benchmarks/context_switch.c assert(write(pipe_fd1[WRITE], &c, 1) == 1);