Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/meta/fbnic/fbnic_devlink.c
- drivers/net/ethernet/meta/fbnic/fbnic_fw.c, line 1507
Smatch caller information:
drivers/net/ethernet/meta/fbnic/fbnic_fw.c fbnic_fw_parse_logs() -> fbnic_fw_log_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-9223372036854775807 |
| PARAM_VALUE | 3 | msg | 3635488923124756480 |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | msg | 256 |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 1 | index | r fbnic_tlv_attr_get_signed |
| DATA_SOURCE | 2 | timestamp | r fbnic_tlv_attr_get_signed |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/meta/fbnic/fbnic_devlink.c fbnic_devlink_fw_report() -> fbnic_fw_log_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->fw_heartbeat_enabled | 0 |
| PARAM_VALUE | 0 | fbd->fw_log.data_start | 1-u64max |
| PARAM_VALUE | 0 | fbd->fw_reporter | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->fw_reporter->auto_recover | 0-1 |
| PARAM_VALUE | 0 | fbd->fw_reporter->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->fw_reporter->health_state | 0-1 |
| PARAM_VALUE | 0 | fbd->fw_reporter->ops | 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->hw_stats.rpc.ipv4_esp.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.ipv4_frag.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.ipv6_esp.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.ipv6_frag.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.out_of_hdr_err.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.ovr_size_err.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.tcp_opt_err.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.unkn_etype.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.unkn_ext_hdr.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tmi.drop.frames.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tmi.ptp_bad_ts.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tmi.ptp_good_ts.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tmi.ptp_illegal_req.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tti.cm_drop.frames.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tti.frame_drop.frames.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tti.tbi_drop.frames.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->mac | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_fec_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_pcs_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mbx | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->netdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| PARAM_VALUE | 3 | msg | 1209544174605991936 |
| BUF_SIZE | 3 | msg | 256 |
| CAPPED_DATA | 0 | fbd->fw_reporter->devlink->_net.net | 1 |
| CAPPED_DATA | 0 | fbd->max_num_queues | 1 |
| DATA_SOURCE | 0 | fbd | $0 |
| STR_LEN | 0 | fbd | 24 |
| STR_LEN | 0 | fbd | 24 |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/meta/fbnic/fbnic_devlink.c fbnic_devlink_otp_check() -> fbnic_fw_log_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->fw_log.data_start | 1-u64max |
| 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 | 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 | 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->otp_reporter | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->otp_reporter->auto_recover | 0-1 |
| PARAM_VALUE | 0 | fbd->otp_reporter->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->otp_reporter->health_state | 0-1 |
| PARAM_VALUE | 0 | fbd->otp_reporter->ops | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | fbd->uc_addr0 | 0 |
| PARAM_VALUE | 0 | fbd->uc_addr4 | 0 |
| PARAM_VALUE | 1 | index | 0 |
| PARAM_VALUE | 3 | msg | 4801652896099770368,5529829745634643968,7991838962020782080 |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | msg | 28,31,39 |
| BUF_SIZE | 3 | msg | 28,31,39 |
| CAPPED_DATA | 0 | fbd | 1 |
| CAPPED_DATA | 0 | fbd->otp_reporter->devlink->_net.net | 1 |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 3 | msg | $1 |
| STR_LEN | 0 | fbd | 27,30,38 |
| STR_LEN | 0 | fbd | 27,30,38 |
| TERMINATED | 3 | msg | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | fbd->dsn | 0[c] |
| HOST_DATA | 0 | fbd->relaxed_ord | 0[c] |
| UNITS | 0 | fbd | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |