/kernel/linux/linux-5.10/block/ |
D | blk-throttle.c | 510 for (rw = READ; rw <= WRITE; rw++) { in throtl_pd_alloc() 517 tg->bps[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 519 tg->iops[WRITE][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc() 521 tg->bps_conf[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 523 tg->iops_conf[WRITE][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc() 577 for (rw = READ; rw <= WRITE; rw++) in tg_update_has_rules() 604 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid() 605 tg->iops[READ][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) { in blk_throtl_update_limit_valid() 621 tg->bps[WRITE][LIMIT_LOW] = 0; in throtl_pd_offline() 623 tg->iops[WRITE][LIMIT_LOW] = 0; in throtl_pd_offline() [all …]
|
D | mq-deadline.c | 170 dd->next_rq[WRITE] = NULL; in deadline_move_request() 206 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_fifo_request() 221 list_for_each_entry(rq, &dd->fifo_list[WRITE], queuelist) { in deadline_fifo_request() 242 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_next_request() 284 writes = !list_empty(&dd->fifo_list[WRITE]); in __dd_dispatch_request() 289 rq = deadline_next_request(dd, WRITE); in __dd_dispatch_request() 305 if (deadline_fifo_request(dd, WRITE) && in __dd_dispatch_request() 320 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[WRITE])); in __dd_dispatch_request() 324 data_dir = WRITE; in __dd_dispatch_request() 400 BUG_ON(!list_empty(&dd->fifo_list[WRITE])); in dd_exit_queue() [all …]
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-stats.c | 188 atomic_read(&shared->in_flight[WRITE]); in dm_stat_in_flight() 225 atomic_read(&shared->in_flight[WRITE])); in dm_stats_cleanup() 316 atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0); in dm_stats_create() 507 in_flight_write = (unsigned)atomic_read(&shared->in_flight[WRITE]); in dm_stat_round() 511 p->io_ticks[WRITE] += difference; in dm_stat_round() 650 ((bi_rw == WRITE) == in dm_stats_account_io() 651 (READ_ONCE(last->last_rw) == WRITE)) in dm_stats_account_io() 686 shared->tmp.sectors[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals() 688 shared->tmp.ios[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals() 690 shared->tmp.merges[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals() [all …]
|
D | dm-flakey.c | 128 fc->corrupt_bio_rw = WRITE; in parse_features() 160 if (test_bit(DROP_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features() 164 } else if (test_bit(ERROR_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features() 310 (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_opf, in corrupt_bio_data() 362 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == WRITE)) { in flakey_map() 439 (fc->corrupt_bio_rw == WRITE) ? 'w' : 'r', in flakey_status()
|
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()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
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()
|
/kernel/linux/linux-5.10/arch/sh/math-emu/ |
D | math.c | 54 #define WRITE(d,a) ({if(put_user(d, (typeof (d)*)a)) return -EFAULT;}) macro 210 WRITE(FRm, Rn + R0 + 4); in fmov_reg_idx() 212 WRITE(FRm, Rn + R0); in fmov_reg_idx() 214 WRITE(FRm, Rn + R0); in fmov_reg_idx() 226 WRITE(FRm, Rn + 4); in fmov_reg_mem() 228 WRITE(FRm, Rn); in fmov_reg_mem() 230 WRITE(FRm, Rn); in fmov_reg_mem() 243 WRITE(FRm, Rn + 4); in fmov_reg_dec() 245 WRITE(FRm, Rn); in fmov_reg_dec() 248 WRITE(FRm, Rn); in fmov_reg_dec() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt-stats.c | 92 sum.dir[WRITE].cnt += r->dir[WRITE].cnt; in rtrs_clt_stats_rdma_to_str() 93 sum.dir[WRITE].size_total += r->dir[WRITE].size_total; in rtrs_clt_stats_rdma_to_str() 99 sum.dir[WRITE].cnt, sum.dir[WRITE].size_total, in rtrs_clt_stats_rdma_to_str()
|
D | rtrs-srv-stats.c | 35 (s64)atomic64_read(&r->dir[WRITE].cnt), in rtrs_srv_stats_rdma_to_str() 36 (s64)atomic64_read(&r->dir[WRITE].size_total), in rtrs_srv_stats_rdma_to_str()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/ |
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
|
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/ |
D | resctrl_val.c | 21 #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()
|
/kernel/linux/linux-5.10/Documentation/PCI/endpoint/ |
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
|
D | pci-test-function.rst | 78 the COPY/WRITE command. 83 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands.
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
D | dasd_fba.c | 97 if (rw == WRITE) in define_extent() 117 if (rw == WRITE) in locate_record() 367 define_extent(ccw++, cqr->data, WRITE, blksize, first_rec, count); in dasd_fba_build_cp_discard() 379 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard() 399 locate_record(ccw++, LO_data++, WRITE, cur_pos, d_count); in dasd_fba_build_cp_discard() 417 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard() 458 } else if (rq_data_dir(req) == WRITE) { in dasd_fba_build_cp_regular() 517 if (copy && rq_data_dir(req) == WRITE) in dasd_fba_build_cp_regular()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/ |
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()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | socklib.c | 216 iov_iter_kvec(&msg->msg_iter, WRITE, vec, 1, vec->iov_len); in xprt_send_kvec() 229 iov_iter_bvec(&msg->msg_iter, WRITE, xdr->bvec, xdr_buf_pagecount(xdr), in xprt_send_pagedata() 252 iov_iter_kvec(&msg->msg_iter, WRITE, iov, 2, len); in xprt_send_rm_and_kvec()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
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()
|
/kernel/linux/linux-5.10/fs/ |
D | read_write.c | 511 iov_iter_init(&iter, WRITE, &iov, 1, len); in new_sync_write() 544 iov_iter_kvec(&iter, WRITE, &iov, 1, iov.iov_len); in __kernel_write() 569 ret = rw_verify_area(WRITE, file, pos, count); in kernel_write() 591 ret = rw_verify_area(WRITE, file, pos, count); in vfs_write() 856 ret = rw_verify_area(WRITE, file, pos, tot_len); in do_iter_write() 861 ret = do_iter_readv_writev(file, iter, pos, WRITE, flags); in do_iter_write() 863 ret = do_loop_readv_writev(file, iter, pos, WRITE, flags); in do_iter_write() 885 ret = rw_verify_area(WRITE, file, &iocb->ki_pos, tot_len); in vfs_iocb_iter_write() 931 ret = import_iovec(WRITE, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); in vfs_writev() 1226 retval = rw_verify_area(WRITE, out.file, &out_pos, count); in do_sendfile() [all …]
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
D | drbd_req.c | 34 req->rq_state = (bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0) in drbd_req_new() 806 if (bio_data_dir(req->master_bio) == WRITE) in __req_mod() 1222 if (rw == WRITE && req->private_bio && req->i.size in drbd_request_prepare() 1313 if (rw == WRITE) { in drbd_send_and_submit() 1340 if (rw != WRITE) { in drbd_send_and_submit() 1351 if (rw == WRITE) in drbd_send_and_submit() 1357 if (rw == WRITE) { in drbd_send_and_submit() 1386 &device->pending_master_completion[rw == WRITE]); in drbd_send_and_submit() 1391 &device->pending_completion[rw == WRITE]); in drbd_send_and_submit() 1437 if (rw == WRITE /* rw != WRITE should not even end up here! */ in submit_fast_path()
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
D | flock.c | 44 P_CMD(WRITE); in syscall_arg__scnprintf_flock()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | file.c | 941 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_setattr() 953 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_setattr() 1091 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in punch_hole() 1101 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in punch_hole() 1334 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_do_collapse() 1344 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_do_collapse() 1487 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_zero_range() 1501 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_zero_range() 1513 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_zero_range() 1586 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_insert_range() [all …]
|
D | verity.c | 211 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_end_enable_verity() 219 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_end_enable_verity()
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-devices-platform-_UDC_-gadget | 17 the SCSI WRITE(10,12) commands when a gadget in USB Mass
|
/kernel/linux/linux-5.10/fs/9p/ |
D | vfs_addr.c | 165 iov_iter_bvec(&from, WRITE, &bvec, 1, len); in v9fs_vfs_writepage_locked() 241 if (iov_iter_rw(iter) == WRITE) { in v9fs_direct_IO()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | swim3.c | 333 if (rq_data_dir(req) == WRITE) { in swim3_queue_rq() 428 if (rq_data_dir(req) == WRITE) in setup_transfer() 445 if (rq_data_dir(req) == WRITE) { in setup_transfer() 460 if (rq_data_dir(req) == WRITE) in setup_transfer() 631 (rq_data_dir(fs->cur_req)==WRITE? "writ": "read"), in xfer_timeout() 716 if (rq_data_dir(req) == WRITE) in swim3_interrupt() 749 rq_data_dir(req) == WRITE? "writ": "read", in swim3_interrupt()
|