Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/qlogic/qed/qed_debug.c qed_get_mcp_trace_results_buf_size() -> qed_parse_mcp_trace_dump()

Type Parameter Key Value
PARAM_VALUE 0 p_hwfn 4096-ptr_max
PARAM_VALUE 0 p_hwfn->cdev 4096-ptr_max
PARAM_VALUE 0 p_hwfn->cdev->dbg_features 4096-ptr_max
PARAM_VALUE 0 p_hwfn->cdev->int_params.fp_msix_base 0-2
PARAM_VALUE 0 p_hwfn->cdev->int_params.in.int_mode 0-2
PARAM_VALUE 0 p_hwfn->cdev->int_params.in.min_msix_cnt 0-4
PARAM_VALUE 0 p_hwfn->cdev->int_params.out.int_mode 0-2
PARAM_VALUE 0 p_hwfn->cdev->int_params.out.min_msix_cnt 0-4
PARAM_VALUE 0 p_hwfn->cdev->ll2->cbs 0-s64max
PARAM_VALUE 0 p_hwfn->cdev->p_iov_info->pos s32min-s32max
PARAM_VALUE 0 p_hwfn->dbg_info.chip_id 0-1
PARAM_VALUE 0 p_hwfn->dbg_info.grc.params_initialized 1-255
PARAM_VALUE 0 p_hwfn->dbg_info.hw_type 0
PARAM_VALUE 0 p_hwfn->dbg_info.initialized 1
PARAM_VALUE 0 p_hwfn->dbg_info.num_pfs_per_port 0-8
PARAM_VALUE 0 p_hwfn->dbg_info.num_ports 1-2,4
PARAM_VALUE 0 p_hwfn->dbg_info.num_vfs 120,192
PARAM_VALUE 0 p_hwfn->p_ptt_pool 4096-ptr_max
PARAM_VALUE 0 p_hwfn->p_ptt_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p_hwfn->p_rdma_info->proto 0-4294967295
PARAM_VALUE 0 *p_hwfn->dbg_info->grc.param_val 0-1
PARAM_VALUE 2 results_buf 0
PARAM_VALUE 3 parsed_results_bytes 2529699613898022912
PARAM_VALUE 4 free_meta_data 1
BUF_SIZE 1 dump_buf 1-s32max
BUF_SIZE 1 dump_buf 1-s32max
DATA_SOURCE 0 p_hwfn $0
DATA_SOURCE 1 dump_buf $1
DATA_SOURCE 3 parsed_results_bytes $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 p_hwfn->mcp_info->drv_mb_seq 0-u16max
HOST_DATA 0 p_hwfn->mcp_info->drv_pulse_seq 0-s16max
HOST_DATA 0 p_hwfn->mcp_info->mcp_hist 0-u32max
LOCK2 global &qed_dbg_lock
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/qlogic/qed/qed_debug.c qed_print_mcp_trace_results() -> qed_parse_mcp_trace_dump()

Type Parameter Key Value
PARAM_VALUE 0 p_hwfn 4096-ptr_max
PARAM_VALUE 0 p_hwfn->cdev 4096-ptr_max
PARAM_VALUE 0 p_hwfn->cdev->dbg_features 4096-ptr_max
PARAM_VALUE 0 p_hwfn->cdev->int_params.fp_msix_base 0-2
PARAM_VALUE 0 p_hwfn->cdev->int_params.in.int_mode 0-2
PARAM_VALUE 0 p_hwfn->cdev->int_params.in.min_msix_cnt 0-4
PARAM_VALUE 0 p_hwfn->cdev->int_params.out.int_mode 0-2
PARAM_VALUE 0 p_hwfn->cdev->int_params.out.min_msix_cnt 0-4
PARAM_VALUE 0 p_hwfn->cdev->ll2->cbs 0-s64max
PARAM_VALUE 0 p_hwfn->cdev->p_iov_info->pos s32min-s32max
PARAM_VALUE 0 p_hwfn->dbg_info.chip_id 0-1
PARAM_VALUE 0 p_hwfn->dbg_info.grc.params_initialized 1-255
PARAM_VALUE 0 p_hwfn->dbg_info.hw_type 0
PARAM_VALUE 0 p_hwfn->dbg_info.initialized 1
PARAM_VALUE 0 p_hwfn->dbg_info.num_pfs_per_port 0-8
PARAM_VALUE 0 p_hwfn->dbg_info.num_ports 1-2,4
PARAM_VALUE 0 p_hwfn->dbg_info.num_vfs 120,192
PARAM_VALUE 0 p_hwfn->p_ptt_pool 4096-ptr_max
PARAM_VALUE 0 p_hwfn->p_ptt_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p_hwfn->p_rdma_info->proto 0-4294967295
PARAM_VALUE 0 *p_hwfn->dbg_info->grc.param_val 0-1
PARAM_VALUE 1 *dump_buf 0-255
PARAM_VALUE 2 results_buf 1-u64max
PARAM_VALUE 3 parsed_results_bytes 3525934313118048256
PARAM_VALUE 4 free_meta_data 1
BUF_SIZE 1 dump_buf 1-s32max
BUF_SIZE 1 dump_buf 1-s32max
BUF_SIZE 2 results_buf 16-s32max
BUF_SIZE 2 results_buf 16-s32max
DATA_SOURCE 0 p_hwfn $0
DATA_SOURCE 1 dump_buf $1
DATA_SOURCE 2 results_buf $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 p_hwfn->mcp_info->drv_mb_seq 0-u16max
HOST_DATA 0 p_hwfn->mcp_info->drv_pulse_seq 0-s16max
HOST_DATA 0 p_hwfn->mcp_info->mcp_hist 0-u32max
LOCK2 global &qed_dbg_lock
HALF_LOCKED2 &devlink->lock