Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/core/netdev-genl.c netdev_nl_napi_set_config() -> napi_set_threaded()

Type Parameter Key Value
PARAM_VALUE 0 napi 4096-ptr_max
PARAM_VALUE 0 napi->dev 4096-ptr_max
PARAM_VALUE 0 napi->dev->lock.dep_map->name 0-255
PARAM_VALUE 0 napi->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 napi->dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 napi->dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 napi->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 napi->dev->moving_ns 0
PARAM_VALUE 0 napi->dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 napi->dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 napi->dev->refcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 napi->dev->refcnt_tracker.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 napi->dev->refcnt_tracker.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 0 napi->dev->reg_state 0-1
PARAM_VALUE 0 napi->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,33-34,50
PARAM_VALUE 0 napi->dev->rtnl_link_ops->priv_size 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728
CAPPED_DATA 0 napi->dev 1
CAPPED_DATA 0 napi->dev->nd_net.net 1
CAPPED_DATA 0 napi->napi_id 1
DATA_SOURCE 0 napi $0
DATA_SOURCE 1 threaded r nla_get_uint
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->lock
HALF_LOCKED2 &devlink->lock
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 &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/core/dev.c napi_restore_config() -> napi_set_threaded()

Type Parameter Key Value
PARAM_VALUE 0 napi 4096-ptr_max
PARAM_VALUE 0 napi->config 4096-ptr_max
PARAM_VALUE 0 napi->dev 4096-ptr_max
BUF_SIZE 0 napi (-1),560
BUF_SIZE 0 napi (-1),560
DATA_SOURCE 0 napi $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &lp->lock
HALF_LOCKED2 &np->lock
HALF_LOCKED2 &port->napi.dev->lock
HALF_LOCKED2 &pp->lock
HALF_LOCKED2 &tp->rx_lock
HALF_LOCKED2 &vptr->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 irq
HALF_LOCKED2 0 &napi->dev->lock

net/core/dev.c netif_set_threaded() -> napi_set_threaded()

Type Parameter Key Value
PARAM_VALUE 0 napi 4096-ptr_max
CAPPED_DATA 0 &napi->dev_list 1
DATA_SOURCE 1 threaded $1 [m]
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 napi->config->threaded 0-255
USER_DATA 1 threaded 0-u32max
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &of->mutex