Searched defs:bufp (Results 1 - 25 of 247) sorted by relevance

12345678910

/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dinit.c44 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 Dmbtranslate.c66 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 Dpri.c124 * - 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 Dinit.c36 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 Dsmf_util.c65 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 Dkmem.c109 char *bufp; local
119 for (bufp = buffer, left = size; left > 0; bufp += r, left -= r) {
120 r = read(*kvm, bufp, left);
H A Dipft_sn.c130 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 Dgetrandom.c40 getrandom(void *bufp, size_t buflen, int flags) argument
44 uint8_t *buf = bufp;
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dgethostent.c150 _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 Dgethostent6.c171 _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 DkernelEmulate.c70 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 DkernelSign.c422 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 DkernelDigest.c620 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 Ddsparse.c44 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 Dvuidm3p.c99 uchar_t *bufp; local
101 bufp = mp->b_rptr;
105 code = *bufp++;
H A Dvuidm5p.c83 uchar_t *bufp; local
85 bufp = mp->b_rptr;
89 code = *bufp++;
H A Dvuidm4p.c97 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 Doctet.c53 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 Ddevice.c152 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 Dpci_bios.c72 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 Dbiosdisk.c157 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 Dprintf.c78 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 Dufs_module.c96 load(const char *filepath, dev_info_t *dev, void **bufp, size_t *bufsize) argument
138 *bufp = buf;
H A Dzfs_module.c94 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 Dlist.c71 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...]

Completed in 95 milliseconds

12345678910