Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/dsa/ocelot/felix.c, line 2447
- drivers/net/dsa/ocelot/felix_vsc9959.c, line 2647
- drivers/net/dsa/ocelot/ocelot_ext.c, line 37
- drivers/net/dsa/ocelot/seville_vsc9953.c, line 874
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_eth_ctrl_stats() -> (struct ocelot_ops)->port_to_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | port | $1 |
| CONTAINER | 0 | -0-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_eth_mac_stats() -> (struct ocelot_ops)->port_to_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | port | $1 |
| CONTAINER | 0 | -0-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_eth_phy_stats() -> (struct ocelot_ops)->port_to_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | port | $1 |
| CONTAINER | 0 | -0-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_pause_stats() -> (struct ocelot_ops)->port_to_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | port | $1 |
| CONTAINER | 0 | -0-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_rmon_stats() -> (struct ocelot_ops)->port_to_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | port | $1 |
| CONTAINER | 0 | -0-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mscc/ocelot.c ocelot_port_mqprio() -> (struct ocelot_ops)->port_to_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops->port_to_netdev | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | port | $1 |
| CONTAINER | 0 | -0-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ocelot->fwd_domain_lock | |
| TYPE_LOCK | (struct ocelot)->fwd_domain_lock |
drivers/net/ethernet/mscc/ocelot.c ocelot_port_reset_mqprio() -> (struct ocelot_ops)->port_to_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops->port_to_netdev | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | port | $1 |
| CONTAINER | 0 | -0-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ocelot->fwd_domain_lock | |
| TYPE_LOCK | (struct ocelot)->fwd_domain_lock |
drivers/net/ethernet/mscc/ocelot.c ocelot_xtr_poll_frame() -> (struct ocelot_ops)->port_to_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->inj_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->num_phys_ports | 1-255 |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 0-254 |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ocelot->num_phys_ports | 1 |
| CAPPED_DATA | 1 | port | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| CONTAINER | 0 | -0-24+0 | $(-1) |
| PARAM_COMPARE | 0 | ocelot->num_phys_ports | > $1 |
| PARAM_COMPARE | 1 | port | < $0->num_phys_ports |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ocelot->inj_lock | |
| TYPE_LOCK | (struct ocelot)->inj_lock |
drivers/net/ethernet/mscc/ocelot_flower.c ocelot_flower_parse_indev() -> (struct ocelot_ops)->port_to_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vcap | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | port | $1 |
| CONTAINER | 0 | -0-24+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |