Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/net/bonding/bond_main.c, line 1402
- drivers/net/macvlan.c, line 1153
- drivers/net/netconsole.c, line 539
- drivers/net/team/team_core.c, line 1149
- net/8021q/vlan_dev.c, line 731
- net/bridge/br_device.c, line 315
- net/core/netpoll.c, line 393
- net/dsa/user.c, line 1325
Smatch caller information:
drivers/net/netconsole.c netcons_netpoll_setup() -> __netpoll_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->dev_mac | 4096-ptr_max |
| PARAM_VALUE | 0 | np->dev_name | 4096-ptr_max |
| PARAM_VALUE | 0 | np->dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ndev | 4096-ptr_max |
| PARAM_VALUE | 1 | ndev->npinfo->dev_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | ndev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ndev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| BUF_SIZE | 0 | np | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex |
drivers/net/macvlan.c macvlan_dev_netpoll_setup() -> __netpoll_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| BUF_SIZE | 0 | np | 48 |
| DATA_SOURCE | 0 | np | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/bonding/bond_main.c slave_enable_netpoll() -> __netpoll_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| BUF_SIZE | 0 | np | 48 |
| DATA_SOURCE | 0 | np | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ndev | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/team/team_core.c __team_port_enable_netpoll() -> __netpoll_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| BUF_SIZE | 0 | np | 48 |
| DATA_SOURCE | 0 | np | r _kzalloc_noprof |
| NOSPEC | 1 | ndev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ndev->flags | 0-527361[c] |
| USER_DATA | 1 | ndev->ifindex | 0-s32max[c] |
| USER_DATA | 1 | ndev->mtu | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | ndev->group | |
| NO_OVERFLOW_SIMPLE | 1 | ndev->proto_down | |
| NO_OVERFLOW_SIMPLE | 1 | ndev->real_num_rx_queues | |
| HALF_LOCKED2 | global &rtnl_mutex |
net/8021q/vlan_dev.c vlan_dev_netpoll_setup() -> __netpoll_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| BUF_SIZE | 0 | np | 48 |
| DATA_SOURCE | 0 | np | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ndev | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
net/bridge/br_device.c __br_netpoll_enable() -> __netpoll_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | ndev | 1-u64max |
| PARAM_VALUE | 1 | *ndev->name | 0-255 |
| BUF_SIZE | 0 | np | 48 |
| DATA_SOURCE | 0 | np | r _kzalloc_noprof |
| NOSPEC | 1 | ndev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ndev->flags | 0-525824[c] |
| USER_DATA | 1 | ndev->ifindex | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | ndev->group | |
| NO_OVERFLOW_SIMPLE | 1 | ndev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 1 | ndev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 1 | ndev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 1 | ndev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 1 | ndev->real_num_tx_queues | |
| UNITS | 1 | ndev | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
net/dsa/user.c dsa_user_netpoll_setup() -> __netpoll_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| BUF_SIZE | 0 | np | 48 |
| DATA_SOURCE | 0 | np | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ndev | r dsa_user_to_conduit |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |