t4_cudbg_dump
struct t4_cudbg_dump *cudbg;
cudbg = malloc(sizeof(struct t4_cudbg_dump) + CUDBG_SIZE);
memset(cudbg, 0, sizeof(struct t4_cudbg_dump) + CUDBG_SIZE);
struct t4_cudbg_dump dump;
if (ddi_copyin(data, &dump, sizeof (struct t4_cudbg_dump), flags) < 0)