Home
last modified time | relevance | path

Searched refs:lun_tmp (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/target/
Dtarget_core_pr.c704 struct se_lun *lun_tmp, *next, *dest_lun; in __core_scsi3_alloc_registration() local
727 list_for_each_entry_safe(lun_tmp, next, &dev->dev_sep_list, lun_dev_link) { in __core_scsi3_alloc_registration()
728 if (!percpu_ref_tryget_live(&lun_tmp->lun_ref)) in __core_scsi3_alloc_registration()
732 spin_lock(&lun_tmp->lun_deve_lock); in __core_scsi3_alloc_registration()
733 list_for_each_entry(deve_tmp, &lun_tmp->lun_deve_list, lun_link) { in __core_scsi3_alloc_registration()
764 spin_unlock(&lun_tmp->lun_deve_lock); in __core_scsi3_alloc_registration()
775 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
793 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
800 spin_lock(&lun_tmp->lun_deve_lock); in __core_scsi3_alloc_registration()
802 spin_unlock(&lun_tmp->lun_deve_lock); in __core_scsi3_alloc_registration()
[all …]