/linux/block/ |
A D | blk-throttle.c | 478 tg->bps[READ][LIMIT_LOW] = 0; in throtl_pd_offline() 1470 tg->bps_conf[READ][off]); in tg_prfill_limit() 1476 tg->iops_conf[READ][off]); in tg_prfill_limit() 1582 tg->bps[READ][LIMIT_LOW] = min(tg->bps_conf[READ][LIMIT_LOW], in tg_set_limit() 1586 tg->iops[READ][LIMIT_LOW] = min(tg->iops_conf[READ][LIMIT_LOW], in tg_set_limit() 1594 if (!(tg->bps[READ][LIMIT_LOW] || tg->iops[READ][LIMIT_LOW] || in tg_set_limit() 1665 if (tg->bps[READ][LIMIT_LOW] || tg->iops[READ][LIMIT_LOW]) in __tg_last_low_overflow_time() 1735 read_limit = tg->bps[READ][LIMIT_LOW] || tg->iops[READ][LIMIT_LOW]; in throtl_tg_can_upgrade() 1919 tg->last_io_disp[READ] += atomic_xchg(&tg->last_io_split_cnt[READ], 0); in throtl_downgrade_check() 1941 tg->last_io_disp[READ] = 0; in throtl_downgrade_check() [all …]
|
A D | blk-wbt.c | 213 return (stat[READ].nr_samples >= 1 && in stat_sample_valid() 252 (thislat > rwb->min_lat_nsec && !stat[READ].nr_samples)) { in latency_exceeded() 276 if (stat[READ].min > rwb->min_lat_nsec) { in latency_exceeded() 277 trace_wbt_lat(bdi, stat[READ].min); in latency_exceeded() 676 return READ; in wbt_data_dir()
|
/linux/drivers/md/ |
A D | dm-stats.c | 682 shared->tmp.ios[READ] = 0; in __dm_stat_init_temporary_percpu_totals() 698 shared->tmp.sectors[READ] += READ_ONCE(p->sectors[READ]); in __dm_stat_init_temporary_percpu_totals() 700 shared->tmp.ios[READ] += READ_ONCE(p->ios[READ]); in __dm_stat_init_temporary_percpu_totals() 702 shared->tmp.merges[READ] += READ_ONCE(p->merges[READ]); in __dm_stat_init_temporary_percpu_totals() 704 shared->tmp.ticks[READ] += READ_ONCE(p->ticks[READ]); in __dm_stat_init_temporary_percpu_totals() 706 shared->tmp.io_ticks[READ] += READ_ONCE(p->io_ticks[READ]); in __dm_stat_init_temporary_percpu_totals() 731 p->sectors[READ] -= shared->tmp.sectors[READ]; in __dm_stat_clear() 733 p->ios[READ] -= shared->tmp.ios[READ]; in __dm_stat_clear() 735 p->merges[READ] -= shared->tmp.merges[READ]; in __dm_stat_clear() 737 p->ticks[READ] -= shared->tmp.ticks[READ]; in __dm_stat_clear() [all …]
|
A 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()
|
A D | dm-flakey.c | 130 fc->corrupt_bio_rw = READ; in parse_features() 340 if (bio_data_dir(bio) == READ) { in flakey_map() 389 if (!*error && pb->bio_submitted && (bio_data_dir(bio) == READ)) { in flakey_end_io() 390 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == READ) && in flakey_end_io()
|
/linux/drivers/infiniband/ulp/rtrs/ |
A D | rtrs-clt-stats.c | 96 sum.dir[READ].cnt += r->dir[READ].cnt; in rtrs_clt_stats_rdma_to_str() 97 sum.dir[READ].size_total += r->dir[READ].size_total; in rtrs_clt_stats_rdma_to_str() 104 sum.dir[READ].cnt, sum.dir[READ].size_total, in rtrs_clt_stats_rdma_to_str()
|
A D | rtrs-srv-stats.c | 31 (s64)atomic64_read(&r->dir[READ].cnt), in rtrs_srv_stats_rdma_to_str() 32 (s64)atomic64_read(&r->dir[READ].size_total), in rtrs_srv_stats_rdma_to_str()
|
/linux/tools/testing/selftests/resctrl/ |
A D | resctrl_val.c | 20 #define READ 0 macro 115 if (op == READ) in get_event_and_umask() 116 imc_counters_config[count][READ].event = in get_event_and_umask() 123 if (op == READ) in get_event_and_umask() 124 imc_counters_config[count][READ].umask = in get_event_and_umask() 163 if (fscanf(fp, "%u", &imc_counters_config[count][READ].type) <= 0) { in read_from_imc_dir() 172 imc_counters_config[count][READ].type; in read_from_imc_dir() 190 get_event_and_umask(cas_count_cfg, count, READ); in read_from_imc_dir() 336 &imc_counters_config[imc][READ]; in get_mem_bw_imc() 372 close(imc_counters_config[imc][READ].fd); in get_mem_bw_imc()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A 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/drivers/tty/serial/jsm/ |
A D | jsm_tty.c | 526 jsm_dbg(READ, &ch->ch_bd->pci_dev, "start\n"); in jsm_input() 553 jsm_dbg(READ, &ch->ch_bd->pci_dev, "start\n"); in jsm_input() 561 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_input() 578 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_input() 584 jsm_dbg(READ, &ch->ch_bd->pci_dev, "start 2\n"); in jsm_input() 776 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control() 786 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control() 814 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control() 823 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control()
|
/linux/Documentation/PCI/endpoint/ |
A 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
|
A D | pci-test-function.rst | 73 COPY/READ command. 83 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands.
|
/linux/fs/ |
A D | read_write.c | 386 read_write == READ ? MAY_READ : MAY_WRITE); in rw_verify_area() 398 iov_iter_init(&iter, READ, &iov, 1, len); in new_sync_read() 438 iov_iter_kvec(&iter, READ, &iov, 1, iov.iov_len); in __kernel_read() 454 ret = rw_verify_area(READ, file, pos, count); in kernel_read() 472 ret = rw_verify_area(READ, file, pos, count); in vfs_read() 722 if (type == READ) in do_iter_readv_writev() 745 if (type == READ) { in do_loop_readv_writev() 781 ret = rw_verify_area(READ, file, pos, tot_len); in do_iter_read() 811 ret = rw_verify_area(READ, file, &iocb->ki_pos, tot_len); in vfs_iocb_iter_read() 1199 retval = rw_verify_area(READ, in.file, &pos, count); in do_sendfile() [all …]
|
A D | direct-io.c | 1149 if (iov_iter_rw(iter) == READ && !count) in do_blockdev_direct_IO() 1163 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in do_blockdev_direct_IO() 1170 if (iov_iter_rw(iter) == READ && offset >= dio->i_size) { in do_blockdev_direct_IO() 1183 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in do_blockdev_direct_IO() 1255 dio->should_dirty = iter_is_iovec(iter) && iov_iter_rw(iter) == READ; in do_blockdev_direct_IO() 1312 if (iov_iter_rw(iter) == READ && (dio->flags & DIO_LOCKING)) in do_blockdev_direct_IO() 1324 (iov_iter_rw(iter) == READ || dio->result == count)) in do_blockdev_direct_IO() 1337 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) in do_blockdev_direct_IO()
|
/linux/drivers/ata/ |
A D | pata_ixp4xx_cf.c | 135 ata_dev_printk(adev, KERN_DEBUG, "%s %d bytes\n", (rw == READ) ? "READ" : "WRITE", in ixp4xx_mmio_data_xfer() 146 if (rw == READ) in ixp4xx_mmio_data_xfer() 158 if (rw == READ) { in ixp4xx_mmio_data_xfer()
|
A D | pata_gayle.c | 53 if (rw == READ) in pata_gayle_data_xfer() 65 if (rw == READ) { in pata_gayle_data_xfer()
|
A D | pata_falcon.c | 56 if (rw == READ) { in pata_falcon_data_xfer() 75 if (rw == READ) { in pata_falcon_data_xfer()
|
A D | pata_buddha.c | 75 if (rw == READ) in pata_buddha_data_xfer() 87 if (rw == READ) { in pata_buddha_data_xfer()
|
/linux/tools/testing/selftests/powerpc/benchmarks/ |
A D | context_switch.c | 170 #define READ 0 macro 188 assert(read(pipe_fd1[READ], &c, 1) == 1); in pipe_thread1() 206 assert(read(pipe_fd2[READ], &c, 1) == 1); in pipe_thread2()
|
/linux/Documentation/filesystems/ |
A D | fuse-io.rst | 31 uncached, but fully written pages). No READ requests are ever sent for writes, 43 even for files opened for O_WRONLY it is possible that READ requests will be
|
/linux/sound/isa/sb/ |
A 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/drivers/scsi/ufs/ |
A D | ufs-sysfs.c | 347 return sysfs_emit(buf, "%lu\n", hba->monitor.nr_sec_rw[READ]); in read_total_sectors_show() 356 ktime_to_us(hba->monitor.total_busy[READ])); in read_total_busy_show() 364 return sysfs_emit(buf, "%lu\n", hba->monitor.nr_req[READ]); in read_nr_requests_show() 374 return sysfs_emit(buf, "%llu\n", div_u64(ktime_to_us(m->lat_sum[READ]), in read_req_latency_avg_show() 375 m->nr_req[READ])); in read_req_latency_avg_show() 385 ktime_to_us(hba->monitor.lat_max[READ])); in read_req_latency_max_show() 395 ktime_to_us(hba->monitor.lat_min[READ])); in read_req_latency_min_show() 405 ktime_to_us(hba->monitor.lat_sum[READ])); in read_req_latency_sum_show()
|
/linux/drivers/memstick/host/ |
A 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()
|
A 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()
|
/linux/Documentation/vm/ |
A 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)
|