Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dcrdump.c14 return !!dev->priv.health.crdump_size; in mlx5_crdump_enabled()
19 u32 crdump_size = dev->priv.health.crdump_size; in mlx5_crdump_fill() local
22 for (i = 0; i < (crdump_size / 4); i++) in mlx5_crdump_fill()
25 ret = mlx5_vsc_gw_read_block_fast(dev, cr_data, crdump_size); in mlx5_crdump_fill()
32 if (crdump_size != ret) { in mlx5_crdump_fill()
34 ret, crdump_size); in mlx5_crdump_fill()
108 priv->health.crdump_size = space_size; in mlx5_crdump_enable()
114 dev->priv.health.crdump_size = 0; in mlx5_crdump_disable()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c581 u32 crdump_size = dev->priv.health.crdump_size; in mlx5_fw_fatal_reporter_dump() local
588 cr_data = kvmalloc(crdump_size, GFP_KERNEL); in mlx5_fw_fatal_reporter_dump()
603 err = devlink_fmsg_binary_pair_put(fmsg, "crdump_data", cr_data, crdump_size); in mlx5_fw_fatal_reporter_dump()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h434 u32 crdump_size; member