Searched refs:st_arr (Results 1 – 2 of 2) sorted by relevance
254 tracer->st_arr.saved_traces_index = 0; in mlx5_fw_tracer_init_saved_traces_array()255 mutex_init(&tracer->st_arr.lock); in mlx5_fw_tracer_init_saved_traces_array()261 mutex_destroy(&tracer->st_arr.lock); in mlx5_fw_tracer_clean_saved_traces_array()554 mutex_lock(&tracer->st_arr.lock); in mlx5_fw_tracer_save_trace()555 trace_data = &tracer->st_arr.straces[tracer->st_arr.saved_traces_index]; in mlx5_fw_tracer_save_trace()561 tracer->st_arr.saved_traces_index = in mlx5_fw_tracer_save_trace()562 (tracer->st_arr.saved_traces_index + 1) & (SAVED_TRACES_NUM - 1); in mlx5_fw_tracer_save_trace()563 mutex_unlock(&tracer->st_arr.lock); in mlx5_fw_tracer_save_trace()927 struct mlx5_fw_trace_data *straces = tracer->st_arr.straces; in mlx5_fw_tracer_get_saved_traces_objects()935 mutex_lock(&tracer->st_arr.lock); in mlx5_fw_tracer_get_saved_traces_objects()[all …]
106 } st_arr; member