Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/ipv4/fib_frontend.c rtentry_to_fib_config() -> __in_dev_get_rtnl_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | r __dev_get_by_name |
| NS_CAPABLE | 0 | 12 | |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/arp.c arp_req_set_proxy() -> __in_dev_get_rtnl_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-ptr_max |
| DATA_SOURCE | 0 | dev | $1 |
| NS_CAPABLE | 0 | 12 | |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &smc->sk | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/arp.c arp_req_set_proxy() -> __in_dev_get_rtnl_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ip_ptr | 1-u64max |
| CAPPED_DATA | 0 | dev->ip_ptr | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| NS_CAPABLE | 0 | 12 | |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &smc->sk | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/devinet.c devinet_ioctl() -> __in_dev_get_rtnl_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| DATA_SOURCE | 0 | dev | r __dev_get_by_name |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/devinet.c inet_forward_change() -> __in_dev_get_rtnl_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | &dev->dev_list | 1 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/devinet.c inet_gifconf() -> __in_dev_get_rtnl_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/devinet.c inet_rtm_to_ifa() -> __in_dev_get_rtnl_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->ifindex | 1 |
| DATA_SOURCE | 0 | dev | r __dev_get_by_index |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/devinet.c inet_set_ifa() -> __in_dev_get_rtnl_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 2-u32max |
| PARAM_VALUE | 0 | dev->ip_ptr->dev | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->ip_ptr | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| NS_CAPABLE | 0 | 12 | |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |