Defined in 1 files as a function:
Referenced in 8 files:
- drivers/net/ethernet/marvell/prestera/prestera_router.c
- drivers/net/ethernet/mellanox/mlx5/core/lag/mp.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c, line 5776
- net/core/filter.c, line 6360
- net/ipv4/fib_frontend.c, line 339
- net/ipv4/fib_semantics.c
- net/ipv4/fib_trie.c, line 1591
- net/ipv4/route.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/lag/mp.c mlx5_lag_fib_nexthop_event() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 1-u64max |
| CAPPED_DATA | 0 | fi | 1 |
| DATA_SOURCE | 0 | fi | $3 |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx5/core/lag/mp.c mlx5_lag_get_next_fib_dev() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi->fib_priority | 0-4294967294 |
| CAPPED_DATA | 0 | fi->fib_priority | 1 |
| DATA_SOURCE | 0 | fi | $1 |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/ipv4/fib_frontend.c fib_info_nh_uses_dev() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| DATA_SOURCE | 0 | fi | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_frontend.c fib_info_nh_uses_dev() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| DATA_SOURCE | 0 | fi | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/core/filter.c bpf_ipv4_fib_lookup() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|
net/ipv4/fib_semantics.c fib_add_multipath() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| DATA_SOURCE | 0 | fi | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_semantics.c fib_add_multipath() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| DATA_SOURCE | 0 | fi | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_semantics.c fib_create_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1 |
| PARAM_VALUE | 0 | fi->fib_type | 0-11 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi->fib_metrics | 72 |
| CAPPED_DATA | 0 | fi->fib_metrics | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | r _kzalloc_noprof |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xffffffee |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0 |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0[c] |
| USER_DATA | 0 | fi->fib_scope | 0[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_create_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1 |
| PARAM_VALUE | 0 | fi->fib_type | 0-11 |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi->fib_metrics | 72 |
| CAPPED_DATA | 0 | fi->fib_metrics | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | r _kzalloc_noprof |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xffffffee |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0 |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0[c] |
| USER_DATA | 0 | fi->fib_scope | 0[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_create_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1 |
| PARAM_VALUE | 0 | fi->fib_scope | 0-254 |
| PARAM_VALUE | 0 | fi->fib_type | 0-11 |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi->fib_metrics | 72 |
| CAPPED_DATA | 0 | fi->fib_metrics | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | r _kzalloc_noprof |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xffffffee |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0 |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0[c] |
| USER_DATA | 0 | fi->fib_scope | 0[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_create_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1 |
| PARAM_VALUE | 0 | fi->fib_scope | 0-254 |
| PARAM_VALUE | 0 | fi->fib_type | 0-11 |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi->fib_metrics | 72 |
| CAPPED_DATA | 0 | fi->fib_metrics | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | r _kzalloc_noprof |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xffffffee |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0 |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0[c] |
| USER_DATA | 0 | fi->fib_scope | 0[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_create_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1 |
| PARAM_VALUE | 0 | fi->fib_scope | 0-254 |
| PARAM_VALUE | 0 | fi->fib_type | 0-11 |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi->fib_metrics | 72 |
| CAPPED_DATA | 0 | fi->fib_metrics | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | r _kzalloc_noprof |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0,16[c] |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0[c] |
| USER_DATA | 0 | fi->fib_scope | 0[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_create_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1 |
| PARAM_VALUE | 0 | fi->fib_scope | 0-254 |
| PARAM_VALUE | 0 | fi->fib_type | 0-11 |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi->fib_metrics | 72 |
| CAPPED_DATA | 0 | fi->fib_metrics | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | r _kzalloc_noprof |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0,16[c] |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0[c] |
| USER_DATA | 0 | fi->fib_scope | 0[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_create_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_clntref.refs.counter | 1 |
| PARAM_VALUE | 0 | fi->fib_hash.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1 |
| PARAM_VALUE | 0 | fi->fib_treeref.refs.counter | 1 |
| PARAM_VALUE | 0 | fi->fib_type | 0-11 |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi->fib_metrics | 72 |
| CAPPED_DATA | 0 | fi->fib_metrics | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | r _kzalloc_noprof |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0,16[c] |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0[c] |
| USER_DATA | 0 | fi->fib_scope | 0[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_create_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_clntref.refs.counter | 1 |
| PARAM_VALUE | 0 | fi->fib_hash.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1 |
| PARAM_VALUE | 0 | fi->fib_treeref.refs.counter | 1 |
| PARAM_VALUE | 0 | fi->fib_type | 0-11 |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi | 128-248 |
| BUF_SIZE | 0 | fi->fib_metrics | 72 |
| CAPPED_DATA | 0 | fi->fib_metrics | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | r _kzalloc_noprof |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0,16[c] |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0[c] |
| USER_DATA | 0 | fi->fib_scope | 0[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_dump_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_semantics.c fib_get_nhs() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1-s32max |
| PARAM_VALUE | 0 | fi->fib_protocol | 0,2-3 |
| PARAM_VALUE | 0 | fi->fib_scope | 0,253-254 |
| PARAM_VALUE | 0 | fi->fib_type | 0-3,7 |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| BUF_SIZE | 0 | fi | 128-s32max |
| BUF_SIZE | 0 | fi | 128-s32max |
| BUF_SIZE | 0 | fi->fib_metrics | 72 |
| CAPPED_DATA | 0 | fi->fib_metrics | 1 |
| CAPPED_DATA | 0 | fi->fib_protocol | 1 |
| CAPPED_DATA | 0 | fi->fib_scope | 1 |
| CAPPED_DATA | 0 | fi->fib_tb_id | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xffffffee |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_get_nhs() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_metrics | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1-s32max |
| PARAM_VALUE | 0 | fi->fib_protocol | 0,2-3 |
| PARAM_VALUE | 0 | fi->fib_scope | 0,253-254 |
| PARAM_VALUE | 0 | fi->fib_type | 0-3,7 |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| BUF_SIZE | 0 | fi | 128-s32max |
| BUF_SIZE | 0 | fi | 128-s32max |
| BUF_SIZE | 0 | fi->fib_metrics | 72 |
| CAPPED_DATA | 0 | fi->fib_metrics | 1 |
| CAPPED_DATA | 0 | fi->fib_protocol | 1 |
| CAPPED_DATA | 0 | fi->fib_scope | 1 |
| CAPPED_DATA | 0 | fi->fib_tb_id | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xffffffee |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_info_hash_bucket() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi->fib_metrics | (-1),72 |
| DATA_SOURCE | 0 | fi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_info_hash_bucket() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi->fib_metrics | (-1),72 |
| DATA_SOURCE | 0 | fi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_nh_match() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| DATA_SOURCE | 0 | fi | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_nh_match() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| DATA_SOURCE | 0 | fi | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_nlmsg_size() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| CAPPED_DATA | 0 | fi | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| NOSPEC | 0 | fi->fib_protocol | |
| NOSPEC | 0 | fi->fib_scope | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0-271 |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0,2-3[c] |
| USER_DATA | 0 | fi->fib_scope | 0,253-254[c] |
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_semantics.c fib_nlmsg_size() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| CAPPED_DATA | 0 | fi | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| NOSPEC | 0 | fi->fib_protocol | |
| NOSPEC | 0 | fi->fib_scope | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0-271 |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0,2-3[c] |
| USER_DATA | 0 | fi->fib_scope | 0,253-254[c] |
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_semantics.c fib_nlmsg_size() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| CAPPED_DATA | 0 | fi | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| NOSPEC | 0 | fi->fib_protocol | |
| NOSPEC | 0 | fi->fib_scope | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_flags | 0-271 |
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0,2-3[c] |
| USER_DATA | 0 | fi->fib_scope | 0,253-254[c] |
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_semantics.c fib_rebalance() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nh->nh_common.nhc_family | 0-255 |
| PARAM_VALUE | 0 | fi->fib_nh->nh_common.nhc_flags | 0-255 |
| PARAM_VALUE | 0 | fi->fib_nh->nh_common.nhc_weight | s32min-s32max |
| PARAM_VALUE | 0 | fi->fib_nh->nh_tclassid | 0-4294967295 |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi->fib_metrics | (-1),72 |
| CAPPED_DATA | 0 | fi->fib_nhs | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
net/ipv4/fib_semantics.c fib_rebalance() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi->fib_metrics | (-1),72 |
| CAPPED_DATA | 0 | fi->fib_nhs | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
net/ipv4/fib_semantics.c fib_rebalance() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi->fib_metrics | (-1),72 |
| CAPPED_DATA | 0 | fi->fib_nhs | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
net/ipv4/fib_semantics.c fib_rebalance() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi->fib_metrics | (-1),72 |
| CAPPED_DATA | 0 | fi->fib_nhs | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
net/ipv4/fib_semantics.c fib_rebalance() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi->fib_metrics | (-1),72 |
| CAPPED_DATA | 0 | fi->fib_nhs | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
net/ipv4/fib_semantics.c fib_release_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| CAPPED_DATA | 0 | fi | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| NOSPEC | 0 | fi->fib_priority | |
| NOSPEC | 0 | fi->fib_protocol | |
| NOSPEC | 0 | fi->fib_scope | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0[c] |
| USER_DATA | 0 | fi->fib_scope | 0[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_release_info() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_net | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| BUF_SIZE | 0 | fi | (-1),128-s32max |
| CAPPED_DATA | 0 | fi | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| NOSPEC | 0 | fi->fib_priority | |
| NOSPEC | 0 | fi->fib_protocol | |
| NOSPEC | 0 | fi->fib_scope | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fi->fib_priority | 0-32766,4294934527-4294967294 |
| USER_DATA | 0 | fi->fib_protocol | 0[c] |
| USER_DATA | 0 | fi->fib_scope | 0[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_select_multipath() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_semantics.c fib_select_multipath() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_semantics.c fib_select_path() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_semantics.c fib_sync_down_dev() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
net/ipv4/fib_semantics.c fib_sync_down_dev() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
net/ipv4/fib_semantics.c fib_sync_up() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
net/ipv4/fib_semantics.c fib_sync_up() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
net/ipv4/fib_semantics.c free_fib_info_rcu() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
net/ipv4/fib_semantics.c free_fib_info_rcu() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
net/ipv4/fib_semantics.c nh_comp() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 0-s32max |
| PARAM_VALUE | 0 | fi->fib_protocol | 0,2-3 |
| PARAM_VALUE | 0 | fi->fib_scope | 0,253-255 |
| PARAM_VALUE | 0 | fi->fib_type | 0-3,7 |
| PARAM_VALUE | 0 | fi->nh | 0 |
| CAPPED_DATA | 0 | fi->fib_nhs | 1 |
| CAPPED_DATA | 0 | fi->fib_prefsrc | 1 |
| CAPPED_DATA | 0 | fi->fib_priority | 1 |
| CAPPED_DATA | 0 | fi->fib_protocol | 1 |
| CAPPED_DATA | 0 | fi->fib_scope | 1 |
| CAPPED_DATA | 0 | fi->fib_tb_id | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c nh_comp() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_nhs | 1-s32max |
| PARAM_VALUE | 0 | fi->fib_protocol | 0,2-3 |
| PARAM_VALUE | 0 | fi->fib_scope | 0,253-255 |
| PARAM_VALUE | 0 | fi->fib_type | 0-3,7 |
| PARAM_VALUE | 0 | fi->nh | 0 |
| CAPPED_DATA | 0 | fi->fib_nhs | 1 |
| CAPPED_DATA | 0 | fi->fib_prefsrc | 1 |
| CAPPED_DATA | 0 | fi->fib_priority | 1 |
| CAPPED_DATA | 0 | fi->fib_protocol | 1 |
| CAPPED_DATA | 0 | fi->fib_scope | 1 |
| CAPPED_DATA | 0 | fi->fib_tb_id | 1 |
| CAPPED_DATA | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_nexthop4_group_info_init() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| LOCK2 | &mlxsw_sp->router->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct mlxsw_sp_router)->lock |
drivers/net/ethernet/marvell/prestera/prestera_router.c __prestera_fi_is_direct() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_type | 1 |
| DATA_SOURCE | 0 | fi | $0 |
| LOCK2 | &pool->lock | ||
| LOCK2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/prestera/prestera_router.c prestera_kern_fib_info_nhs() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_trie.c fib_table_lookup() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_dead | 0 |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_trie.c fib_table_lookup() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fib_dead | 0 |
| PARAM_VALUE | 0 | fi->fib_nhs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fi->nh | 0 |
| BIT_INFO | 0 | fi->fib_flags | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/route.c __ip_rt_update_pmtu() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sk->sk_lock.slock |
net/ipv4/route.c __ip_rt_update_pmtu() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sk->sk_lock.slock |
net/ipv4/route.c __ip_rt_update_pmtu() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sk->sk_lock.slock |
net/ipv4/route.c fib_dump_info_fnhe() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | fi | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/route.c fib_dump_info_fnhe() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| DATA_SOURCE | 0 | fi | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/route.c ip_mkroute_input() -> fib_info_num_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 1-u64max |
| PARAM_VALUE | 0 | fi->fib_dead | 0 |
| PARAM_VALUE | 0 | fi->nh | 0,4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |