Searched refs:array2 (Results 1 – 2 of 2) sorted by relevance
24 } array2 SEC(".maps");33 map = (struct bpf_map *)&array2; in randmap()
1913 int *array1, *array2, *array3; in test_malloc() local1930 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()