Lines Matching refs:deve
694 struct se_dev_entry *deve, in __core_scsi3_alloc_registration() argument
712 pr_reg = __core_scsi3_do_alloc_registration(dev, nacl, lun, deve, mapped_lun, in __core_scsi3_alloc_registration()
1053 struct se_dev_entry *deve; in __core_scsi3_add_registration() local
1102 deve = pr_reg_tmp->pr_reg_deve; in __core_scsi3_add_registration()
1103 if (deve) { in __core_scsi3_add_registration()
1104 set_bit(DEF_PR_REG_ACTIVE, &deve->deve_flags); in __core_scsi3_add_registration()
1105 core_scsi3_lunacl_undepend_item(deve); in __core_scsi3_add_registration()
1115 deve = pr_reg->pr_reg_deve; in __core_scsi3_add_registration()
1116 if (deve) { in __core_scsi3_add_registration()
1117 set_bit(DEF_PR_REG_ACTIVE, &deve->deve_flags); in __core_scsi3_add_registration()
1118 kref_put(&deve->pr_kref, target_pr_kref_release); in __core_scsi3_add_registration()
1128 struct se_dev_entry *deve, in core_scsi3_alloc_registration() argument
1139 pr_reg = __core_scsi3_alloc_registration(dev, nacl, lun, deve, mapped_lun, in core_scsi3_alloc_registration()
1281 struct se_dev_entry *deve; in __core_scsi3_free_registration() local
1311 deve = target_nacl_find_deve(nacl, pr_reg->pr_res_mapped_lun); in __core_scsi3_free_registration()
1312 if (deve) in __core_scsi3_free_registration()
1313 clear_bit(DEF_PR_REG_ACTIVE, &deve->deve_flags); in __core_scsi3_free_registration()