Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/infiniband/core/device.c
- drivers/infiniband/hw/hns/hns_roce_bond.c, line 17
- drivers/infiniband/hw/irdma/i40iw_if.c
- drivers/infiniband/hw/irdma/utils.c
- drivers/infiniband/hw/usnic/usnic_ib_main.c
- drivers/infiniband/sw/rxe/rxe.h, line 113
- drivers/infiniband/sw/siw/siw_main.c
- fs/smb/smbdirect/devices.c, line 200
Smatch caller information:
drivers/infiniband/hw/irdma/i40iw_if.c i40iw_close() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_id | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/infiniband/hw/irdma/i40iw_if.c i40iw_l2param_change() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_id | 9 |
| HALF_LOCKED2 | &pool->lock |
fs/smb/smbdirect/devices.c smbdirect_netdev_find_rdma_capable_node_type() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 1-u64max |
| PARAM_VALUE | 1 | driver_id | 0 |
| CAPPED_DATA | 0 | ndev | 1 |
| DATA_SOURCE | 0 | ndev | $0 |
| LOCK2 | &pool->lock | ||
| LOCK2 | global &rtnl_mutex |
drivers/infiniband/core/device.c handle_port_event() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->flags | 1024-u32max |
| PARAM_VALUE | 1 | driver_id | 0 |
| DATA_SOURCE | 0 | ndev | $0 |
drivers/infiniband/core/device.c ib_netdevice_event() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_id | 0 |
| DATA_SOURCE | 0 | ndev | r netdev_notifier_info_to_dev |
drivers/infiniband/sw/rxe/rxe_net.c rxe_get_dev_from_net() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_id | 14 |
| DATA_SOURCE | 0 | ndev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ndev->group | |
| NO_OVERFLOW_SIMPLE | 0 | ndev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | ndev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | ndev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | ndev->stats.rx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ndev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ndev->tx_queue_len | |
| UNITS | 0 | ndev | unit_byte |
drivers/infiniband/sw/siw/siw_main.c siw_netdev_event() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_id | 18 |
| DATA_SOURCE | 0 | ndev | r netdev_notifier_info_to_dev |
drivers/infiniband/sw/siw/siw_main.c siw_newlink() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->type | 1,6,772,65534 |
| PARAM_VALUE | 1 | driver_id | 18 |
| DATA_SOURCE | 0 | ndev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &link_ops_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/hw/irdma/utils.c irdma_inet6addr_event() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 1 | driver_id | 9 |
| UNITS | 0 | ndev | unit_byte |
drivers/infiniband/hw/irdma/utils.c irdma_inetaddr_event() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 1 | driver_id | 9 |
drivers/infiniband/hw/irdma/utils.c irdma_net_event() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 1 | driver_id | 9 |
| UNITS | 0 | ndev | unit_byte |
drivers/infiniband/hw/irdma/utils.c irdma_netdevice_event() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_id | 9 |
| DATA_SOURCE | 0 | ndev | r netdev_notifier_info_to_dev |
drivers/infiniband/hw/usnic/usnic_ib_main.c usnic_ib_inetaddr_event() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_id | 13 |
drivers/infiniband/hw/usnic/usnic_ib_main.c usnic_ib_netdevice_event() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_id | 13 |
| DATA_SOURCE | 0 | ndev | r netdev_notifier_info_to_dev |
drivers/infiniband/sw/rxe/rxe.c rxe_get_dev_from_net() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | driver_id | 14 |
| DATA_SOURCE | 0 | ndev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &link_ops_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/hw/hns/hns_roce_bond.c hns_roce_get_hrdev_by_netdev() -> ib_device_get_by_netdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_id | 12 |
| DATA_SOURCE | 0 | ndev | $0 |
| UNITS | 0 | ndev | unit_byte |
| HALF_LOCKED2 | &bond_grp->bond_mutex | ||
| HALF_LOCKED2 | rcu_read |