Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/target/target_core_pr.c core_scsi3_decode_spec_i_port() -> target_parse_pr_out_transport_id()

Type Parameter Key Value
PARAM_VALUE 0 tpg 4096-ptr_max
PARAM_VALUE 0 tpg->proto_id 0-15
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 buf_len 1-255
PARAM_VALUE 3 out_tid_len 5282562187734085632
PARAM_VALUE 3 *out_tid_len 0,24-255
PARAM_VALUE 4 port_nexus_ptr 319192395532574720
PARAM_VALUE 4 *port_nexus_ptr 0
PARAM_VALUE 4 *(*port_nexus_ptr) 0
PARAM_VALUE 5 i_str 5672284191299543040
BUF_SIZE 5 i_str 224
CAPPED_DATA 0 tpg->proto_id 1
PARAM_COMPARE 1 buf == $0->proto_id
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->se_port_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct se_device)->se_port_lock

drivers/target/target_core_pr.c core_scsi3_emulate_pro_register_and_move() -> target_parse_pr_out_transport_id()

Type Parameter Key Value
PARAM_VALUE 0 tpg 4096-ptr_max
PARAM_VALUE 0 tpg->proto_id 0-15
PARAM_VALUE 0 tpg->se_tpg_tfo 1-u64max
PARAM_VALUE 0 tpg->tpg_group.cg_item.ci_dentry->d_fsdata->s_dependent_count s32min-s32max
PARAM_VALUE 0 tpg->tpg_rtpi 0-255
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 buf_len 0-255
PARAM_VALUE 3 out_tid_len 4028444057820520448
PARAM_VALUE 4 port_nexus_ptr 5707771731467460608
PARAM_VALUE 4 *port_nexus_ptr 0
PARAM_VALUE 4 *(*port_nexus_ptr) 0
PARAM_VALUE 5 i_str 8355174206883393536
BUF_SIZE 5 i_str 224
CAPPED_DATA 0 tpg->proto_id 1
CAPPED_DATA 0 tpg->tpg_rtpi 1
DATA_SOURCE 2 buf_len r get_unaligned_be32
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock