/kvm-unit-tests/s390x/ |
H A D | mvpg.c | 36 static uint8_t buffer[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE))); variable 112 mvpg(KFC(i), buffer, source); in test_exceptions() 129 mvpg(KFC(3), buffer, source); in test_exceptions() 133 mvpg(KFC(i), buffer, source); in test_exceptions() 142 mvpg(0, buffer, (void *)PAGE_MASK); in test_exceptions() 159 cc = mvpg(0, buffer, source); in test_success() 160 report(page_ok(buffer) && !cc, "Supervisor state MVPG successful"); in test_success() 161 memset(buffer, 0xff, PAGE_SIZE); in test_success() 164 cc = mvpg(0, buffer, source); in test_success() 166 report(page_ok(buffer) && !cc, "Problem state MVPG successful"); in test_success()
|
H A D | sie-dat.c | 32 /* guest will tell us the guest physical address of the test buffer */ in test_sie_dat() 38 report_info("test buffer gpa=0x%lx hva=%p", test_page_gpa, test_page_hva); in test_sie_dat() 40 /* guest will now write to the test buffer and we verify the contents */ in test_sie_dat() 53 report(contents_match, "test buffer contents match"); in test_sie_dat()
|
H A D | intercept.c | 61 * Temporarily change the prefix page to our buffer, and store in test_spx() 63 * set in our buffer afterwards. in test_spx()
|
H A D | pfmf.c | 155 /* Force the buffer pages in */ in main()
|
H A D | sclp.c | 62 * The template is used to simplify tests where the same buffer content is 114 * it's enough to clear/copy the first 8 bytes of the buffer, while the SCCB 231 /* all the addresses above, but adding the offset of a valid buffer */ in test_sccb_high()
|
H A D | topology.c | 405 * calls specific checks on the information buffer.
|
/kvm-unit-tests/lib/ |
H A D | efi.c | 209 * Open the file and read it into a buffer. 239 /* Find the file size in order to allocate the buffer */ in efi_load_image() 271 static int efi_grow_buffer(efi_status_t *status, void **buffer, uint64_t buffer_size) in efi_grow_buffer() argument 275 if (!*buffer && buffer_size) { in efi_grow_buffer() 281 if (*buffer) in efi_grow_buffer() 282 efi_free_pool(*buffer); in efi_grow_buffer() 284 efi_bs_call(allocate_pool, EFI_LOADER_DATA, buffer_size, buffer); in efi_grow_buffer() 285 if (*buffer) { in efi_grow_buffer() 292 if (!try_again && EFI_ERROR(*status) && *buffer) { in efi_grow_buffer() 293 efi_free_pool(*buffer); in efi_grow_buffer() [all …]
|
H A D | memregions.c | 94 u8 *buffer = (u8 *)*mem_map->map; in memregions_efi_init() local 100 efi_memory_desc_t *d = (efi_memory_desc_t *)&buffer[i]; in memregions_efi_init()
|
H A D | printf.c | 14 char *buffer; member 29 *p->buffer++ = c; in addchar() 139 s8 = (u8 *)(p->buffer - p->added + pos); in print_wstring() 305 s.buffer = buf; in vsnprintf() 415 *s.buffer = 0; in vsnprintf()
|
/kvm-unit-tests/lib/s390x/ |
H A D | css_lib.c | 81 char buffer[510]; in get_chsc_scsc() local 96 for (i = 0, p = buffer; i < CSS_GENERAL_FEAT_BITLEN; i++) { in get_chsc_scsc() 98 n = snprintf(p, sizeof(buffer), "%d,", i); in get_chsc_scsc() 102 report_info("General features: %s", buffer); in get_chsc_scsc() 104 for (i = 0, p = buffer; i < CSS_CHSC_FEAT_BITLEN; i++) { in get_chsc_scsc() 106 n = snprintf(p, sizeof(buffer), "%d,", i); in get_chsc_scsc() 110 report_info("CHSC features: %s", buffer); in get_chsc_scsc()
|
H A D | sclp-console.c | 221 * Hence we buffer here until we encounter a \n or the buffer 236 /* Buffer full or newline? */ in sclp_print_lm()
|
H A D | sclp.h | 75 /* SCLP event buffer flags */
|
/kvm-unit-tests/x86/ |
H A D | intel-iommu.c | 44 * DMA the first 4 bytes of the page to EDU device buffer in vtd_test_dmar() 50 * DMA the first 4 bytes of EDU device buffer into the page in vtd_test_dmar()
|
H A D | hyperv.h | 106 /* Trace buffer complete messages. */
|
H A D | debug.c | 421 uint8_t buffer[128] __attribute__((aligned(64))) = { }; in bus_lock() local 422 atomic64_t *val = (atomic64_t *)&buffer[60]; in bus_lock()
|
/kvm-unit-tests/lib/linux/ |
H A D | efi.h | 500 void *buffer); 503 void *buffer); 511 void *buffer); 515 void *buffer); 522 void *buffer; member
|
/kvm-unit-tests/lib/x86/ |
H A D | setup.c | 216 efi_memory_desc_t *buffer = *map->map; in setup_memory_allocator() local 220 * The 'buffer' contains multiple descriptors that describe memory in setup_memory_allocator() 227 d = (efi_memory_desc_t *)(&((u8 *)buffer)[i]); in setup_memory_allocator()
|
H A D | smp.h | 8 * two pages for the stack (plus some buffer in-between).
|
H A D | intel-iommu.h | 90 #define VTD_GCMD_WBF 0x8000000 /* Write Buffer Flush */
|
/kvm-unit-tests/lib/arm/asm/ |
H A D | sysreg.h | 15 #define CR_W (1 << 3) /* Write buffer enable */
|
/kvm-unit-tests/lib/libfdt/ |
H A D | libfdt.h | 28 * tree, but its buffer did not have sufficient space to 30 * device tree to a buffer with more space. */ 291 * fdt_check_header() checks that the given buffer contains what 297 * 0, if the buffer appears to contain a valid device tree 312 * fdt to the buffer at buf of size bufsize. The buffer may overlap 862 * @buf: character buffer to contain the returned path (will be overwritten) 863 * @buflen: size of the character buffer at buf 866 * nodeoffset, and records that path in the buffer at buf. 877 * characters and will not fit in the given buffer.
|
H A D | fdt.c | 15 * that the given buffer contains what appears to be a flattened
|
H A D | fdt_rw.c | 464 /* First attempt to build converted tree at beginning of buffer */ in fdt_open_into()
|
/kvm-unit-tests/lib/s390x/asm/ |
H A D | cpacf.h | 469 * @ucbuf: buffer for unconditioned data 471 * @cbuf: buffer for conditioned data
|