Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/meta/fbnic/fbnic_fw.c fbnic_mbx_alloc_rx_msgs() -> fbnic_mbx_map_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->fw_cap.active_slot | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.all_multi | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.anti_rollback_version | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.bmc_present | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.link_fec | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.link_speed | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.need_bmc_macda_sync | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.need_bmc_tcam_reinit | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.running.bootloader.version | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.running.mgmt.version | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.stored.bootloader.version | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.stored.mgmt.version | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.stored.undi.version | 0 |
| PARAM_VALUE | 0 | fbd->fw_reporter->burst_period | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->dump_real_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->dump_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->error_count | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->graceful_period | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->health_state | 0-255 |
| PARAM_VALUE | 0 | fbd->fw_reporter->last_recovery_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->recovery_count | 0-s64max |
| PARAM_VALUE | 0 | fbd->mac | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_eth_ctrl_stats | 4261181610207076352 |
| PARAM_VALUE | 0 | fbd->mac->get_eth_mac_stats | 3290386805554442240 |
| PARAM_VALUE | 0 | fbd->mac->get_fec_stats | 3676484134554521600 |
| PARAM_VALUE | 0 | fbd->mac->get_link | 2522778047849771008 |
| PARAM_VALUE | 0 | fbd->mac->get_link_event | 3822213427729780736 |
| PARAM_VALUE | 0 | fbd->mac->get_pause_stats | 7780547122057314304 |
| PARAM_VALUE | 0 | fbd->mac->get_pcs_stats | 7700767459908743168 |
| PARAM_VALUE | 0 | fbd->mac->get_rmon_stats | 1974047852114022400 |
| PARAM_VALUE | 0 | fbd->mac->get_sensor | 7201553899718569984 |
| PARAM_VALUE | 0 | fbd->mac->init_regs | 7750535783315251200 |
| PARAM_VALUE | 0 | fbd->mac->link_down | 3074944342695354368 |
| PARAM_VALUE | 0 | fbd->mac->link_up | 7867787319019593728 |
| PARAM_VALUE | 0 | fbd->mac->prepare | 1291118527101566976 |
| PARAM_VALUE | 0 | fbd->mbx | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->otp_reporter->burst_period | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->dump_real_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->dump_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->error_count | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->graceful_period | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->health_state | 0-255 |
| PARAM_VALUE | 0 | fbd->otp_reporter->last_recovery_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->recovery_count | 0-s64max |
| PARAM_VALUE | 0 | fbd->uc_addr4 | 1-u64max |
| PARAM_VALUE | 1 | mbx_idx | 0 |
| PARAM_VALUE | 2 | msg | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 4 | eom | 0 |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 2 | msg | r get_free_pages_noprof |
| MEM_ZERO | 0 | &fbd->fw_cap | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | fbd->dsn | 0[c] |
| HOST_DATA | 0 | fbd->relaxed_ord | 0[c] |
| UNITS | 0 | fbd | unit_byte |
drivers/net/ethernet/meta/fbnic/fbnic_fw.c fbnic_mbx_map_req_w_cmpl() -> fbnic_mbx_map_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mbx_idx | 1 |
| PARAM_VALUE | 2 | msg | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | msg->hdr.cannot_ignore | 0 |
| PARAM_VALUE | 2 | msg->hdr.is_msg | 1 |
| PARAM_VALUE | 2 | msg->hdr.rsvd | 0 |
| PARAM_VALUE | 2 | msg->hdr.type | 0,24,32,34,56,60 |
| PARAM_VALUE | 4 | eom | 1 |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 2 | msg | $1 |
| HARD_MAX | 2 | msg->hdr.type | 60 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fbd | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &fbd->fw_tx_lock | |
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct fbnic_dev)->fw_tx_lock |
drivers/net/ethernet/meta/fbnic/fbnic_fw.c fbnic_mbx_map_tlv_msg() -> fbnic_mbx_map_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->hw_stats.hw_q->rde_pkt_bdq_drop.u.old_reg_value_32 | 0-4294967295 |
| PARAM_VALUE | 0 | fbd->hw_stats.hw_q->rde_pkt_cq_drop.u.old_reg_value_32 | 0-4294967295 |
| PARAM_VALUE | 0 | fbd->hw_stats.hw_q->rde_pkt_err.u.old_reg_value_32 | 0-4294967295 |
| PARAM_VALUE | 0 | fbd->mac->get_eth_ctrl_stats | 4261181610207076352 |
| PARAM_VALUE | 0 | fbd->mac->get_eth_mac_stats | 3290386805554442240 |
| PARAM_VALUE | 0 | fbd->mac->get_fec_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_link | 2522778047849771008 |
| PARAM_VALUE | 0 | fbd->mac->get_link_event | 3822213427729780736 |
| PARAM_VALUE | 0 | fbd->mac->get_pause_stats | 7780547122057314304 |
| PARAM_VALUE | 0 | fbd->mac->get_pcs_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_rmon_stats | 1974047852114022400 |
| PARAM_VALUE | 0 | fbd->mac->get_sensor | 7201553899718569984 |
| PARAM_VALUE | 0 | fbd->mac->init_regs | 7750535783315251200 |
| PARAM_VALUE | 0 | fbd->mac->link_down | 3074944342695354368 |
| PARAM_VALUE | 0 | fbd->mac->link_up | 7867787319019593728 |
| PARAM_VALUE | 0 | fbd->mac->prepare | 1291118527101566976 |
| PARAM_VALUE | 0 | fbd->netdev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-s64max |
| PARAM_VALUE | 1 | mbx_idx | 1 |
| PARAM_VALUE | 2 | msg | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | msg->hdr.cannot_ignore | 0 |
| PARAM_VALUE | 2 | msg->hdr.is_msg | 1 |
| PARAM_VALUE | 2 | msg->hdr.rsvd | 0 |
| PARAM_VALUE | 2 | msg->hdr.type | 16,18,20,37,67,70 |
| PARAM_VALUE | 4 | eom | 1 |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 2 | msg | $1 |
| HARD_MAX | 2 | msg->hdr.type | 70 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | fbd->dsn | 0[c] |
| HOST_DATA | 0 | fbd->relaxed_ord | 0[c] |
| UNITS | 0 | fbd | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &fbd->fw_tx_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct fbnic_dev)->fw_tx_lock |