Searched refs:arr_struct (Results 1 - 1 of 1) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h169 static INLINE int get_var_spid_index(struct var_kill_data_arr_t* arr_struct, argument
175 for (int i = 0; i < ARRAY_SIZE(arr_struct->array); i++)
176 if (arr_struct->array[i].meta.pid == spid)
384 struct var_kill_data_arr_t* arr_struct = bpf_map_lookup_elem(&var_tpid_to_data, &tpid); local
386 if (arr_struct == NULL) {
392 arr_struct = bpf_map_lookup_elem(&data_heap, &zero);
393 if (arr_struct == NULL)
395 bpf_probe_read_kernel(&arr_struct->array[0],
396 sizeof(arr_struct->array[0]), kill_data);
398 int index = get_var_spid_index(arr_struct, spi
623 struct var_kill_data_arr_t* arr_struct = bpf_map_lookup_elem(&var_tpid_to_data, &tpid); local
[all...]

Completed in 119 milliseconds