Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ipv4/fib_frontend.c fib_add_ifaddr() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 24 |
| PARAM_VALUE | 1 | type | 2 |
| PARAM_VALUE | 3 | dst_len | 32 |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 5 | rt_priority | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dst | unit_byte |
net/ipv4/fib_frontend.c fib_add_ifaddr() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 24 |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 2 | dst | 1-4294967294 |
| PARAM_VALUE | 3 | dst_len | 32 |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev->dev->nd_net.net->ipv4.fib_table_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 5 | rt_priority | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dst | unit_byte |
net/ipv4/fib_frontend.c fib_add_ifaddr() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 24 |
| PARAM_VALUE | 1 | type | 1-2 |
| PARAM_VALUE | 2 | dst | 1-u32max |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev->dev->nd_net.net->ipv4.fib_table_hash_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 2 | dst | 1 |
| DATA_SOURCE | 4 | ifa | $0 |
| FUZZY_MAX | 1 | type | 2 |
| HARD_MAX | 1 | type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dst | unit_byte |
net/ipv4/fib_frontend.c fib_add_ifaddr() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 24 |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 3 | dst_len | 32 |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev->dev->nd_net.net->ipv4.fib_table_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 5 | rt_priority | 0 |
| DATA_SOURCE | 4 | ifa | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv4/fib_frontend.c fib_del_ifaddr() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 25 |
| PARAM_VALUE | 1 | type | 1-2 |
| PARAM_VALUE | 2 | dst | 1-u32max |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev | 4096-ptr_max |
| PARAM_VALUE | 5 | rt_priority | 0 |
| CAPPED_DATA | 2 | dst | 1 |
| DATA_SOURCE | 4 | ifa | $0 |
| FUZZY_MAX | 1 | type | 2 |
| HARD_MAX | 1 | type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dst | unit_byte |
net/ipv4/fib_frontend.c fib_del_ifaddr() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 25 |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 3 | dst_len | 32 |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 5 | rt_priority | 0 |
| CAPPED_DATA | 4 | ifa | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dst | unit_byte |
net/ipv4/fib_frontend.c fib_del_ifaddr() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 25 |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 3 | dst_len | 32 |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 5 | rt_priority | 0 |
| CAPPED_DATA | 4 | ifa | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dst | unit_byte |
net/ipv4/fib_frontend.c fib_del_ifaddr() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 25 |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 3 | dst_len | 32 |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 5 | rt_priority | 0 |
| CAPPED_DATA | 2 | dst | 1 |
| CAPPED_DATA | 4 | ifa | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dst | unit_byte |
net/ipv4/fib_frontend.c fib_del_ifaddr() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 25 |
| PARAM_VALUE | 1 | type | 2 |
| PARAM_VALUE | 3 | dst_len | 32 |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 5 | rt_priority | 0 |
| CAPPED_DATA | 4 | ifa | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dst | unit_byte |
net/ipv4/fib_frontend.c fib_modify_prefix_metric() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 24 |
| PARAM_VALUE | 1 | type | 1-2 |
| PARAM_VALUE | 2 | dst | 1-u32max |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev | 4096-ptr_max |
| CAPPED_DATA | 2 | dst | 1 |
| CAPPED_DATA | 4 | ifa->ifa_local | 1 |
| CAPPED_DATA | 4 | ifa->ifa_mask | 1 |
| DATA_SOURCE | 4 | ifa | $0 |
| DATA_SOURCE | 5 | rt_priority | $1 |
| FUZZY_MAX | 1 | type | 2 |
| BIT_INFO | 4 | ifa->ifa_flags | 0x0,0xfffffdfe |
| HARD_MAX | 1 | type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dst | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| 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 &rx_queue_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/fib_frontend.c fib_modify_prefix_metric() -> fib_magic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 25 |
| PARAM_VALUE | 1 | type | 1-2 |
| PARAM_VALUE | 2 | dst | 1-u32max |
| PARAM_VALUE | 4 | ifa | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 4 | ifa->ifa_dev->dev->nd_net.net->ipv4.fib_table_hash_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 2 | dst | 1 |
| CAPPED_DATA | 4 | ifa->ifa_local | 1 |
| CAPPED_DATA | 4 | ifa->ifa_mask | 1 |
| DATA_SOURCE | 4 | ifa | $0 |
| FUZZY_MAX | 1 | type | 2 |
| BIT_INFO | 4 | ifa->ifa_flags | 0x0,0xfffffdfe |
| HARD_MAX | 1 | type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dst | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| 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 &rx_queue_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |