/linux-4.19.296/block/ |
D | deadline-iosched.c | 216 dd->next_rq[WRITE] = NULL; in deadline_move_request() 252 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_fifo_request() 266 list_for_each_entry(rq, &dd->fifo_list[WRITE], queuelist) { in deadline_fifo_request() 283 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_next_request() 314 const int writes = !list_empty(&dd->fifo_list[WRITE]); in deadline_dispatch_requests() 321 rq = deadline_next_request(dd, WRITE); in deadline_dispatch_requests() 337 if (deadline_fifo_request(dd, WRITE) && in deadline_dispatch_requests() 352 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[WRITE])); in deadline_dispatch_requests() 356 data_dir = WRITE; in deadline_dispatch_requests() 417 BUG_ON(!list_empty(&dd->fifo_list[WRITE])); in deadline_exit_queue() [all …]
|
D | blk-throttle.c | 493 for (rw = READ; rw <= WRITE; rw++) { in throtl_pd_alloc() 500 tg->bps[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 502 tg->iops[WRITE][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc() 504 tg->bps_conf[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 506 tg->iops_conf[WRITE][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc() 554 for (rw = READ; rw <= WRITE; rw++) in tg_update_has_rules() 581 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid() 582 tg->iops[READ][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) { in blk_throtl_update_limit_valid() 598 tg->bps[WRITE][LIMIT_LOW] = 0; in throtl_pd_offline() 600 tg->iops[WRITE][LIMIT_LOW] = 0; in throtl_pd_offline() [all …]
|
D | mq-deadline.c | 169 dd->next_rq[WRITE] = NULL; in deadline_move_request() 205 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_fifo_request() 220 list_for_each_entry(rq, &dd->fifo_list[WRITE], queuelist) { in deadline_fifo_request() 241 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_next_request() 283 writes = !list_empty(&dd->fifo_list[WRITE]); in __dd_dispatch_request() 288 rq = deadline_next_request(dd, WRITE); in __dd_dispatch_request() 304 if (deadline_fifo_request(dd, WRITE) && in __dd_dispatch_request() 319 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[WRITE])); in __dd_dispatch_request() 323 data_dir = WRITE; in __dd_dispatch_request() 397 BUG_ON(!list_empty(&dd->fifo_list[WRITE])); in dd_exit_queue() [all …]
|
D | blk-wbt.c | 213 stat[WRITE].nr_samples >= RWB_MIN_WRITE_SAMPLES); in stat_sample_valid() 266 if (stat[WRITE].nr_samples || wb_recent_wait(rwb) || in latency_exceeded() 744 return WRITE; in wbt_data_dir()
|
D | bounce.c | 324 if (rw == WRITE) { in __blk_queue_bounce()
|
/linux-4.19.296/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()
|
/linux-4.19.296/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()
|
/linux-4.19.296/fs/f2fs/ |
D | file.c | 806 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_setattr() 818 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_setattr() 968 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in punch_hole() 978 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in punch_hole() 1204 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_do_collapse() 1214 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_do_collapse() 1353 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_zero_range() 1367 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_zero_range() 1379 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_zero_range() 1452 down_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in f2fs_insert_range() [all …]
|
D | gc.c | 965 &F2FS_I(inode)->i_gc_rwsem[WRITE])) { in gc_data_segment() 977 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in gc_data_segment() 988 up_write(&F2FS_I(inode)->i_gc_rwsem[WRITE]); in gc_data_segment() 1011 &fi->i_gc_rwsem[WRITE])) { in gc_data_segment() 1032 up_write(&fi->i_gc_rwsem[WRITE]); in gc_data_segment()
|
/linux-4.19.296/fs/9p/ |
D | vfs_addr.c | 180 iov_iter_bvec(&from, ITER_BVEC | WRITE, &bvec, 1, len); in v9fs_vfs_writepage_locked() 256 if (iov_iter_rw(iter) == WRITE) { in v9fs_direct_IO()
|
D | xattr.c | 110 iov_iter_kvec(&from, WRITE | ITER_KVEC, &kvec, 1, value_len); in v9fs_fid_xattr_set()
|
/linux-4.19.296/include/linux/ |
D | nd.h | 172 return ndns->rw_bytes(ndns, offset, buf, size, WRITE, flags); in nvdimm_write_bytes()
|
D | uio.h | 216 #define iov_iter_rw(i) ((0 ? (struct iov_iter *)0 : (i))->type & (READ | WRITE))
|
/linux-4.19.296/drivers/memstick/core/ |
D | memstick.c | 274 mrq->data_dir = WRITE; in memstick_init_req_sg() 304 mrq->data_dir = WRITE; in memstick_init_req() 309 if (mrq->data_dir == WRITE) in memstick_init_req()
|
/linux-4.19.296/fs/afs/ |
D | rxrpc.c | 289 iov_iter_bvec(&msg->msg_iter, WRITE | ITER_BVEC, bv, nr, bytes); in afs_load_bvec() 404 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, iov, 1, in afs_make_call() 832 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, NULL, 0, 0); in afs_send_empty_reply() 871 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, iov, 1, len); in afs_send_simple_reply()
|
/linux-4.19.296/fs/ |
D | read_write.c | 472 iov_iter_init(&iter, WRITE, &iov, 1, len); in new_sync_write() 544 ret = rw_verify_area(WRITE, file, pos, count); in vfs_write() 955 ret = rw_verify_area(WRITE, file, pos, tot_len); in do_iter_write() 960 ret = do_iter_readv_writev(file, iter, pos, WRITE, flags); in do_iter_write() 962 ret = do_loop_readv_writev(file, iter, pos, WRITE, flags); in do_iter_write() 1002 ret = import_iovec(WRITE, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); in vfs_writev() 1274 ret = compat_import_iovec(WRITE, vec, vlen, UIO_FASTIOV, &iov, &iter); in compat_writev() 1421 retval = rw_verify_area(WRITE, out.file, &out_pos, count); in do_sendfile() 1576 ret = rw_verify_area(WRITE, file_out, &pos_out, len); in vfs_copy_file_range()
|
D | splice.c | 748 iov_iter_bvec(&from, ITER_BVEC | WRITE, array, n, in iter_file_splice_write() 1064 ret = rw_verify_area(WRITE, out, opos, len); in do_splice_direct() 1149 ret = rw_verify_area(WRITE, out, &offset, len); in do_splice() 1316 *type = WRITE; in vmsplice_type() 1350 if (iov_iter_rw(iter) == WRITE) in do_vmsplice()
|
D | direct-io.c | 1256 else if (iov_iter_rw(iter) == WRITE && end > i_size_read(inode)) in do_blockdev_direct_IO() 1262 if (iov_iter_rw(iter) == WRITE) { in do_blockdev_direct_IO() 1275 if (dio->is_async && iov_iter_rw(iter) == WRITE) { in do_blockdev_direct_IO()
|
/linux-4.19.296/drivers/memstick/host/ |
D | tifm_ms.c | 219 t_size = host->req->data_dir == WRITE in tifm_ms_transfer_data() 236 if (!length && (host->req->data_dir == WRITE)) { in tifm_ms_transfer_data() 299 if (host->req->data_dir == WRITE) in tifm_ms_issue_cmd()
|
D | jmb38x_ms.c | 335 if (host->req->data_dir == WRITE) in jmb38x_ms_transfer_data() 356 if (!length && host->req->data_dir == WRITE) { in jmb38x_ms_transfer_data() 453 if (host->req->data_dir == WRITE) { in jmb38x_ms_issue_cmd()
|
/linux-4.19.296/drivers/fsi/ |
D | fsi-sbefifo.c | 643 iov_iter_kvec(&ffdc_iter, WRITE | ITER_KVEC, &ffdc_iov, 1, SBEFIFO_MAX_FFDC_SIZE); in sbefifo_collect_async_ffdc() 740 iov_iter_kvec(&resp_iter, WRITE | ITER_KVEC, &resp_iov, 1, rbytes); in sbefifo_submit() 820 iov_iter_init(&resp_iter, WRITE, &resp_iov, 1, len); in sbefifo_user_read()
|
/linux-4.19.296/fs/hfsplus/ |
D | wrapper.c | 72 if (op != WRITE && data) in hfsplus_submit_bio()
|
/linux-4.19.296/fs/cifs/ |
D | transport.c | 313 iov_iter_kvec(&smb_msg.msg_iter, WRITE | ITER_KVEC, &hiov, in __smb_send_rqst() 335 iov_iter_kvec(&smb_msg.msg_iter, WRITE | ITER_KVEC, in __smb_send_rqst() 352 iov_iter_bvec(&smb_msg.msg_iter, WRITE | ITER_BVEC, in __smb_send_rqst()
|
/linux-4.19.296/fs/jfs/ |
D | inode.c | 351 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in jfs_direct_IO()
|
/linux-4.19.296/include/scsi/ |
D | osd_protocol.h | 284 OSD_ACT___(WRITE, 0x06)
|