Home
last modified time | relevance | path

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

123456789

/linux/block/
A Dblk-throttle.c478 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 Dblk-wbt.c213 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 Ddm-stats.c682 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 Dmd-faulty.c110 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 Ddm-flakey.c130 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 Drtrs-clt-stats.c96 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 Drtrs-srv-stats.c31 (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 Dresctrl_val.c20 #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 Dcxgb4_dcb.h43 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 Djsm_tty.c526 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 Dpci-test-howto.rst215 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 Dpci-test-function.rst73 COPY/READ command.
83 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands.
/linux/fs/
A Dread_write.c386 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 Ddirect-io.c1149 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 Dpata_ixp4xx_cf.c135 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 Dpata_gayle.c53 if (rw == READ) in pata_gayle_data_xfer()
65 if (rw == READ) { in pata_gayle_data_xfer()
A Dpata_falcon.c56 if (rw == READ) { in pata_falcon_data_xfer()
75 if (rw == READ) { in pata_falcon_data_xfer()
A Dpata_buddha.c75 if (rw == READ) in pata_buddha_data_xfer()
87 if (rw == READ) { in pata_buddha_data_xfer()
/linux/tools/testing/selftests/powerpc/benchmarks/
A Dcontext_switch.c170 #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 Dfuse-io.rst31 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 Dsb_common.c51 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 Dufs-sysfs.c347 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 Djmb38x_ms.c390 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 Drtsx_pci_ms.c140 __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 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)

Completed in 61 milliseconds

123456789