Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/ethernet/ti/am65-cpsw-nuss.c, line 1368
- net/core/dev.c, line 9747
- net/core/link_watch.c
- net/core/net-sysfs.c, line 420
- net/core/rtnetlink.c, line 1106
Smatch caller information:
net/core/net-sysfs.c dormant_show() -> netif_dormant()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/dev.c netif_get_flags() -> netif_dormant()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev->ethtool_ops | (-1),656 |
| BUF_SIZE | 0 | dev->header_ops | (-1)-0,48 |
| BUF_SIZE | 0 | dev->nd_net.net | (-1),10304,10432,10496 |
| BUF_SIZE | 0 | dev->rtnl_link_ops | (-1),288 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | (-1) |
| STR_LEN | 0 | dev | (-1) |
| STR_LEN | 0 | dev->nd_net.net | (-1) |
| NOSPEC | 0 | dev->flags | |
| NOSPEC | 0 | dev->ifindex | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-527873[c] |
| USER_DATA | 0 | dev->ifindex | s32min-s32max |
| USER_DATA | 0 | dev->mtu | 0-s32max[c] |
| USER_DATA | 0 | dev->num_tc | 2-16[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->mem_start | |
| NO_OVERFLOW_SIMPLE | 0 | dev->name | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | dev->tx_queue_len | |
| UNITS | 0 | dev | unit_byte |
| USER_PTR | 0 | dev->broadcast | |
| USER_PTR | 0 | dev->ieee80211_ptr->u.client.ssid | |
| USER_PTR | 0 | dev->name | |
| HALF_LOCKED2 | &net->mpls.platform_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rxe->usdev_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &dev->ethtool->rss_lock | |
| HALF_LOCKED2 | 0 | &dev->lock |
net/core/link_watch.c default_operstate() -> netif_dormant()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/core/link_watch.c linkwatch_init_dev() -> netif_dormant()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
net/core/rtnetlink.c set_operstate() -> netif_dormant()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev->nd_net.net | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex |