Home
last modified time | relevance | path

Searched refs:WRITE (Results 1 – 25 of 167) sorted by relevance

1234567

/linux-6.6.21/drivers/infiniband/ulp/rtrs/
Drtrs-srv-stats.c44 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()
Drtrs-clt-stats.c94 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()
/linux-6.6.21/block/
Dblk-throttle.c333 INIT_LIST_HEAD(&sq->queued[WRITE]); in throtl_service_queue_init()
356 for (rw = READ; rw <= WRITE; rw++) { in throtl_pd_alloc()
363 tg->bps[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
365 tg->iops[WRITE][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc()
367 tg->bps_conf[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
369 tg->iops_conf[WRITE][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc()
424 for (rw = READ; rw <= WRITE; rw++) { in tg_update_has_rules()
457 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid()
458 tg->iops[READ][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) { in blk_throtl_update_limit_valid()
479 tg->bps[WRITE][LIMIT_LOW] = 0; in throtl_pd_offline()
[all …]
/linux-6.6.21/drivers/md/
Ddm-stats.c188 atomic_read(&shared->in_flight[WRITE]); in dm_stat_in_flight()
231 atomic_read(&shared->in_flight[WRITE])); in dm_stats_cleanup()
338 atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0); in dm_stats_create()
541 in_flight_write = (unsigned int)atomic_read(&shared->in_flight[WRITE]); in dm_stat_round()
545 p->io_ticks[WRITE] += difference; in dm_stat_round()
687 ((bi_rw == WRITE) == in dm_stats_account_io()
688 (READ_ONCE(last->last_rw) == WRITE)) in dm_stats_account_io()
723 shared->tmp.sectors[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
725 shared->tmp.ios[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
727 shared->tmp.merges[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
[all …]
Dmd-faulty.c109 case WritePersistent*2+WRITE: return 1; in check_sector()
112 case ReadFixable*2+WRITE: in check_sector()
116 case AllPersist*2+WRITE: return 1; in check_sector()
169 if (bio_data_dir(bio) == WRITE) { in faulty_make_request()
180 bio_end_sector(bio), WRITE)) in faulty_make_request()
Ddm-flakey.c146 fc->corrupt_bio_rw = WRITE; in parse_features()
208 if (test_bit(DROP_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features()
212 } else if (test_bit(ERROR_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features()
359 (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_opf, in corrupt_bio_common()
524 if (fc->corrupt_bio_byte && fc->corrupt_bio_rw == WRITE) { in flakey_map()
625 (fc->corrupt_bio_rw == WRITE) ? 'w' : 'r', in flakey_status()
/linux-6.6.21/drivers/s390/net/
Dctcm_sysfs.c96 priv->channel[WRITE]->prof.maxmulti); in ctcm_print_statistics()
98 priv->channel[WRITE]->prof.maxcqueue); in ctcm_print_statistics()
100 priv->channel[WRITE]->prof.doios_single); in ctcm_print_statistics()
102 priv->channel[WRITE]->prof.doios_multi); in ctcm_print_statistics()
104 priv->channel[WRITE]->prof.txlen); in ctcm_print_statistics()
106 jiffies_to_usecs(priv->channel[WRITE]->prof.tx_time)); in ctcm_print_statistics()
133 memset(&priv->channel[WRITE]->prof, 0, in stats_write()
/linux-6.6.21/tools/testing/selftests/kvm/s390x/
Dmemop.c28 WRITE, enumerator
70 if (desc->mode == WRITE) in ksmo_from_desc()
76 if (desc->mode == WRITE) in ksmo_from_desc()
82 if (desc->mode == WRITE) in ksmo_from_desc()
303 CHECK_N_DO(MOP, mop_cpu, mop_target, WRITE, mem1, size, in default_write_read()
315 CHECK_N_DO(MOP, mop_cpu, mop_target, WRITE, mem1, size, GADDR_V(mem1)); in default_read()
653 MOP(t.vcpu, LOGICAL, WRITE, mem1, max_block, GADDR_V(mem2)); in test_cmpxchg_key_concurrent()
758 CHECK_N_DO(ERR_PROT_MOP, t.vcpu, LOGICAL, WRITE, mem1, t.size, GADDR_V(mem1), KEY(2)); in test_errors_key()
760 CHECK_N_DO(ERR_PROT_MOP, t.vm, ABSOLUTE, WRITE, mem1, t.size, GADDR_V(mem1), KEY(2)); in test_errors_key()
796 ERR_PROT_MOP(t.vcpu, LOGICAL, WRITE, mem1, t.size, GADDR_V(mem1), KEY(1), INJECT); in test_termination()
[all …]
/linux-6.6.21/Documentation/admin-guide/device-mapper/
Dlog-writes.rst8 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-6.6.21/Documentation/devicetree/bindings/memory-controllers/ddr/
Djedec,lpddr3-timings.yaml102 Additional WRITE-to-WRITE delay in chip-to-chip cases in pico seconds.
107 WRITE recovery time in pico seconds.
112 Internal WRITE-to-READ command delay in pico seconds.
Djedec,lpddr3.yaml140 Additional WRITE-to-WRITE delay in chip-to-chip cases in terms of number
147 WRITE data latency in terms of number of clock cycles.
153 WRITE recovery time in terms of number of clock cycles.
159 Internal WRITE-to-READ command delay in terms of number of clock cycles.
Djedec,lpddr2-timings.yaml80 WRITE recovery time in pico seconds.
85 Internal WRITE-to-READ command delay in pico seconds.
/linux-6.6.21/tools/testing/selftests/resctrl/
Dresctrl_val.c21 #define WRITE 1 macro
119 imc_counters_config[count][WRITE].event = in get_event_and_umask()
127 imc_counters_config[count][WRITE].umask = in get_event_and_umask()
171 imc_counters_config[count][WRITE].type = in read_from_imc_dir()
208 get_event_and_umask(cas_count_cfg, count, WRITE); in read_from_imc_dir()
338 &imc_counters_config[imc][WRITE]; in get_mem_bw_imc()
373 close(imc_counters_config[imc][WRITE].fd); in get_mem_bw_imc()
/linux-6.6.21/Documentation/PCI/endpoint/
Dpci-test-howto.rst223 WRITE ( 1 bytes): OKAY
224 WRITE ( 1024 bytes): OKAY
225 WRITE ( 1025 bytes): OKAY
226 WRITE (1024000 bytes): OKAY
227 WRITE (1024001 bytes): OKAY
Dpci-test-function.rst78 the COPY/WRITE command.
83 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands.
/linux-6.6.21/fs/f2fs/
Dfile.c824 if (f2fs_sb_has_blkzoned(sbi) && (rw == WRITE)) in f2fs_force_buffered_io()
826 if (f2fs_lfs_mode(sbi) && rw == WRITE && F2FS_IO_ALIGNED(sbi)) in f2fs_force_buffered_io()
862 if (!f2fs_force_buffered_io(inode, WRITE)) { in f2fs_getattr()
998 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_setattr()
1010 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_setattr()
1152 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_punch_hole()
1162 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_punch_hole()
1397 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_do_collapse()
1407 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_do_collapse()
1552 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_zero_range()
[all …]
Dverity.c206 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_end_enable_verity()
214 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_end_enable_verity()
/linux-6.6.21/drivers/s390/block/
Ddasd_fba.c88 if (rw == WRITE) in define_extent()
108 if (rw == WRITE) in locate_record()
358 define_extent(ccw++, cqr->data, WRITE, blksize, first_rec, count); in dasd_fba_build_cp_discard()
370 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard()
390 locate_record(ccw++, LO_data++, WRITE, cur_pos, d_count); in dasd_fba_build_cp_discard()
408 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard()
449 } else if (rq_data_dir(req) == WRITE) { in dasd_fba_build_cp_regular()
508 if (copy && rq_data_dir(req) == WRITE) in dasd_fba_build_cp_regular()
/linux-6.6.21/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c171 #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-6.6.21/drivers/gpu/drm/nouveau/dispnv50/
Dcore507d.c44 NVDEF(NV507D, SET_NOTIFIER_CONTROL, MODE, WRITE) | in core507d_update()
91 NVDEF(NV507D, SET_NOTIFIER_CONTROL, MODE, WRITE) | in core507d_read_caps()
/linux-6.6.21/net/rxrpc/
Doutput.c234 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, len); in rxrpc_send_ack_packet()
308 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, sizeof(pkt)); in rxrpc_send_abort_packet()
347 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, len); in rxrpc_send_data_packet()
564 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 2, len); in rxrpc_send_conn_abort()
633 iov_iter_kvec(&msg.msg_iter, WRITE, iov, ioc, size); in rxrpc_reject_packet()
682 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 2, len); in rxrpc_send_keepalive()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_req.c33 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) in drbd_req_new()
819 if (bio_data_dir(req->master_bio) == WRITE) in __req_mod()
1235 if (rw == WRITE && req->private_bio && req->i.size in drbd_request_prepare()
1327 if (rw == WRITE) { in drbd_send_and_submit()
1354 if (rw != WRITE) { in drbd_send_and_submit()
1365 if (rw == WRITE) in drbd_send_and_submit()
1371 if (rw == WRITE) { in drbd_send_and_submit()
1400 &device->pending_master_completion[rw == WRITE]); in drbd_send_and_submit()
1405 &device->pending_completion[rw == WRITE]); in drbd_send_and_submit()
1451 if (rw == WRITE /* rw != WRITE should not even end up here! */ in submit_fast_path()
/linux-6.6.21/tools/perf/trace/beauty/
Dflock.c44 P_CMD(WRITE); in syscall_arg__scnprintf_flock()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-devices-platform-_UDC_-gadget17 the SCSI WRITE(10,12) commands when a gadget in USB Mass
/linux-6.6.21/drivers/ufs/core/
Dufs-sysfs.c528 return sysfs_emit(buf, "%lu\n", hba->monitor.nr_sec_rw[WRITE]); in write_total_sectors_show()
537 ktime_to_us(hba->monitor.total_busy[WRITE])); in write_total_busy_show()
545 return sysfs_emit(buf, "%lu\n", hba->monitor.nr_req[WRITE]); in write_nr_requests_show()
555 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[WRITE]), in write_req_latency_avg_show()
556 m->nr_req[WRITE])); in write_req_latency_avg_show()
566 ktime_to_us(hba->monitor.lat_max[WRITE])); in write_req_latency_max_show()
576 ktime_to_us(hba->monitor.lat_min[WRITE])); in write_req_latency_min_show()
586 ktime_to_us(hba->monitor.lat_sum[WRITE])); in write_req_latency_sum_show()

1234567