Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/broadcom/asp2/bcmasp.c bcmasp_combine_set_filter() -> bcmasp_set_mda_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent->mda_filters | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 4096-ptr_max |
| PARAM_VALUE | 3 | i | 0-4294967294 |
| BUF_SIZE | 1 | addr | 32 |
| BUF_SIZE | 1 | addr | 32 |
| BUF_SIZE | 2 | mask | 6 |
| BUF_SIZE | 2 | mask | 6 |
| CAPPED_DATA | 0 | intf->parent->num_mda_filters | 1 |
| CAPPED_DATA | 0 | intf->port | 1 |
| CAPPED_DATA | 3 | i | 1 |
| DATA_SOURCE | 0 | intf | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | mask | $2 |
| DATA_SOURCE | 3 | i | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | i | unit_array_size |
| LOCK2 | bh | ||
| LOCK2 | 0 | &intf->parent->mda_lock | |
| HALF_LOCKED2 | &dev->addr_list_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct bcmasp_priv)->mda_lock |
drivers/net/ethernet/broadcom/asp2/bcmasp.c bcmasp_set_allmulti() -> bcmasp_set_mda_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent->mda_filters | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 6 |
| BUF_SIZE | 2 | mask | 6 |
| CAPPED_DATA | 0 | intf->parent->num_mda_filters | 1 |
| DATA_SOURCE | 0 | intf | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &intf->parent->mda_lock | |
| HALF_LOCKED2 | &dev->addr_list_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct bcmasp_priv)->mda_lock |
drivers/net/ethernet/broadcom/asp2/bcmasp.c bcmasp_set_broad() -> bcmasp_set_mda_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent->mda_filters | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 8094640249774444544 |
| PARAM_VALUE | 2 | mask | 8094640249774444544 |
| BUF_SIZE | 1 | addr | 6 |
| BUF_SIZE | 2 | mask | 6 |
| CAPPED_DATA | 0 | intf->parent->num_mda_filters | 1 |
| DATA_SOURCE | 0 | intf | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &intf->parent->mda_lock | |
| HALF_LOCKED2 | &dev->addr_list_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct bcmasp_priv)->mda_lock |
drivers/net/ethernet/broadcom/asp2/bcmasp.c bcmasp_set_en_mda_filter() -> bcmasp_set_mda_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent->mda_filters | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 4096-ptr_max |
| PARAM_VALUE | 3 | i | 0-4294967294 |
| BUF_SIZE | 1 | addr | 32 |
| BUF_SIZE | 1 | addr | 32 |
| BUF_SIZE | 2 | mask | 6 |
| BUF_SIZE | 2 | mask | 6 |
| CAPPED_DATA | 0 | intf->parent->num_mda_filters | 1 |
| CAPPED_DATA | 3 | i | 1 |
| DATA_SOURCE | 0 | intf | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | mask | $2 |
| CONSTRAINT | 3 | i | <1313 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | i | unit_array_size |
| LOCK2 | bh | ||
| LOCK2 | 0 | &intf->parent->mda_lock | |
| HALF_LOCKED2 | &dev->addr_list_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct bcmasp_priv)->mda_lock |
drivers/net/ethernet/broadcom/asp2/bcmasp.c bcmasp_set_oaddr() -> bcmasp_set_mda_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent->mda_filters | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 32 |
| BUF_SIZE | 1 | addr | 32 |
| BUF_SIZE | 2 | mask | 6 |
| CAPPED_DATA | 0 | intf->parent->num_mda_filters | 1 |
| DATA_SOURCE | 0 | intf | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *addr | 0-255 |
| LOCK2 | bh | ||
| LOCK2 | 0 | &intf->parent->mda_lock | |
| HALF_LOCKED2 | &dev->addr_list_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct bcmasp_priv)->mda_lock |
drivers/net/ethernet/broadcom/asp2/bcmasp.c bcmasp_set_promisc() -> bcmasp_set_mda_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 5637232923870453760 |
| PARAM_VALUE | 2 | mask | 5637232923870453760 |
| BUF_SIZE | 1 | addr | 6 |
| BUF_SIZE | 2 | mask | 6 |
| CAPPED_DATA | 0 | intf->parent->num_mda_filters | 1 |
| DATA_SOURCE | 0 | intf | $0 |
| BIT_INFO | 3 | i | 0x0,0x7fffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &intf->parent->mda_lock | |
| HALF_LOCKED2 | &dev->addr_list_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct bcmasp_priv)->mda_lock |