Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/dsa/dsa.c dsa_switch_parse_member_of() -> dsa_switch_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sw_index | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |
drivers/net/dsa/mv88e6xxx/chip.c mv88e6xxx_pvt_map() -> dsa_switch_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 1 | sw_index | 1 |
| DATA_SOURCE | 1 | sw_index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->reg_lock | ||
| HALF_LOCKED2 | &chip->reg_lock | ||
| TYPE_LOCK | (struct mv88e6xxx_chip)->reg_lock |
net/dsa/tag_sja1105.c sja1110_rcv_meta() -> dsa_switch_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sw_index | 0-15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | sw_index | 0-15 |
| USER_DATA | 1 | sw_index | 1-15[c] |
| HALF_LOCKED2 | rcu_read |