Home
last modified time | relevance | path

Searched refs:array (Results 1 – 4 of 4) sorted by relevance

/samples/trace_events/
Dtrace-events-sample.c24 int array[6]; in simple_thread_func() local
32 array[i] = i + 1; in simple_thread_func()
33 array[i] = 0; in simple_thread_func()
36 trace_foo_bar("hello", cnt, array, random_strings[len], in simple_thread_func()
/samples/bpf/
Dxdp_rxq_info_user.c200 struct datarec *array; in alloc_record_per_cpu() local
204 array = malloc(size); in alloc_record_per_cpu()
205 memset(array, 0, size); in alloc_record_per_cpu()
206 if (!array) { in alloc_record_per_cpu()
210 return array; in alloc_record_per_cpu()
216 struct record *array; in alloc_record_per_rxq() local
220 array = malloc(size); in alloc_record_per_rxq()
221 memset(array, 0, size); in alloc_record_per_rxq()
222 if (!array) { in alloc_record_per_rxq()
226 return array; in alloc_record_per_rxq()
Dxdp_redirect_cpu_user.c200 struct datarec *array; in alloc_record_per_cpu() local
204 array = malloc(size); in alloc_record_per_cpu()
205 memset(array, 0, size); in alloc_record_per_cpu()
206 if (!array) { in alloc_record_per_cpu()
210 return array; in alloc_record_per_cpu()
Dxdp_monitor_user.c511 void *array; in alloc_rec_per_cpu() local
515 array = malloc(size); in alloc_rec_per_cpu()
516 memset(array, 0, size); in alloc_rec_per_cpu()
517 if (!array) { in alloc_rec_per_cpu()
521 return array; in alloc_rec_per_cpu()