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_complete_pro_preempt() -> __core_scsi3_complete_pro_release()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_pr_res_holder 4096-ptr_max
PARAM_VALUE 0 dev->dev_reservation_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->t10_pr.registration_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 se_nacl 4096-ptr_max
PARAM_VALUE 1 se_nacl->se_tpg 4096-ptr_max
PARAM_VALUE 2 pr_reg 4096-ptr_max
PARAM_VALUE 3 explicit 0
PARAM_VALUE 4 unreg 0
DATA_SOURCE 0 dev $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->dev_reservation_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct se_device)->dev_reservation_lock

drivers/target/target_core_pr.c core_scsi3_check_implicit_release() -> __core_scsi3_complete_pro_release()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caw_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->dev_pr_res_holder 4096-ptr_max
PARAM_VALUE 0 dev->dev_reservation_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->t10_pr.registration_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->transport->get_alignment_offset_lbas 0,2216225338472878080
PARAM_VALUE 0 dev->transport->get_device_type 4850256213186490368,5599195229675327488,8676007830667583488
PARAM_VALUE 0 dev->transport->get_lbppbe 0,6660477041369456640
PARAM_VALUE 0 dev->transport->parse_cdb 439634959342690304,3298765662198030336,3516650349575311360,4904684033001054208,5442024552033894400
PARAM_VALUE 0 dev->transport->plug_device 0,957786240888664064,6617329888506277888
PARAM_VALUE 2 pr_reg 4096-ptr_max
PARAM_VALUE 3 explicit 0
PARAM_VALUE 4 unreg 1
CAPPED_DATA 2 pr_reg 1
CAPPED_DATA 2 pr_reg->pr_reg_nacl 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 pr_reg $1
BIT_INFO 0 dev->dev_reservation_flags 0x0,0xfffffffe
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->dev_reservation_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct se_device)->dev_reservation_lock

drivers/target/target_core_pr.c core_scsi3_emulate_pro_clear() -> __core_scsi3_complete_pro_release()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_pr_res_holder 4096-ptr_max
PARAM_VALUE 0 dev->dev_reservation_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 pr_reg 4096-ptr_max
PARAM_VALUE 3 explicit 0
PARAM_VALUE 4 unreg 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->dev_reservation_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct se_device)->dev_reservation_lock

drivers/target/target_core_pr.c core_scsi3_emulate_pro_preempt() -> __core_scsi3_complete_pro_release()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_pr_res_holder 4096-ptr_max
PARAM_VALUE 0 dev->dev_pr_res_holder->pr_res_key 0-255
PARAM_VALUE 0 dev->dev_reservation_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 pr_reg 4096-ptr_max
PARAM_VALUE 2 pr_reg->pr_res_key 0-255
PARAM_VALUE 3 explicit 0
PARAM_VALUE 4 unreg 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->dev_reservation_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct se_device)->dev_reservation_lock

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_pr_res_holder 4096-ptr_max
PARAM_VALUE 0 dev->dev_pr_res_holder->pr_res_type s32min-6,9-s32max
PARAM_VALUE 0 dev->dev_reservation_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->se_port_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->t10_pr.registration_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 pr_reg 4096-ptr_max
PARAM_VALUE 2 pr_reg->pr_res_type s32min-6,9-s32max
PARAM_VALUE 3 explicit 0
PARAM_VALUE 4 unreg 0
CAPPED_DATA 0 &dev->dev_sep_list 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->dev_reservation_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct se_device)->dev_reservation_lock

drivers/target/target_core_pr.c core_scsi3_emulate_pro_release() -> __core_scsi3_complete_pro_release()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_pr_res_holder 4096-ptr_max
PARAM_VALUE 0 dev->dev_pr_res_holder->pr_res_scope 0,16-240
PARAM_VALUE 0 dev->dev_pr_res_holder->pr_res_type 0-15
PARAM_VALUE 0 dev->dev_reservation_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->t10_pr.registration_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 se_nacl 4096-ptr_max
PARAM_VALUE 1 se_nacl->se_tpg 4096-ptr_max
PARAM_VALUE 1 se_nacl->se_tpg->se_tpg_tfo 4096-ptr_max
PARAM_VALUE 2 pr_reg 4096-ptr_max
PARAM_VALUE 2 pr_reg->pr_res_key 0-255
PARAM_VALUE 3 explicit 1
PARAM_VALUE 4 unreg 0
CAPPED_DATA 2 pr_reg 1
CAPPED_DATA 2 pr_reg->pr_reg_nacl 1
CAPPED_DATA 2 pr_reg->pr_res_key 1
DATA_SOURCE 2 pr_reg r core_scsi3_locate_pr_reg
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->dev_reservation_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct se_device)->dev_reservation_lock

drivers/target/target_core_pr.c core_scsi3_free_all_registrations() -> __core_scsi3_complete_pro_release()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->delayed_cmd_work.lockdep_map->name 0-255
PARAM_VALUE 0 dev->dev_alua_lu_gp_mem->lu_gp->lu_gp_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dev_alua_lu_gp_mem->lu_gp_mem_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dev_pr_res_holder 4096-ptr_max
PARAM_VALUE 0 dev->dev_reservation_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->non_ordered.data 0
PARAM_VALUE 0 dev->t10_alua.lba_map_list.next 4096-ptr_max
PARAM_VALUE 0 dev->t10_alua.lba_map_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->t10_alua.lba_map_list.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->t10_alua.lba_map_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->t10_alua.lba_map_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->t10_alua.lba_map_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->t10_alua.lba_map_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->t10_alua.lba_map_segment_size 0
PARAM_VALUE 0 dev->t10_alua.tg_pt_gps_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->transport->transport_flags_default 0-1,7
PARAM_VALUE 2 pr_reg 4096-ptr_max
PARAM_VALUE 3 explicit 0
PARAM_VALUE 4 unreg 0
BUF_SIZE 0 dev (-1),5816
BUF_SIZE 0 dev (-1),5816
BUF_SIZE 0 dev->se_hba (-1),416
CAPPED_DATA 0 dev->dev_alua_lu_gp_mem 1
DATA_SOURCE 0 dev $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dev->dev_attrib.da_dev->queue_cnt
NO_OVERFLOW_SIMPLE 0 dev->queue_cnt
NO_OVERFLOW_SIMPLE 0 dev->t10_alua.t10_dev->queue_cnt
NO_OVERFLOW_SIMPLE 0 dev->t10_wwn.t10_dev->queue_cnt
LOCK2 0 &dev->dev_reservation_lock
HALF_LOCKED2 &hba->hba_access_mutex
HALF_LOCKED2 &subsys->su_mutex
TYPE_LOCK (struct se_device)->dev_reservation_lock

drivers/target/target_core_pr.c core_scsi3_free_pr_reg_from_nacl() -> __core_scsi3_complete_pro_release()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_pr_res_holder 4096-ptr_max
PARAM_VALUE 0 dev->dev_pr_res_holder->pr_reg_nacl 4096-ptr_max
PARAM_VALUE 0 dev->dev_reservation_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 se_nacl 4096-ptr_max
PARAM_VALUE 1 se_nacl->lun_entry_mutex.dep_map->name 0-255
PARAM_VALUE 1 se_nacl->lun_entry_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 se_nacl->lun_entry_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 se_nacl->lun_entry_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 se_nacl->lun_entry_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 se_nacl->lun_entry_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 se_nacl->lun_entry_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 se_nacl->lun_entry_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 2 pr_reg 4096-ptr_max
PARAM_VALUE 2 pr_reg->pr_reg_nacl 4096-ptr_max
PARAM_VALUE 3 explicit 0
PARAM_VALUE 4 unreg 1
BUF_SIZE 1 se_nacl (-1),1376,1392,1424,1440,2744
BUF_SIZE 1 se_nacl (-1),1376,1392,1424,1440,2744
CAPPED_DATA 1 se_nacl 1
CAPPED_DATA 2 pr_reg->pr_reg_nacl 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 se_nacl $1
PARAM_COMPARE 1 se_nacl == $2->pr_reg_nacl
PARAM_COMPARE 1 se_nacl == $2->pr_reg_nacl
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->dev_reservation_lock
LOCK2 1 &se_nacl->lun_entry_mutex
HALF_LOCKED2 &tpg->acl_node_mutex
TYPE_LOCK (struct se_device)->dev_reservation_lock
TYPE_LOCK (struct se_node_acl)->lun_entry_mutex