Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/intel/ice/ice_parser.c, line 2108
- drivers/net/ethernet/intel/ice/virt/fdir.c
- drivers/net/ethernet/intel/ice/virt/rss.c, line 1418
Smatch caller information:
drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_parse_raw() -> ice_parser_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psr | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->bst_lbl_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->bst_tcam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->flg_rd_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->imem_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->mi_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->mk_grp_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_nm_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_nm_sp_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_sp_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->proto_grp_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->ptype_mk_tcam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt->bst_key | 0-255 |
| PARAM_VALUE | 0 | psr->rt->gpr | 0-u16max |
| PARAM_VALUE | 0 | psr->rt->markers | 0-255 |
| PARAM_VALUE | 0 | psr->rt->offsets | 0-u16max |
| PARAM_VALUE | 0 | psr->rt->pkt_buf | 0-255 |
| PARAM_VALUE | 0 | psr->rt->protocols | 0-1 |
| PARAM_VALUE | 0 | psr->rt->pu.gpr_val | 0-u16max |
| PARAM_VALUE | 0 | psr->rt->pu.gpr_val_upd | 0-1 |
| PARAM_VALUE | 0 | psr->rt.action | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.alu0 | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.alu1 | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.alu2 | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.bst_key | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.markers | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.pg_key.alu_reg | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.boost_idx | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag0 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag1 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag2 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag3 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.next_proto | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.node_id | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.alu_reg | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.boost_idx | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag0 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag1 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag2 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag3 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.next_proto | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.node_id | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.valid | 0 |
| PARAM_VALUE | 0 | psr->rt.pkt_len | 4,8,10,12,18,22,24,26,1024 |
| PARAM_VALUE | 0 | psr->rt.psr | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.psr->hw | 0 |
| PARAM_VALUE | 0 | psr->rt.psr->mi_table | 0 |
| PARAM_VALUE | 0 | psr->rt.psr->rt.psr | 0 |
| PARAM_VALUE | 0 | psr->rt.pu.err_msk | 0 |
| PARAM_VALUE | 0 | psr->rt.pu.err_val | 0 |
| PARAM_VALUE | 0 | psr->rt.pu.flg_msk | 0 |
| PARAM_VALUE | 0 | psr->rt.pu.flg_val | 0 |
| PARAM_VALUE | 0 | psr->xlt_kb_acl | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->xlt_kb_fd | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->xlt_kb_rss | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->xlt_kb_sw | 4096-ptr_max |
| BUF_SIZE | 0 | psr | 2200 |
| BUF_SIZE | 0 | psr->hw | 15232 |
| DATA_SOURCE | 0 | psr | r ice_parser_create |
| MEM_ZERO | 0 | psr->rt.bst_key | |
| MEM_ZERO | 0 | psr->rt.gpr | |
| MEM_ZERO | 0 | psr->rt.markers | |
| MEM_ZERO | 0 | psr->rt.offsets | |
| MEM_ZERO | 0 | psr->rt.pkt_buf | |
| MEM_ZERO | 0 | psr->rt.protocols | |
| MEM_ZERO | 0 | &psr->rt | |
| NOCHECK_CALL | |||
| LOCK2 | &vf->cfg_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ice_vf)->cfg_lock |
drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_parse_raw() -> ice_parser_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psr | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->bst_lbl_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->bst_tcam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->flg_rd_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->imem_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->mi_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->mk_grp_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_nm_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_nm_sp_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_sp_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->proto_grp_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->ptype_mk_tcam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt->bst_key | 0-255 |
| PARAM_VALUE | 0 | psr->rt->gpr | 0-u16max |
| PARAM_VALUE | 0 | psr->rt->markers | 0-255 |
| PARAM_VALUE | 0 | psr->rt->offsets | 0-u16max |
| PARAM_VALUE | 0 | psr->rt->pkt_buf | 0-255 |
| PARAM_VALUE | 0 | psr->rt->protocols | 0-1 |
| PARAM_VALUE | 0 | psr->rt->pu.gpr_val | 0-u16max |
| PARAM_VALUE | 0 | psr->rt->pu.gpr_val_upd | 0-1 |
| PARAM_VALUE | 0 | psr->rt.action | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.alu0 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.alu1 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.alu2 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.bst_key | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.markers | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.pg_key.alu_reg | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.boost_idx | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag0 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag1 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag2 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag3 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.next_proto | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.node_id | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.alu_reg | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.boost_idx | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag0 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag1 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag2 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag3 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.next_proto | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.node_id | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.valid | 0 |
| PARAM_VALUE | 0 | psr->rt.pkt_len | 4,8,10,12,18,22,24,26,1024 |
| PARAM_VALUE | 0 | psr->rt.psr | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.psr->hw | 0 |
| PARAM_VALUE | 0 | psr->rt.psr->mi_table | 0 |
| PARAM_VALUE | 0 | psr->rt.psr->rt.psr | 0 |
| PARAM_VALUE | 0 | psr->xlt_kb_acl | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->xlt_kb_fd | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->xlt_kb_rss | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->xlt_kb_sw | 4096-ptr_max |
| BUF_SIZE | 0 | psr | 2200 |
| BUF_SIZE | 0 | psr->hw | 15232 |
| DATA_SOURCE | 0 | psr | r ice_parser_create |
| MEM_ZERO | 0 | psr->rt.bst_key | |
| MEM_ZERO | 0 | psr->rt.gpr | |
| MEM_ZERO | 0 | psr->rt.markers | |
| MEM_ZERO | 0 | psr->rt.offsets | |
| MEM_ZERO | 0 | psr->rt.pkt_buf | |
| MEM_ZERO | 0 | psr->rt.protocols | |
| MEM_ZERO | 0 | &psr->rt | |
| NOCHECK_CALL | |||
| LOCK2 | &vf->cfg_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ice_vf)->cfg_lock |
drivers/net/ethernet/intel/ice/ice_parser.c ice_parser_create() -> ice_parser_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psr | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->imem_table | 4096-ptr_max,(-22),(-12) |
| PARAM_VALUE | 0 | psr->rt.psr | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.psr->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.psr->rt.psr | 4096-ptr_max |
| BUF_SIZE | 0 | psr | 2200 |
| BUF_SIZE | 0 | psr->bst_lbl_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->bst_tcam_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->flg_rd_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->hw | 15232 |
| BUF_SIZE | 0 | psr->imem_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->mi_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->mk_grp_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->pg_cam_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->pg_nm_cam_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->pg_nm_sp_cam_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->pg_sp_cam_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->proto_grp_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->ptype_mk_tcam_table | (-1),64-262144 |
| BUF_SIZE | 0 | psr->rt.psr | 2200 |
| BUF_SIZE | 0 | psr->xlt_kb_acl | (-1),288 |
| BUF_SIZE | 0 | psr->xlt_kb_fd | (-1),288 |
| BUF_SIZE | 0 | psr->xlt_kb_sw | (-1),288 |
| DATA_SOURCE | 0 | psr | r _kzalloc_noprof |
| NOCHECK_CALL | |||
| LOCK2 | &vf->cfg_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ice_vf)->cfg_lock |
drivers/net/ethernet/intel/ice/virt/rss.c ice_parse_raw_rss_pattern() -> ice_parser_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psr | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->bst_lbl_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->bst_tcam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->flg_rd_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->imem_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->mi_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->mk_grp_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_nm_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_nm_sp_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->pg_sp_cam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->proto_grp_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->ptype_mk_tcam_table | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt->bst_key | 0-255 |
| PARAM_VALUE | 0 | psr->rt->gpr | 0-u16max |
| PARAM_VALUE | 0 | psr->rt->markers | 0-255 |
| PARAM_VALUE | 0 | psr->rt->offsets | 0-u16max |
| PARAM_VALUE | 0 | psr->rt->pkt_buf | 0-255 |
| PARAM_VALUE | 0 | psr->rt->protocols | 0-1 |
| PARAM_VALUE | 0 | psr->rt->pu.gpr_val | 0-u16max |
| PARAM_VALUE | 0 | psr->rt->pu.gpr_val_upd | 0-1 |
| PARAM_VALUE | 0 | psr->rt.action | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.alu0 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.alu1 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.alu2 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.bst_key | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.markers | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.pg_key.alu_reg | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.boost_idx | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag0 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag1 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag2 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.flag3 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.next_proto | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.node_id | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.alu_reg | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.boost_idx | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag0 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag1 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag2 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.flag3 | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.next_proto | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.val.node_id | 0 |
| PARAM_VALUE | 0 | psr->rt.pg_key.valid | 0 |
| PARAM_VALUE | 0 | psr->rt.pkt_len | 4,8,10,12,18,22,24,26,1024 |
| PARAM_VALUE | 0 | psr->rt.psr | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->rt.psr->hw | 0 |
| PARAM_VALUE | 0 | psr->rt.psr->mi_table | 0 |
| PARAM_VALUE | 0 | psr->rt.psr->rt.psr | 0 |
| PARAM_VALUE | 0 | psr->xlt_kb_acl | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->xlt_kb_fd | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->xlt_kb_rss | 4096-ptr_max |
| PARAM_VALUE | 0 | psr->xlt_kb_sw | 4096-ptr_max |
| BUF_SIZE | 0 | psr | 2200 |
| BUF_SIZE | 0 | psr->hw | 15232 |
| DATA_SOURCE | 0 | psr | r ice_parser_create |
| MEM_ZERO | 0 | psr->rt.bst_key | |
| MEM_ZERO | 0 | psr->rt.gpr | |
| MEM_ZERO | 0 | psr->rt.markers | |
| MEM_ZERO | 0 | psr->rt.offsets | |
| MEM_ZERO | 0 | psr->rt.pkt_buf | |
| MEM_ZERO | 0 | psr->rt.protocols | |
| MEM_ZERO | 0 | &psr->rt | |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | &vf->cfg_lock | ||
| TYPE_LOCK | (struct ice_vf)->cfg_lock |