Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/nvme/host/fc.c nvme_fc_format_rjt() -> nvme_fc_format_rsp_hdr()

Type Parameter Key Value
PARAM_VALUE 1 ls_cmd 1
PARAM_VALUE 2 desc_len 32
BUF_SIZE 0 buf (-1),24
BUF_SIZE 0 buf (-1),24
DATA_SOURCE 0 buf $0
DATA_SOURCE 3 rqst_ls_cmd $2
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/nvme/host/fc.c nvme_fc_ls_disconnect_assoc() -> nvme_fc_format_rsp_hdr()

Type Parameter Key Value
PARAM_VALUE 1 ls_cmd 2
PARAM_VALUE 2 desc_len 16
PARAM_VALUE 3 rqst_ls_cmd 5
BUF_SIZE 0 buf 24
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/nvme/target/fc.c nvme_fc_format_rjt() -> nvme_fc_format_rsp_hdr()

Type Parameter Key Value
PARAM_VALUE 1 ls_cmd 1
PARAM_VALUE 2 desc_len 32
BUF_SIZE 0 buf (-1),24,40,56
BUF_SIZE 0 buf (-1),24,40,56
DATA_SOURCE 0 buf $0
DATA_SOURCE 3 rqst_ls_cmd $2
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/nvme/target/fc.c nvmet_fc_ls_create_association() -> nvme_fc_format_rsp_hdr()

Type Parameter Key Value
PARAM_VALUE 1 ls_cmd 2
PARAM_VALUE 2 desc_len 48
PARAM_VALUE 3 rqst_ls_cmd 3
BUF_SIZE 0 buf 56
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/nvme/target/fc.c nvmet_fc_ls_create_connection() -> nvme_fc_format_rsp_hdr()

Type Parameter Key Value
PARAM_VALUE 1 ls_cmd 2
PARAM_VALUE 2 desc_len 32
PARAM_VALUE 3 rqst_ls_cmd 4
BUF_SIZE 0 buf 40
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/nvme/target/fc.c nvmet_fc_ls_disconnect() -> nvme_fc_format_rsp_hdr()

Type Parameter Key Value
PARAM_VALUE 1 ls_cmd 2
PARAM_VALUE 2 desc_len 16
PARAM_VALUE 3 rqst_ls_cmd 5
BUF_SIZE 0 buf 24
NOCHECK_CALL
HALF_LOCKED2 &pool->lock