Lines Matching refs:c_unitaddr
337 dcp->c_unitaddr = (char *)(uintptr_t)dcp32.c_unitaddr; in ndi_dc_allochdl()
351 if (dcp->c_unitaddr != NULL) { in ndi_dc_allochdl()
353 if (copyinstr(dcp->c_unitaddr, cpybuf, MAXNAMELEN, 0) != 0) { in ndi_dc_allochdl()
361 dcp->c_unitaddr = cpybuf; in ndi_dc_allochdl()
372 if (dcp->c_unitaddr != NULL) in ndi_dc_allochdl()
373 kmem_free(dcp->c_unitaddr, MAXNAMELEN); in ndi_dc_allochdl()
382 if (dcp->c_unitaddr != NULL) in ndi_dc_allochdl()
383 kmem_free(dcp->c_unitaddr, MAXNAMELEN); in ndi_dc_allochdl()
393 if (dcp->c_unitaddr != NULL) in ndi_dc_allochdl()
394 kmem_free(dcp->c_unitaddr, MAXNAMELEN); in ndi_dc_allochdl()
420 if (dcp->c_unitaddr != NULL) in ndi_dc_freehdl()
421 kmem_free(dcp->c_unitaddr, MAXNAMELEN); in ndi_dc_freehdl()
440 return (dcp->c_unitaddr); in ndi_dc_getaddr()