Home
last modified time | relevance | path

Searched full:buffer (Results 1 – 24 of 24) sorted by relevance

/kvm-unit-tests/s390x/
H A Dmvpg.c36 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 Dsie-dat.c32 /* 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 Dintercept.c61 * Temporarily change the prefix page to our buffer, and store in test_spx()
63 * set in our buffer afterwards. in test_spx()
H A Dpfmf.c155 /* Force the buffer pages in */ in main()
H A Dsclp.c62 * 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 Dtopology.c405 * calls specific checks on the information buffer.
/kvm-unit-tests/lib/
H A Defi.c209 * 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 Dmemregions.c94 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 Dprintf.c14 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 Dcss_lib.c81 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 Dsclp-console.c221 * Hence we buffer here until we encounter a \n or the buffer
236 /* Buffer full or newline? */ in sclp_print_lm()
H A Dsclp.h75 /* SCLP event buffer flags */
/kvm-unit-tests/x86/
H A Dintel-iommu.c44 * 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 Dhyperv.h106 /* Trace buffer complete messages. */
H A Ddebug.c421 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 Defi.h500 void *buffer);
503 void *buffer);
511 void *buffer);
515 void *buffer);
522 void *buffer; member
/kvm-unit-tests/lib/x86/
H A Dsetup.c216 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 Dsmp.h8 * two pages for the stack (plus some buffer in-between).
H A Dintel-iommu.h90 #define VTD_GCMD_WBF 0x8000000 /* Write Buffer Flush */
/kvm-unit-tests/lib/arm/asm/
H A Dsysreg.h15 #define CR_W (1 << 3) /* Write buffer enable */
/kvm-unit-tests/lib/libfdt/
H A Dlibfdt.h28 * 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 Dfdt.c15 * that the given buffer contains what appears to be a flattened
H A Dfdt_rw.c464 /* First attempt to build converted tree at beginning of buffer */ in fdt_open_into()
/kvm-unit-tests/lib/s390x/asm/
H A Dcpacf.h469 * @ucbuf: buffer for unconditioned data
471 * @cbuf: buffer for conditioned data