Searched refs:bufp (Results 76 - 100 of 273) sorted by relevance

1234567891011

/illumos-gate/usr/src/uts/sparc/io/
H A Dconsplat.c254 plat_virtual_console_path(char **bufp) argument
268 *bufp = buf;
/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/uts/common/avs/ns/nsctl/
H A Dnsc_ncallio.c600 nsc_rncio_copy(char *data, nsc_buf_t *bufp, const int read) argument
610 vec = bufp->sb_vec;
612 tocopy = FBA_SIZE(bufp->sb_len);
642 nsc_buf_t *bufp; local
677 bufp = NULL;
678 rc = nsc_alloc_buf(fd, pos, len, NSC_NOCACHE | ioflag, &bufp);
681 if (bufp != NULL) {
682 (void) nsc_free_buf(bufp);
690 rc = nsc_rncio_copy(&rw->rw_data[0], bufp, read);
697 rc = nsc_write(bufp, po
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddrctl.c385 char *bufp; local
424 bufp = pack_message(cmd, flags, count, (void *)res, &size, rq_size);
425 DR_DBG_CTL("%s: from pack_message, bufp = %p size %ld\n",
426 __func__, (void *)bufp, size);
428 if (bufp == NULL || size == 0)
431 return (send_message(bufp, size, rbuf, rsize));
615 drctl_resp_t *bufp; local
631 bufp =
634 __func__, (void *)bufp, *osize);
635 bufp
[all...]
/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug.h97 int hp_pack(hp_node_t root, char **bufp, size_t *lenp);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dutilities.c1114 GetStringAtOffset(bufp, cbufsiz, off, st)
1115 char **bufp;
1125 if (bufp == NULL)
1128 buf = *bufp;
1137 *bufp = buf;
1160 *bufp = buf;
1210 GetString(bufp, bufsiz, st)
1211 char **bufp;
1215 return (GetStringAtOffset(bufp, bufsiz, 0, st));
1233 AllocStringBuffer(bufp, bufsi
[all...]
/illumos-gate/usr/src/uts/common/disp/
H A Dclass.c277 void *bufp = NULL; local
300 if (CL_ALLOC(&bufp, parmsp->pc_cid, KM_NOSLEEP) != 0) {
306 parmsp->pc_clparms, reqpcredp, bufp);
309 CL_FREE(parmsp->pc_cid, bufp);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dti_opts.c125 char *bufp, *maxbufp; local
156 bufp = abuf->buf;
157 maxbufp = bufp + abuf->len;
159 while (bufp + sizeof (struct T_opthdr) < maxbufp) {
161 struct T_opthdr *opt = (struct T_opthdr *)bufp;
167 if (opt->len > maxbufp - bufp || (opt->len & 3))
178 bufp += opt->len;
/illumos-gate/usr/src/common/util/
H A Dstring.c56 #define ADDCHAR(c) if (bufp++ - buf < buflen) bufp[-1] = (c)
72 char *bufp = buf; /* current buffer pointer */ local
305 bufp--;
310 if (bufp - buf < buflen)
311 bufp[0] = c;
317 return (bufp - buf);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
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...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dport_link.c1093 char *bufp, *devnamep, *portnamep; local
1098 bufp = strchr(buffer, PMTAB_SEPR);
1100 if (bufp == NULL)
1102 bufp = strchr(++bufp, PMTAB_SEPR);
1106 devnamep = bufp++;
1107 if ((bufp = strchr(bufp, PMTAB_SEPR)) == NULL)
1110 *bufp = MN_NULLCHAR;
1112 *bufp
[all...]
/illumos-gate/usr/src/ucbcmd/shutdown/
H A Dshutdown.c576 char *bufp; local
586 bufp = mbuf + strlen(mbuf);
588 (void) sprintf(bufp, "%s going down at %5.5s\r\n", hostname,
591 (void) sprintf(bufp, "%s going down in %d minute%s\r\n",
594 (void) sprintf(bufp, "%s going down in %d second%s\r\n",
597 (void) sprintf(bufp, "%s going down IMMEDIATELY\r\n",
600 bufp = mbuf + strlen(mbuf);
603 (void) sprintf(bufp, "\t...%s\r\n", mesg);
609 rprintf(char *host, char *bufp) argument
617 (rpcproc_t)WALLPROC_WALL, xdr_dirpath, (char *)&bufp, xdr_voi
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_nw.c224 char *bufp, *ndbuf, *dbuf = NULL; local
236 bufp = pvt->line;
240 p = fgets(bufp + offset, bufsiz - offset, pvt->fp);
248 strcpy(ndbuf, bufp);
253 bufp = dbuf;
/illumos-gate/usr/src/cmd/srptadm/
H A Dsrptadm.c544 char *bufp; local
560 bufp = &entry->d_name[0];
562 if (strncmp(bufp, "hca:", 4) != 0) {
566 bufp += 4;
568 hcaArray[idx] = strdup(bufp);
/illumos-gate/usr/src/uts/common/io/kbtrans/
H A Dkbtrans_streams.c1623 char *bufp; local
1625 bufp = buf;
1626 *bufp++ = '\033'; /* Escape */
1627 *bufp++ = 'Q';
1629 *bufp++ = 'A';
1632 *bufp++ = 'L';
1635 *bufp++ = 'B';
1638 *bufp++ = 'F';
1645 *bufp++ = keyid +
1648 *bufp
1675 register char *bufp; local
[all...]
/illumos-gate/usr/src/cmd/vntsd/
H A Dconsole.c173 char *bufp; local
186 bufp = gettext("h -- this help");
188 if ((rv = vntsd_write_line(clientp, bufp)) != VNTSD_SUCCESS) {
192 bufp = gettext("l -- list of consoles");
194 if ((rv = vntsd_write_line(clientp, bufp)) != VNTSD_SUCCESS) {
198 bufp = gettext("q -- quit");
200 if ((rv = vntsd_write_line(clientp, bufp)) != VNTSD_SUCCESS) {
210 bufp = gettext("c{id}, n{name} -- connect to a console of domain {id}"
213 if ((rv = vntsd_write_line(clientp, bufp)) != VNTSD_SUCCESS) {
/illumos-gate/usr/src/cmd/grep_xpg4/
H A Dgrep.c496 char *bufp; local
513 bufp = inbuf;
518 while (fgets(bufp, bufsiz - bufused, fp) != NULL) {
519 buflen = strlen(bufp);
521 if (bufused + 1 == bufsiz && bufp[buflen - 1] != '\n') {
533 bufp = inbuf + bufused;
536 if (bufp[buflen - 1] == '\n') {
537 bufp[--buflen] = '\0';
541 bufp = inbuf;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcharset.c83 ldap_translate_from_t61( LDAP *ld, char **bufp, unsigned long *lenp, argument
92 return( (*ld->ld_lber_decode_translate_proc)( bufp, &length, free_input ));
97 ldap_translate_to_t61( LDAP *ld, char **bufp, unsigned long *lenp, argument
106 return( (*ld->ld_lber_encode_translate_proc)( bufp, &length, free_input ));
113 * On entry: bufp points to a "string" to be converted (not necessarily
116 * On exit: bufp should point to a malloc'd result. If free_input is
117 * non-zero then the original bufp will be freed. *buflenp should be
1060 ldap_t61_to_8859( char **bufp, unsigned long *buflenp, int free_input ) argument
1072 s = (Byte *) *bufp;
1078 while ( (char *)s - *(char **)bufp < le
1598 ldap_8859_to_t61( char **bufp, unsigned long *buflenp, int free_input ) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu_mdesc.c349 uint64_t *bufp; local
361 bufsiz = ldom_get_core_md(lhp, &bufp);
363 bufsiz = ldom_get_local_md(lhp, &bufp);
371 if ((mdp = md_init_intern(bufp, cpu_alloc, cpu_free)) == NULL ||
373 cpu_free(bufp, (size_t)bufsiz);
390 cpu_free(bufp, (size_t)bufsiz);
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dutilities.c256 char *bufp; local
258 bufp = malloc((unsigned int)fsbsize);
259 if (bufp == 0)
267 bufp = malloc((unsigned int)fsbsize);
268 if (bp == NULL || bufp == NULL) {
273 bp->b_un.b_buf = bufp;
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetipnodeby.c1253 * bufp->result bufp->buffer
1259 * | |<--------bufp->buflen-------------->|
1267 nss_XbyY_buf_t *bufp; local
1269 if ((bufp = malloc(sizeof (nss_XbyY_buf_t))) == NULL)
1272 if ((bufp->result = malloc(ALIGN(sizeof (struct hostent)) + bufsz)) ==
1274 free(bufp);
1277 bufp->buffer = (char *)(bufp->result) + sizeof (struct hostent);
1278 bufp
1287 __IPv6_cleanup(nss_XbyY_buf_t *bufp) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard.c95 uint64_t *bufp; local
121 bufsize = ldom_get_core_md(lhp, &bufp);
123 bufsize = ldom_get_local_md(lhp, &bufp);
133 if ((mdp = md_init_intern(bufp, cpuboard_topo_alloc,
137 cpuboard_topo_free(bufp, (size_t)bufsize);
146 cpuboard_topo_free(bufp, (size_t)bufsize);
157 cpuboard_topo_free(bufp, (size_t)bufsize);
207 cpuboard_topo_free(bufp, (size_t)bufsize);
/illumos-gate/usr/src/cmd/ldmad/
H A Dmdesc_lib.c124 md_new_data_block(mmd_t *mdp, uint8_t *bufp, int len) argument
129 dbp = md_find_data_block(mdp, bufp, len, &hash);
139 (void) memcpy(dbp->datap, bufp, len);
202 md_add_string_property(mmd_t *mdp, md_node_t *nodep, char *sp, char *bufp) argument
207 dbp = md_new_data_block(mdp, (uint8_t *)bufp, strlen(bufp) + 1);
221 uint8_t *bufp)
226 dbp = md_new_data_block(mdp, bufp, len);
220 md_add_data_property(mmd_t *mdp, md_node_t *nodep, char *sp, int len, uint8_t *bufp) argument
/illumos-gate/usr/src/uts/common/os/
H A Dbio.c2034 struct buf *bufp; local
2038 bufp = kmem_alloc(sizeof (struct buf), sleep);
2039 if (bufp == NULL) {
2042 bioinit(bufp);
2044 bufp = bp_mem;
2045 bioreset(bufp);
2054 bufp->b_flags = (bp->b_flags & BUF_CLONE_FLAGS) | B_BUSY;
2055 bufp->b_bcount = len;
2056 bufp->b_blkno = blkno;
2057 bufp
[all...]

Completed in 106 milliseconds

1234567891011