Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/infiniband/hw/mlx4/mad.c find_slave_port_pkey_ix() -> ib_find_cached_pkey()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 3 index 3551477006791331840,7615474062224531632
CAPPED_DATA 1 port_num 1
DATA_SOURCE 1 port_num $2
DATA_SOURCE 2 pkey $3
DATA_SOURCE 3 index $4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/infiniband/core/cma.c cma_ib_init_qp_attr() -> ib_find_cached_pkey()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->port_data 4096-ptr_max
PARAM_VALUE 3 index 1119115232137658544,1409051602516734128,2917388688850653360,7806874010034540720,9042853515707465904
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->mutex
HALF_LOCKED2 &id_priv->qp_mutex

drivers/infiniband/core/cma.c cma_resolve_ib_dev() -> ib_find_cached_pkey()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->port_data 4096-ptr_max
PARAM_VALUE 3 index 6935612301825835008
CAPPED_DATA 1 port_num 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 pkey 0-u16max
LOCK2 global &lock
HALF_LOCKED2 &clt_path->init_mutex
HALF_LOCKED2 &ctx->mutex
HALF_LOCKED2 &iser_conn->state_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rx_queue_mutex

drivers/infiniband/hw/mlx4/mcg.c send_mad_to_slave() -> ib_find_cached_pkey()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 2 pkey u16max
PARAM_VALUE 3 index 9185659351790239792
LOCK2 &group->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mcast_group)->lock

drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_get_net_dev_by_params() -> ib_find_cached_pkey()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->client_data_rwsem.dep_map->name 0-255
PARAM_VALUE 0 device->client_data_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 device->client_data_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 device->client_data_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 device->client_data_rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 device->client_data_rwsem.wait_lock.owner (-1)
PARAM_VALUE 0 device->client_data_rwsem.wait_lock.owner_cpu u32max
PARAM_VALUE 0 device->port_data 4096-ptr_max
PARAM_VALUE 1 port_num 0-255
PARAM_VALUE 3 index 8243327422023114752
DATA_SOURCE 0 device $0
DATA_SOURCE 1 port_num $1
DATA_SOURCE 2 pkey $2
TASK_NOT_RUNNING
LOCK2 0 &device->client_data_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ib_device)->client_data_rwsem

drivers/infiniband/core/cm.c cm_init_av_by_path() -> ib_find_cached_pkey()

Type Parameter Key Value
PARAM_VALUE 3 index 1248164825280819200
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/ulp/srpt/ib_srpt.c srpt_init_ch_qp() -> ib_find_cached_pkey()

Type Parameter Key Value
PARAM_VALUE 0 device->cq_pools_lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 index 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port_num unit_array_size

drivers/infiniband/ulp/srp/ib_srp.c srp_init_ib_qp() -> ib_find_cached_pkey()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->ops.size_ib_cq 0-4000000
PARAM_VALUE 3 index 4096-ptr_max
RX_PATH
LOCK2 &rport->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct srp_rport)->mutex

drivers/infiniband/hw/mlx5/cq.c handle_responder() -> ib_find_cached_pkey()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 3 index 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 port_num unit_array_size
LOCK2 &cq->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx5_ib_cq)->lock