Home
last modified time | relevance | path

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

12345678

/linux-6.6.21/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.6.21/block/
Dblk-throttle.c332 INIT_LIST_HEAD(&sq->queued[READ]); in throtl_service_queue_init()
356 for (rw = READ; rw <= WRITE; rw++) { in throtl_pd_alloc()
362 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
364 tg->iops[READ][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc()
366 tg->bps_conf[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
368 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.c272 return (stat[READ].nr_samples >= 1 && in stat_sample_valid()
321 (thislat > rwb->min_lat_nsec && !stat[READ].nr_samples)) { in latency_exceeded()
345 if (stat[READ].min > rwb->min_lat_nsec) { in latency_exceeded()
346 trace_wbt_lat(bdi, stat[READ].min); in latency_exceeded()
756 return READ; in wbt_data_dir()
/linux-6.6.21/drivers/md/
Ddm-stats.c187 return atomic_read(&shared->in_flight[READ]) + in dm_stat_in_flight()
230 atomic_read(&shared->in_flight[READ]), in dm_stats_cleanup()
337 atomic_set(&s->stat_shared[ni].in_flight[READ], 0); in dm_stats_create()
540 in_flight_read = (unsigned int)atomic_read(&shared->in_flight[READ]); in dm_stat_round()
543 p->io_ticks[READ] += difference; in dm_stat_round()
722 shared->tmp.sectors[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
724 shared->tmp.ios[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
726 shared->tmp.merges[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
728 shared->tmp.ticks[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
730 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()
/linux-6.6.21/tools/testing/selftests/kvm/s390x/
Dmemop.c27 READ, enumerator
68 if (desc->mode == READ) in ksmo_from_desc()
74 if (desc->mode == READ) in ksmo_from_desc()
80 if (desc->mode == READ) in ksmo_from_desc()
306 CHECK_N_DO(MOP, mop_cpu, mop_target, READ, mem2, size, in default_write_read()
317 CHECK_N_DO(MOP, mop_cpu, mop_target, READ, mem2, size, in default_read()
339 MOP(test->vm, ABSOLUTE, READ, mem2, 16, GADDR_V(mem2)); in default_cmpxchg()
352 MOP(test->vm, ABSOLUTE, READ, mem2, 16, GADDR_V(mem2)); in default_cmpxchg()
679 MOP(t.vcpu, LOGICAL, READ, mem2, max_block, GADDR_V(mem2)); in test_cmpxchg_key_concurrent()
759 CHECK_N_DO(ERR_PROT_MOP, t.vcpu, LOGICAL, READ, mem2, t.size, GADDR_V(mem1), KEY(2)); in test_errors_key()
[all …]
Dtprot.c42 READ = 1, enumerator
106 { TEST_SIMPLE, page_store_prot, 0x20, READ },
123 { TEST_FETCH_PROT_OVERRIDE, (void *)0x00, 0x10, READ },
132 { TEST_STORAGE_PROT_OVERRIDE, page_store_prot, 0x20, READ },
/linux-6.6.21/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.6.21/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.6.21/Documentation/translations/zh_CN/mm/
Dovercommit-accounting.rst58 | SHARED or READ-only - 0 cost (该文件是映射而不是交换)
63 | PRIVATE READ-only - 0 cost (但作用不大)
/linux-6.6.21/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.6.21/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.yaml78 Additional READ-to-READ delay in chip-to-chip cases in terms of number
109 READ data latency in terms of number of clock cycles.
133 Internal READ to PRECHARGE command delay in terms of number of clock
159 Internal WRITE-to-READ command delay in terms of number of clock cycles.
/linux-6.6.21/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.6.21/lib/
Dkunit_iov_iter.c118 iov_kunit_load_kvec(test, &iter, READ, kvec, ARRAY_SIZE(kvec), in iov_kunit_copy_to_kvec()
277 iov_kunit_load_bvec(test, &iter, READ, bvec, ARRAY_SIZE(bvec), in iov_kunit_copy_to_bvec()
426 iov_kunit_load_xarray(test, &iter, READ, xarray, bpages, npages); in iov_kunit_copy_to_xarray()
433 iov_iter_xarray(&iter, READ, xarray, pr->from, size); in iov_kunit_copy_to_xarray()
484 iov_kunit_load_xarray(test, &iter, READ, xarray, bpages, npages); in iov_kunit_copy_from_xarray()
541 iov_kunit_load_kvec(test, &iter, READ, kvec, ARRAY_SIZE(kvec), in iov_kunit_extract_pages_kvec()
619 iov_kunit_load_bvec(test, &iter, READ, bvec, ARRAY_SIZE(bvec), in iov_kunit_extract_pages_bvec()
699 iov_kunit_load_xarray(test, &iter, READ, xarray, bpages, npages); in iov_kunit_extract_pages_xarray()
/linux-6.6.21/fs/
Ddirect-io.c1128 if (iov_iter_rw(iter) == READ && !count) in __blockdev_direct_IO()
1142 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in __blockdev_direct_IO()
1150 if (iov_iter_rw(iter) == READ && offset >= dio->i_size) { in __blockdev_direct_IO()
1163 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in __blockdev_direct_IO()
1233 dio->should_dirty = user_backed_iter(iter) && iov_iter_rw(iter) == READ; in __blockdev_direct_IO()
1290 if (iov_iter_rw(iter) == READ && (dio->flags & DIO_LOCKING)) in __blockdev_direct_IO()
1302 (iov_iter_rw(iter) == READ || dio->result == count)) in __blockdev_direct_IO()
1315 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) in __blockdev_direct_IO()
Dread_write.c375 read_write == READ ? MAY_READ : MAY_WRITE); in rw_verify_area()
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()
754 if (type == READ) { in do_loop_readv_writev()
790 ret = rw_verify_area(READ, file, pos, tot_len); in do_iter_read()
795 ret = do_iter_readv_writev(file, iter, pos, READ, flags); in do_iter_read()
797 ret = do_loop_readv_writev(file, iter, pos, READ, flags); in do_iter_read()
820 ret = rw_verify_area(READ, file, &iocb->ki_pos, tot_len); in vfs_iocb_iter_read()
1208 retval = rw_verify_area(READ, in.file, &pos, count); in do_sendfile()
[all …]
/linux-6.6.21/drivers/ata/
Dpata_ixp4xx_cf.c136 ata_dev_dbg(adev, "%s %d bytes\n", (rw == READ) ? "READ" : "WRITE", in ixp4xx_mmio_data_xfer()
147 if (rw == READ) in ixp4xx_mmio_data_xfer()
159 if (rw == READ) { in ixp4xx_mmio_data_xfer()
Dpata_gayle.c52 if (rw == READ) in pata_gayle_data_xfer()
64 if (rw == READ) { in pata_gayle_data_xfer()
/linux-6.6.21/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.6.21/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.6.21/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()
/linux-6.6.21/tools/perf/trace/beauty/
Dflock.c43 P_CMD(READ); in syscall_arg__scnprintf_flock()

12345678