Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/broadcom/cnic.c cnic_alloc_bnx2x_conn_resc() -> cnic_alloc_new_id()

Type Parameter Key Value
PARAM_VALUE 0 id_tbl 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cls_conn->ep_mutex
HALF_LOCKED2 &hba->hba_mutex
HALF_LOCKED2 &hba->hba_stats_mutex
HALF_LOCKED2 &hba->net_dev_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &bnx2fc_dev_lock
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/net/ethernet/broadcom/cnic.c cnic_alloc_bnx2x_conn_resc() -> cnic_alloc_new_id()

Type Parameter Key Value
PARAM_VALUE 0 id_tbl 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cls_conn->ep_mutex
HALF_LOCKED2 &hba->hba_mutex
HALF_LOCKED2 &hba->hba_stats_mutex
HALF_LOCKED2 &hba->net_dev_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &bnx2fc_dev_lock
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/net/ethernet/broadcom/cnic.c cnic_get_route() -> cnic_alloc_new_id()

Type Parameter Key Value
PARAM_VALUE 0 id_tbl 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hba->net_dev_lock
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
TYPE_LOCK (struct bnx2i_hba)->net_dev_lock