Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 7 files:
- net/core/filter.c, line 6487
- net/ipv6/addrconf.c, line 2519
- net/ipv6/fib6_rules.c
- net/ipv6/ip6_fib.c
- net/ipv6/route.c
- net/ipv6/seg6_iptunnel.c, line 494
- net/ipv6/seg6_local.c, line 300
Smatch caller information:
net/core/filter.c bpf_ipv6_fib_lookup() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | net | $0 |
| UNITS | 0 | net | unit_byte |
net/ipv6/addrconf.c addrconf_get_prefix_route() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u32max |
| FUZZY_MAX | 1 | id | 254 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/fib6_rules.c __fib6_rule_action() -> fib6_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/fib6_rules.c fib6_rule_action_alt() -> fib6_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/ip6_fib.c fib6_new_table() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u32max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | id | $1 [m] |
| FUZZY_MAX | 1 | id | 254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | id | 1-255 |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &ops->lock |
net/ipv6/ip6_fib.c fib6_new_table() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->ipv6.fib_table_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | id | 1-u32max |
| CAPPED_DATA | 1 | id | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | id | $1 [m] |
| FUZZY_MAX | 1 | id | 254 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | id | 1-255[c] |
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 0 | &net->ipv6.fib_table_hash_lock | |
| HALF_LOCKED2 | &ops->lock | ||
| TYPE_LOCK | (struct netns_ipv6)->fib_table_hash_lock |
net/ipv6/ip6_fib.c inet6_dump_fib() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | id | 1-255 |
| UNITS | 0 | net | unit_byte |
| LOCK2 | rcu_read |
net/ipv6/route.c ip6_nh_lookup_table() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 1-u32max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | id | $3 |
| FUZZY_MAX | 1 | id | 254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &net->rtnl_mutex |
net/ipv6/route.c ip6_route_del() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/ipv6/route.c ip6_route_info_create() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/ipv6/route.c rt6_add_dflt_router() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u32max |
| CAPPED_DATA | 1 | id | 1 |
| FUZZY_MAX | 1 | id | 254 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv6/route.c rt6_get_dflt_router() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u32max |
| DATA_SOURCE | 0 | net | $0 |
| FUZZY_MAX | 1 | id | 254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/ipv6/route.c rt6_get_route_info() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u32max |
| DATA_SOURCE | 0 | net | $0 |
| FUZZY_MAX | 1 | id | 254 |
| UNITS | 0 | net | unit_byte |
net/ipv6/seg6_local.c seg6_lookup_any_nexthop() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u32max |
| DATA_SOURCE | 1 | id | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
net/ipv6/seg6_iptunnel.c seg6_table_lookup() -> fib6_get_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->ipv4.fqdir->f->frag_expire | 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560 |
| PARAM_VALUE | 0 | net->ipv4.fqdir->f->qsize | 0,304,320 |
| PARAM_VALUE | 1 | id | 1-u32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | id | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &net->ipv4.mfc_mutex | |
| HALF_LOCKED2 | 0 | &net->ipv6.mfc_mutex |