Searched refs:check_buf (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/mtd/tests/ |
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 …]
|
/linux-6.12.1/lib/ |
D | stackinit_kunit.c | 22 static u8 check_buf[MAX_VAR_SIZE]; variable 170 memset(check_buf, 0x00, sizeof(check_buf)); \ 176 sum += (check_buf[i] != 0xFF); \ 178 memset(check_buf, 0x00, sizeof(check_buf)); \ 201 sum += (check_buf[i] == 0xFF); \ 248 memcpy(check_buf, target_start, target_size); \ 384 memcpy(check_buf, target_start, target_size); in __leaf_switch_none() 395 memcpy(check_buf, target_start, target_size); in __leaf_switch_none()
|
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()
|