Home
last modified time | relevance | path

Searched refs:FILE_BUF_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/tests/tcg/multiarch/linux/
H A Dlinux-test.c73 #define FILE_BUF_SIZE 300 macro
78 uint8_t buf[FILE_BUF_SIZE]; in test_file()
79 uint8_t buf2[FILE_BUF_SIZE]; in test_file()
80 uint8_t buf3[FILE_BUF_SIZE]; in test_file()
101 for(i=0;i < FILE_BUF_SIZE; i++) in test_file()
104 if (len != (FILE_BUF_SIZE / 2)) in test_file()
109 vecs[1].iov_len = (FILE_BUF_SIZE / 2) - 16; in test_file()
111 if (len != (FILE_BUF_SIZE / 2)) in test_file()
120 if (len != FILE_BUF_SIZE) in test_file()
122 if (memcmp(buf, buf2, FILE_BUF_SIZE) != 0) in test_file()
[all …]
/openbmc/skeleton/op-flasher/
H A Dflasher_obj.c46 #define FILE_BUF_SIZE 0x10000 macro
47 static uint8_t file_buf[FILE_BUF_SIZE] __aligned(0x1000);
126 len = read(fd, file_buf, FILE_BUF_SIZE); in program_file()