Lines Matching defs:template
335 * @template: LLDD entrypoints and operational parameters for the port
349 struct nvme_fc_port_template *template,
357 if (!template->localport_delete || !template->remoteport_delete ||
358 !template->ls_req || !template->fcp_io ||
359 !template->ls_abort || !template->fcp_abort ||
360 !template->max_hw_queues || !template->max_sgl_segments ||
361 !template->max_dif_sgl_segments || !template->dma_boundary) {
373 newrec = nvme_fc_attach_to_unreg_lport(pinfo, template, dev);
388 newrec = kmalloc((sizeof(*newrec) + template->local_priv_sz),
410 newrec->ops = template;
413 if (template->local_priv_sz)
429 dma_set_seg_boundary(dev, template->dma_boundary);