Home
last modified time | relevance | path

Searched refs:saved_traces_index (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()
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()
929 u32 saved_traces_index; in mlx5_fw_tracer_get_saved_traces_objects() local
936 saved_traces_index = tracer->st_arr.saved_traces_index; in mlx5_fw_tracer_get_saved_traces_objects()
937 if (straces[saved_traces_index].timestamp) in mlx5_fw_tracer_get_saved_traces_objects()
938 start_index = saved_traces_index; in mlx5_fw_tracer_get_saved_traces_objects()
941 end_index = (saved_traces_index - 1) & (SAVED_TRACES_NUM - 1); in mlx5_fw_tracer_get_saved_traces_objects()
H A Dfw_tracer.h104 u32 saved_traces_index; member