Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/dev.c __dev_get_by_name() -> netdev_name_node_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),10304,10432 |
| BUF_SIZE | 0 | net | (-1),10304,10432 |
| BUF_SIZE | 1 | name | (-1),1,6,8,16,23-24,128 |
| BUF_SIZE | 1 | name | (-1),1,6,8,16,23-24,128 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | name | $1 |
| STR_LEN | 0 | net | (-1)-1010101 |
| STR_LEN | 0 | net | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *name | 0-255 |
| UNITS | 0 | net | unit_byte |
| USER_PTR | 1 | name | |
| HALF_LOCKED2 | &ipvs->sync_mutex | ||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &br_ioctl_mutex | ||
| HALF_LOCKED2 | global &nvmf_dev_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &vlan_ioctl_mutex | ||
| HALF_LOCKED2 | 0 | &net->rtnl_mutex |
net/core/dev.c netdev_name_in_use() -> netdev_name_node_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | name | (-1),1-s32max |
| BUF_SIZE | 1 | name | (-1),1-s32max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | name | $1 |
| STR_LEN | 0 | net | (-1),15 |
| STR_LEN | 0 | net | (-1),15 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *name | 1-255 |
| UNITS | 0 | net | unit_byte |
| USER_PTR | 1 | name | |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | &pn->all_ppp_mutex | ||
| HALF_LOCKED2 | global &init_net.rtnl_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &ppp_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/dev.c netdev_name_node_alt_create() -> netdev_name_node_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| BUF_SIZE | 1 | name | 1-65536 |
| BUF_SIZE | 1 | name | 1-65536 |
| DATA_SOURCE | 1 | name | $1 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *name | 0-255 |
| UNITS | 0 | net | unit_byte |
| 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_alt_destroy() -> netdev_name_node_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| BUF_SIZE | 1 | name | 1-65536 |
| BUF_SIZE | 1 | name | 1-65536 |
| DATA_SOURCE | 1 | name | $1 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *name | 0-255 |
| UNITS | 0 | net | unit_byte |
| 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 |