Home
last modified time | relevance | path

Searched refs:array2 (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dcore_kern.c24 } array2 SEC(".maps");
33 map = (struct bpf_map *)&array2; in randmap()
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c1913 int *array1, *array2, *array3; in test_malloc() local
1930 array2 = calloc(sz_array2, sizeof(*array2)); in test_malloc()
1931 if (!array2) { in test_malloc()
1937 if (array2[idx] != 0) { in test_malloc()
1938 free(array2); in test_malloc()
1941 array2[idx] = idx + sz_array1; in test_malloc()
1948 free(array2); in test_malloc()
1952 memcpy(array3 + sz_array1, array2, sizeof(*array2) * sz_array2); in test_malloc()
1953 free(array2); in test_malloc()