Searched refs:bufp (Results 151 - 175 of 273) sorted by relevance

1234567891011

/illumos-gate/usr/src/uts/common/disp/
H A Dts.c545 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 Dlwp.c108 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 Dlibdlbridge.c253 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 Dllib-lldap323 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 Dgprof.c858 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 Ditadm.c2120 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 Dstrsun.c127 mcopymsg(mblk_t *mp, void *bufp) argument
129 caddr_t dest = bufp;
/illumos-gate/usr/src/uts/sparc/os/
H A Dcpr_sparc.c501 cpr_enumerate_promprops(char **bufp, size_t *len) argument
521 *bufp = buf;
/illumos-gate/usr/src/uts/common/io/vioif/
H A Dvioif.c1496 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 Dtopo_mod.c791 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 Dvs_icap.c354 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 Ddscfglockd.c680 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 Dnewfs.c1019 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 Dvnet_dds.c141 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 Dippconf.c144 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 Dpiclenvd.c486 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 Dinetsvc.c575 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 Doplmsu_cmn_func.c1768 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 Dcfga_ctl.c1373 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 Discsit_common.c1303 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 Drlogin.c1250 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 Dcfg_link.c388 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 Dlibds.c222 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 Dhash_dup.c380 __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 Dlsdbf.c912 register char *bufp = mp; local
928 while ((cp = strtok(bufp, ",")) != NULL) {
929 bufp = NULL;

Completed in 134 milliseconds

1234567891011