/linux-master/fs/ |
H A D | read_write.c | 559 ret = rw_verify_area(WRITE, file, pos, count); 581 ret = rw_verify_area(WRITE, file, pos, count); 858 ret = rw_verify_area(WRITE, file, &iocb->ki_pos, tot_len); 890 ret = rw_verify_area(WRITE, file, ppos, tot_len); 895 ret = do_iter_readv_writev(file, iter, ppos, WRITE, flags); 965 ret = rw_verify_area(WRITE, file, pos, tot_len); 971 ret = do_iter_readv_writev(file, &iter, pos, WRITE, flags); 973 ret = do_loop_readv_writev(file, &iter, pos, WRITE, flags); 1292 retval = rw_verify_area(WRITE, out.file, &out_pos, count); 1503 ret = rw_verify_area(WRITE, file_ou [all...] |
H A D | direct-io.c | 1181 else if (iov_iter_rw(iter) == WRITE && end > i_size_read(inode)) 1187 if (iov_iter_rw(iter) == WRITE) { 1199 if (dio->is_async && iov_iter_rw(iter) == WRITE) {
|
/linux-master/drivers/block/ |
H A D | swim3.c | 332 if (rq_data_dir(req) == WRITE) { 443 if (rq_data_dir(req) == WRITE) 460 if (rq_data_dir(req) == WRITE) { 477 if (rq_data_dir(req) == WRITE) 648 (rq_data_dir(fs->cur_req)==WRITE? "writ": "read"), 733 if (rq_data_dir(req) == WRITE) 766 rq_data_dir(req) == WRITE? "writ": "read",
|
/linux-master/drivers/memstick/host/ |
H A D | tifm_ms.c | 217 t_size = host->req->data_dir == WRITE 234 if (!length && (host->req->data_dir == WRITE)) { 294 if (host->req->data_dir == WRITE)
|
H A D | jmb38x_ms.c | 333 if (host->req->data_dir == WRITE) 354 if (!length && host->req->data_dir == WRITE) { 448 if (host->req->data_dir == WRITE) {
|
/linux-master/block/ |
H A D | blk-wbt.c | 273 stat[WRITE].nr_samples >= RWB_MIN_WRITE_SAMPLES); 335 if (stat[WRITE].nr_samples || wb_recent_wait(rwb) || 750 return WRITE;
|
H A D | bounce.c | 251 if (rw == WRITE) {
|
/linux-master/drivers/memstick/core/ |
H A D | memstick.c | 269 mrq->data_dir = WRITE; 299 mrq->data_dir = WRITE; 304 if (mrq->data_dir == WRITE)
|
/linux-master/drivers/ufs/core/ |
H A D | ufs-sysfs.c | 655 return sysfs_emit(buf, "%lu\n", hba->monitor.nr_sec_rw[WRITE]); 664 ktime_to_us(hba->monitor.total_busy[WRITE])); 672 return sysfs_emit(buf, "%lu\n", hba->monitor.nr_req[WRITE]); 682 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[WRITE]), 683 m->nr_req[WRITE])); 693 ktime_to_us(hba->monitor.lat_max[WRITE])); 703 ktime_to_us(hba->monitor.lat_min[WRITE])); 713 ktime_to_us(hba->monitor.lat_sum[WRITE]));
|
/linux-master/fs/bcachefs/ |
H A D | rebalance.c | 299 struct io_clock *clock = &c->io_clock[WRITE]; 412 u64 now = atomic64_read(&c->io_clock[WRITE].now);
|
H A D | sysfs.c | 446 bch2_io_timers_to_text(out, &c->io_clock[WRITE]); 933 sysfs_print(io_latency_write, atomic64_read(&ca->cur_latency[WRITE])); 939 bch2_time_stats_to_text(out, &ca->io_latency[WRITE].stats);
|
H A D | io_write.c | 426 type == BCH_DATA_btree ? READ : WRITE); 433 this_cpu_add(ca->io_done->sectors[WRITE][type], 660 bch2_latency_acct(ca, wbio->submit_time, WRITE); 1267 if (unlikely(!bch2_dev_get_ioref(bch_dev_bkey_exists(c, ptr->dev), WRITE))) 1599 bch2_increment_clock(c, bio_sectors(bio), WRITE);
|
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | corec37d.c | 62 NVDEF(NVC37D, SET_NOTIFIER_CONTROL, MODE, WRITE) |
|
/linux-master/sound/isa/sb/ |
H A D | sb8_midi.c | 190 outb(byte, SBP(chip, WRITE));
|
/linux-master/drivers/block/rnbd/ |
H A D | rnbd-srv-trace.h | 58 { RNBD_OP_WRITE, "WRITE" }, \ 104 { WRITE, "WRITE" }),
|
/linux-master/lib/ |
H A D | kunit_iov_iter.c | 168 iov_kunit_load_kvec(test, &iter, WRITE, kvec, ARRAY_SIZE(kvec), 331 iov_kunit_load_bvec(test, &iter, WRITE, bvec, ARRAY_SIZE(bvec), 491 iov_iter_xarray(&iter, WRITE, xarray, pr->from, size); 706 iov_iter_xarray(&iter, WRITE, xarray, from, size);
|
/linux-master/drivers/nvme/target/ |
H A D | admin-cmd.c | 91 host_writes = part_stat_read(req->ns->bdev, ios[WRITE]); 93 DIV_ROUND_UP(part_stat_read(req->ns->bdev, sectors[WRITE]), 1000); 120 host_writes += part_stat_read(ns->bdev, ios[WRITE]); 122 part_stat_read(ns->bdev, sectors[WRITE]), 1000);
|
/linux-master/drivers/md/ |
H A D | dm-crypt.c | 538 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { 556 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) 682 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { 705 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) 988 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { 995 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { 1005 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { 1025 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { 1037 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) 1346 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { [all...] |
H A D | dm-raid1.c | 132 bl = (rw == WRITE) ? &ms->writes : &ms->reads; 148 queue_bio(ms, bio, WRITE); 1207 if (rw == WRITE) { 1258 if (rw == WRITE) {
|
/linux-master/include/linux/ |
H A D | kernel.h | 46 #define WRITE 1 macro
|
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-etm4x.h | 488 ETM_COMMON_SYSREG_LIST(WRITE, (val)) \ 489 ETM4x_ONLY_SYSREG_LIST(WRITE, (val)) 509 ETM_COMMON_SYSREG_LIST(WRITE, (val)) \ 510 ETE_ONLY_SYSREG_LIST(WRITE, (val))
|
/linux-master/net/rxrpc/ |
H A D | rxperf.c | 508 iov_iter_bvec(&msg.msg_iter, WRITE, &bv, 1, len); 522 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, len);
|
/linux-master/include/trace/events/ |
H A D | iocost.h | 167 __entry->write_missed_ppm = missed_ppm[WRITE];
|
/linux-master/fs/jfs/ |
H A D | inode.c | 337 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) {
|
/linux-master/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 115 bio_data_dir(bio) == WRITE);
|