Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
net/ipv4/fib_frontend.c fib_magic() -> fib_new_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1-u32max |
| FUZZY_MAX | 1 | id | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_frontend.c fib_new_table() -> fib_new_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.fib_has_custom_rules | 0 |
| PARAM_VALUE | 1 | id | 254 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &ops->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &net->rtnl_mutex |
net/ipv4/fib_frontend.c inet_rtm_newroute() -> fib_new_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->rtnl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &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 &rx_queue_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/fib_frontend.c ip_rt_ioctl() -> fib_new_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | net | $0 |
| NS_CAPABLE | 0 | 12 | |
| UNITS | 0 | net | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &net->rtnl_mutex | |
| TYPE_LOCK | (struct net)->rtnl_mutex |
drivers/net/vrf.c vrf_rtable_create() -> fib_new_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),10304,10432,10624 |
| STR_LEN | 0 | net | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv4/fib_rules.c fib_empty_table() -> fib_new_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 1-u32max |
| DATA_SOURCE | 0 | net | $0 |
| FUZZY_MAX | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ops->lock | ||
| 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 | ||
| TYPE_LOCK | (struct fib_rules_ops)->lock |