Searched refs:cpybuf (Results 1 - 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunndi.c | 311 char *cpybuf; local 341 cpybuf = kmem_alloc(MAXNAMELEN, KM_SLEEP); 342 if (copyinstr(dcp->c_nodename, cpybuf, MAXNAMELEN, 0) != 0) { 343 kmem_free(cpybuf, MAXNAMELEN); 347 cpybuf[MAXNAMELEN - 1] = '\0'; 348 dcp->c_nodename = cpybuf; 352 cpybuf = kmem_alloc(MAXNAMELEN, KM_SLEEP); 353 if (copyinstr(dcp->c_unitaddr, cpybuf, MAXNAMELEN, 0) != 0) { 354 kmem_free(cpybuf, MAXNAMELEN); 360 cpybuf[MAXNAMELE [all...] |
Completed in 48 milliseconds