Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ipv6/ip6mr.c ip6mr_get_route() -> __ip6mr_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv6.fib6_local_tbl->tb6_root.fn_flags | 4-u16max |
| PARAM_VALUE | 0 | net->ipv6.fib6_local_tbl->tb6_root.subtree->fn_flags | 4-u16max |
| PARAM_VALUE | 0 | net->ipv6.fib6_main_tbl->tb6_root.fn_flags | 4-u16max |
| PARAM_VALUE | 0 | net->ipv6.fib6_main_tbl->tb6_root.subtree->fn_flags | 4-u16max |
| PARAM_VALUE | 0 | net->ipv6.ip6_null_entry->dst.dst_trace_seq.counter | s32min-s32max |
| PARAM_VALUE | 1 | id | 254 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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/ipv6/ip6mr.c ip6mr_get_table() -> __ip6mr_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-99999999 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | id | $1 |
| FUZZY_MAX | 1 | id | 254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &seq->lock |
net/ipv6/ip6mr.c ip6mr_new_table() -> __ip6mr_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0-99999999 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | id | 0-252,254-99999999 |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/ip6mr.c ip6mr_rtm_dumproute() -> __ip6mr_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | id | 1-255 |
| LOCK2 | rcu_read |
net/ipv6/ip6mr.c ip6mr_rtm_getroute() -> __ip6mr_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u32max |
| FUZZY_MAX | 1 | id | 253 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | rcu_read | ||
| 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/ipv6/ip6mr.c ip6mr_rule_action() -> __ip6mr_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | id | r fib_rule_get_table |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/ipv6/ip6mr.c ip6mr_vif_seq_start() -> __ip6mr_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 254 |
| DATA_SOURCE | 0 | net | r seq_file_net |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct seq_file)->lock |