Home
last modified time | relevance | path

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

123456

/linux/drivers/infiniband/ulp/rtrs/
H A 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()
H A 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/drivers/md/
H A Ddm-stats.c191 atomic_read(&shared->in_flight[WRITE]); in dm_stat_in_flight()
234 atomic_read(&shared->in_flight[WRITE])); in dm_stats_cleanup()
347 atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0); in dm_stats_create()
550 in_flight_write = (unsigned int)atomic_read(&shared->in_flight[WRITE]); in dm_stat_round()
554 p->io_ticks[WRITE] += difference; in dm_stat_round()
696 ((bi_rw == WRITE) == in dm_stats_account_io()
697 (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()
[all …]
H A 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()
H A Ddm-crypt.c569 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_lmk_gen()
587 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) in crypt_iv_lmk_post()
713 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_tcw_gen()
736 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_tcw_post()
1019 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant()
1026 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { in crypt_iv_elephant()
1036 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant()
1056 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { in crypt_iv_elephant_gen()
1068 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) in crypt_iv_elephant_post()
1378 if (cc->integrity_iv_size && bio_data_dir(ctx->bio_in) != WRITE) { in crypt_convert_block_aead()
[all...]
/linux/drivers/s390/net/
H A 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/tools/testing/selftests/kvm/s390x/
H A Dmemop.c
/linux/Documentation/admin-guide/device-mapper/
H A 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/drivers/s390/block/
H A Ddasd_fba.c84 if (rw == WRITE) in define_extent()
104 if (rw == WRITE) in locate_record()
354 define_extent(ccw++, cqr->data, WRITE, blksize, first_rec, count); in dasd_fba_build_cp_discard()
366 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard()
386 locate_record(ccw++, LO_data++, WRITE, cur_pos, d_count); in dasd_fba_build_cp_discard()
404 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard()
445 } else if (rq_data_dir(req) == WRITE) { in dasd_fba_build_cp_regular()
504 if (copy && rq_data_dir(req) == WRITE) in dasd_fba_build_cp_regular()
/linux/fs/bcachefs/
H A Dcompress.c281 data = __bounce_alloc(c, dst_len, WRITE); in bch2_bio_uncompress_inplace()
327 ? __bio_map_or_bounce(c, dst, dst_iter, WRITE) in bch2_bio_uncompress()
328 : __bounce_alloc(c, dst_len, WRITE); in bch2_bio_uncompress()
464 dst_data = bio_map_or_bounce(c, dst, WRITE); in __bio_compress()
627 mempool_exit(&c->compression_bounce[WRITE]); in bch2_fs_compress_exit()
667 if (!mempool_initialized(&c->compression_bounce[WRITE]) && in __bch2_fs_compress_init()
668 mempool_init_kvmalloc_pool(&c->compression_bounce[WRITE], in __bch2_fs_compress_init()
H A Dmovinggc.c308 atomic64_read(&c->io_clock[WRITE].now)) << 9); in bch2_copygc_wait_to_text()
313 atomic64_read(&c->io_clock[WRITE].now) - in bch2_copygc_wait_to_text()
327 struct io_clock *clock = &c->io_clock[WRITE]; in bch2_copygc_thread()
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-qat_rl58 * WRITE: add operation
87 * WRITE: rm and update operations
123 * WRITE: add and update operations
157 * WRITE: add and update operations
188 * WRITE: add and update operations
H A Dsysfs-devices-platform-_UDC_-gadget17 the SCSI WRITE(10,12) commands when a gadget in USB Mass
/linux/tools/testing/selftests/powerpc/benchmarks/
H A 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/drivers/gpu/drm/nouveau/dispnv50/
H A 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/drivers/block/drbd/
H A 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/Documentation/PCI/endpoint/
H A Dpci-test-function.rst78 the COPY/WRITE command.
83 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands.
/linux/fs/
H A Dread_write.c648 ret = rw_verify_area(WRITE, file, pos, count); in kernel_write()
670 ret = rw_verify_area(WRITE, file, pos, count); in vfs_write()
937 ret = rw_verify_area(WRITE, file, &iocb->ki_pos, tot_len); in vfs_iocb_iter_write()
969 ret = rw_verify_area(WRITE, file, ppos, tot_len); in vfs_iter_write()
974 ret = do_iter_readv_writev(file, iter, ppos, WRITE, flags); in vfs_iter_write()
1044 ret = rw_verify_area(WRITE, file, pos, tot_len); in vfs_writev()
1050 ret = do_iter_readv_writev(file, &iter, pos, WRITE, flags); in vfs_writev()
1052 ret = do_loop_readv_writev(file, &iter, pos, WRITE, flags); in vfs_writev()
1360 retval = rw_verify_area(WRITE, fd_file(out), &out_pos, count); in do_sendfile()
1565 ret = rw_verify_area(WRITE, file_out, &pos_out, len); in vfs_copy_file_range()
/linux/fs/f2fs/
H A 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/tools/perf/trace/beauty/
H A Dflock.c44 P_CMD(WRITE); in syscall_arg__scnprintf_flock()
/linux/drivers/ufs/core/
H A Dufs-sysfs.c716 return sysfs_emit(buf, "%lu\n", hba->monitor.nr_sec_rw[WRITE]); in write_total_sectors_show()
725 ktime_to_us(hba->monitor.total_busy[WRITE])); in write_total_busy_show()
733 return sysfs_emit(buf, "%lu\n", hba->monitor.nr_req[WRITE]); in write_nr_requests_show()
743 if (!m->nr_req[WRITE]) in write_req_latency_avg_show()
746 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[WRITE]), in write_req_latency_avg_show()
747 m->nr_req[WRITE])); in write_req_latency_avg_show()
757 ktime_to_us(hba->monitor.lat_max[WRITE])); in write_req_latency_max_show()
767 ktime_to_us(hba->monitor.lat_min[WRITE])); in write_req_latency_min_show()
777 ktime_to_us(hba->monitor.lat_sum[WRITE])); in write_req_latency_sum_show()
/linux/net/rxrpc/
H A Doutput.c274 iov_iter_kvec(&msg.msg_iter, WRITE, kv, nr_kv, len); in rxrpc_send_ack_packet()
412 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()
858 iov_iter_kvec(&msg.msg_iter, WRITE, iov, ioc, size); in rxrpc_reject_packet()
907 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 2, len); in rxrpc_send_keepalive()
/linux/drivers/gpu/drm/ci/xfails/
H A Dmsm-apq8096-skips.txt24 # *** gpu fault: ttbr0=00000001030ea000 iova=0000000001074000 dir=WRITE type=PERMISSION source=1f03…
/linux/include/trace/misc/
H A Dfs.h46 __fmode_flag(WRITE), \
/linux/lib/
H A Dkunit_iov_iter.c169 iov_kunit_load_kvec(test, &iter, WRITE, kvec, ARRAY_SIZE(kvec), in iov_kunit_copy_from_kvec()
332 iov_kunit_load_bvec(test, &iter, WRITE, bvec, ARRAY_SIZE(bvec), in iov_kunit_copy_from_bvec()
507 iov_iter_folio_queue(&iter, WRITE, folioq, 0, 0, pr->to); in iov_kunit_copy_from_folioq()
665 iov_iter_xarray(&iter, WRITE, xarray, pr->from, size); in iov_kunit_copy_from_xarray()
880 iov_iter_folio_queue(&iter, WRITE, folioq, 0, 0, pr->to); in iov_kunit_extract_pages_folioq()
959 iov_iter_xarray(&iter, WRITE, xarray, from, size); in iov_kunit_extract_pages_xarray()

123456