Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/dev.c netdev_name_node_add() -> dev_name_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | name | (-1),1-65536 |
| BUF_SIZE | 1 | name | (-1),1-65536 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *name | 0-255 |
| UNITS | 0 | net | unit_byte |
| USER_PTR | 1 | name | |
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/dev.c netdev_name_node_lookup() -> dev_name_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | name | (-1)-s32max |
| BUF_SIZE | 1 | name | (-1)-s32max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | name | $1 |
| STR_LEN | 0 | net | (-1)-1010101 |
| STR_LEN | 0 | net | (-1)-1010101 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *name | 0-255 |
| UNITS | 0 | net | unit_byte |
| USER_PTR | 1 | name | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &net->rtnl_mutex |
net/core/dev.c netdev_name_node_lookup_rcu() -> dev_name_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | name | (-1),5,13-18,21,128,192,196,200 |
| BUF_SIZE | 1 | name | (-1),5,13-18,21,128,192,196,200 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | name | $1 |
| STR_LEN | 0 | net | (-1)-60 |
| STR_LEN | 0 | net | (-1)-60 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *name | 0-255 |
| UNITS | 0 | net | unit_byte |
| USER_PTR | 1 | name | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ops->lock | ||
| HALF_LOCKED2 | &po->bind_lock | ||
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | sk |