Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/core/mad.c create_mad_qp() -> get_spl_qp_index()

Type Parameter Key Value
PARAM_VALUE 0 qp_type 0-1
DATA_SOURCE 0 qp_type $1 [m]
HARD_MAX 0 qp_type 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &device->client_data_rwsem
LOCK2 global &clients_rwsem
LOCK2 global &devices_rwsem
HALF_LOCKED2 &device->unregistration_lock
TYPE_LOCK (struct ib_device)->client_data_rwsem

drivers/infiniband/core/mad.c ib_register_mad_agent() -> get_spl_qp_index()

Type Parameter Key Value
PARAM_VALUE 0 qp_type 0-1
DATA_SOURCE 0 qp_type $2
HARD_MAX 0 qp_type 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->cmd.poll_sem
HALF_LOCKED2 &device->client_data_rwsem
HALF_LOCKED2 &file->mutex
HALF_LOCKED2 &file->port->file_mutex
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem
HALF_LOCKED2 global &mthca_device_mutex