Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/dev.c netdev_name_node_alt_create() -> netdev_name_node_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->name_node | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| BUF_SIZE | 1 | name | 1-65536 |
| BUF_SIZE | 1 | name | 1-65536 |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | name | $1 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *name | 0-255 |
| USER_PTR | 1 | name | |
| 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 &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/core/dev.c netdev_name_node_head_alloc() -> netdev_name_node_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 1 | name | 16 |
| DATA_SOURCE | 0 | dev | $0 |