Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/usb/gadget/function/f_tcm.c bot_cmd_work() -> target_submit_cmd()

Type Parameter Key Value
PARAM_VALUE 0 se_cmd 4096-ptr_max
PARAM_VALUE 2 cdb 4096-ptr_max
PARAM_VALUE 4 unpacked_lun 0-s32max,18446744071562067968-u64max
PARAM_VALUE 7 data_dir 1-3
PARAM_VALUE 8 flags 2
BUF_SIZE 0 se_cmd 656
BUF_SIZE 2 cdb 64
BUF_SIZE 3 sense 96
DATA_SOURCE 7 data_dir r get_cmd_dir
NOCHECK_CALL
UNITS 5 data_length unit_byte
HALF_LOCKED2 &pool->lock

drivers/usb/gadget/function/f_tcm.c usbg_submit_cmd() -> target_submit_cmd()

Type Parameter Key Value
PARAM_VALUE 0 se_cmd 4096-ptr_max
PARAM_VALUE 2 cdb 4096-ptr_max
PARAM_VALUE 4 unpacked_lun 0-s32max,18446744071562067968-u64max
PARAM_VALUE 7 data_dir 1-3
PARAM_VALUE 8 flags 6
BUF_SIZE 0 se_cmd 656
BUF_SIZE 2 cdb 64
BUF_SIZE 3 sense 96
DATA_SOURCE 7 data_dir r get_cmd_dir
NOCHECK_CALL
UNITS 5 data_length unit_byte
HALF_LOCKED2 &pool->lock

drivers/target/sbp/sbp_target.c sbp_handle_command() -> target_submit_cmd()

Type Parameter Key Value
PARAM_VALUE 0 se_cmd 4096-ptr_max
PARAM_VALUE 2 cdb 16,4096-ptr_max
PARAM_VALUE 4 unpacked_lun 0-s32max,18446744071562067968-u64max
PARAM_VALUE 5 data_length 0
PARAM_VALUE 6 task_attr 32
PARAM_VALUE 7 data_dir 3
PARAM_VALUE 8 flags 2
BUF_SIZE 2 cdb s32min-(-2),1-s32max
BUF_SIZE 3 sense 96
NOCHECK_CALL
HALF_LOCKED2 &pool->lock