/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | init.c | 44 static void mdesc_free(void *bufp, size_t size); 97 mdesc_free(void *bufp, size_t size) argument 99 if (bufp) 100 free(bufp);
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | mbtranslate.c | 66 char *bufp; local 90 bufp = byte ? byte : buf; 93 bufp += _curs_wctomb(bufp, *code & TRIM); 96 *bufp = '\0'; 110 wchar_t *bufp; local 130 bufp = code ? code : buf; 144 *bufp++ = wchar; 149 *bufp = 0;
|
/illumos-gate/usr/src/lib/libpri/common/ |
H A D | pri.c | 124 * - freep(bufp, size) 137 uint64_t *bufp; /* buf holding PRI */ local 169 if ((bufp = (uint64_t *)allocp(size)) == NULL) { 174 if (read(pri_fd, bufp, size) < 0) { 175 freep(bufp, size); 187 freep(bufp, size); 191 freep(bufp, size); 196 *buf = bufp;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | init.c | 36 static void pri_free(void *bufp, size_t size); 98 pri_free(void *bufp, size_t size) argument 100 if (bufp) 101 free(bufp);
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_util.c | 65 char *name, *inst, *bufp, *fullname; local 73 bufp = fmd_hdl_alloc(hdl, len, FMD_SLEEP); 74 (void) snprintf(bufp, len, "svc:/%s:%s", name, inst); 76 fullname = fmd_hdl_strdup(hdl, bufp, FMD_SLEEP); 77 fmd_hdl_free(hdl, bufp, len);
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | kmem.c | 109 char *bufp; local 119 for (bufp = buffer, left = size; left > 0; bufp += r, left -= r) { 120 r = read(*kvm, bufp, left);
|
H A D | ipft_sn.c | 130 static char *bufp = NULL; local 136 if (!bufp) 137 bufp = malloc(i); 139 bufp = realloc(bufp, i); 141 if (read(sfd, bufp, i) != i) 145 bcopy(bufp, buf, n); 158 static char *bufp = NULL; local 168 if (!bufp) 169 bufp [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | getrandom.c | 40 getrandom(void *bufp, size_t buflen, int flags) argument 44 uint8_t *buf = bufp;
|
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | gethostent.c | 150 _nss_get_mdns_hosts_name(mdns_backend_ptr_t *be, void **bufp, size_t *sizep) argument 152 return (_nss_mdns_gethost_withttl(*bufp, *sizep, 0));
|
H A D | gethostent6.c | 171 _nss_get_mdns_ipnodes_name(mdns_backend_ptr_t *be, void **bufp, size_t *sizep) argument 173 return (_nss_mdns_gethost_withttl(*bufp, *sizep, 1));
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelEmulate.c | 70 digest_buf_t *bufp; local 76 bufp = opp->context; 78 if (bufp != NULL) { 79 bufp->indata_len = 0; 84 if (buflen > bufp->buf_len) { 85 free(bufp->buf); 86 bufp->buf = NULL; 89 bufp = opp->context = calloc(1, sizeof (digest_buf_t)); 90 if (bufp == NULL) { 95 if (bufp 156 digest_buf_t *bufp; local [all...] |
H A D | kernelSign.c | 422 digest_buf_t *bufp = session_p->sign.context; local 425 if (bufp == NULL || bufp->buf == NULL) { 430 bufp->buf, bufp->indata_len, 435 digest_buf_t *bufp = session_p->sign.context; local 442 if (bufp == NULL || bufp->buf == NULL) { 447 rv = C_Sign(hSession, bufp->buf, bufp [all...] |
H A D | kernelDigest.c | 620 digest_buf_t *bufp = session_p->digest.context; local 623 if (bufp == NULL || bufp->buf == NULL) { 628 NULL, bufp->buf, bufp->indata_len, 633 digest_buf_t *bufp = session_p->digest.context; local 640 if (bufp == NULL || bufp->buf == NULL) { 645 rv = C_Digest(hSession, bufp->buf, bufp [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | dsparse.c | 44 static int next_line( char **bufp, long *blenp, char **linep ); 48 ldap_next_line_tokens( char **bufp, long *blenp, char ***toksp ) argument 55 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) { 98 next_line( char **bufp, long *blenp, char **linep ) argument 103 linestart = *bufp; 104 p = *bufp; 130 *bufp = p;
|
/illumos-gate/usr/src/uts/common/io/vuidmice/ |
H A D | vuidm3p.c | 99 uchar_t *bufp; local 101 bufp = mp->b_rptr; 105 code = *bufp++;
|
H A D | vuidm5p.c | 83 uchar_t *bufp; local 85 bufp = mp->b_rptr; 89 code = *bufp++;
|
H A D | vuidm4p.c | 97 unsigned char *bufp; local 99 bufp = mp->b_rptr; 103 code = *bufp++; 178 if (r > 1 && !(bufp[0] & MOUSE_START_CODE) && 179 !(bufp[1] & MOUSE_START_CODE)) { 230 if (r > 0 && !(bufp[0] & MOUSE_START_CODE))
|
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | octet.c | 53 octet_to_hexascii(const void *nump, uint_t nlen, char *bufp, uint_t *blen) argument 60 if (nump == NULL || bufp == NULL || blen == NULL) 67 for (i = 0, bp = bufp, np = (const uchar_t *)nump; i < nlen; i++) { 82 hexascii_to_octet(const char *asp, uint_t alen, void *bufp, uint_t *blen) argument 88 if (asp == NULL || bufp == NULL || blen == NULL) 95 for (tp = asp, u_tp = (uchar_t *)bufp, i = 0; i < k; i++, u_tp++) {
|
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | device.c | 152 ct_dev_status_get_minor(ct_stathdl_t stathdl, char **bufp) argument 157 if (bufp == NULL) 166 error = nvlist_lookup_string(info->nvl, CTDS_MINOR, bufp);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pci_bios.c | 72 uchar_t *bufp; local 85 bufp = (uchar_t *)BIOS_IRQ_ROUTING_DATA; 89 bufp[i] = 0; 91 ((pci_irq_route_hdr_t *)hdrp)->pir_addr = (uint32_t)(uintptr_t)bufp; 115 ((uchar_t *)routes)[i] = bufp[i];
|
H A D | biosdisk.c | 157 fn48_t *bufp; local 165 bufp = (fn48_t *)BIOS_RES_BUFFER_ADDR; 171 for (i = 0; i < sizeof (*bufp); i++) 172 ((uchar_t *)bufp)[i] = 0; 174 bufp->buflen = sizeof (*bufp); 178 rp.esi.word.si = (uint16_t)FP_OFF((uint_t)(uintptr_t)bufp); 179 rp.ds = FP_SEG((uint_t)(uintptr_t)bufp); 199 for (i = 0; i < sizeof (*bufp); i++) 200 tmp[i] = ((uchar_t *)bufp)[ 249 caddr_t bufp; local 293 fn4b_t *bufp; local [all...] |
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | printf.c | 78 char *bufp = buf; local 90 bufend = bufp + bufsize; 91 msgp = bufp; 96 len = msgp - bufp; 98 fakekernel_putlog(bufp, len, flags);
|
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/ |
H A D | ufs_module.c | 96 load(const char *filepath, dev_info_t *dev, void **bufp, size_t *bufsize) argument 138 *bufp = buf;
|
H A D | zfs_module.c | 94 load(const char *filepath, dev_info_t *devinfo, void **bufp, size_t *bufsize) argument 151 *bufp = buf;
|
/illumos-gate/usr/src/lib/pam_modules/list/ |
H A D | list.c | 71 char *bufp; local 228 bufp = buf; 260 bufp++; 264 bufp++; 280 bufp++; 287 if ((bufp[0] == '@') && (bufp[1] != '\0')) { 288 bufp++; 291 if (innetgr(bufp, rhost, username, 298 userok = innetgr(bufp, NUL [all...] |