Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
net/ipv6/ip6mr.c ip6mr_rules_init() -> fib_default_rule_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->action | 1-u64max |
| PARAM_VALUE | 0 | ops->compare | 1-u64max |
| PARAM_VALUE | 0 | ops->configure | 1-u64max |
| PARAM_VALUE | 0 | ops->fill | 1-u64max |
| PARAM_VALUE | 0 | ops->fro_net | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_mod_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ops->match | 1-u64max |
| PARAM_VALUE | 0 | ops->rule_size | s32min-(-1),160-s32max |
| PARAM_VALUE | 0 | ops->rules_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pref | s16max |
| PARAM_VALUE | 2 | table | 254 |
| BUF_SIZE | 0 | ops | 336 |
| BUF_SIZE | 0 | ops->fro_net | (-1)-s32max |
| CAPPED_DATA | 0 | ops | 1 |
| DATA_SOURCE | 0 | ops | r fib_rules_register |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/ipv6/fib6_rules.c fib6_rules_net_init() -> fib_default_rule_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->action | 1-u64max |
| PARAM_VALUE | 0 | ops->compare | 1-u64max |
| PARAM_VALUE | 0 | ops->configure | 1-u64max |
| PARAM_VALUE | 0 | ops->fill | 1-u64max |
| PARAM_VALUE | 0 | ops->fro_net | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_mod_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ops->match | 1-u64max |
| PARAM_VALUE | 0 | ops->rule_size | s32min-(-1),160-s32max |
| PARAM_VALUE | 0 | ops->rules_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pref | 0 |
| PARAM_VALUE | 2 | table | 255 |
| BUF_SIZE | 0 | ops | 336 |
| CAPPED_DATA | 0 | ops | 1 |
| DATA_SOURCE | 0 | ops | r fib_rules_register |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/ipv6/fib6_rules.c fib6_rules_net_init() -> fib_default_rule_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->action | 1-u64max |
| PARAM_VALUE | 0 | ops->compare | 1-u64max |
| PARAM_VALUE | 0 | ops->configure | 1-u64max |
| PARAM_VALUE | 0 | ops->fill | 1-u64max |
| PARAM_VALUE | 0 | ops->fro_net | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_mod_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ops->match | 1-u64max |
| PARAM_VALUE | 0 | ops->rule_size | 160-4000000 |
| PARAM_VALUE | 0 | ops->rules_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pref | 32766 |
| PARAM_VALUE | 2 | table | 254 |
| BUF_SIZE | 0 | ops | 336 |
| CAPPED_DATA | 0 | ops | 1 |
| DATA_SOURCE | 0 | ops | r fib_rules_register |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/ipv4/fib_rules.c fib_default_rules_init() -> fib_default_rule_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->action | 1-u64max |
| PARAM_VALUE | 0 | ops->compare | 1-u64max |
| PARAM_VALUE | 0 | ops->configure | 1-u64max |
| PARAM_VALUE | 0 | ops->fill | 1-u64max |
| PARAM_VALUE | 0 | ops->fro_net | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_mod_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ops->match | 1-u64max |
| PARAM_VALUE | 0 | ops->rule_size | s32min-(-1),160-s32max |
| PARAM_VALUE | 0 | ops->rules_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pref | 0 |
| PARAM_VALUE | 2 | table | 255 |
| BUF_SIZE | 0 | ops | 336 |
| BUF_SIZE | 0 | ops->fro_net | (-1),1-s32max |
| CAPPED_DATA | 0 | ops | 1 |
| DATA_SOURCE | 0 | ops | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/ipv4/fib_rules.c fib_default_rules_init() -> fib_default_rule_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->action | 1-u64max |
| PARAM_VALUE | 0 | ops->compare | 1-u64max |
| PARAM_VALUE | 0 | ops->configure | 1-u64max |
| PARAM_VALUE | 0 | ops->fill | 1-u64max |
| PARAM_VALUE | 0 | ops->fro_net | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_mod_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ops->match | 1-u64max |
| PARAM_VALUE | 0 | ops->rule_size | 160-4000000 |
| PARAM_VALUE | 0 | ops->rules_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pref | 32766 |
| PARAM_VALUE | 2 | table | 254 |
| BUF_SIZE | 0 | ops | 336 |
| BUF_SIZE | 0 | ops->fro_net | (-1),1-s32max |
| CAPPED_DATA | 0 | ops | 1 |
| DATA_SOURCE | 0 | ops | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/ipv4/fib_rules.c fib_default_rules_init() -> fib_default_rule_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->action | 1-u64max |
| PARAM_VALUE | 0 | ops->compare | 1-u64max |
| PARAM_VALUE | 0 | ops->configure | 1-u64max |
| PARAM_VALUE | 0 | ops->fill | 1-u64max |
| PARAM_VALUE | 0 | ops->fro_net | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_mod_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ops->match | 1-u64max |
| PARAM_VALUE | 0 | ops->rule_size | 160-4000000 |
| PARAM_VALUE | 0 | ops->rules_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pref | s16max |
| PARAM_VALUE | 2 | table | 253 |
| BUF_SIZE | 0 | ops | 336 |
| BUF_SIZE | 0 | ops->fro_net | (-1),1-s32max |
| CAPPED_DATA | 0 | ops | 1 |
| DATA_SOURCE | 0 | ops | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/ipv4/ipmr.c ipmr_rules_init() -> fib_default_rule_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->action | 1-u64max |
| PARAM_VALUE | 0 | ops->compare | 1-u64max |
| PARAM_VALUE | 0 | ops->configure | 1-u64max |
| PARAM_VALUE | 0 | ops->fill | 1-u64max |
| PARAM_VALUE | 0 | ops->fro_net | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_mod_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->fro_net->rules_ops.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ops->match | 1-u64max |
| PARAM_VALUE | 0 | ops->rule_size | s32min-(-1),160-s32max |
| PARAM_VALUE | 0 | ops->rules_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->rules_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pref | s16max |
| PARAM_VALUE | 2 | table | 253 |
| BUF_SIZE | 0 | ops | 336 |
| BUF_SIZE | 0 | ops->fro_net | (-1)-s32max |
| CAPPED_DATA | 0 | ops | 1 |
| DATA_SOURCE | 0 | ops | r fib_rules_register |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |