Lines Matching refs:other_sess
4574 struct fc_port *sess = NULL, *other_sess; in qlt_find_sess_invalidate_other() local
4579 list_for_each_entry(other_sess, &vha->vp_fcports, list) { in qlt_find_sess_invalidate_other()
4581 other_wwn = wwn_to_u64(other_sess->port_name); in qlt_find_sess_invalidate_other()
4585 sess = other_sess; in qlt_find_sess_invalidate_other()
4590 if (port_id.b24 == other_sess->d_id.b24) { in qlt_find_sess_invalidate_other()
4591 if (loop_id != other_sess->loop_id) { in qlt_find_sess_invalidate_other()
4594 other_sess, other_sess->loop_id, other_wwn); in qlt_find_sess_invalidate_other()
4602 qlt_schedule_sess_for_deletion(other_sess); in qlt_find_sess_invalidate_other()
4610 other_sess, other_sess->loop_id, other_wwn); in qlt_find_sess_invalidate_other()
4612 other_sess->keep_nport_handle = 1; in qlt_find_sess_invalidate_other()
4613 if (other_sess->disc_state != DSC_DELETED) in qlt_find_sess_invalidate_other()
4614 *conflict_sess = other_sess; in qlt_find_sess_invalidate_other()
4615 qlt_schedule_sess_for_deletion(other_sess); in qlt_find_sess_invalidate_other()
4621 if ((loop_id == other_sess->loop_id) && in qlt_find_sess_invalidate_other()
4625 other_sess, other_sess->loop_id, other_wwn); in qlt_find_sess_invalidate_other()
4629 qlt_schedule_sess_for_deletion(other_sess); in qlt_find_sess_invalidate_other()