/illumos-gate/usr/src/uts/common/disp/ |
H A D | ts.c | 545 cred_t *reqpcredp, void *bufp) 554 tspp = (tsproc_t *)bufp; 684 ts_fork(kthread_t *t, kthread_t *ct, void *bufp) argument 691 ctspp = (tsproc_t *)bufp; 2412 void *bufp; local 2413 bufp = kmem_alloc(sizeof (tsproc_t), flag); 2414 if (bufp == NULL) { 2417 *p = bufp; 2423 ts_free(void *bufp) argument 2425 if (bufp) 544 ts_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, void *bufp) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | lwp.c | 108 void *bufp = NULL; local 279 (void) CL_ALLOC(&bufp, cid, KM_SLEEP); 576 err = CL_ENTERCLASS(t, cid, NULL, NULL, bufp); 585 err = CL_FORK(curthread, t, bufp); 592 bufp = NULL; 753 if (cid != NOCLASS && bufp != NULL) 754 CL_FREE(cid, bufp); 1806 void *bufp; local 1901 val = CL_ALLOC(&bufp, cid, KM_SLEEP); 1912 CL_FREE(cid, bufp); [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlbridge.c | 253 datalink_id_t linkid, void **bufp, size_t inlen, size_t *buflenp, 276 (void) memcpy(bdc + 1, *bufp, inlen); 281 arg.rbuf = *bufp; 308 if (arg.rbuf != *bufp) { 312 newp = realloc(*bufp, arg.data_size); 316 *bufp = newp; 317 (void) memcpy(*bufp, arg.rbuf, 325 } else if (arg.data_size != *buflenp || arg.rbuf != *bufp) { 252 bridge_door_call(const char *instname, bridge_door_type_t dtype, datalink_id_t linkid, void **bufp, size_t inlen, size_t *buflenp, boolean_t is_list) argument
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | llib-lldap | 323 int ldap_translate_from_t61( LDAP *ld, char **bufp, 326 int ldap_translate_to_t61( LDAP *ld, char **bufp, 332 int ldap_t61_to_8859(char **bufp, unsigned long *buflenp, 335 int ldap_8859_to_t61(char **bufp, unsigned long *buflenp,
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | gprof.c | 858 process_pcsamples(ProfBuffer *bufp) argument 869 bufp->bufsize); 874 if (bufp->bufsize == 0) 882 if ((chunk_size = bufp->bufsize) > PROF_BUFFER_SIZE) 895 nelem_to_read = bufp->bufsize; 896 p = (char *)bufp + bufp->buffer; 925 n_pcsamples += bufp->bufsize;
|
/illumos-gate/usr/src/cmd/itadm/ |
H A D | itadm.c | 2120 char *bufp; local 2127 bufp = opt; 2131 bufp = strchr(bufp, ','); 2132 if (!bufp) { 2135 bufp++; 2144 bufp = opt; 2149 (void) bufsplit(bufp, count, arr);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | strsun.c | 127 mcopymsg(mblk_t *mp, void *bufp) argument 129 caddr_t dest = bufp;
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 501 cpr_enumerate_promprops(char **bufp, size_t *len) argument 521 *bufp = buf;
|
/illumos-gate/usr/src/uts/common/io/vioif/ |
H A D | vioif.c | 1496 char *bufp = buf; local 1500 bufp += snprintf(bufp, bufend - bufp, prefix); 1502 bufp += virtio_show_features(features, bufp, bufend - bufp); 1503 *bufp = '\0';
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_mod.c | 791 const char *bufp; local 794 bufp = smbios_csn(shp); 795 if (bufp != NULL) 796 (void) strlcpy(csn, bufp, MAXNAMELEN); 802 (unsigned char **)&bufp) != -1) { 803 (void) strlcpy(csn, bufp, MAXNAMELEN);
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.c | 354 char *bufp = buf0; local 366 tlen = snprintf(bufp, bufsp, "OPTIONS icap://%s:%d/%s %s\r\n", 368 bufp += tlen; 371 tlen = snprintf(bufp, bufsp, "Host: %s\r\n\r\n", my_host_name); 372 bufp += tlen; 374 if (vs_icap_write(ctx->vsc_sockfd, buf0, (bufp - buf0)) < 0)
|
/illumos-gate/usr/src/cmd/avs/dscfglockd/ |
H A D | dscfglockd.c | 680 struct unlock_s *bufp; local 687 for (i = 0, bufp = unlock_buf; bufp->pid && i < MAX_UNLOCK; 688 i++, bufp++) { 689 if (bufp->pid == pid && bufp->seq == seq) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/ |
H A D | newfs.c | 1019 char *bufp = NULL; local 1033 if ((bufp = malloc(bufsz)) == NULL) { 1039 read(dskfd, bufp, bufsz) < 0) { 1041 free(bufp); 1046 (void) memcpy(&sblock, bufp, sizeof (sblock)); 1047 free(bufp); /* Don't need this anymore */
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_dds.c | 141 char *bufp = buf; local 145 (void) sprintf(bufp, "vnet%d: %s: ", 148 (void) sprintf(bufp, "%s: ", fname); 150 bufp += strlen(bufp); 152 (void) vsprintf(bufp, fmt, ap);
|
/illumos-gate/usr/src/uts/common/ipp/ |
H A D | ippconf.c | 144 static int get_mods(ipp_mod_id_t **bufp, int *); 294 ipp_mod_id_t **bufp, 297 ASSERT(bufp != NULL); 300 return (get_mods(bufp, neltp)); 491 ipp_action_id_t **bufp, 497 ASSERT(bufp != NULL); 512 rc = get_mod_ref(imp, bufp, neltp); 1994 ipp_action_id_t **bufp, 2020 *bufp = NULL; 2037 *bufp 293 ipp_list_mods( ipp_mod_id_t **bufp, int *neltp) argument 489 ipp_mod_list_actions( ipp_mod_id_t mid, ipp_action_id_t **bufp, int *neltp) argument 1992 get_mod_ref( ipp_mod_t *imp, ipp_action_id_t **bufp, int *neltp) argument 2052 get_mods( ipp_mod_id_t **bufp, int *neltp) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvd.c | 486 parse_lpm_ranges(uint32_t *bufp, size_t nbytes) argument 492 if (bufp == NULL) 515 tblp->xymap[0].x = (int)*bufp++; 516 tblp->xymap[0].y = (int)*bufp++; 518 tblp->xymap[i].x = (int)*bufp++; 519 tblp->xymap[i].y = (int)*bufp++; 606 void *bufp; local 619 bufp = alloca(psize); 621 err = ptree_get_propval(proph, bufp, psize); 625 temp_lpm_tbl = parse_lpm_ranges(bufp, psiz [all...] |
/illumos-gate/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 575 char *bufp, *cp; local 943 if ((bufp = strdup( 947 if ((cp = strpbrk(bufp, " \t")) != NULL) 950 if ((access(bufp, F_OK) == -1) && (errno == ENOENT)) 952 free(bufp); 964 &bufp, 10); 965 if ((errno != 0) || (*bufp != '\0') ||
|
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu_cmn_func.c | 1768 char *bufp; local 1804 bufp = buffer; 1808 *bufp = ' '; 1809 bufp++; 1811 (void) sprintf(bufp, "%02x", *cur); 1812 bufp += 2; 1820 *bufp = '\0';
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_ctl.c | 1373 char *bufp; local 1378 if ((bufp = calloc(1, buflen)) == NULL) { 1401 if (realpath(spec, bufp) == NULL) { 1406 if (!(rv = hba_dev_cmp(hba_phys, bufp))) { 1415 S_FREE(bufp);
|
/illumos-gate/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 1303 const char *bufp; local 1316 bufp = inet_ntop(AF_INET, 1319 if (bufp == NULL) { 1327 bufp = inet_ntop(AF_INET6, 1330 if (bufp == NULL) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rlogin.c | 1250 char *bufp = rcvbuf; local 1267 while ((remaining = rcvcnt - (bufp - rcvbuf)) > 0) { 1269 n = write(STDOUT_FILENO, bufp, remaining); 1279 bufp += n; 1281 bufp = rcvbuf;
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 388 char *bufp; local 396 bufp = malloc(sizeof (char) * buflen); 397 if (bufp != NULL) 398 (void) snprintf(bufp, buflen, "%s:%s", path, minor_nm); 401 return (bufp);
|
/illumos-gate/usr/src/lib/libds/common/ |
H A D | libds.c | 222 uchar_t *bufp; local 286 nvlist_lookup_byte_array(nvl, VLDS_DATA, &bufp, 288 (data_cb)((ds_hdl_t)hdl, cb_arg, bufp, buflen);
|
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_dup.c | 380 __ham_make_dup(notdup, duplicate, bufp, sizep) 383 void **bufp; 392 if ((ret = __ham_init_dbt(duplicate, tsize, bufp, sizep)) != 0)
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | lsdbf.c | 912 register char *bufp = mp; local 928 while ((cp = strtok(bufp, ",")) != NULL) { 929 bufp = NULL;
|