Documented in 1 files:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_get_cqid() -> ionic_resid_get_shared()

Type Parameter Key Value
PARAM_VALUE 0 resid 4096-ptr_max
PARAM_COMPARE 1 min <= $2
PARAM_COMPARE 2 size >= $1
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_get_dbid() -> ionic_resid_get_shared()

Type Parameter Key Value
PARAM_VALUE 0 resid 4096-ptr_max
PARAM_VALUE 1 min 1
LOCK2 &file->hw_destroy_rwsem
LOCK2 &file->ucontext_lock
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->ucontext_lock

drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_get_gsi_qpid() -> ionic_resid_get_shared()

Type Parameter Key Value
PARAM_VALUE 0 resid 4096-ptr_max
PARAM_VALUE 1 min 1
PARAM_VALUE 2 size 2
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_get_mrid() -> ionic_resid_get_shared()

Type Parameter Key Value
PARAM_VALUE 0 resid 4096-ptr_max
PARAM_VALUE 1 min 1
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_get_qpid() -> ionic_resid_get_shared()

Type Parameter Key Value
PARAM_VALUE 0 resid 4096-ptr_max
PARAM_VALUE 1 min 1-u32max
FUZZY_MAX 1 min 2
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_resid_get() -> ionic_resid_get_shared()

Type Parameter Key Value
PARAM_VALUE 0 resid 4096-ptr_max
PARAM_VALUE 1 min 0
DATA_SOURCE 0 resid $0
RX_PATH
TASK_NOT_RUNNING