Home
last modified time | relevance | path

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

/linux/drivers/target/
H A Dtarget_core_pr.c705 struct se_lun *lun_tmp, *next, *dest_lun; in __core_scsi3_alloc_registration() local
728 list_for_each_entry_safe(lun_tmp, next, &dev->dev_sep_list, lun_dev_link) { in __core_scsi3_alloc_registration()
729 if (!percpu_ref_tryget_live(&lun_tmp->lun_ref)) in __core_scsi3_alloc_registration()
733 spin_lock(&lun_tmp->lun_deve_lock); in __core_scsi3_alloc_registration()
734 list_for_each_entry(deve_tmp, &lun_tmp->lun_deve_list, lun_link) { in __core_scsi3_alloc_registration()
765 spin_unlock(&lun_tmp->lun_deve_lock); in __core_scsi3_alloc_registration()
776 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
794 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
801 spin_lock(&lun_tmp->lun_deve_lock); in __core_scsi3_alloc_registration()
803 spin_unlock(&lun_tmp->lun_deve_lock); in __core_scsi3_alloc_registration()
[all …]