Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/intel/idpf/idpf_lib.c __idpf_add_mac_filter() -> idpf_find_mac_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vconfig | 4096-ptr_max |
| BUF_SIZE | 1 | macaddr | 6,14,32 |
| BUF_SIZE | 1 | macaddr | 6,14,32 |
| DATA_SOURCE | 0 | vconfig | $0 |
| DATA_SOURCE | 1 | macaddr | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vconfig->mac_filter_list_lock | |
| HALF_LOCKED2 | &(r netdev_priv(np))->adapter->vport_ctrl_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct idpf_vport_config)->mac_filter_list_lock |
drivers/net/ethernet/intel/idpf/idpf_lib.c __idpf_del_mac_filter() -> idpf_find_mac_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vconfig | 4096-ptr_max |
| PARAM_VALUE | 1 | macaddr | 4096-ptr_max |
| BUF_SIZE | 1 | macaddr | 6,14,32 |
| BUF_SIZE | 1 | macaddr | 6,14,32 |
| DATA_SOURCE | 0 | vconfig | $0 |
| DATA_SOURCE | 1 | macaddr | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vconfig->mac_filter_list_lock | |
| TYPE_LOCK | (struct idpf_vport_config)->mac_filter_list_lock |
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_deinit_mac_addr() -> idpf_find_mac_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vconfig | 4096-ptr_max |
| BUF_SIZE | 1 | macaddr | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vconfig->mac_filter_list_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct idpf_vport_config)->mac_filter_list_lock |
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_del_mac_filter() -> idpf_find_mac_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vconfig | 4096-ptr_max |
| PARAM_VALUE | 1 | macaddr | 4096-ptr_max |
| BUF_SIZE | 1 | macaddr | 32 |
| BUF_SIZE | 1 | macaddr | 32 |
| DATA_SOURCE | 1 | macaddr | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vconfig->mac_filter_list_lock | |
| TYPE_LOCK | (struct idpf_vport_config)->mac_filter_list_lock |