Lines Matching refs:adisc
422 struct zfcp_fc_els_adisc *adisc = data;
423 struct zfcp_port *port = adisc->els.port;
424 struct fc_els_adisc *adisc_resp = &adisc->adisc_resp;
426 if (adisc->els.status) {
448 kmem_cache_free(zfcp_data.adisc_cache, adisc);
453 struct zfcp_fc_els_adisc *adisc;
457 adisc = kmem_cache_zalloc(zfcp_data.adisc_cache, GFP_ATOMIC);
458 if (!adisc)
461 adisc->els.port = port;
462 adisc->els.req = &adisc->req;
463 adisc->els.resp = &adisc->resp;
464 sg_init_one(adisc->els.req, &adisc->adisc_req,
466 sg_init_one(adisc->els.resp, &adisc->adisc_resp,
469 adisc->els.handler = zfcp_fc_adisc_handler;
470 adisc->els.handler_data = adisc;
474 adisc->adisc_req.adisc_wwpn = fc_host_port_name(adapter->scsi_host);
475 adisc->adisc_req.adisc_wwnn = fc_host_node_name(adapter->scsi_host);
476 adisc->adisc_req.adisc_cmd = ELS_ADISC;
477 hton24(adisc->adisc_req.adisc_port_id,
480 ret = zfcp_fsf_send_els(adapter, port->d_id, &adisc->els,
483 kmem_cache_free(zfcp_data.adisc_cache, adisc);