Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/net-sysfs.c carrier_show() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 9112994427058524160 |
| PARAM_VALUE | 2 | ndev | 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/net-sysfs.c duplex_show() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7276091118478245888 |
| PARAM_VALUE | 2 | ndev | 4096-ptr_max |
| PARAM_VALUE | 2 | ndev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | ndev->ethtool_ops->get_link_ksettings | 1-u64max |
| 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/net-sysfs.c ifalias_store() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 8421742172214181888 |
| PARAM_VALUE | 2 | ndev | 4096-ptr_max |
| CAPPED_DATA | 2 | ndev->nd_net.net | 1 |
| NS_CAPABLE | 0 | 12 | |
| 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/net-sysfs.c netdev_store() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 1173562007451168768,2299158523520466944,2371781192792326144,3538117481299468288,6677291923667447808,9112994427058524160 |
| PARAM_VALUE | 2 | ndev | 4096-ptr_max |
| CAPPED_DATA | 2 | ndev->nd_net.net | 1 |
| NS_CAPABLE | 0 | 12 | |
| 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/net-sysfs.c phys_port_id_show() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 897664257732747264 |
| PARAM_VALUE | 2 | ndev | 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/net-sysfs.c phys_port_name_show() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 3185460671691931648 |
| PARAM_VALUE | 2 | ndev | 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/net-sysfs.c phys_switch_id_show() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7160060428831420416 |
| PARAM_VALUE | 2 | ndev | 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/net-sysfs.c speed_show() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 774507870178091008 |
| PARAM_VALUE | 2 | ndev | 4096-ptr_max |
| PARAM_VALUE | 2 | ndev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | ndev->ethtool_ops->get_link_ksettings | 1-u64max |
| 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/net-sysfs.c traffic_class_show() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ndev | 4096-ptr_max |
| PARAM_VALUE | 2 | ndev->num_tx_queues | 2-u32max |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | ndev | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c tx_maxrate_store() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ndev | 4096-ptr_max |
| PARAM_VALUE | 2 | ndev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | ndev->netdev_ops->ndo_set_tx_maxrate | 663826992197451776,1536746548733267968,3424903977937309696,6674704622459142144,7140515758182232064,8094125269686288384 |
| PARAM_VALUE | 2 | ndev->num_tx_queues | 1-u32max |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | ndev | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c xps_cpus_show() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ndev | 4096-ptr_max |
| PARAM_VALUE | 2 | ndev->num_tx_queues | 2-u32max |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | ndev | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c xps_cpus_store() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ndev | 4096-ptr_max |
| PARAM_VALUE | 2 | ndev->num_tx_queues | 2-u32max |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | ndev | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c xps_rxqs_show() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ndev | 4096-ptr_max |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | ndev | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c xps_rxqs_store() -> sysfs_rtnl_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ndev | 4096-ptr_max |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 2 | ndev->nd_net.net | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | ndev | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |