/openbmc/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()
|
/openbmc/linux/block/ |
H A D | blk-throttle.c | 333 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 …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-stats.c | 188 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 …]
|
H A D | md-faulty.c | 109 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()
|
H A D | dm-flakey.c | 146 fc->corrupt_bio_rw = WRITE; in parse_features() 208 if (test_bit(DROP_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features() 209 ti->error = "drop_writes is incompatible with corrupt_bio_byte with the WRITE flag set"; in parse_features() 212 } else if (test_bit(ERROR_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features() 213 ti->error = "error_writes is incompatible with corrupt_bio_byte with the WRITE flag set"; in parse_features() 236 * Direction is r for READ or w for WRITE. 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()
|
/openbmc/openbmc-tools/bi2cp/ |
H A D | README.md | 20 00:30.771015 0.000302 0x11 WRITE MFR_SPECIFIC_42 [ 00 ] 22 00:30.771758 0.000301 0x11 WRITE MFR_SPECIFIC_42 [ 01 ] 24 00:30.772493 0.000301 0x11 WRITE MFR_SPECIFIC_42 [ 02 ] 26 00:30.773226 0.000301 0x11 WRITE MFR_SPECIFIC_42 [ 03 ]
|
H A D | bi2cp | 100 WRITE = 0 variable in I2CRecord 176 return I2CRecord.WRITE 250 assert xfer.record == I2CRecord.WRITE 300 timestamp, duration, self, I2CRecord.WRITE, data, status 304 return fmt.format(timestamp, duration, self, I2CRecord.WRITE, data)
|
/openbmc/linux/drivers/s390/net/ |
H A D | ctcm_sysfs.c | 96 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()
|
/openbmc/linux/tools/testing/selftests/kvm/s390x/ |
H A D | memop.c | 28 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 …]
|
/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | resctrl_val.c | 21 #define WRITE 1 macro 118 imc_counters_config[count][WRITE].event = in get_event_and_umask() 126 imc_counters_config[count][WRITE].umask = in get_event_and_umask() 170 imc_counters_config[count][WRITE].type = in read_from_imc_dir() 207 get_event_and_umask(cas_count_cfg, count, WRITE); in read_from_imc_dir() 301 if (imc_counters_config[mc][WRITE].fd != -1) in perf_close_imc_mem_bw() 302 close(imc_counters_config[mc][WRITE].fd); in perf_close_imc_mem_bw() 323 imc_counters_config[imc][WRITE].fd = -1; in get_mem_bw_imc() 332 ret = open_perf_event(imc, cpu_no, WRITE); in get_mem_bw_imc() 337 membw_ioctl_perf_event_ioc_reset_enable(imc, WRITE); in get_mem_bw_imc() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/compress/ |
H A D | _pipecompress.py | 91 WRITE = 1 variable in PipeFile 103 self.mode = self.WRITE 170 return self.mode == self.WRITE 185 if self.mode != self.WRITE:
|
/openbmc/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
|
/openbmc/u-boot/test/fs/ |
H A D | fs-test.sh | 169 WRITE="write" 176 WRITE="write" 188 WRITE="save" 198 WRITE="save" 309 ${PREFIX}${WRITE} host${SUFFIX} $addr ${FPATH}$FILE_WRITE \$filesize 321 ${PREFIX}${WRITE} host${SUFFIX} $addr ${FPATH}. 0x10 327 ${PREFIX}${WRITE} host${SUFFIX} $addr ${FPATH}./${FILE_WRITE}2 \$filesize
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge/ |
H A D | 0001-fontforgeexe-Use-env-to-find-fontforge.patch | 22 - file(WRITE \"${CMAKE_CURRENT_BINARY_DIR}/\${_output}\" \"#!\${CMAKE_INSTALL_PREFIX}/bin/font… 23 + file(WRITE \"${CMAKE_CURRENT_BINARY_DIR}/\${_output}\" \"#!/usr/bin/env fontforge -lang=ff\\…
|
/openbmc/linux/Documentation/PCI/endpoint/ |
H A D | pci-test-howto.rst | 223 WRITE ( 1 bytes): OKAY 224 WRITE ( 1024 bytes): OKAY 225 WRITE ( 1025 bytes): OKAY 226 WRITE (1024000 bytes): OKAY 227 WRITE (1024001 bytes): OKAY
|
H A D | pci-test-function.rst | 78 the COPY/WRITE command. 83 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands.
|
/openbmc/linux/fs/f2fs/ |
H A D | file.c | 556 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in finish_preallocate_blocks() 563 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in finish_preallocate_blocks() 863 if (f2fs_sb_has_blkzoned(sbi) && (rw == WRITE)) in f2fs_force_buffered_io() 899 if (!f2fs_force_buffered_io(inode, WRITE)) { in f2fs_getattr() 1047 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_setattr() 1059 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_setattr() 1201 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_punch_hole() 1211 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_punch_hole() 1449 f2fs_down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_do_collapse() 1459 f2fs_up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_do_collapse() [all …]
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_fba.c | 88 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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/net/rxrpc/ |
H A D | output.c | 234 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()
|
/openbmc/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() 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()
|
/openbmc/linux/drivers/ufs/core/ |
H A D | ufs-sysfs.c | 531 return sysfs_emit(buf, "%lu\n", hba->monitor.nr_sec_rw[WRITE]); in write_total_sectors_show() 540 ktime_to_us(hba->monitor.total_busy[WRITE])); in write_total_busy_show() 548 return sysfs_emit(buf, "%lu\n", hba->monitor.nr_req[WRITE]); in write_nr_requests_show() 558 if (!m->nr_req[WRITE]) in write_req_latency_avg_show() 561 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[WRITE]), in write_req_latency_avg_show() 562 m->nr_req[WRITE])); in write_req_latency_avg_show() 572 ktime_to_us(hba->monitor.lat_max[WRITE])); in write_req_latency_max_show() 582 ktime_to_us(hba->monitor.lat_min[WRITE])); in write_req_latency_min_show() 592 ktime_to_us(hba->monitor.lat_sum[WRITE])); in write_req_latency_sum_show()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | mte_helper.c | 562 is_write = FIELD_EX32(desc, MTEDESC, WRITE); in mte_sync_check_fail() 639 if (FIELD_EX32(desc, MTEDESC, WRITE)) { in mte_check_fail() 796 type = FIELD_EX32(desc, MTEDESC, WRITE) ? MMU_DATA_STORE : MMU_DATA_LOAD; in mte_probe_int() 888 bool w = FIELD_EX32(desc, MTEDESC, WRITE); in HELPER() 1023 bool w = FIELD_EX32(desc, MTEDESC, WRITE); in mte_mops_probe() 1073 bool w = FIELD_EX32(desc, MTEDESC, WRITE); in mte_mops_probe_rev()
|