Searched refs:check_buf (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/mtd/tests/ |
H A D | torturetest.c | 66 static unsigned char *check_buf; variable 102 err = mtd_read(mtd, addr, len, &read, check_buf); in check_eraseblock() 119 if (memcmp(buf, check_buf, len)) { in check_eraseblock() 121 report_corrupt(check_buf, buf); in check_eraseblock() 225 check_buf = kmalloc(mtd->erasesize, GFP_KERNEL); in tort_init() 226 if (!check_buf) in tort_init() 339 kfree(check_buf); in tort_init() 361 static int countdiffs(unsigned char *buf, unsigned char *check_buf, 449 static int countdiffs(unsigned char *buf, unsigned char *check_buf, in countdiffs() argument 457 if (buf[i] != check_buf[i]) { in countdiffs() [all …]
|
/openbmc/linux/lib/ |
H A D | stackinit_kunit.c | 22 static u8 check_buf[MAX_VAR_SIZE]; variable 161 memset(check_buf, 0x00, sizeof(check_buf)); \ 167 sum += (check_buf[i] != 0xFF); \ 171 memset(check_buf, 0x00, sizeof(check_buf)); \ 188 sum += (check_buf[i] == 0xFF); \ 236 memcpy(check_buf, target_start, target_size); \ 372 memcpy(check_buf, target_start, target_size); in __leaf_switch_none() 383 memcpy(check_buf, target_start, target_size); in __leaf_switch_none()
|
H A D | test_meminit.c | 187 static bool __init check_buf(void *buf, int size, bool want_ctor, in check_buf() function 240 fail |= check_buf(bulk_array[i], size, want_ctor, want_rcu, want_zero); in do_kmem_cache_size() 247 fail |= check_buf(buf, size, want_ctor, want_rcu, want_zero); in do_kmem_cache_size() 274 fail |= check_buf(buf, size, want_ctor, want_rcu, in do_kmem_cache_size()
|
/openbmc/u-boot/cmd/aspeed/nettest/ |
H A D | mac.c | 1650 char check_buf (MAC_ENGINE *eng, int loopcnt) in check_buf() function 2275 check_buf(eng, loop_checknum); in TestingLoop() 2277 check_buf(eng, (eng->run.loop_max % loop_checknum)); in TestingLoop() 2296 if (check_buf(eng, loop_checknum)) in TestingLoop() 2306 if (check_buf(eng, (eng->run.loop_max % loop_checknum))) in TestingLoop()
|