Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/target/target_core_pr.c target_scsi3_emulate_pr_out() -> core_scsi3_emulate_pro_preempt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->data_length | 24 |
| PARAM_VALUE | 0 | cmd->execute_cmd | 1-u64max |
| PARAM_VALUE | 0 | cmd->se_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_alignment_offset_lbas | 0,2216225338472878080 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_device_type | 4850256213186490368,5599195229675327488,8676007830667583488 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_lbppbe | 0,6660477041369456640 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->parse_cdb | 439634959342690304,3298765662198030336,3516650349575311360,4904684033001054208,5442024552033894400 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->se_sess | 1-u64max |
| PARAM_VALUE | 0 | cmd->t_data_nents | 1-s32max |
| PARAM_VALUE | 0 | cmd->t_data_sg | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_task_cdb | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->transport_state | 0,2-u32max |
| PARAM_VALUE | 1 | type | 0-15 |
| PARAM_VALUE | 2 | scope | 0,16-240 |
| PARAM_VALUE | 3 | res_key | 0-255 |
| PARAM_VALUE | 4 | sa_res_key | 0-255 |
| PARAM_VALUE | 5 | preempt_type | 0 |
| DATA_SOURCE | 0 | cmd | $0 |
| DATA_SOURCE | 3 | res_key | r get_unaligned_be64 |
| DATA_SOURCE | 4 | sa_res_key | r get_unaligned_be64 |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 0 | cmd | (-1) |
| BIT_INFO | 0 | cmd->se_dev->dev_reservation_flags | 0x0,0xfffffffe |
| BIT_INFO | 0 | cmd->transport_state | 0x10,0xffffffffffffffff |
| BIT_INFO | 2 | scope | 0x0,0xf0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cmd->residual_count | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | cmd->data_length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->sense_info | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents_orig | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg_orig->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_vmap->nr_pages | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_prot_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_task_lba | |
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_pr.c target_scsi3_emulate_pr_out() -> core_scsi3_emulate_pro_preempt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->data_length | 24 |
| PARAM_VALUE | 0 | cmd->execute_cmd | 1-u64max |
| PARAM_VALUE | 0 | cmd->se_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_alignment_offset_lbas | 0,2216225338472878080 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_device_type | 4850256213186490368,5599195229675327488,8676007830667583488 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_lbppbe | 0,6660477041369456640 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->parse_cdb | 439634959342690304,3298765662198030336,3516650349575311360,4904684033001054208,5442024552033894400 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->se_sess | 1-u64max |
| PARAM_VALUE | 0 | cmd->t_data_nents | 1-s32max |
| PARAM_VALUE | 0 | cmd->t_data_sg | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_task_cdb | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->transport_state | 0,2-u32max |
| PARAM_VALUE | 1 | type | 0-15 |
| PARAM_VALUE | 2 | scope | 0,16-240 |
| PARAM_VALUE | 3 | res_key | 0-255 |
| PARAM_VALUE | 4 | sa_res_key | 0-255 |
| PARAM_VALUE | 5 | preempt_type | 1 |
| DATA_SOURCE | 0 | cmd | $0 |
| DATA_SOURCE | 3 | res_key | r get_unaligned_be64 |
| DATA_SOURCE | 4 | sa_res_key | r get_unaligned_be64 |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 0 | cmd | (-1) |
| BIT_INFO | 0 | cmd->se_dev->dev_reservation_flags | 0x0,0xfffffffe |
| BIT_INFO | 0 | cmd->transport_state | 0x10,0xffffffffffffffff |
| BIT_INFO | 2 | scope | 0x0,0xf0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cmd->residual_count | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | cmd->data_length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->sense_info | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents_orig | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg_orig->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_vmap->nr_pages | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_prot_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_task_lba | |
| HALF_LOCKED2 | &pool->lock |