Home
last modified time | relevance | path

Searched full:read (Results 1 – 25 of 70) sorted by relevance

123

/kvm-unit-tests/lib/x86/
H A Datomic.h15 * atomic_read - read atomic variable
68 * atomic64_read - read atomic64 variable
98 * atomic_read - read atomic variable
153 * atomic64_read - read atomic64 variable
157 * Doesn't imply a read memory barrier.
/kvm-unit-tests/riscv/efi/
H A Drun64 -blockdev node-name=pflash0,driver=file,read-only=on,filename="$EFI_UEFI" \
80 -blockdev node-name=pflash0,driver=file,read-only=on,filename="$EFI_UEFI" \
89 -blockdev node-name=pflash0,driver=file,read-only=on,filename="$EFI_UEFI" \
102 -blockdev node-name=pflash0,driver=file,read-only=on,filename="$EFI_UEFI" \
/kvm-unit-tests/s390x/snippets/lib/
H A Dsnippet-exit.h16 mb(); /* host may read any memory written by the guest before */ in force_exit()
23 mb(); /* host may read any memory written by the guest before */ in force_exit_value()
/kvm-unit-tests/riscv/
H A Dsbi-sse.c213 sbiret_report_error(&ret, expected_error, "Read %s error", str); in sse_read_write_test()
240 sbiret_report_error(&ret, SBI_SUCCESS, "Read multiple attributes"); in sse_test_attrs()
246 sbiret_report_error(&ret, SBI_SUCCESS, "Read single attribute %s", attr_name); in sse_test_attrs()
248 …report_fail("Attribute 0x%x single value read (0x%lx) differs from the one read with multiple attr… in sse_test_attrs()
361 struct alias_test_params *write, *read; in test_alias() local
384 read = &params[r]; in test_alias()
386 ret = sbi_sse_read_attrs(read->event_id, read->attr_id, read->attr_count, &read_value); in test_alias()
389 "Read %s, event 0x%lx attr 0x%lx, attr count 0x%lx", in test_alias()
390 read->str, read->event_id, read->attr_id, read->attr_count); in test_alias()
396 "Read %s, event 0x%lx attr 0x%lx, attr count 0x%lx value %lx", in test_alias()
[all …]
/kvm-unit-tests/x86/
H A Dtsc_adjust.c20 "MSR_IA32_TSC_ADJUST msr read / write"); in main()
26 "MSR_IA32_TSC_ADJUST msr read / write"); in main()
H A Dsmap.c83 "read from user page with SMAP=1, AC=0, WP=0, PTE.U=1 && PTE.W=0"); in check_smap_nowp()
138 report(pf_count == 0, "read from user page with AC=1"); in main()
144 "read from user page with AC=0"); in main()
157 "read from user page with AC=0"); in main()
H A DREADME25 access: lots of page table related access (pte/pde) (read/write)
36 tsc: write to tsc(0) and write to tsc(100000000000) and read it back
H A Dkvmclock.c150 /* Make sure that the version is read before the data. */ in pvclock_read_begin()
159 /* Make sure that the version is re-read after the data. */ in pvclock_read_retry()
/kvm-unit-tests/s390x/
H A Dmvpg.c201 /* MVPG should still succeed when the source is read-only */ in test_mmu_prot()
204 report(page_ok(fresh) && !cc, "source read only"); in test_mmu_prot()
210 * exception should be raised; when the destination is read-only, in test_mmu_prot()
216 report(clear_pgm_int() == PGM_INT_CODE_PROTECTION, "destination read only"); in test_mmu_prot()
249 report(clear_pgm_int() == PGM_INT_CODE_PROTECTION, "destination read only"); in test_mmu_prot()
H A Dsclp.c33 static uint32_t valid_code; /* valid command code for READ SCP INFO */
182 * do), this will be a read-only test. in test_sccb_prefix()
289 report(len == 144, "Insufficient SCCB length (Read SCP info)"); in test_short()
294 report(len == 40, "Insufficient SCCB length (Read CPU info)"); in test_short()
429 * Find a valid READ INFO command code; not all codes are always allowed, and
H A Dtprot.c25 report_prefix_push("Page read/writeable"); in test_tprot_rw()
/kvm-unit-tests/scripts/
H A Dcommon.bash21 while read -r -u $fd line; do
43 while read -r -u $fd; do
H A Darch-run.bash483 IFS='[ .]' read -r _ _ _ QEMU_MAJOR QEMU_MINOR QEMU_MICRO rest <<<"$QEMU_VERSION_STRING"
488 IFS=. read -r KERNEL_VERSION KERNEL_PATCHLEVEL rest <<<"$KERNEL_VERSION_STRING"
489 IFS=- read -r KERNEL_SUBLEVEL KERNEL_EXTRAVERSION <<<"$rest"
503 …grep -E '^[[:blank:]]*[[:alpha:]_][[:alnum:]_]*=' "$KVM_UNIT_TESTS_ENV_OLD" | while IFS= read -r l…
540 IFS=. read -r v p rest <<<"$minver"
541 IFS=- read -r s x <<<"$rest"
/kvm-unit-tests/
H A Drun_tests.sh104 while read -r line; do
124 while read -r line; do
/kvm-unit-tests/lib/arm/asm/
H A Dassembler.h19 mrc p15, 0, \tmp, c0, c0, 1 // read ctr
/kvm-unit-tests/arm/
H A Dmte.c199 report((val == 0) && mte_exception && (get_clear_tfsr() == 0), "read"); in mte_sync_test()
224 report((val == 0) && mte_exception && (get_clear_tfsr() == 0), "read"); in mte_asymm_test()
245 report((val == 0xffffffff) && (get_clear_tfsr() == TFSR_EL1_TF0), "read"); in mte_async_test()
H A Dgic.c410 * Some registers are byte accessible, do a byte-wide read and write of known
446 * and checking the number of cleared bits in the value read back. in test_priorities()
558 "GICD_TYPER is read-only"); in gic_test_mmio()
560 "GICD_IIDR is read-only"); in gic_test_mmio()
563 report(test_readonly_32(idreg, false), "ICPIDR2 is read-only"); in gic_test_mmio()
595 "GITS_IIDR is read-only"), in test_its_introspection()
599 "GITS_TYPER is read-only"); in test_its_introspection()
H A Dpmu.c156 * pmccntr read after this function returns the exact instructions executed in
227 * pmccntr read after this function returns the exact instructions executed
308 * pmccntr read after this function returns the exact instructions executed
396 * Test setting through PMESELR/PMXEVTYPER and PMEVTYPERn read, in test_event_counter_config()
422 /* read the counter value */ in test_event_counter_config()
425 "read of a counter programmed with unsupported event"); in test_event_counter_config()
1078 printf("Read %"PRId64" then %"PRId64".\n", a, b); in check_cycles_increase()
1096 * counting, allowing the cycle counter or event counters to be read at the
1197 /* store read-only and RES0 fields of the PMCR bottom-half*/ in pmu_probe()
/kvm-unit-tests/lib/arm64/asm/
H A Dassembler.h23 mrs \tmp, ctr_el0 // read CTR
H A Dio.h5 * Generic IO read/write. These perform native-endian accesses.
/kvm-unit-tests/lib/
H A Defi.c209 * Open the file and read it into a buffer.
259 /* Perform the actual read */ in efi_load_image()
260 status = file->read(file, &buffer_size, *data); in efi_load_image()
264 status = file->read(file, &buffer_size, *data); in efi_load_image()
/kvm-unit-tests/lib/ppc64/asm/
H A Dpgtable-hwdef.h44 #define _PAGE_READ 0x00004 /* read access allowed */
/kvm-unit-tests/lib/s390x/
H A Dcss_lib.c205 /* Read the SCHIB for this subchannel */ in css_enable()
236 * Read the SCHIB again to verify the enablement in css_enable()
267 /* Read the SCHIB for this subchannel */ in schib_update_mb()
302 * Read the SCHIB again in schib_update_mb()
/kvm-unit-tests/lib/riscv/asm/
H A Dio.h11 /* Generic IO read/write. These perform native-endian accesses. */
/kvm-unit-tests/lib/x86/asm/
H A Ddebugreg.h55 #define DR7_DATA_IO_DRx(x) DR7_RW_TYPE_DRx(x, 3) /* Read or Write */

123