str_db 39 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 *string_db_base_address_out = tracer->str_db.base_address_out; str_db 40 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 *string_db_size_out = tracer->str_db.size_out; str_db 61 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->str_db.first_string_trace = str_db 63 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->str_db.num_string_trace = str_db 65 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->str_db.num_string_db = MLX5_GET(mtrc_cap, out, num_string_db); str_db 68 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c for (i = 0; i < tracer->str_db.num_string_db; i++) { str_db 218 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 num_string_db = tracer->str_db.num_string_db; str_db 222 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c kfree(tracer->str_db.buffer[i]); str_db 223 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->str_db.buffer[i] = NULL; str_db 229 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 *string_db_size_out = tracer->str_db.size_out; str_db 230 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 num_string_db = tracer->str_db.num_string_db; str_db 234 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->str_db.buffer[i] = kzalloc(string_db_size_out[i], GFP_KERNEL); str_db 235 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (!tracer->str_db.buffer[i]) str_db 263 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 num_of_reads, num_string_db = tracer->str_db.num_string_db; str_db 281 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c num_of_reads = tracer->str_db.size_out[i] / str_db 283 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c leftovers = (tracer->str_db.size_out[i] % str_db 301 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c memcpy(tracer->str_db.buffer[i] + offset, out_value, str_db 322 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c memcpy(tracer->str_db.buffer[i] + offset, out_value, str_db 328 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->str_db.loaded = true; str_db 384 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c for (i = 0; i < tracer->str_db.num_string_db; i++) { str_db 385 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (str_ptr > tracer->str_db.base_address_out[i] && str_db 386 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c str_ptr < tracer->str_db.base_address_out[i] + str_db 387 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->str_db.size_out[i]) { str_db 388 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c offset = str_ptr - tracer->str_db.base_address_out[i]; str_db 393 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c cur_string->string = (char *)(tracer->str_db.buffer[i] + str_db 483 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (tracer_event->event_id >= tracer->str_db.first_string_trace || str_db 484 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer_event->event_id <= tracer->str_db.first_string_trace + str_db 485 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c tracer->str_db.num_string_trace) { str_db 1002 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (!tracer->str_db.loaded) str_db 1079 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (likely(tracer->str_db.loaded)) str_db 84 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h } str_db;