Lines Matching defs:template
341 * @template: LLDD entrypoints and operational parameters for the port
355 struct nvme_fc_port_template *template,
363 if (!template->localport_delete || !template->remoteport_delete ||
364 !template->ls_req || !template->fcp_io ||
365 !template->ls_abort || !template->fcp_abort ||
366 !template->max_hw_queues || !template->max_sgl_segments ||
367 !template->max_dif_sgl_segments || !template->dma_boundary) {
379 newrec = nvme_fc_attach_to_unreg_lport(pinfo, template, dev);
394 newrec = kmalloc((sizeof(*newrec) + template->local_priv_sz),
416 newrec->ops = template;
419 if (template->local_priv_sz)
435 dma_set_seg_boundary(dev, template->dma_boundary);