Home
last modified time | relevance | path

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

123

/linux-4.19.296/block/
Ddeadline-iosched.c216 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 …]
Dblk-throttle.c493 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 …]
Dmq-deadline.c169 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 …]
Dblk-wbt.c213 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()
Dbounce.c324 if (rw == WRITE) { in __blk_queue_bounce()
/linux-4.19.296/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-4.19.296/drivers/s390/block/
Ddasd_fba.c97 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/
Dfile.c806 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 …]
Dgc.c965 &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/
Dvfs_addr.c180 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()
Dxattr.c110 iov_iter_kvec(&from, WRITE | ITER_KVEC, &kvec, 1, value_len); in v9fs_fid_xattr_set()
/linux-4.19.296/include/linux/
Dnd.h172 return ndns->rw_bytes(ndns, offset, buf, size, WRITE, flags); in nvdimm_write_bytes()
Duio.h216 #define iov_iter_rw(i) ((0 ? (struct iov_iter *)0 : (i))->type & (READ | WRITE))
/linux-4.19.296/drivers/memstick/core/
Dmemstick.c274 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/
Drxrpc.c289 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/
Dread_write.c472 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()
Dsplice.c748 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()
Ddirect-io.c1256 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/
Dtifm_ms.c219 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()
Djmb38x_ms.c335 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/
Dfsi-sbefifo.c643 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/
Dwrapper.c72 if (op != WRITE && data) in hfsplus_submit_bio()
/linux-4.19.296/fs/cifs/
Dtransport.c313 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/
Dinode.c351 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in jfs_direct_IO()
/linux-4.19.296/include/scsi/
Dosd_protocol.h284 OSD_ACT___(WRITE, 0x06)

123