Home
last modified time | relevance | path

Searched refs:tmpbufp (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/ypcmd/
H A Dstdhosts.c237 char *tmpbufp = tmpbuf; /* Current point in output string */ in verify_and_output() local
252 memcpy(tmpbufp, key, n+1); /* Plus the '\0' */ in verify_and_output()
253 tmpbufp += n; in verify_and_output()
300 *tmpbufp++ = '\t'; in verify_and_output()
302 *tmpbufp++ = ' '; in verify_and_output()
304 memcpy(tmpbufp, namep, namelen+1); /* Plus the '\0' */ in verify_and_output()
305 tmpbufp += namelen; in verify_and_output()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dds_snmp.c546 caddr_t tmpbufp = (caddr_t)NULL; in ds_snmp_read() local
622 tmpbufp = kmem_alloc(len, KM_SLEEP); in ds_snmp_read()
624 bcopy(sp->data, (void *)tmpbufp, len); in ds_snmp_read()
637 retval = uiomove(tmpbufp, len, UIO_READ, uiop); in ds_snmp_read()
638 kmem_free(tmpbufp, len); in ds_snmp_read()
651 caddr_t tmpbufp; in ds_snmp_write() local
674 tmpbufp = kmem_alloc(len, KM_SLEEP); in ds_snmp_write()
676 if (uiomove(tmpbufp + sizeof (ds_snmp_msg_t), in ds_snmp_write()
678 kmem_free(tmpbufp, len); in ds_snmp_write()
686 kmem_free(tmpbufp, len); in ds_snmp_write()
[all …]
H A Dds_pri.c517 caddr_t tmpbufp; in ds_pri_read() local
571 tmpbufp = kmem_alloc(len, KM_SLEEP); in ds_pri_read()
572 bcopy(((caddr_t)sp->ds_pri), tmpbufp, len); in ds_pri_read()
575 retval = uiomove(tmpbufp, len, UIO_READ, uiop); in ds_pri_read()
577 kmem_free(tmpbufp, len); in ds_pri_read()