Searched refs:array (Results 1 – 4 of 4) sorted by relevance
/samples/trace_events/ |
D | trace-events-sample.c | 24 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/ |
D | xdp_rxq_info_user.c | 200 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()
|
D | xdp_redirect_cpu_user.c | 200 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()
|
D | xdp_monitor_user.c | 511 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()
|