| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-srv-stats.c | 44 sum.dir[WRITE].cnt += r->dir[WRITE].cnt; in rtrs_srv_stats_rdma_to_str() 45 sum.dir[WRITE].size_total += r->dir[WRITE].size_total; in rtrs_srv_stats_rdma_to_str() 50 sum.dir[WRITE].cnt, sum.dir[WRITE].size_total); in rtrs_srv_stats_rdma_to_str()
|
| H A D | rtrs-clt-stats.c | 94 sum.dir[WRITE].cnt += r->dir[WRITE].cnt; in rtrs_clt_stats_rdma_to_str() 95 sum.dir[WRITE].size_total += r->dir[WRITE].size_total; in rtrs_clt_stats_rdma_to_str() 101 sum.dir[WRITE].cnt, sum.dir[WRITE].size_total, in rtrs_clt_stats_rdma_to_str()
|
| H A D | rtrs-srv-trace.h | 72 { WRITE, "WRITE" }),
|
| /linux/drivers/md/ |
| H A D | dm-stats.c | 193 atomic_read(&shared->in_flight[WRITE]); in dm_stat_in_flight() 236 atomic_read(&shared->in_flight[WRITE])); in dm_stats_cleanup() 349 atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0); in dm_stats_create() 552 in_flight_write = (unsigned int)atomic_read(&shared->in_flight[WRITE]); in dm_stat_round() 556 p->io_ticks[WRITE] += difference; in dm_stat_round() 698 (bi_rw == WRITE) == (READ_ONCE(last->last_rw) == WRITE); in dm_stats_account_io() 732 shared->tmp.sectors[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals() 734 shared->tmp.ios[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals() 736 shared->tmp.merges[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals() 738 shared->tmp.ticks[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals() [all …]
|
| H A D | dm-flakey.c | 149 fc->corrupt_bio_rw = WRITE; in parse_features() 218 ((fc->corrupt_bio_byte && fc->corrupt_bio_rw == WRITE) || in parse_features() 224 ((fc->corrupt_bio_byte && fc->corrupt_bio_rw == WRITE) || in parse_features() 379 (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_opf, in corrupt_bio_common() 542 if (fc->corrupt_bio_byte && fc->corrupt_bio_rw == WRITE) { in flakey_map() 638 (fc->corrupt_bio_rw == WRITE) ? 'w' : 'r', in flakey_status()
|
| /linux/block/ |
| H A D | blk-throttle.c | 256 INIT_LIST_HEAD(&sq->queued[WRITE]); in throtl_service_queue_init() 279 for (rw = READ; rw <= WRITE; rw++) { in throtl_pd_alloc() 286 tg->bps[WRITE] = U64_MAX; in throtl_pd_alloc() 288 tg->iops[WRITE] = UINT_MAX; in throtl_pd_alloc() 336 for (rw = READ; rw <= WRITE; rw++) { in tg_update_has_rules() 761 __tg_update_carryover(tg, WRITE, &bytes[WRITE], &ios[WRITE]); in tg_update_carryover() 765 bytes[READ], bytes[WRITE], ios[READ], ios[WRITE]); in tg_update_carryover() 978 bio = throtl_peek_queued(&sq->queued[WRITE]); in tg_update_disptime() 1067 while ((bio = throtl_peek_queued(&sq->queued[WRITE])) && in throtl_dispatch_tg() 1070 tg_dispatch_one_bio(tg, WRITE); in throtl_dispatch_tg() [all …]
|
| H A D | bio-integrity-auto.c | 96 if (bio_data_dir(bio) == WRITE && (bid->bip.bip_flags & BIP_CHECK_FLAGS)) in bio_integrity_prep()
|
| /linux/tools/testing/selftests/kvm/s390/ |
| H A D | memop.c | 30 WRITE, enumerator 72 if (desc->mode == WRITE) in ksmo_from_desc() 78 if (desc->mode == WRITE) in ksmo_from_desc() 84 if (desc->mode == WRITE) in ksmo_from_desc() 135 printf("LOGICAL, WRITE, "); in print_memop() 141 printf("SIDA, WRITE, "); in print_memop() 147 printf("ABSOLUTE, WRITE, "); in print_memop() 302 CHECK_N_DO(MOP, mop_cpu, mop_target, WRITE, mem1, size, in default_write_read() 314 CHECK_N_DO(MOP, mop_cpu, mop_target, WRITE, mem1, size, GADDR_V(mem1)); in default_read() 392 CHECK_N_DO(MOP, t.vcpu, LOGICAL, WRITE, mem in test_copy_access_register() [all...] |
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | log-writes.rst | 8 There is a log_write_entry written for every WRITE request and the target is 10 that is in the WRITE requests is copied into the log to make the replay happen 17 cache. This means that normal WRITE requests are not actually logged until the 22 This works by attaching all WRITE requests to a list once the write completes. 42 Any REQ_OP_DISCARD requests are treated like WRITE requests. Otherwise we would 43 have all the DISCARD requests, and then the WRITE requests and then the FLUSH 46 WRITE block 1, DISCARD block 1, FLUSH 50 DISCARD 1, WRITE 1, FLUSH
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | nfsd-io-modes.rst | 11 WRITE operations. BUFFERED is NFSD's default IO mode, but it is possible 15 mode used for READ and WRITE to be configured independently. See both: 35 To check which IO mode NFSD is using for READ or WRITE, simply read the 66 - for WRITE: 974c5e6139db3 ("xfs: flag as supporting FOP_DONTCACHE") 109 If NFSD_IO_DIRECT is specified by writing 2 (or 3 and 4 for WRITE) to 112 used to store the READ or WRITE payload must be aligned relative to the 124 Misaligned WRITE: 125 If NFSD_IO_DIRECT is used, split any misaligned WRITE into a start, 146 misaligned WRITE into a DIO-aligned middle segment.
|
| /linux/drivers/s390/block/ |
| H A D | dasd_fba.c | 83 if (rw == WRITE) in define_extent() 103 if (rw == WRITE) in locate_record() 353 define_extent(ccw++, cqr->data, WRITE, blksize, first_rec, count); in dasd_fba_build_cp_discard() 365 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard() 385 locate_record(ccw++, LO_data++, WRITE, cur_pos, d_count); in dasd_fba_build_cp_discard() 403 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard() 444 } else if (rq_data_dir(req) == WRITE) { in dasd_fba_build_cp_regular() 503 if (copy && rq_data_dir(req) == WRITE) in dasd_fba_build_cp_regular()
|
| /linux/tools/testing/selftests/powerpc/benchmarks/ |
| H A D | context_switch.c | 171 #define WRITE 1 macro 191 assert(write(pipe_fd2[WRITE], &c, 1) == 1); in pipe_thread1() 203 assert(write(pipe_fd1[WRITE], &c, 1) == 1); in pipe_thread2()
|
| /linux/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | core507d.c | 44 NVDEF(NV507D, SET_NOTIFIER_CONTROL, MODE, WRITE) | in core507d_update() 91 NVDEF(NV507D, SET_NOTIFIER_CONTROL, MODE, WRITE) | in core507d_read_caps()
|
| /linux/Documentation/PCI/endpoint/ |
| H A D | pci-test-function.rst | 78 the COPY/WRITE command. 83 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands.
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_req.c | 33 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) in drbd_req_new() 820 if (bio_data_dir(req->master_bio) == WRITE) in __req_mod() 1236 if (rw == WRITE && req->private_bio && req->i.size in drbd_request_prepare() 1328 if (rw == WRITE) { in drbd_send_and_submit() 1355 if (rw != WRITE) { in drbd_send_and_submit() 1366 if (rw == WRITE) in drbd_send_and_submit() 1372 if (rw == WRITE) { in drbd_send_and_submit() 1401 &device->pending_master_completion[rw == WRITE]); in drbd_send_and_submit() 1406 &device->pending_completion[rw == WRITE]); in drbd_send_and_submit() 1452 if (rw == WRITE /* rw != WRITE should not even end up here! */ in submit_fast_path()
|
| /linux/tools/perf/trace/beauty/ |
| H A D | flock.c | 44 P_CMD(WRITE); in syscall_arg__scnprintf_flock()
|
| /linux/rust/kernel/mm/ |
| H A D | virt.rs | 338 (self.flags() & flags::WRITE) != 0 400 pub const WRITE: vm_flags_t = bindings::VM_WRITE as vm_flags_t; 402 pub const WRITE: vm_flags_t = bindings::VM_WRITE as vm_flags_t; global() constant
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-devices-platform-_UDC_-gadget | 17 the SCSI WRITE(10,12) commands when a gadget in USB Mass
|
| H A D | configfs-usb-gadget-mass-storage | 34 in SCSI WRITE(10,12)
|
| /linux/net/rxrpc/ |
| H A D | output.c | 272 iov_iter_kvec(&msg.msg_iter, WRITE, kv, nr_kv, len); in rxrpc_send_ack_packet() 410 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, sizeof(pkt)); in rxrpc_send_abort_packet() 667 iov_iter_kvec(&msg.msg_iter, WRITE, call->local->kvec, 1 + req->n, len); in rxrpc_send_data_packet() 789 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 2, len); in rxrpc_send_conn_abort() 862 iov_iter_kvec(&msg.msg_iter, WRITE, iov, ioc, size); in rxrpc_reject_packet() 911 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 2, len); in rxrpc_send_keepalive() 952 iov_iter_bvec(&msg.msg_iter, WRITE, bvec, nr_sg, len); in rxrpc_send_response()
|
| /linux/drivers/block/ |
| H A D | swim3.c | 332 if (rq_data_dir(req) == WRITE) { in swim3_queue_rq() 443 if (rq_data_dir(req) == WRITE) in setup_transfer() 460 if (rq_data_dir(req) == WRITE) { in setup_transfer() 477 if (rq_data_dir(req) == WRITE) in setup_transfer() 648 (rq_data_dir(fs->cur_req)==WRITE? "writ": "read"), in xfer_timeout() 733 if (rq_data_dir(req) == WRITE) in swim3_interrupt() 766 rq_data_dir(req) == WRITE? "writ": "read", in swim3_interrupt()
|
| /linux/include/trace/misc/ |
| H A D | fs.h | 46 __fmode_flag(WRITE), \
|
| /linux/drivers/memstick/core/ |
| H A D | memstick.c | 270 mrq->data_dir = WRITE; in memstick_init_req_sg() 300 mrq->data_dir = WRITE; in memstick_init_req() 305 if (mrq->data_dir == WRITE) in memstick_init_req()
|
| /linux/tools/virtio/linux/ |
| H A D | kernel.h | 33 #define WRITE 1 macro
|
| /linux/include/linux/ |
| H A D | uio.h | 160 return i->data_source ? WRITE : READ; in iov_iter_rw() 375 WARN_ON(direction & ~(READ | WRITE)); in iov_iter_ubuf()
|