• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/scsi/

Lines Matching defs:send_els

302 	struct zfcp_send_els *send_els;
307 send_els = kzalloc(sizeof(struct zfcp_send_els), GFP_ATOMIC);
308 if (send_els == NULL)
311 send_els->req = kzalloc(sizeof(struct scatterlist), GFP_ATOMIC);
312 if (send_els->req == NULL)
315 send_els->resp = kzalloc(sizeof(struct scatterlist), GFP_ATOMIC);
316 if (send_els->resp == NULL)
323 zfcp_address_to_sg(address, send_els->req);
325 zfcp_address_to_sg(address, send_els->resp);
326 send_els->req_count = send_els->resp_count = 1;
328 send_els->adapter = adapter;
329 send_els->port = port;
330 send_els->d_id = port->d_id;
331 send_els->handler = zfcp_erp_adisc_handler;
332 send_els->handler_data = (unsigned long) send_els;
334 adisc = zfcp_sg_to_address(send_els->req);
335 send_els->ls_code = adisc->code = ZFCP_LS_ADISC;
337 send_els->req->length = sizeof(struct zfcp_ls_adisc);
338 send_els->resp->length = sizeof(struct zfcp_ls_adisc_acc);
348 adisc->nport_id, send_els->d_id, (wwn_t) adisc->wwpn,
352 retval = zfcp_fsf_send_els(send_els);
355 "0x%06x on adapter %s\n", send_els->d_id,
366 __free_pages(send_els->req->page, 0);
367 if (send_els != NULL) {
368 kfree(send_els->req);
369 kfree(send_els->resp);
370 kfree(send_els);
386 struct zfcp_send_els *send_els;
392 send_els = (struct zfcp_send_els *) data;
393 adapter = send_els->adapter;
394 port = send_els->port;
395 d_id = send_els->d_id;
398 if (send_els->status != 0) {
412 adisc = zfcp_sg_to_address(send_els->resp);
440 __free_pages(send_els->req->page, 0);
441 kfree(send_els->req);
442 kfree(send_els->resp);
443 kfree(send_els);