Searched refs:st_arr (Results 1 – 2 of 2) sorted by relevance
252 tracer->st_arr.saved_traces_index = 0; in mlx5_fw_tracer_init_saved_traces_array()253 mutex_init(&tracer->st_arr.lock); in mlx5_fw_tracer_init_saved_traces_array()259 mutex_destroy(&tracer->st_arr.lock); in mlx5_fw_tracer_clean_saved_traces_array()547 mutex_lock(&tracer->st_arr.lock); in mlx5_fw_tracer_save_trace()548 trace_data = &tracer->st_arr.straces[tracer->st_arr.saved_traces_index]; in mlx5_fw_tracer_save_trace()554 tracer->st_arr.saved_traces_index = in mlx5_fw_tracer_save_trace()555 (tracer->st_arr.saved_traces_index + 1) & (SAVED_TRACES_NUM - 1); in mlx5_fw_tracer_save_trace()556 mutex_unlock(&tracer->st_arr.lock); in mlx5_fw_tracer_save_trace()900 struct mlx5_fw_trace_data *straces = tracer->st_arr.straces; in mlx5_fw_tracer_get_saved_traces_objects()908 mutex_lock(&tracer->st_arr.lock); in mlx5_fw_tracer_get_saved_traces_objects()[all …]
101 } st_arr; member