Searched refs:dkobjp (Results 1 – 2 of 2) sorted by relevance
298 struct tgdk_obj *dkobjp; in dadk_create() local301 dkobjp = kmem_zalloc((sizeof (*dkobjp) + sizeof (*dadkp)), KM_NOSLEEP); in dadk_create()302 if (!dkobjp) in dadk_create()304 dadkp = (struct dadk *)(dkobjp+1); in dadk_create()306 dkobjp->tg_ops = (struct tgdk_objops *)&dadk_ops; in dadk_create()307 dkobjp->tg_data = (opaque_t)dadkp; in dadk_create()308 dkobjp->tg_ext = &(dkobjp->tg_extblk); in dadk_create()309 dadkp->dad_extp = &(dkobjp->tg_extblk); in dadk_create()313 PRF("dadk_create: tgdkobjp= 0x%x dadkp= 0x%x\n", dkobjp, dadkp); in dadk_create()315 return (dkobjp); in dadk_create()[all …]
113 int dadk_free(struct tgdk_obj *dkobjp);135 void dadk_cleanup(struct tgdk_obj *dkobjp);