Home
last modified time | relevance | path

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

12345678910

/linux-6.1.9/block/
Dblk-throttle.c332 INIT_LIST_HEAD(&sq->queued[READ]); in throtl_service_queue_init()
357 for (rw = READ; rw <= WRITE; rw++) { in throtl_pd_alloc()
363 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
365 tg->iops[READ][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc()
367 tg->bps_conf[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
369 tg->iops_conf[READ][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc()
424 for (rw = READ; rw <= WRITE; rw++) { in tg_update_has_rules()
457 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid()
458 tg->iops[READ][LIMIT_LOW] || tg->iops[WRITE][LIMIT_LOW]) { in blk_throtl_update_limit_valid()
478 tg->bps[READ][LIMIT_LOW] = 0; in throtl_pd_offline()
[all …]
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-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs-srv-stats.c42 sum.dir[READ].cnt += r->dir[READ].cnt; in rtrs_srv_stats_rdma_to_str()
43 sum.dir[READ].size_total += r->dir[READ].size_total; in rtrs_srv_stats_rdma_to_str()
49 sum.dir[READ].cnt, sum.dir[READ].size_total, in rtrs_srv_stats_rdma_to_str()
Drtrs-clt-stats.c92 sum.dir[READ].cnt += r->dir[READ].cnt; in rtrs_clt_stats_rdma_to_str()
93 sum.dir[READ].size_total += r->dir[READ].size_total; in rtrs_clt_stats_rdma_to_str()
100 sum.dir[READ].cnt, sum.dir[READ].size_total, in rtrs_clt_stats_rdma_to_str()
/linux-6.1.9/drivers/md/
Ddm-stats.c187 return atomic_read(&shared->in_flight[READ]) + in dm_stat_in_flight()
225 atomic_read(&shared->in_flight[READ]), in dm_stats_cleanup()
332 atomic_set(&s->stat_shared[ni].in_flight[READ], 0); in dm_stats_create()
532 in_flight_read = (unsigned)atomic_read(&shared->in_flight[READ]); in dm_stat_round()
535 p->io_ticks[READ] += difference; in dm_stat_round()
712 shared->tmp.sectors[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
714 shared->tmp.ios[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
716 shared->tmp.merges[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
718 shared->tmp.ticks[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
720 shared->tmp.io_ticks[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
[all …]
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()
Ddm-flakey.c130 fc->corrupt_bio_rw = READ; in parse_features()
342 if (bio_data_dir(bio) == READ) { in flakey_map()
391 if (!*error && pb->bio_submitted && (bio_data_dir(bio) == READ)) { in flakey_end_io()
392 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == READ) && in flakey_end_io()
/linux-6.1.9/tools/testing/selftests/kvm/s390x/
Dmemop.c27 READ, enumerator
62 if (desc.mode == READ) in ksmo_from_desc()
68 if (desc.mode == READ) in ksmo_from_desc()
74 if (desc.mode == READ) in ksmo_from_desc()
281 CHECK_N_DO(MOP, __mop_cpu, __target, READ, mem2, __size, \
296 CHECK_N_DO(MOP, __mop_cpu, __target, READ, mem2, __size, ##__VA_ARGS__);\
457 CHECK_N_DO(ERR_PROT_MOP, t.vcpu, LOGICAL, READ, mem2, t.size, GADDR_V(mem2), KEY(2)); in test_errors_key()
459 CHECK_N_DO(ERR_PROT_MOP, t.vm, ABSOLUTE, READ, mem2, t.size, GADDR_V(mem2), KEY(2)); in test_errors_key()
488 MOP(t.vm, ABSOLUTE, READ, &teid, sizeof(teid), GADDR(prefix + 168)); in test_termination()
506 CHECK_N_DO(ERR_PROT_MOP, t.vm, ABSOLUTE, READ, mem2, t.size, GADDR_V(mem2), KEY(2)); in test_errors_key_storage_prot_override()
[all …]
Dtprot.c43 READ = 1, enumerator
107 { TEST_SIMPLE, page_store_prot, 0x20, READ },
124 { TEST_FETCH_PROT_OVERRIDE, (void *)0x00, 0x10, READ },
133 { TEST_STORAGE_PROT_OVERRIDE, page_store_prot, 0x20, READ },
/linux-6.1.9/tools/testing/selftests/resctrl/
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-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
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-6.1.9/Documentation/translations/zh_CN/mm/
Dovercommit-accounting.rst58 | SHARED or READ-only - 0 cost (该文件是映射而不是交换)
63 | PRIVATE READ-only - 0 cost (但作用不大)
/linux-6.1.9/drivers/tty/serial/jsm/
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()
777 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control()
787 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control()
815 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control()
824 jsm_dbg(READ, &ch->ch_bd->pci_dev, in jsm_check_queue_flow_control()
/linux-6.1.9/Documentation/devicetree/bindings/memory-controllers/ddr/
Djedec,lpddr3-timings.yaml57 Additional READ-to-READ delay in chip-to-chip cases in pico seconds.
97 Internal READ to PRECHARGE command delay in pico seconds.
112 Internal WRITE-to-READ command delay in pico seconds.
Djedec,lpddr3.yaml98 Additional READ-to-READ delay in chip-to-chip cases in terms of number
129 READ data latency in terms of number of clock cycles.
153 Internal READ to PRECHARGE command delay in terms of number of clock
179 Internal WRITE-to-READ command delay in terms of number of clock cycles.
/linux-6.1.9/Documentation/PCI/endpoint/
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
Dpci-test-function.rst73 COPY/READ command.
83 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands.
/linux-6.1.9/fs/
Dread_write.c375 read_write == READ ? MAY_READ : MAY_WRITE); in rw_verify_area()
387 iov_iter_ubuf(&iter, READ, buf, len); in new_sync_read()
427 iov_iter_kvec(&iter, READ, &iov, 1, iov.iov_len); in __kernel_read()
443 ret = rw_verify_area(READ, file, pos, count); in kernel_read()
461 ret = rw_verify_area(READ, file, pos, count); in vfs_read()
732 if (type == READ) in do_iter_readv_writev()
755 if (type == READ) { in do_loop_readv_writev()
791 ret = rw_verify_area(READ, file, pos, tot_len); in do_iter_read()
796 ret = do_iter_readv_writev(file, iter, pos, READ, flags); in do_iter_read()
798 ret = do_loop_readv_writev(file, iter, pos, READ, flags); in do_iter_read()
[all …]
Ddirect-io.c1146 if (iov_iter_rw(iter) == READ && !count) in __blockdev_direct_IO()
1160 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in __blockdev_direct_IO()
1167 if (iov_iter_rw(iter) == READ && offset >= dio->i_size) { in __blockdev_direct_IO()
1180 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in __blockdev_direct_IO()
1251 dio->should_dirty = user_backed_iter(iter) && iov_iter_rw(iter) == READ; in __blockdev_direct_IO()
1308 if (iov_iter_rw(iter) == READ && (dio->flags & DIO_LOCKING)) in __blockdev_direct_IO()
1320 (iov_iter_rw(iter) == READ || dio->result == count)) in __blockdev_direct_IO()
1333 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) in __blockdev_direct_IO()
/linux-6.1.9/drivers/ata/
Dpata_ixp4xx_cf.c135 ata_dev_dbg(adev, "%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()
Dpata_gayle.c53 if (rw == READ) in pata_gayle_data_xfer()
65 if (rw == READ) { in pata_gayle_data_xfer()
Dpata_falcon.c56 if (rw == READ) { in pata_falcon_data_xfer()
75 if (rw == READ) { in pata_falcon_data_xfer()
/linux-6.1.9/tools/testing/selftests/powerpc/benchmarks/
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-6.1.9/Documentation/filesystems/
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-6.1.9/sound/isa/sb/
Dsb_common.c51 val = inb(SBP(chip, READ)); in snd_sbdsp_get_byte()
72 if (inb(SBP(chip, READ)) == 0xaa) in snd_sbdsp_reset()

12345678910