Searched refs:arr (Results 1 – 4 of 4) sorted by relevance
/lib/ |
D | test_bitmap.c | 70 const u32 *arr, unsigned int len) __used; 74 const u32 *arr, unsigned int len) in __check_eq_u32_array() argument 83 if (memcmp(exp_arr, arr, len*sizeof(*arr))) { in __check_eq_u32_array() 88 32, 4, arr, len*sizeof(*arr), false); in __check_eq_u32_array() 347 u32 arr[sizeof(exp) / 4]; in test_bitmap_arr32() local 350 memset(arr, 0xa5, sizeof(arr)); in test_bitmap_arr32() 353 bitmap_to_arr32(arr, exp, nbits); in test_bitmap_arr32() 354 bitmap_from_arr32(bmap2, arr, nbits); in test_bitmap_arr32() 365 expect_eq_uint(arr[DIV_ROUND_UP(nbits, 32)], in test_bitmap_arr32()
|
D | test_ubsan.c | 56 volatile int arr[4]; in test_ubsan_out_of_bounds() local 58 arr[j] = i; in test_ubsan_out_of_bounds() 85 volatile char arr[5] __aligned(4) = {1, 2, 3, 4, 5}; in test_ubsan_misaligned_access() local 88 ptr = (int *)(arr + 1); in test_ubsan_misaligned_access()
|
D | test_vmalloc.c | 365 static void shuffle_array(int *arr, int n) in shuffle_array() argument 377 x = arr[i]; in shuffle_array() 378 arr[i] = arr[j]; in shuffle_array() 379 arr[j] = x; in shuffle_array()
|
D | test_kasan.c | 613 int arr[9]; in kasan_memcmp() local 620 memset(arr, 0, sizeof(arr)); in kasan_memcmp() 621 memcmp(ptr, arr, size+1); in kasan_memcmp()
|