Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/dev_addr_lists.c dev_addr_add() -> __hw_addr_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 3 | addr_type | 1-2 |
| BUF_SIZE | 1 | addr | 6 |
| BUF_SIZE | 1 | addr | 6 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | addr_type | $2 |
| HARD_MAX | 3 | addr_type | 2 |
| UNITS | 2 | addr_len | unit_byte |
| LOCK2 | global &rtnl_mutex |
net/core/dev_addr_lists.c dev_addr_init() -> __hw_addr_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 0 | list->count | 0 |
| PARAM_VALUE | 0 | list->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | list->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1303803614382366720 |
| PARAM_VALUE | 2 | addr_len | 32 |
| PARAM_VALUE | 3 | addr_type | 1 |
| BUF_SIZE | 1 | addr | 32 |
| UNITS | 2 | addr_len | unit_byte |
net/core/dev_addr_lists.c dev_uc_add() -> __hw_addr_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 3 | addr_type | 3 |
| BUF_SIZE | 1 | addr | (-1),6,14,32,126 |
| BUF_SIZE | 1 | addr | (-1),6,14,32,126 |
| DATA_SOURCE | 1 | addr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *addr | 0-255 |
| UNITS | 2 | addr_len | unit_byte |
| USER_PTR | 1 | addr | |
| LOCK2 | &dev->addr_list_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &br->hash_lock | ||
| HALF_LOCKED2 | global &fcoe_config_mutex | ||
| HALF_LOCKED2 | global &ft_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct net_device)->addr_list_lock |