Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dcong.c403 !dev->port[port_num].dbg_cc_params || in mlx5_ib_cleanup_cong_debugfs()
404 !dev->port[port_num].dbg_cc_params->root) in mlx5_ib_cleanup_cong_debugfs()
407 debugfs_remove_recursive(dev->port[port_num].dbg_cc_params->root); in mlx5_ib_cleanup_cong_debugfs()
408 kfree(dev->port[port_num].dbg_cc_params); in mlx5_ib_cleanup_cong_debugfs()
409 dev->port[port_num].dbg_cc_params = NULL; in mlx5_ib_cleanup_cong_debugfs()
414 struct mlx5_ib_dbg_cc_params *dbg_cc_params; in mlx5_ib_init_cong_debugfs() local
430 dbg_cc_params = kzalloc(sizeof(*dbg_cc_params), GFP_KERNEL); in mlx5_ib_init_cong_debugfs()
431 if (!dbg_cc_params) in mlx5_ib_init_cong_debugfs()
434 dev->port[port_num].dbg_cc_params = dbg_cc_params; in mlx5_ib_init_cong_debugfs()
436 dbg_cc_params->root = debugfs_create_dir("cc_params", mlx5_debugfs_get_dev_root(mdev)); in mlx5_ib_init_cong_debugfs()
[all …]
Dmlx5_ib.h840 struct mlx5_ib_dbg_cc_params *dbg_cc_params; member