Lines Matching refs:cmddmah
319 cpqary3_private_t *cmddmah = NULL; in cpqary3_synccmd_alloc() local
329 cmddmah = (cpqary3_private_t *)MEM_ZALLOC(sizeof (*cmddmah)); in cpqary3_synccmd_alloc()
330 if (cmddmah == NULL) { in cpqary3_synccmd_alloc()
339 MEM_SFREE(cmddmah, sizeof (*cmddmah)); in cpqary3_synccmd_alloc()
348 MEM_SFREE(cmddmah, sizeof (*cmddmah)); in cpqary3_synccmd_alloc()
356 cmddmah->sg = dmabufva; in cpqary3_synccmd_alloc()
357 cmddmah->phyctgp = dmah; in cpqary3_synccmd_alloc()
363 if (cmddmah != NULL) { in cpqary3_synccmd_alloc()
364 cpqary3_free_phyctgs_mem(cmddmah->phyctgp, in cpqary3_synccmd_alloc()
366 MEM_SFREE(cmddmah, sizeof (*cmddmah)); in cpqary3_synccmd_alloc()
377 memp->driverdata = cmddmah; in cpqary3_synccmd_alloc()