Defined in 1 files as a function:
Referenced in 9 files:
- drivers/net/dsa/microchip/ksz8.c, line 2054
- drivers/net/dsa/microchip/ksz9477.c, line 1393
- drivers/net/dsa/microchip/lan937x_main.c, line 423
- drivers/net/dsa/mt7530.c, line 1373
- drivers/net/dsa/mv88e6060.c, line 146
- drivers/net/dsa/ocelot/felix_vsc9959.c, line 2567
- drivers/net/dsa/qca/ar9331.c, line 407
- drivers/net/dsa/qca/qca8k-8xxx.c, line 1939
- net/dsa/dsa.c, line 634
Smatch caller information:
net/dsa/dsa.c dsa_switch_setup() -> dsa_user_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ds | unit_byte |
| LOCK2 | global &dsa2_mutex |
drivers/net/dsa/microchip/ksz9477.c ksz9477_port_setup() -> dsa_user_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ds | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/qca/ar9331.c ar9331_sw_setup_port() -> dsa_user_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst | 4096-ptr_max |
| CAPPED_DATA | 0 | ds | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/ocelot/felix_vsc9959.c vsc9959_cut_through_fwd() -> dsa_user_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst | 4096-ptr_max |
| CAPPED_DATA | 0 | ds | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ocelot->fwd_domain_lock | ||
| TYPE_LOCK | (struct ocelot)->fwd_domain_lock |
drivers/net/dsa/microchip/lan937x_main.c lan937x_port_setup() -> dsa_user_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ds | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/mv88e6060.c mv88e6060_setup_port() -> dsa_user_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/qca/qca8k-8xxx.c qca8k_setup() -> dsa_user_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst | 4096-ptr_max |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | &ds->dst->ports | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ds | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/microchip/ksz8.c ksz8_port_setup() -> dsa_user_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ds | unit_byte |
drivers/net/dsa/mt7530.c mt753x_cpu_port_enable() -> dsa_user_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ds | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |