Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/mscc/ocelot.c ocelot_lag_fdb_add() -> ocelot_bond_get_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| 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 | bond | $1 |
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bond | 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_lag_leave() -> ocelot_bond_get_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &ocelot->fwd_domain_lock | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | bond | $2 |
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bond | unit_byte |
| LOCK2 | 0 | &ocelot->fwd_domain_lock | |
| TYPE_LOCK | (struct ocelot)->fwd_domain_lock |
drivers/net/ethernet/mscc/ocelot.c ocelot_port_lag_leave() -> ocelot_bond_get_id()
| 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->map | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops | 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 |
| CAPPED_DATA | 0 | &ocelot->fwd_domain_lock | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | bond | $2 |
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bond | unit_byte |
| LOCK2 | 0 | &ocelot->fwd_domain_lock | |
| TYPE_LOCK | (struct ocelot)->fwd_domain_lock |
drivers/net/ethernet/mscc/ocelot.c ocelot_setup_logical_port_ids() -> ocelot_bond_get_id()
| 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->num_phys_ports | 1-255 |
| PARAM_VALUE | 0 | ocelot->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | bond | 1-u64max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | bond | unit_byte |
| LOCK2 | 0 | &ocelot->fwd_domain_lock | |
| TYPE_LOCK | (struct ocelot)->fwd_domain_lock |
drivers/net/dsa/ocelot/felix.c felix_cpu_port_for_conduit() -> ocelot_bond_get_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | bond | 4096-ptr_max |
| PARAM_VALUE | 1 | bond->flags | 1024-u32max |
| PARAM_VALUE | 1 | bond->priv_flags | 4-u32max |
| PARAM_VALUE | 1 | bond->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max |
| 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 | 1 | bond | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| LOCK2 | 0 | &ocelot->fwd_domain_lock | |
| TYPE_LOCK | (struct ocelot)->fwd_domain_lock |