Lines Matching refs:dp
96 struct fc_disc_port *dp, *next; in fc_disc_recv_rscn_req() local
135 dp = kzalloc(sizeof(*dp), GFP_KERNEL); in fc_disc_recv_rscn_req()
136 if (!dp) { in fc_disc_recv_rscn_req()
140 dp->lp = lport; in fc_disc_recv_rscn_req()
141 dp->port_id = ntoh24(pp->rscn_fid); in fc_disc_recv_rscn_req()
142 list_add_tail(&dp->peers, &disc_ports); in fc_disc_recv_rscn_req()
161 list_for_each_entry_safe(dp, next, &disc_ports, peers) { in fc_disc_recv_rscn_req()
162 list_del(&dp->peers); in fc_disc_recv_rscn_req()
164 redisc = fc_disc_single(lport, dp); in fc_disc_recv_rscn_req()
165 kfree(dp); in fc_disc_recv_rscn_req()
677 static int fc_disc_single(struct fc_lport *lport, struct fc_disc_port *dp) in fc_disc_single() argument
681 rdata = lport->tt.rport_create(lport, dp->port_id); in fc_disc_single()