Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/ulp/srpt/ib_srpt.c srpt_handle_tsk_mgmt() -> srpt_set_cmd_state()

Type Parameter Key Value
PARAM_VALUE 0 ioctx 4096-ptr_max
PARAM_VALUE 0 ioctx->state 0
PARAM_VALUE 1 new 4
BUF_SIZE 0 ioctx->ch s32min-(-2),1-s32max
CAPPED_DATA 0 ioctx->ch 1
CAPPED_DATA 0 ioctx->cmd.map_tag 1
DATA_SOURCE 0 ioctx $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/infiniband/ulp/srpt/ib_srpt.c srpt_queue_response() -> srpt_set_cmd_state()

Type Parameter Key Value
PARAM_VALUE 0 ioctx 4096-ptr_max
PARAM_VALUE 1 new 6
MEM_ZERO 0 ioctx->ioctx.buf
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/infiniband/ulp/srpt/ib_srpt.c srpt_send_done() -> srpt_set_cmd_state()

Type Parameter Key Value
PARAM_VALUE 0 ioctx 4096-ptr_max
PARAM_VALUE 1 new 6
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/ulp/srpt/ib_srpt.c srpt_write_pending() -> srpt_set_cmd_state()

Type Parameter Key Value
PARAM_VALUE 0 ioctx 4096-ptr_max
PARAM_VALUE 1 new 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/infiniband/ulp/srpt/ib_srpt.c srpt_write_pending() -> srpt_set_cmd_state()

Type Parameter Key Value
PARAM_VALUE 0 ioctx 4096-ptr_max
PARAM_VALUE 1 new 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock