Searched refs:check_buf (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/mtd/tests/ |
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, 457 if (buf[i] != check_buf[i]) { in countdiffs() 463 if (buf[i] != check_buf[i]) { in countdiffs() [all …]
|
/linux-6.3-rc2/lib/ |
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); \ 235 memcpy(check_buf, target_start, target_size); \ 371 memcpy(check_buf, target_start, target_size); in __leaf_switch_none() 382 memcpy(check_buf, target_start, target_size); in __leaf_switch_none()
|
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()
|
Completed in 6 milliseconds