Home
last modified time | relevance | path

Searched refs:memcmp (Results 1 – 19 of 19) sorted by relevance

/lib/
Dtest_user_copy.c136 ret |= test(memcmp(kmem, expected, ksize), in test_copy_struct_from_user()
149 ret |= test(memcmp(kmem, expected, ksize), in test_copy_struct_from_user()
171 ret |= test(memcmp(kmem, expected, ksize), in test_copy_struct_from_user()
219 ret |= test(memcmp(kmem, kmem + PAGE_SIZE, PAGE_SIZE), in test_user_copy_init()
266 ret |= test(memcmp(kmem + PAGE_SIZE, kmem, PAGE_SIZE), in test_user_copy_init()
Dstring.c878 #undef memcmp
879 __visible int memcmp(const void *cs, const void *ct, size_t count) in memcmp() function
889 EXPORT_SYMBOL(memcmp);
907 return memcmp(a, b, len); in bcmp()
953 if (!memcmp(s1, s2, l2)) in strstr()
978 if (!memcmp(s1, s2, l2)) in strnstr()
Ddecompress.c72 if (!memcmp(inbuf, cf->magic, 2)) in decompress_method()
Dtest_hexdump.c141 if (memcmp(test, real, TEST_HEXDUMP_BUF_SIZE)) { in test_hexdump()
195 a = r == e && !memcmp(test, buf, TEST_HEXDUMP_BUF_SIZE); in test_hexdump_overflow()
Dearlycpio.c119 !memcmp(p, path, mypathsize)) { in find_cpio_data()
Dtest_meminit.c238 fail |= (bool)memcmp(buf, buf_copy, size); in do_kmem_cache_size()
284 fail = memcmp(buf_contents, buf, size); in do_kmem_cache_rcu_persistent()
Dtest-string_helpers.c19 if (q_real == q_test && !memcmp(out_test, out_real, q_test)) in test_string_check_buf()
345 if (!memcmp(res, exp, strlen(exp) + 1)) in test_string_get_size_check()
Dtest_printf.c83 if (memcmp(test_buffer, expect, written)) { in do_test()
122 if (memcmp(p, expect, elen+1)) { in __test()
Ddigsig.c169 if (!m || len != hlen || memcmp(m, h, hlen)) in digsig_verify_rsa()
Dnlattr.c594 d = memcmp(nla_data(nla), data, size); in nla_memcmp()
617 d = memcmp(nla_data(nla), str, len); in nla_strcmp()
Dtest_bitmap.c83 if (memcmp(exp_arr, arr, len*sizeof(*arr))) { in __check_eq_u32_array()
Dtest_kasan.c621 memcmp(ptr, arr, size+1); in kasan_memcmp()
Dtest_rhashtable.c620 } else if (obj && memcmp(&obj->value, &key, sizeof(key))) { in thread_lookup_test()
Dobjagg.c920 memcmp(ptr, arg->key, ht->p.key_len); in objagg_hints_obj_cmp()
Dtest_objagg.c189 memcmp(world->next_root_buf, root->buf, sizeof(root->buf))) { in test_nodelta_obj_get()
/lib/raid6/test/
Dtest.c65 erra = memcmp(data[i], recovi, PAGE_SIZE); in test_disks()
66 errb = memcmp(data[j], recovj, PAGE_SIZE); in test_disks()
/lib/xz/
Dxz_private.h40 # define memeq(a, b, size) (memcmp(a, b, size) == 0)
/lib/reed_solomon/
Dtest_rslib.c307 if (memcmp(r, c, len * sizeof(*r))) in test_uc()
398 if (memcmp(r + dlen, corr, nroots * sizeof(*corr))) in test_bc()
/lib/zlib_deflate/
Ddeflate.c705 if (memcmp((char *)s->window + match, in check_match()