Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
- kernel/trace/ftrace.c
Smatch caller information:
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c __cxgb4_set_filter() -> clear_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->tids.ftid_bmap | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->tids.ftid_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adap->tids.ftid_tab | 4096-ptr_max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->valid | 0 |
| BUF_SIZE | 1 | f->dev | (-1),16,32,40,48,88,208,544,936 |
| DATA_SOURCE | 0 | adap | r netdev2adap |
| NOSPEC | 1 | f->fs.tc_prio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | f->fs.tc_prio | 0-s32max[c] |
| HALF_LOCKED2 | &block->cb_lock |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c filter_rpl() -> clear_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->tids.ftid_tab | 1-u64max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->ctx | 0 |
| PARAM_VALUE | 1 | f->tid | 0-16777215 |
| CAPPED_DATA | 0 | adap->tids.nhpftids | 1 |
| CAPPED_DATA | 1 | f->tid | 1 |
| DATA_SOURCE | 0 | adap | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c filter_rpl() -> clear_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev_dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev_dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev_dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->tids.ftid_tab | 1-u64max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->ctx | 0 |
| PARAM_VALUE | 1 | f->tid | 0-16777215 |
| CAPPED_DATA | 0 | adap->tids.nhpftids | 1 |
| CAPPED_DATA | 1 | f->tid | 1 |
| DATA_SOURCE | 0 | adap | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c hash_del_filter_rpl() -> clear_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap->tids.ntids | 1-u32max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->ctx | 0 |
| BUF_SIZE | 1 | f | 248,568,1080,1216 |
| BUF_SIZE | 1 | f | 248,568,1080,1216 |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 1 | f | r lookup_tid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c hash_filter_rpl() -> clear_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap->tids.afree | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->tids.atid_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adap->tids.natids | 1-u32max |
| PARAM_VALUE | 0 | adap->tids.tid_tab | 4096-ptr_max |
| PARAM_VALUE | 0 | *adap->tids->tid_tab | 4096-ptr_max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->ctx | 0 |
| PARAM_VALUE | 1 | f->pending | 0 |
| PARAM_VALUE | 1 | f->tid | 0-16777215 |
| PARAM_VALUE | 1 | f->valid | 1 |
| BUF_SIZE | 1 | f | 248,568,1080 |
| BUF_SIZE | 1 | f | 248,568,1080 |
| CAPPED_DATA | 1 | f->tid | 1 |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 1 | f | r lookup_atid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c hash_filter_rpl() -> clear_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap->tids.natids | 1-u32max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->ctx | 0 |
| BUF_SIZE | 1 | f | 248,568,1080 |
| BUF_SIZE | 1 | f | 248,568,1080 |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 1 | f | r lookup_atid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cxgb4_create_server_filter() -> clear_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->tids.ftid_tab | 4096-ptr_max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->locked | 0 |
| PARAM_VALUE | 1 | f->pending | 0 |
| PARAM_VALUE | 1 | f->valid | 1 |
| DATA_SOURCE | 0 | adap | r netdev2adap |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &ctrl_lock | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &ib_ctx.ib_dev_mutex | ||
| HALF_LOCKED2 | global &init_lock | ||
| HALF_LOCKED2 | global &lock |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cxgb4_create_server_filter() -> clear_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->tids.ftid_tab | 4096-ptr_max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->fs.action | 0 |
| PARAM_VALUE | 1 | f->fs.dirsteer | 1 |
| PARAM_VALUE | 1 | f->fs.dirsteerhash | 0 |
| PARAM_VALUE | 1 | f->fs.eport | 0 |
| PARAM_VALUE | 1 | f->fs.hash | 0 |
| PARAM_VALUE | 1 | f->fs.hitcnts | 0 |
| PARAM_VALUE | 1 | f->fs.mask.encap_vld | 0 |
| PARAM_VALUE | 1 | f->fs.mask.ethtype | 0 |
| PARAM_VALUE | 1 | f->fs.mask.fcoe | 0 |
| PARAM_VALUE | 1 | f->fs.mask.fport | 0 |
| PARAM_VALUE | 1 | f->fs.mask.frag | 0 |
| PARAM_VALUE | 1 | f->fs.mask.iport | 0 |
| PARAM_VALUE | 1 | f->fs.mask.ivlan | 0 |
| PARAM_VALUE | 1 | f->fs.mask.ivlan_vld | 0 |
| PARAM_VALUE | 1 | f->fs.mask.lip | 0 |
| PARAM_VALUE | 1 | f->fs.mask.lport | u16max |
| PARAM_VALUE | 1 | f->fs.mask.macidx | 0 |
| PARAM_VALUE | 1 | f->fs.mask.matchtype | 0 |
| PARAM_VALUE | 1 | f->fs.mask.ovlan | 0 |
| PARAM_VALUE | 1 | f->fs.mask.ovlan_vld | 0 |
| PARAM_VALUE | 1 | f->fs.mask.pf | 0 |
| PARAM_VALUE | 1 | f->fs.mask.pfvf_vld | 0 |
| PARAM_VALUE | 1 | f->fs.mask.proto | 0,255 |
| PARAM_VALUE | 1 | f->fs.mask.tos | 0 |
| PARAM_VALUE | 1 | f->fs.mask.vf | 0 |
| PARAM_VALUE | 1 | f->fs.mask.vni | 0 |
| PARAM_VALUE | 1 | f->fs.maskhash | 0 |
| PARAM_VALUE | 1 | f->fs.nat_fport | 0 |
| PARAM_VALUE | 1 | f->fs.nat_lport | 0 |
| PARAM_VALUE | 1 | f->fs.nat_mode | 0 |
| PARAM_VALUE | 1 | f->fs.newdmac | 0 |
| PARAM_VALUE | 1 | f->fs.newsmac | 0 |
| PARAM_VALUE | 1 | f->fs.newvlan | 0 |
| PARAM_VALUE | 1 | f->fs.prio | 0 |
| PARAM_VALUE | 1 | f->fs.rpttid | 1 |
| PARAM_VALUE | 1 | f->fs.tc_cookie | 0 |
| PARAM_VALUE | 1 | f->fs.tc_prio | 0 |
| PARAM_VALUE | 1 | f->fs.type | 0 |
| PARAM_VALUE | 1 | f->fs.val.encap_vld | 0 |
| PARAM_VALUE | 1 | f->fs.val.ethtype | 0 |
| PARAM_VALUE | 1 | f->fs.val.fcoe | 0 |
| PARAM_VALUE | 1 | f->fs.val.fport | 0 |
| PARAM_VALUE | 1 | f->fs.val.frag | 0 |
| PARAM_VALUE | 1 | f->fs.val.iport | 0 |
| PARAM_VALUE | 1 | f->fs.val.ivlan | 0 |
| PARAM_VALUE | 1 | f->fs.val.ivlan_vld | 0 |
| PARAM_VALUE | 1 | f->fs.val.lip | 0 |
| PARAM_VALUE | 1 | f->fs.val.macidx | 0 |
| PARAM_VALUE | 1 | f->fs.val.matchtype | 0 |
| PARAM_VALUE | 1 | f->fs.val.ovlan | 0 |
| PARAM_VALUE | 1 | f->fs.val.ovlan_vld | 0 |
| PARAM_VALUE | 1 | f->fs.val.pf | 0 |
| PARAM_VALUE | 1 | f->fs.val.pfvf_vld | 0 |
| PARAM_VALUE | 1 | f->fs.val.proto | 0,6 |
| PARAM_VALUE | 1 | f->fs.val.tos | 0 |
| PARAM_VALUE | 1 | f->fs.val.vf | 0 |
| PARAM_VALUE | 1 | f->fs.val.vni | 0 |
| PARAM_VALUE | 1 | f->fs.vlan | 0 |
| PARAM_VALUE | 1 | f->locked | 1 |
| PARAM_VALUE | 1 | f->pending | 0 |
| PARAM_VALUE | 1 | f->smt->state | 0-2 |
| PARAM_VALUE | 1 | f->valid | 0 |
| CAPPED_DATA | 0 | adap->tids.nhpftids | 1 |
| DATA_SOURCE | 0 | adap | r netdev2adap |
| FUZZY_MAX | 1 | f->fs.mask.proto | 255 |
| FUZZY_MAX | 1 | f->fs.val.proto | 6 |
| BIT_INFO | 0 | adap->params.tp.vlan_pri_map | 0x0,0xffffffff |
| BIT_INFO | 1 | f->fs.val.proto | 0x0,0x6 |
| HARD_MAX | 1 | f->fs.mask.proto | 255 |
| HARD_MAX | 1 | f->fs.val.proto | 6 |
| MEM_ZERO | 1 | &f->fs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &ctrl_lock | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &ib_ctx.ib_dev_mutex | ||
| HALF_LOCKED2 | global &init_lock | ||
| HALF_LOCKED2 | global &lock |