Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/dsa/realtek/rtl8366-core.c rtl8366_obtain_mc() -> (struct realtek_ops)->set_vlan_mc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->map->async | 0 |
| PARAM_VALUE | 0 | priv->map->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->map->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | priv->map->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | priv->map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | priv->num_vlan_mc | 1-s32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->enable_vlan | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->is_vlan_valid | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->vlan4k_enabled | 1 |
| PARAM_VALUE | 0 | priv->vlan_enabled | 1 |
| PARAM_VALUE | 0 | *priv->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | index | 0-15 |
| PARAM_VALUE | 2 | vlanmc | 305833676822155264,9062867256807419904 |
| PARAM_VALUE | 2 | vlanmc->fid | 0-7 |
| PARAM_VALUE | 2 | vlanmc->member | 0-255 |
| PARAM_VALUE | 2 | vlanmc->priority | 0-7 |
| PARAM_VALUE | 2 | vlanmc->untag | 0-255 |
| PARAM_VALUE | 2 | vlanmc->vid | 0-4095 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | priv->map->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->wr_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->num_vlan_mc | 1 |
| CAPPED_DATA | 1 | index | 1 |
| CAPPED_DATA | 2 | vlanmc->vid | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | vlanmc | $2 |
| CONTAINER | 0 | -40-800+0 | $(-1) |
| PARAM_COMPARE | 1 | index | < $0->num_vlan_mc |
| MEM_ZERO | 2 | vlanmc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | vlanmc->vid | 0-4095[c] |
| HALF_LOCKED2 | &dp->vlans_lock |
drivers/net/dsa/realtek/rtl8366-core.c rtl8366_obtain_mc() -> (struct realtek_ops)->set_vlan_mc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->map->async | 0 |
| PARAM_VALUE | 0 | priv->map->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->map->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | priv->map->cache->cached_rbnode->node.__rb_parent_color | 0-1,4096-s64max |
| PARAM_VALUE | 0 | priv->map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | priv->num_vlan_mc | 1-s32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->enable_vlan | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->is_vlan_valid | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->vlan4k_enabled | 1 |
| PARAM_VALUE | 0 | priv->vlan_enabled | 1 |
| PARAM_VALUE | 0 | *priv->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | index | 0-2147483646 |
| PARAM_VALUE | 2 | vlanmc | 305833676822155264,9062867256807419904 |
| PARAM_VALUE | 2 | vlanmc->fid | 0-7 |
| PARAM_VALUE | 2 | vlanmc->member | 0-255 |
| PARAM_VALUE | 2 | vlanmc->untag | 0-255 |
| PARAM_VALUE | 2 | vlanmc->vid | 0-4095 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | priv->map->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->wr_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->num_ports | 1 |
| CAPPED_DATA | 0 | priv->num_vlan_mc | 1 |
| CAPPED_DATA | 1 | index | 1 |
| CAPPED_DATA | 2 | vlanmc->vid | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | vlanmc | $2 |
| CONTAINER | 0 | -40-800+0 | $(-1) |
| PARAM_COMPARE | 1 | index | < $0->num_vlan_mc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | vlanmc->vid | 0-4095[c] |
| HALF_LOCKED2 | &dp->vlans_lock |
drivers/net/dsa/realtek/rtl8366-core.c rtl8366_reset_vlan() -> (struct realtek_ops)->set_vlan_mc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->ds.dst | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->map | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->map->async | 0 |
| PARAM_VALUE | 0 | priv->map->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->map->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | priv->map->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | priv->num_vlan_mc | 1-u32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->enable_vlan | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-s32max |
| PARAM_VALUE | 2 | vlanmc | 4242573445156007936 |
| PARAM_VALUE | 2 | vlanmc->fid | 0 |
| PARAM_VALUE | 2 | vlanmc->member | 0 |
| PARAM_VALUE | 2 | vlanmc->priority | 0 |
| PARAM_VALUE | 2 | vlanmc->untag | 0 |
| PARAM_VALUE | 2 | vlanmc->vid | 0 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | priv->map->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->wr_table->n_yes_ranges | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| CONTAINER | 0 | -40-800+0 | $(-1) |
| PARAM_COMPARE | 1 | index | < $0->num_vlan_mc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/realtek/rtl8366-core.c rtl8366_set_vlan() -> (struct realtek_ops)->set_vlan_mc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->map->async | 0 |
| PARAM_VALUE | 0 | priv->map->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | priv->map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | priv->num_vlan_mc | 1-u32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->enable_vlan | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->vlan4k_enabled | 1 |
| PARAM_VALUE | 0 | priv->vlan_enabled | 1 |
| PARAM_VALUE | 1 | index | 0-s32max |
| PARAM_VALUE | 2 | vlanmc | 305833676822155264 |
| PARAM_VALUE | 2 | vlanmc->fid | 0 |
| PARAM_VALUE | 2 | vlanmc->priority | 0-7 |
| PARAM_VALUE | 2 | vlanmc->vid | 0-4095 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | priv->map->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | priv->map->wr_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | priv->num_vlan_mc | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| CONTAINER | 0 | -40-800+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | vlanmc->member | 0-u16max[c][u] |
| USER_DATA | 2 | vlanmc->untag | 0-u16max[c][u] |
| USER_DATA | 2 | vlanmc->vid | 0-4095[c] |
| HALF_LOCKED2 | &dp->vlans_lock |
drivers/net/dsa/realtek/rtl8366-core.c rtl8366_vlan_del() -> (struct realtek_ops)->set_vlan_mc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->num_vlan_mc | 1-u32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| PARAM_VALUE | 2 | vlanmc | 6190742201752772608 |
| PARAM_VALUE | 2 | vlanmc->fid | 0-7 |
| PARAM_VALUE | 2 | vlanmc->member | 0-255 |
| PARAM_VALUE | 2 | vlanmc->priority | 0-7 |
| PARAM_VALUE | 2 | vlanmc->untag | 0-255 |
| PARAM_VALUE | 2 | vlanmc->vid | 0-4095 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| CONTAINER | 0 | -40-800+0 | $(-1) |
| PARAM_COMPARE | 1 | index | < $0->num_vlan_mc |
| MEM_ZERO | 2 | vlanmc | |
| HALF_LOCKED2 | &dp->vlans_lock |