Lines Matching refs:ua_p
80 struct se_ua *ua, *ua_p, *ua_tmp; in core_scsi3_ua_allocate() local
93 list_for_each_entry_safe(ua_p, ua_tmp, &deve->ua_list, ua_nacl_list) { in core_scsi3_ua_allocate()
97 if ((ua_p->ua_asc == asc) && (ua_p->ua_ascq == ascq)) { in core_scsi3_ua_allocate()
121 if (ua_p->ua_asc == 0x29) { in core_scsi3_ua_allocate()
122 if ((asc == 0x29) && (ascq > ua_p->ua_ascq)) in core_scsi3_ua_allocate()
128 } else if (ua_p->ua_asc == 0x2a) { in core_scsi3_ua_allocate()
133 if ((asc == 0x29) || (ascq > ua_p->ua_asc)) in core_scsi3_ua_allocate()
178 struct se_ua *ua, *ua_p; in core_scsi3_ua_release_all() local
181 list_for_each_entry_safe(ua, ua_p, &deve->ua_list, ua_nacl_list) { in core_scsi3_ua_release_all()
200 struct se_ua *ua = NULL, *ua_p; in core_scsi3_ua_for_check_condition() local
228 list_for_each_entry_safe(ua, ua_p, &deve->ua_list, ua_nacl_list) { in core_scsi3_ua_for_check_condition()
274 struct se_ua *ua = NULL, *ua_p; in core_scsi3_ua_clear_for_request_sense() local
305 list_for_each_entry_safe(ua, ua_p, &deve->ua_list, ua_nacl_list) { in core_scsi3_ua_clear_for_request_sense()