Lines Matching refs:crdump
94 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; in mlx4_crdump_collect_crspace() local
101 if (!crdump->region_crspace) { in mlx4_crdump_collect_crspace()
114 err = devlink_region_snapshot_create(crdump->region_crspace, in mlx4_crdump_collect_crspace()
133 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; in mlx4_crdump_collect_fw_health() local
138 if (!crdump->region_fw_health) { in mlx4_crdump_collect_fw_health()
153 err = devlink_region_snapshot_create(crdump->region_fw_health, in mlx4_crdump_collect_fw_health()
171 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; in mlx4_crdump_collect() local
183 if (!crdump->snapshot_enable) { in mlx4_crdump_collect()
222 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; in mlx4_crdump_init() local
225 crdump->snapshot_enable = false; in mlx4_crdump_init()
228 crdump->region_crspace = in mlx4_crdump_init()
233 if (IS_ERR(crdump->region_crspace)) in mlx4_crdump_init()
236 PTR_ERR(crdump->region_crspace)); in mlx4_crdump_init()
239 crdump->region_fw_health = in mlx4_crdump_init()
244 if (IS_ERR(crdump->region_fw_health)) in mlx4_crdump_init()
247 PTR_ERR(crdump->region_fw_health)); in mlx4_crdump_init()
254 struct mlx4_fw_crdump *crdump = &dev->persist->crdump; in mlx4_crdump_end() local
256 devl_region_destroy(crdump->region_fw_health); in mlx4_crdump_end()
257 devl_region_destroy(crdump->region_crspace); in mlx4_crdump_end()