Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c364 struct tracer_string_format *cur_string; in mlx5_tracer_message_insert() local
366 cur_string = kzalloc(sizeof(*cur_string), GFP_KERNEL); in mlx5_tracer_message_insert()
367 if (!cur_string) in mlx5_tracer_message_insert()
370 hlist_add_head(&cur_string->hlist, head); in mlx5_tracer_message_insert()
372 return cur_string; in mlx5_tracer_message_insert()
378 struct tracer_string_format *cur_string; in mlx5_tracer_get_string() local
390 cur_string = mlx5_tracer_message_insert(tracer, tracer_event); in mlx5_tracer_get_string()
391 if (!cur_string) in mlx5_tracer_get_string()
393 cur_string->string = (char *)(tracer->str_db.buffer[i] + in mlx5_tracer_get_string()
395 return cur_string; in mlx5_tracer_get_string()
[all …]