| /Linux-v5.4/block/ |
| D | blk-throttle.c | 494 for (rw = READ; rw <= WRITE; rw++) { in throtl_pd_alloc() 500 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 502 tg->iops[READ][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc() 504 tg->bps_conf[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 506 tg->iops_conf[READ][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc() 555 for (rw = READ; rw <= WRITE; rw++) in tg_update_has_rules() 582 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid() 583 tg->iops[READ][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) { in blk_throtl_update_limit_valid() 598 tg->bps[READ][LIMIT_LOW] = 0; in throtl_pd_offline() 600 tg->iops[READ][LIMIT_LOW] = 0; in throtl_pd_offline() [all …]
|
| D | mq-deadline.c | 169 dd->next_rq[READ] = NULL; in deadline_move_request() 206 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_fifo_request() 213 if (data_dir == READ || !blk_queue_is_zoned(rq->q)) in deadline_fifo_request() 242 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_next_request() 249 if (data_dir == READ || !blk_queue_is_zoned(rq->q)) in deadline_next_request() 283 reads = !list_empty(&dd->fifo_list[READ]); in __dd_dispatch_request() 291 rq = deadline_next_request(dd, READ); in __dd_dispatch_request() 303 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[READ])); in __dd_dispatch_request() 309 data_dir = READ; in __dd_dispatch_request() 397 BUG_ON(!list_empty(&dd->fifo_list[READ])); in dd_exit_queue() [all …]
|
| D | blk-wbt.c | 212 return (stat[READ].nr_samples >= 1 && in stat_sample_valid() 251 (thislat > rwb->min_lat_nsec && !stat[READ].nr_samples)) { in latency_exceeded() 275 if (stat[READ].min > rwb->min_lat_nsec) { in latency_exceeded() 276 trace_wbt_lat(bdi, stat[READ].min); in latency_exceeded() 677 return READ; in wbt_data_dir()
|
| /Linux-v5.4/drivers/md/ |
| D | dm-stats.c | 187 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 …]
|
| D | md-faulty.c | 110 case ReadPersistent*2+READ: return 1; in check_sector() 111 case ReadFixable*2+READ: return 1; in check_sector() 115 case AllPersist*2+READ: in check_sector() 192 bio_end_sector(bio), READ)) in faulty_make_request()
|
| D | dm-flakey.c | 130 fc->corrupt_bio_rw = READ; in parse_features() 341 if (bio_data_dir(bio) == READ) { in flakey_map() 390 if (!*error && pb->bio_submitted && (bio_data_dir(bio) == READ)) { in flakey_end_io() 391 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == READ) && in flakey_end_io()
|
| /Linux-v5.4/arch/sh/math-emu/ |
| D | math.c | 55 #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-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_dcb.h | 43 INIT_PORT_DCB_CMD(__pcmd, __port, READ, FW_PORT_ACTION_DCB_READ_RECV) 46 INIT_PORT_DCB_CMD(__pcmd, __port, READ, FW_PORT_ACTION_DCB_READ_TRANS) 49 INIT_PORT_DCB_CMD(__pcmd, __port, READ, FW_PORT_ACTION_DCB_READ_DET)
|
| /Linux-v5.4/drivers/tty/serial/jsm/ |
| D | jsm_tty.c | 523 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-v5.4/Documentation/PCI/endpoint/ |
| D | pci-test-howto.rst | 215 READ ( 1 bytes): OKAY 216 READ ( 1024 bytes): OKAY 217 READ ( 1025 bytes): OKAY 218 READ (1024000 bytes): OKAY 219 READ (1024001 bytes): OKAY
|
| D | pci-test-function.rst | 73 COPY/READ command. 83 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands.
|
| /Linux-v5.4/drivers/ata/ |
| D | pata_falcon.c | 59 if (rw == READ) { in pata_falcon_data_xfer() 78 if (rw == READ) { in pata_falcon_data_xfer()
|
| D | pata_ixp4xx_cf.c | 56 if (rw == READ) in ixp4xx_mmio_data_xfer() 68 if (rw == READ) { in ixp4xx_mmio_data_xfer()
|
| D | pata_gayle.c | 53 if (rw == READ) in pata_gayle_data_xfer() 65 if (rw == READ) { in pata_gayle_data_xfer()
|
| D | pata_buddha.c | 75 if (rw == READ) in pata_buddha_data_xfer() 87 if (rw == READ) { in pata_buddha_data_xfer()
|
| /Linux-v5.4/tools/testing/selftests/powerpc/benchmarks/ |
| D | context_switch.c | 159 #define READ 0 macro 177 assert(read(pipe_fd1[READ], &c, 1) == 1); in pipe_thread1() 195 assert(read(pipe_fd2[READ], &c, 1) == 1); in pipe_thread2()
|
| /Linux-v5.4/Documentation/filesystems/ |
| D | fuse-io.txt | 25 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-v5.4/Documentation/devicetree/bindings/mtd/ |
| D | jedec,spi-nor.txt | 10 be identified by the JEDEC READ ID opcode (0x9F). 52 JEDEC READ ID opcode (0x9F):
|
| /Linux-v5.4/tools/perf/trace/beauty/ |
| D | flock.c | 43 P_CMD(READ); in syscall_arg__scnprintf_flock()
|
| /Linux-v5.4/fs/ |
| D | read_write.c | 393 read_write == READ ? F_RDLCK : F_WRLCK); in rw_verify_area() 400 read_write == READ ? MAY_READ : MAY_WRITE); in rw_verify_area() 412 iov_iter_init(&iter, READ, &iov, 1, len); in new_sync_read() 457 ret = rw_verify_area(READ, file, pos, count); in vfs_read() 690 if (type == READ) in do_iter_readv_writev() 713 if (type == READ) { in do_loop_readv_writev() 928 ret = rw_verify_area(READ, file, pos, tot_len); in do_iter_read() 933 ret = do_iter_readv_writev(file, iter, pos, READ, flags); in do_iter_read() 935 ret = do_loop_readv_writev(file, iter, pos, READ, flags); in do_iter_read() 995 ret = import_iovec(READ, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); in vfs_readv() [all …]
|
| D | direct-io.c | 1196 if (iov_iter_rw(iter) == READ && !count) in do_blockdev_direct_IO() 1212 if (iov_iter_rw(iter) == READ) { in do_blockdev_direct_IO() 1231 if (iov_iter_rw(iter) == READ && offset >= dio->i_size) { in do_blockdev_direct_IO() 1311 dio->should_dirty = iter_is_iovec(iter) && iov_iter_rw(iter) == READ; in do_blockdev_direct_IO() 1368 if (iov_iter_rw(iter) == READ && (dio->flags & DIO_LOCKING)) in do_blockdev_direct_IO() 1380 (iov_iter_rw(iter) == READ || dio->result == count)) in do_blockdev_direct_IO()
|
| /Linux-v5.4/sound/isa/sb/ |
| D | sb_common.c | 51 val = inb(SBP(chip, READ)); in snd_sbdsp_get_byte() 72 if (inb(SBP(chip, READ)) == 0xaa) in snd_sbdsp_reset()
|
| /Linux-v5.4/Documentation/vm/ |
| D | overcommit-accounting.rst | 59 | SHARED or READ-only - 0 cost (the file is the map not swap) 64 | PRIVATE READ-only - 0 cost (but of little use)
|
| /Linux-v5.4/drivers/memstick/host/ |
| D | rtsx_pci_ms.c | 140 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", in ms_transfer_data() 143 if (data_dir == READ) { in ms_transfer_data() 180 err = rtsx_pci_transfer_data(pcr, sg, 1, data_dir == READ, 10000); in ms_transfer_data() 355 if (req->data_dir == READ) { in rtsx_pci_ms_issue_cmd()
|
| D | jmb38x_ms.c | 390 if (host->req->data_dir == READ) in jmb38x_ms_issue_cmd() 419 host->req->data_dir == READ in jmb38x_ms_issue_cmd() 437 t_val |= host->req->data_dir == READ in jmb38x_ms_issue_cmd() 487 host->req->data_dir == READ in jmb38x_ms_complete_cmd() 491 if (host->req->data_dir == READ) in jmb38x_ms_complete_cmd() 557 if (host->req->data_dir == READ) { in jmb38x_ms_isr()
|