Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/infiniband/core/addr.c, line 239
- drivers/infiniband/hw/cxgb4/cm.c, line 2089
- drivers/target/iscsi/cxgbit/cxgbit_cm.c, line 266
- include/linux/inetdevice.h, line 183
- net/ipv4/devinet.c, line 171
- net/ipv4/igmp.c, line 1960
- net/ipv4/route.c
- net/sctp/protocol.c, line 518
- net/tipc/udp_media.c, line 724
Smatch caller information:
drivers/infiniband/hw/irdma/cm.c ip_dev_find() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 2 | devref | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/cxgbi/libcxgbi.c ip_dev_find() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 2 | devref | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| LOCK2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/core/addr.c rdma_find_ndev_for_src_ip_rcu() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | devref | 0 |
| BUF_SIZE | 0 | net | (-1),10624 |
| BUF_SIZE | 0 | net | (-1),10624 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | rcu_read |
drivers/infiniband/hw/qedr/qedr_iw_cm.c ip_dev_find() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 2 | devref | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/tipc/udp_media.c tipc_udp_enable() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 2 | devref | 0 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/hw/cxgb4/cm.c import_ep() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 2 | devref | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-255[u] |
| LOCK2 | rcu_read |
drivers/infiniband/hw/cxgb4/cm.c ip_dev_find() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 2 | devref | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| USER_DATA | 1 | addr | 0-u32max[u] |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &pool->lock |
net/ipv4/igmp.c ip_mc_find_dev() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 1-u32max |
| PARAM_VALUE | 2 | devref | 0 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 1-u32max |
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | sk |
net/sctp/protocol.c sctp_v4_get_dst() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | devref | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| LOCK2 | rcu_read |
net/ipv4/ip_sockglue.c ip_dev_find() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 1-u32max |
| PARAM_VALUE | 2 | devref | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 1-u32max |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | sk |
net/ipv4/icmp.c ip_dev_find() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->ipv4.sysctl_icmp_echo_enable_probe | 1-255 |
| PARAM_VALUE | 2 | devref | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | bh |
drivers/net/bonding/bond_alb.c ip_dev_find() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | devref | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &bond_dev->tx_global_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgbit_ipv4_netdev() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 2 | devref | 0 |
| DATA_SOURCE | 1 | addr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-255[u] |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &tpg->tpg_access_lock | ||
| HALF_LOCKED2 | global &cdev_list_lock | ||
| HALF_LOCKED2 | global &np_lock |
net/ipv4/ipmr.c ip_dev_find() -> __ip_dev_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 2 | devref | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max |
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | global &rtnl_mutex |
net/ipv4/route.c ip_route_output_key_hash_rcu() -> __ip_dev_find()
| 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 | 0 | net->loopback_dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 1 | addr | 1-4294967294 |
| PARAM_VALUE | 2 | devref | 0 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| DATA_SOURCE | 0 | net | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 1-4294967294 |
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &net->ipv4.mfc_mutex | |
| HALF_LOCKED2 | 0 | &net->ipv6.mfc_mutex | |
| HALF_LOCKED2 | 0 | &net->rtnl_mutex |
net/ipv4/route.c ip_route_output_key_hash_rcu() -> __ip_dev_find()
| 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 | 0 | net->loopback_dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 1 | addr | 1-4294967294 |
| PARAM_VALUE | 2 | devref | 0 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| DATA_SOURCE | 0 | net | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 1-4294967294 |
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &net->ipv4.mfc_mutex | |
| HALF_LOCKED2 | 0 | &net->ipv6.mfc_mutex | |
| HALF_LOCKED2 | 0 | &net->rtnl_mutex |