Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/rocker/rocker_main.c rocker_router_fib_event_work() -> fib_rule_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule->flags | 0 |
| PARAM_VALUE | 0 | rule->iifindex | 0 |
| PARAM_VALUE | 0 | rule->mark | 0 |
| PARAM_VALUE | 0 | rule->oifindex | 0 |
| PARAM_VALUE | 0 | rule->suppress_ifgroup | (-1) |
| PARAM_VALUE | 0 | rule->suppress_prefixlen | (-1) |
| PARAM_VALUE | 0 | rule->tun_id | 0 |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/core/fib_rules.c fib_delrule() -> fib_rule_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->list.next->prev | 4096-ptr_max |
| CAPPED_DATA | 0 | rule | 1 |
| DATA_SOURCE | 0 | rule | r rule_find |
| BIT_INFO | 0 | rule->flags | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/core/fib_rules.c fib_newrule() -> fib_rule_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->fr_net | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | rule->iif_is_l3_master | 0-1 |
| PARAM_VALUE | 0 | rule->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->oif_is_l3_master | 0-1 |
| NOSPEC | 0 | rule->table | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | rule->action | 0-1,3-255 |
| USER_DATA | 0 | rule->dport_range.end | 1-65534[c] |
| USER_DATA | 0 | rule->dport_range.start | 1-65534[c] |
| USER_DATA | 0 | rule->dscp | 0,4-252[c] |
| USER_DATA | 0 | rule->dstmask | 0-4294967295[c][u] |
| USER_DATA | 0 | rule->flags | 0-4294967295 |
| USER_DATA | 0 | rule->sport_range.end | 1-65534[c] |
| USER_DATA | 0 | rule->sport_range.start | 1-65534[c] |
| USER_DATA | 0 | rule->srcmask | 0-4294967295[c][u] |
| USER_DATA | 0 | rule->table | 0-255 |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/core/fib_rules.c fib_rules_cleanup_ops() -> fib_rule_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| CAPPED_DATA | 0 | &rule->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
net/core/fib_rules.c fib_rules_dump() -> fib_rule_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->refcnt.refs.counter | (-1073741824),0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dev->intf_state_mutex | ||
| HALF_LOCKED2 | &dev->priv.hca_devcom_comp->comp->sem |