Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/core/netdev_work.c netdev_work_enqueue() -> dev_isalive()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev->header_ops (-1)-0,48
BUF_SIZE 0 dev->nd_net.net (-1),10304,10432
BUF_SIZE 0 dev->rtnl_link_ops (-1),288
DATA_SOURCE 0 dev $0
STR_LEN 0 dev (-1)-63
STR_LEN 0 dev (-1)-63
NOSPEC 0 dev->ifindex
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dev->flags 1-527361[c]
USER_DATA 0 dev->group s32min-s32max
USER_DATA 0 dev->ifindex s32min-s32max
USER_DATA 0 dev->mtu 0-s32max[c]
USER_DATA 0 dev->num_tc 1-16[c]
USER_DATA 0 dev->real_num_rx_queues 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 dev->mem_start
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_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->name
LOCK2 bh
LOCK2 global &netdev_work_lock
HALF_LOCKED2 0 &dev->addr_list_lock
HALF_LOCKED2 0 &dev->ethtool->rss_lock
HALF_LOCKED2 0 &dev->lock

net/core/netdev_work.c netdev_work_proc() -> dev_isalive()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 &dev->work_node 1
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 global &netdev_work_lock
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

net/core/net-sysfs.c address_show() -> dev_isalive()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &dev_addr_sem
LOCK2 rcu_read
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c broadcast_show() -> dev_isalive()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 rcu_read
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c netdev_lock_store() -> dev_isalive()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev->nd_net.net 1
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &dev->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct net_device)->lock

net/core/net-sysfs.c netdev_show() -> dev_isalive()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 rcu_read
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c netstat_show() -> dev_isalive()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 rcu_read
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c sysfs_rtnl_lock() -> dev_isalive()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
DATA_SOURCE 0 dev $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 &of->mutex
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/net-sysfs.c threaded_show() -> dev_isalive()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 rcu_read
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/core/rtnetlink.c rtnl_getlink() -> dev_isalive()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rx_queue_mutex