Searched refs:WRITE (Results 1 - 25 of 151) sorted by relevance

1234567

/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv-stats.c44 sum.dir[WRITE].cnt += r->dir[WRITE].cnt;
45 sum.dir[WRITE].size_total += r->dir[WRITE].size_total;
50 sum.dir[WRITE].cnt, sum.dir[WRITE].size_total);
H A Drtrs-clt-stats.c94 sum.dir[WRITE].cnt += r->dir[WRITE].cnt;
95 sum.dir[WRITE].size_total += r->dir[WRITE].size_total;
101 sum.dir[WRITE].cnt, sum.dir[WRITE].size_total,
H A Drtrs-srv-trace.h72 { WRITE, "WRITE" }),
/linux-master/drivers/md/
H A Ddm-stats.c191 atomic_read(&shared->in_flight[WRITE]);
234 atomic_read(&shared->in_flight[WRITE]));
347 atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0);
550 in_flight_write = (unsigned int)atomic_read(&shared->in_flight[WRITE]);
554 p->io_ticks[WRITE] += difference;
696 ((bi_rw == WRITE) ==
697 (READ_ONCE(last->last_rw) == WRITE))
732 shared->tmp.sectors[WRITE] = 0;
734 shared->tmp.ios[WRITE] = 0;
736 shared->tmp.merges[WRITE]
[all...]
H A Ddm-flakey.c146 fc->corrupt_bio_rw = WRITE;
208 if (test_bit(DROP_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) {
209 ti->error = "drop_writes is incompatible with corrupt_bio_byte with the WRITE flag set";
212 } else if (test_bit(ERROR_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) {
213 ti->error = "error_writes is incompatible with corrupt_bio_byte with the WRITE flag set";
236 * Direction is r for READ or w for WRITE.
359 (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_opf,
524 if (fc->corrupt_bio_byte && fc->corrupt_bio_rw == WRITE) {
625 (fc->corrupt_bio_rw == WRITE) ? 'w' : 'r',
/linux-master/drivers/s390/net/
H A Dctcm_sysfs.c96 priv->channel[WRITE]->prof.maxmulti);
98 priv->channel[WRITE]->prof.maxcqueue);
100 priv->channel[WRITE]->prof.doios_single);
102 priv->channel[WRITE]->prof.doios_multi);
104 priv->channel[WRITE]->prof.txlen);
106 jiffies_to_usecs(priv->channel[WRITE]->prof.tx_time));
133 memset(&priv->channel[WRITE]->prof, 0,
/linux-master/block/
H A Dblk-throttle.c54 /* Total Number of queued bios on READ and WRITE lists */
248 INIT_LIST_HEAD(&sq->queued[WRITE]);
271 for (rw = READ; rw <= WRITE; rw++) {
278 tg->bps[WRITE] = U64_MAX;
280 tg->iops[WRITE] = UINT_MAX;
328 for (rw = READ; rw <= WRITE; rw++) {
681 if (tg->service_queue.nr_queued[WRITE])
682 __tg_update_carryover(tg, WRITE);
686 tg->carryover_bytes[READ], tg->carryover_bytes[WRITE],
687 tg->carryover_ios[READ], tg->carryover_ios[WRITE]);
[all...]
/linux-master/tools/testing/selftests/kvm/s390x/
H A Dmemop.c29 WRITE, enumerator in enum:mop_access_mode
71 if (desc->mode == WRITE)
77 if (desc->mode == WRITE)
83 if (desc->mode == WRITE)
134 printf("LOGICAL, WRITE, ");
140 printf("SIDA, WRITE, ");
146 printf("ABSOLUTE, WRITE, ");
304 CHECK_N_DO(MOP, mop_cpu, mop_target, WRITE, mem1, size,
316 CHECK_N_DO(MOP, mop_cpu, mop_target, WRITE, mem1, size, GADDR_V(mem1));
394 CHECK_N_DO(MOP, t.vcpu, LOGICAL, WRITE, mem
[all...]
/linux-master/tools/perf/trace/beauty/
H A Dflock.c44 P_CMD(WRITE);
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dcore507d.c44 NVDEF(NV507D, SET_NOTIFIER_CONTROL, MODE, WRITE) |
91 NVDEF(NV507D, SET_NOTIFIER_CONTROL, MODE, WRITE) |
/linux-master/include/trace/misc/
H A Dfs.h46 __fmode_flag(WRITE), \
/linux-master/fs/bcachefs/
H A Dcompress.c239 data = __bounce_alloc(c, dst_len, WRITE);
280 ? __bio_map_or_bounce(c, dst, dst_iter, WRITE)
281 : __bounce_alloc(c, dst_len, WRITE);
404 dst_data = bio_map_or_bounce(c, dst, WRITE);
565 mempool_exit(&c->compression_bounce[WRITE]);
608 if (!mempool_initialized(&c->compression_bounce[WRITE]) &&
609 mempool_init_kvmalloc_pool(&c->compression_bounce[WRITE],
H A Dmovinggc.c294 atomic64_read(&c->io_clock[WRITE].now)) << 9);
299 atomic64_read(&c->io_clock[WRITE].now) -
313 struct io_clock *clock = &c->io_clock[WRITE];
/linux-master/tools/testing/selftests/resctrl/
H A Dresctrl_val.c21 #define WRITE 1 macro
120 imc_counters_config[count][WRITE].event =
128 imc_counters_config[count][WRITE].umask =
172 imc_counters_config[count][WRITE].type =
209 get_event_and_umask(cas_count_cfg, count, WRITE);
339 &imc_counters_config[imc][WRITE];
374 close(imc_counters_config[imc][WRITE].fd);
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c171 #define WRITE 1 macro
191 assert(write(pipe_fd2[WRITE], &c, 1) == 1);
203 assert(write(pipe_fd1[WRITE], &c, 1) == 1);
/linux-master/drivers/mfd/
H A Drk8xx-spi.c53 cmd = RK806_CMD_WITH_SIZE(WRITE, val_size);
/linux-master/fs/f2fs/
H A Dverity.c202 * Taking i_gc_rwsem[WRITE] is needed to stop f2fs garbage collection
206 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]);
214 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]);
H A Dfile.c836 if (f2fs_sb_has_blkzoned(sbi) && (rw == WRITE) &&
873 if (!f2fs_force_buffered_io(inode, WRITE)) {
1014 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]);
1026 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]);
1168 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]);
1178 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]);
1415 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]);
1425 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]);
1568 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]);
1582 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]);
[all...]
/linux-master/drivers/s390/block/
H A Ddasd_fba.c83 if (rw == WRITE)
103 if (rw == WRITE)
303 * device will be padded with zeros. This is a special behaviour of the WRITE
353 define_extent(ccw++, cqr->data, WRITE, blksize, first_rec, count);
365 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count);
385 locate_record(ccw++, LO_data++, WRITE, cur_pos, d_count);
403 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count);
444 } else if (rq_data_dir(req) == WRITE) {
503 if (copy && rq_data_dir(req) == WRITE)
/linux-master/drivers/block/drbd/
H A Ddrbd_req.c33 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0)
262 * WRITE should have used all available paths already.
526 (req->rq_state & RQ_WRITE) ? "WRITE" : "READ",
819 if (bio_data_dir(req->master_bio) == WRITE)
1167 * stable storage, and this is a WRITE, we may not even submit
1189 &device->pending_master_completion[1 /* WRITE */]);
1235 if (rw == WRITE && req->private_bio && req->i.size
1327 if (rw == WRITE) {
1354 if (rw != WRITE) {
1365 if (rw == WRITE)
[all...]
/linux-master/include/linux/
H A Dnd.h191 return ndns->rw_bytes(ndns, offset, buf, size, WRITE, flags);
/linux-master/tools/virtio/linux/
H A Dkernel.h32 #define WRITE 1 macro
/linux-master/arch/arm64/kvm/
H A Dpmu.c131 PMEVTYPER_CASES(WRITE);
/linux-master/net/rxrpc/
H A Doutput.c209 iov_iter_kvec(&msg.msg_iter, WRITE, txb->kvec, txb->nr_kvec, txb->len);
311 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, sizeof(pkt));
455 iov_iter_kvec(&msg.msg_iter, WRITE, txb->kvec, txb->nr_kvec, len);
565 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 2, len);
634 iov_iter_kvec(&msg.msg_iter, WRITE, iov, ioc, size);
683 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 2, len);
/linux-master/fs/
H A Dread_write.c559 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...]

Completed in 261 milliseconds

1234567