Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/dev_addr_lists.c __hw_addr_list_reconcile() -> __hw_addr_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | new->node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 1 | new->node.rb_right | 0,4096-ptr_max |
| PARAM_VALUE | 1 | new->refcount | 1-s32max |
| PARAM_VALUE | 1 | new->sync_cnt | 1-s32max |
| CAPPED_DATA | 1 | &new->list | 1 |
| CAPPED_DATA | 1 | &new->node | 1 |
| CAPPED_DATA | 2 | addr_len | 1 |
| DATA_SOURCE | 0 | list | $0 |
| DATA_SOURCE | 2 | addr_len | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | addr_len | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &dev->addr_list_lock | ||
| HALF_LOCKED2 | &netdev->addr_list_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net_device)->addr_list_lock |
net/core/dev_addr_lists.c __hw_addr_list_snapshot() -> __hw_addr_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 0 | list->count | 0-s32max |
| PARAM_VALUE | 0 | list->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | list->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->global_use | 0 |
| PARAM_VALUE | 1 | new->synced | 0 |
| BUF_SIZE | 1 | new | (-1),64,104 |
| BUF_SIZE | 1 | new | (-1),64,104 |
| DATA_SOURCE | 0 | list | $0 |
| DATA_SOURCE | 2 | addr_len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | addr_len | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &dev->addr_list_lock | ||
| HALF_LOCKED2 | &netdev->addr_list_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net_device)->addr_list_lock |
net/core/dev_addr_lists.c dev_addr_mod() -> __hw_addr_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 0 | list->tree.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | new->node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 1 | new->node.rb_right | 0,4096-ptr_max |
| CAPPED_DATA | 1 | &new->node | 1 |
| UNITS | 2 | addr_len | unit_byte |