Lines Matching refs:fcport

108 qla2x00_set_fcport_disc_state(fc_port_t *fcport, int state)  in qla2x00_set_fcport_disc_state()  argument
117 fcport->disc_state = state; in qla2x00_set_fcport_disc_state()
119 old_val = atomic_read(&fcport->shadow_disc_state); in qla2x00_set_fcport_disc_state()
120 if (old_val == atomic_cmpxchg(&fcport->shadow_disc_state, in qla2x00_set_fcport_disc_state()
122 ql_dbg(ql_dbg_disc, fcport->vha, 0x2134, in qla2x00_set_fcport_disc_state()
124 fcport->port_name, port_dstate_str[old_val & mask], in qla2x00_set_fcport_disc_state()
125 port_dstate_str[state], fcport->d_id.b24); in qla2x00_set_fcport_disc_state()
179 struct qla_qpair *qpair, fc_port_t *fcport) in qla2xxx_init_sp() argument
182 sp->fcport = fcport; in qla2xxx_init_sp()
194 fc_port_t *fcport, gfp_t flag) in qla2xxx_get_qpair_sp() argument
205 qla2xxx_init_sp(sp, vha, qpair, fcport); in qla2xxx_get_qpair_sp()
225 qla2x00_get_sp(scsi_qla_host_t *vha, fc_port_t *fcport, gfp_t flag) in qla2x00_get_sp() argument
234 sp = qla2xxx_get_qpair_sp(vha, qpair, fcport, flag); in qla2x00_get_sp()
273 qla2x00_set_retry_delay_timestamp(fc_port_t *fcport, uint16_t sts_qual) in qla2x00_set_retry_delay_timestamp() argument
293 if (fcport->retry_delay_timestamp && in qla2x00_set_retry_delay_timestamp()
294 time_before(jiffies, fcport->retry_delay_timestamp)) in qla2x00_set_retry_delay_timestamp()
303 fcport->retry_delay_timestamp = jiffies + (qual * HZ / 10); in qla2x00_set_retry_delay_timestamp()
305 ql_log(ql_log_warn, fcport->vha, 0x5101, in qla2x00_set_retry_delay_timestamp()
307 fcport->port_name, sts_qual, qual * 100); in qla2x00_set_retry_delay_timestamp()
504 fcport_is_smaller(fc_port_t *fcport) in fcport_is_smaller() argument
506 if (wwn_to_u64(fcport->port_name) < in fcport_is_smaller()
507 wwn_to_u64(fcport->vha->port_name)) in fcport_is_smaller()
514 fcport_is_bigger(fc_port_t *fcport) in fcport_is_bigger() argument
516 return !fcport_is_smaller(fcport); in fcport_is_bigger()