Home
last modified time | relevance | path

Searched refs:st_arr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfw_tracer.c254 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()
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()
936 saved_traces_index = tracer->st_arr.saved_traces_index; in mlx5_fw_tracer_get_saved_traces_objects()
[all …]
H A Dfw_tracer.h106 } st_arr; member