Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c371 struct tracer_string_format *cur_string; in mlx5_tracer_message_insert() local
373 cur_string = kzalloc(sizeof(*cur_string), GFP_KERNEL); in mlx5_tracer_message_insert()
374 if (!cur_string) in mlx5_tracer_message_insert()
377 hlist_add_head(&cur_string->hlist, head); in mlx5_tracer_message_insert()
379 return cur_string; in mlx5_tracer_message_insert()
385 struct tracer_string_format *cur_string; in mlx5_tracer_get_string() local
399 cur_string = mlx5_tracer_message_insert(tracer, tracer_event); in mlx5_tracer_get_string()
400 if (!cur_string) in mlx5_tracer_get_string()
402 cur_string->string = (char *)(tracer->str_db.buffer[i] + in mlx5_tracer_get_string()
404 return cur_string; in mlx5_tracer_get_string()
[all …]