Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c249 tracer->st_arr.saved_traces_index = 0; in mlx5_fw_tracer_init_saved_traces_array()
250 mutex_init(&tracer->st_arr.lock); in mlx5_fw_tracer_init_saved_traces_array()
256 mutex_destroy(&tracer->st_arr.lock); in mlx5_fw_tracer_clean_saved_traces_array()
544 mutex_lock(&tracer->st_arr.lock); in mlx5_fw_tracer_save_trace()
545 trace_data = &tracer->st_arr.straces[tracer->st_arr.saved_traces_index]; in mlx5_fw_tracer_save_trace()
551 tracer->st_arr.saved_traces_index = in mlx5_fw_tracer_save_trace()
552 (tracer->st_arr.saved_traces_index + 1) & (SAVED_TRACES_NUM - 1); in mlx5_fw_tracer_save_trace()
553 mutex_unlock(&tracer->st_arr.lock); in mlx5_fw_tracer_save_trace()
893 struct mlx5_fw_trace_data *straces = tracer->st_arr.straces; in mlx5_fw_tracer_get_saved_traces_objects()
901 mutex_lock(&tracer->st_arr.lock); in mlx5_fw_tracer_get_saved_traces_objects()
[all …]
Dfw_tracer.h101 } st_arr; member