Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mscc/ocelot.c ocelot_add_vlan_unaware_pvid() -> ocelot_vlan_unaware_pvid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ports | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ocelot->num_phys_ports | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | bridge | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bridge | unit_byte |
drivers/net/ethernet/mscc/ocelot.c ocelot_del_vlan_unaware_pvid() -> ocelot_vlan_unaware_pvid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ports | 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 | bridge | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bridge | unit_byte |
| HALF_LOCKED2 | 0 | &ocelot->fwd_domain_lock |
drivers/net/ethernet/mscc/ocelot.c ocelot_fdb_add() -> ocelot_vlan_unaware_pvid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | bridge | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bridge | unit_byte |
drivers/net/ethernet/mscc/ocelot.c ocelot_fdb_del() -> ocelot_vlan_unaware_pvid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | bridge | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bridge | unit_byte |
drivers/net/ethernet/mscc/ocelot.c ocelot_lag_fdb_add() -> ocelot_vlan_unaware_pvid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bridge | 0-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ocelot->fwd_domain_lock | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | bridge | $4 |
| UNITS | 0 | ocelot | unit_byte |
| LOCK2 | &lag->fdb_lock | ||
| LOCK2 | 0 | &ocelot->fwd_domain_lock | |
| TYPE_LOCK | (struct dsa_lag)->fdb_lock | ||
| TYPE_LOCK | (struct ocelot)->fwd_domain_lock |
drivers/net/ethernet/mscc/ocelot.c ocelot_lag_fdb_del() -> ocelot_vlan_unaware_pvid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bridge | 0-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ocelot->fwd_domain_lock | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | bridge | $4 |
| UNITS | 0 | ocelot | unit_byte |
| LOCK2 | &lag->fdb_lock | ||
| LOCK2 | 0 | &ocelot->fwd_domain_lock | |
| TYPE_LOCK | (struct dsa_lag)->fdb_lock | ||
| TYPE_LOCK | (struct ocelot)->fwd_domain_lock |
drivers/net/ethernet/mscc/ocelot.c ocelot_port_mdb_add() -> ocelot_vlan_unaware_pvid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | bridge | $3 |
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bridge | unit_byte |
drivers/net/ethernet/mscc/ocelot.c ocelot_port_mdb_del() -> ocelot_vlan_unaware_pvid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | bridge | $3 |
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bridge | unit_byte |
drivers/net/ethernet/mscc/ocelot.c ocelot_port_set_pvid() -> ocelot_vlan_unaware_pvid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ports | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bridge | unit_byte |
| HALF_LOCKED2 | 0 | &ocelot->fwd_domain_lock |