Home
last modified time | relevance | path

Searched refs:READ (Results 1 – 25 of 198) sorted by relevance

12345678

/Linux-v4.19/block/
Dblk-throttle.c493 for (rw = READ; rw <= WRITE; rw++) { in throtl_pd_alloc()
499 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
501 tg->iops[READ][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc()
503 tg->bps_conf[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
505 tg->iops_conf[READ][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()
597 tg->bps[READ][LIMIT_LOW] = 0; in throtl_pd_offline()
599 tg->iops[READ][LIMIT_LOW] = 0; in throtl_pd_offline()
[all …]
Ddeadline-iosched.c215 dd->next_rq[READ] = NULL; in deadline_move_request()
252 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_fifo_request()
259 if (data_dir == READ || !blk_queue_is_zoned(rq->q)) in deadline_fifo_request()
283 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_next_request()
290 if (data_dir == READ || !blk_queue_is_zoned(rq->q)) in deadline_next_request()
313 const int reads = !list_empty(&dd->fifo_list[READ]); in deadline_dispatch_requests()
323 rq = deadline_next_request(dd, READ); in deadline_dispatch_requests()
335 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[READ])); in deadline_dispatch_requests()
341 data_dir = READ; in deadline_dispatch_requests()
416 BUG_ON(!list_empty(&dd->fifo_list[READ])); in deadline_exit_queue()
[all …]
Dmq-deadline.c168 dd->next_rq[READ] = NULL; in deadline_move_request()
205 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_fifo_request()
212 if (data_dir == READ || !blk_queue_is_zoned(rq->q)) in deadline_fifo_request()
241 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_next_request()
248 if (data_dir == READ || !blk_queue_is_zoned(rq->q)) in deadline_next_request()
282 reads = !list_empty(&dd->fifo_list[READ]); in __dd_dispatch_request()
290 rq = deadline_next_request(dd, READ); in __dd_dispatch_request()
302 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[READ])); in __dd_dispatch_request()
308 data_dir = READ; in __dd_dispatch_request()
396 BUG_ON(!list_empty(&dd->fifo_list[READ])); in dd_exit_queue()
[all …]
Dblk-wbt.c211 return (stat[READ].nr_samples >= 1 && in stat_sample_valid()
250 (thislat > rwb->min_lat_nsec && !stat[READ].nr_samples)) { in latency_exceeded()
274 if (stat[READ].min > rwb->min_lat_nsec) { in latency_exceeded()
275 trace_wbt_lat(bdi, stat[READ].min); in latency_exceeded()
735 return READ; in wbt_data_dir()
/Linux-v4.19/drivers/md/
Ddm-stats.c187 return atomic_read(&shared->in_flight[READ]) + in dm_stat_in_flight()
224 atomic_read(&shared->in_flight[READ]), in dm_stats_cleanup()
314 atomic_set(&s->stat_shared[ni].in_flight[READ], 0); in dm_stats_create()
501 in_flight_read = (unsigned)atomic_read(&shared->in_flight[READ]); in dm_stat_round()
504 p->io_ticks[READ] += difference; in dm_stat_round()
680 shared->tmp.sectors[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
682 shared->tmp.ios[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
684 shared->tmp.merges[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
686 shared->tmp.ticks[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
688 shared->tmp.io_ticks[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
[all …]
Dmd-faulty.c119 case ReadPersistent*2+READ: return 1; in check_sector()
120 case ReadFixable*2+READ: return 1; in check_sector()
124 case AllPersist*2+READ: in check_sector()
201 bio_end_sector(bio), READ)) in faulty_make_request()
Ddm-flakey.c130 fc->corrupt_bio_rw = READ; in parse_features()
334 if (bio_data_dir(bio) == READ) { in flakey_map()
388 if (!*error && pb->bio_submitted && (bio_data_dir(bio) == READ)) { in flakey_end_io()
389 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == READ) && in flakey_end_io()
/Linux-v4.19/arch/sh/math-emu/
Dmath.c55 #define READ(d,a) ({if(get_user(d, (typeof (d)*)a)) return -EFAULT;}) macro
160 READ(FRn, Rm + R0 + 4); in fmov_idx_reg()
162 READ(FRn, Rm + R0); in fmov_idx_reg()
164 READ(FRn, Rm + R0); in fmov_idx_reg()
176 READ(FRn, Rm + 4); in fmov_mem_reg()
178 READ(FRn, Rm); in fmov_mem_reg()
180 READ(FRn, Rm); in fmov_mem_reg()
192 READ(FRn, Rm + 4); in fmov_inc_reg()
194 READ(FRn, Rm); in fmov_inc_reg()
197 READ(FRn, Rm); in fmov_inc_reg()
[all …]
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.h55 INIT_PORT_DCB_CMD(__pcmd, __port, READ, FW_PORT_ACTION_DCB_READ_RECV)
58 INIT_PORT_DCB_CMD(__pcmd, __port, READ, FW_PORT_ACTION_DCB_READ_TRANS)
61 INIT_PORT_DCB_CMD(__pcmd, __port, READ, FW_PORT_ACTION_DCB_READ_DET)
/Linux-v4.19/drivers/tty/serial/jsm/
Djsm_tty.c523 jsm_dbg(READ, &ch->ch_bd->pci_dev, "start\n"); in jsm_input()
550 jsm_dbg(READ, &ch->ch_bd->pci_dev, "start\n"); in jsm_input()
558 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_input()
575 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_input()
581 jsm_dbg(READ, &ch->ch_bd->pci_dev, "start 2\n"); in jsm_input()
769 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control()
779 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control()
807 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control()
816 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control()
/Linux-v4.19/Documentation/PCI/endpoint/
Dpci-test-howto.txt183 READ ( 1 bytes): OKAY
184 READ ( 1024 bytes): OKAY
185 READ ( 1025 bytes): OKAY
186 READ (1024000 bytes): OKAY
187 READ (1024001 bytes): OKAY
Dpci-test-function.txt63 COPY/READ command.
73 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands.
/Linux-v4.19/drivers/ata/
Dpata_falcon.c59 if (rw == READ) { in pata_falcon_data_xfer()
78 if (rw == READ) { in pata_falcon_data_xfer()
Dpata_gayle.c53 if (rw == READ) in pata_gayle_data_xfer()
65 if (rw == READ) { in pata_gayle_data_xfer()
Dpata_ixp4xx_cf.c60 if (rw == READ) in ixp4xx_mmio_data_xfer()
72 if (rw == READ) { in ixp4xx_mmio_data_xfer()
/Linux-v4.19/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c163 #define READ 0 macro
181 assert(read(pipe_fd1[READ], &c, 1) == 1); in pipe_thread1()
199 assert(read(pipe_fd2[READ], &c, 1) == 1); in pipe_thread2()
/Linux-v4.19/Documentation/netlabel/
D00-INDEX8 - NetLabel introduction, READ THIS FIRST.
/Linux-v4.19/Documentation/filesystems/
Dfuse-io.txt25 uncached, but fully written pages). No READ requests are ever sent for writes,
37 even for files opened for O_WRONLY it is possible that READ requests will be
/Linux-v4.19/Documentation/devicetree/bindings/mtd/
Djedec,spi-nor.txt10 be identified by the JEDEC READ ID opcode (0x9F).
52 JEDEC READ ID opcode (0x9F):
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/
Dos_types.h43 #undef READ
/Linux-v4.19/fs/
Dread_write.c387 read_write == READ ? F_RDLCK : F_WRLCK); in rw_verify_area()
392 read_write == READ ? MAY_READ : MAY_WRITE); in rw_verify_area()
404 iov_iter_init(&iter, READ, &iov, 1, len); in new_sync_read()
448 ret = rw_verify_area(READ, file, pos, count); in vfs_read()
677 if (type == READ) in do_iter_readv_writev()
699 if (type == READ) { in do_loop_readv_writev()
722 #define vrfy_dir(type) ((type) == READ ? VERIFY_WRITE : VERIFY_READ)
917 ret = rw_verify_area(READ, file, pos, tot_len); in do_iter_read()
922 ret = do_iter_readv_writev(file, iter, pos, READ, flags); in do_iter_read()
924 ret = do_loop_readv_writev(file, iter, pos, READ, flags); in do_iter_read()
[all …]
/Linux-v4.19/tools/perf/trace/beauty/
Dflock.c41 P_CMD(READ); in syscall_arg__scnprintf_flock()
/Linux-v4.19/Documentation/vm/
Dovercommit-accounting.rst59 | SHARED or READ-only - 0 cost (the file is the map not swap)
64 | PRIVATE READ-only - 0 cost (but of little use)
/Linux-v4.19/sound/isa/sb/
Dsb_common.c65 val = inb(SBP(chip, READ)); in snd_sbdsp_get_byte()
86 if (inb(SBP(chip, READ)) == 0xaa) in snd_sbdsp_reset()
/Linux-v4.19/drivers/memstick/host/
Drtsx_pci_ms.c152 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", in ms_transfer_data()
155 if (data_dir == READ) { in ms_transfer_data()
192 err = rtsx_pci_transfer_data(pcr, sg, 1, data_dir == READ, 10000); in ms_transfer_data()
367 if (req->data_dir == READ) { in rtsx_pci_ms_issue_cmd()

12345678