Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/sw/rxe/rxe_net.c rxe_notify() -> rxe_get_dev_from_net()

Type Parameter Key Value
DATA_SOURCE 0 ndev r netdev_notifier_info_to_dev

drivers/infiniband/sw/rxe/rxe_net.c rxe_udp_encap_recv() -> rxe_get_dev_from_net()

Type Parameter Key Value
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/rxe/rxe_net.c rxe_udp_encap_recv() -> rxe_get_dev_from_net()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/sw/rxe/rxe.c rxe_newlink() -> rxe_get_dev_from_net()

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
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