Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/dev.c napi_set_threaded() -> napi_kthread_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,33-34,50 |
| PARAM_VALUE | 0 | n->dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | n->thread | 0 |
| DATA_SOURCE | 0 | n | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | n->config->threaded | 0-255 |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | 0 | &n->dev->lock |
net/core/dev.c netif_napi_add_weight_locked() -> napi_kthread_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->config | 0,4096-ptr_max |
| PARAM_VALUE | 0 | n->config->threaded | 1-255 |
| PARAM_VALUE | 0 | n->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | n->dev_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | n->dev_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | n->gro.bitmask | 0 |
| PARAM_VALUE | 0 | n->gro.cached_napi_id | 0 |
| PARAM_VALUE | 0 | n->gro.rx_count | 0 |
| PARAM_VALUE | 0 | n->gro.rx_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | n->gro.rx_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | n->gro.rx_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | n->gro.rx_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | n->gro.rx_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | n->list_owner | (-1) |
| PARAM_VALUE | 0 | n->napi_hash_node.next | 0 |
| PARAM_VALUE | 0 | n->napi_hash_node.pprev | 0 |
| PARAM_VALUE | 0 | n->poll_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | n->poll_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | n->poll_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | n->poll_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | n->poll_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | n->poll_owner | (-1) |
| PARAM_VALUE | 0 | n->skb | 0 |
| PARAM_VALUE | 0 | n->timer._softexpires | 0 |
| PARAM_VALUE | 0 | n->timer.base | 4096-ptr_max |
| PARAM_VALUE | 0 | n->timer.function | 1-u64max |
| PARAM_VALUE | 0 | n->timer.is_queued | 0 |
| PARAM_VALUE | 0 | n->timer.is_rel | 0 |
| PARAM_VALUE | 0 | n->timer.node.expires | 0 |
| PARAM_VALUE | 0 | n->timer.node.node.next | 0 |
| PARAM_VALUE | 0 | n->timer.node.node.node.rb_left | 0 |
| PARAM_VALUE | 0 | n->timer.node.node.node.rb_right | 0 |
| PARAM_VALUE | 0 | n->timer.node.node.prev | 0 |
| DATA_SOURCE | 0 | n | $1 |
| MEM_ZERO | 0 | &n->timer | |
| NO_OVERFLOW_SIMPLE | 0 | n->skb->end |
net/core/dev.c netif_set_threaded() -> napi_kthread_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->thread | 0 |
| CAPPED_DATA | 0 | &n->dev_list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &of->mutex |