Lines Matching refs:disc

2136 	struct fcoe_ctlr *fip = lport->disc.priv;  in fcoe_ctlr_vn_rport_callback()
2178 mutex_lock(&lport->disc.disc_mutex); in fcoe_ctlr_disc_stop_locked()
2179 list_for_each_entry_rcu(rdata, &lport->disc.rports, peers) { in fcoe_ctlr_disc_stop_locked()
2185 lport->disc.disc_callback = NULL; in fcoe_ctlr_disc_stop_locked()
2186 mutex_unlock(&lport->disc.disc_mutex); in fcoe_ctlr_disc_stop_locked()
2198 struct fcoe_ctlr *fip = lport->disc.priv; in fcoe_ctlr_disc_stop()
2514 mutex_lock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_add()
2517 mutex_unlock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_add()
2521 mutex_unlock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_add()
2524 rdata->disc_id = lport->disc.disc_id; in fcoe_ctlr_vn_add()
2713 mutex_lock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_age()
2714 list_for_each_entry_rcu(rdata, &lport->disc.rports, peers) { in fcoe_ctlr_vn_age()
2734 mutex_unlock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_age()
3051 struct fc_disc *disc = &lport->disc; in fcoe_ctlr_disc_start() local
3052 struct fcoe_ctlr *fip = disc->priv; in fcoe_ctlr_disc_start()
3054 mutex_lock(&disc->disc_mutex); in fcoe_ctlr_disc_start()
3055 disc->disc_callback = callback; in fcoe_ctlr_disc_start()
3056 disc->disc_id = (disc->disc_id + 2) | 1; in fcoe_ctlr_disc_start()
3057 disc->pending = 1; in fcoe_ctlr_disc_start()
3059 mutex_unlock(&disc->disc_mutex); in fcoe_ctlr_disc_start()
3073 struct fc_disc *disc = &lport->disc; in fcoe_ctlr_vn_disc() local
3078 mutex_lock(&disc->disc_mutex); in fcoe_ctlr_vn_disc()
3079 callback = disc->pending ? disc->disc_callback : NULL; in fcoe_ctlr_vn_disc()
3080 disc->pending = 0; in fcoe_ctlr_vn_disc()
3081 list_for_each_entry_rcu(rdata, &disc->rports, peers) { in fcoe_ctlr_vn_disc()
3089 mutex_unlock(&disc->disc_mutex); in fcoe_ctlr_vn_disc()