| /onnv-gate/usr/src/ucblib/libucb/port/gen/ |
| H A D | statfs.c | 27 cnvtvfs64(struct statfs64 *buf, struct statvfs64 *vbuf) in cnvtvfs64() argument 30 buf->f_bsize = vbuf->f_frsize; in cnvtvfs64() 31 buf->f_blocks = vbuf->f_blocks; in cnvtvfs64() 32 buf->f_bfree = vbuf->f_bfree; in cnvtvfs64() 33 buf->f_bavail = vbuf->f_bavail; in cnvtvfs64() 34 buf->f_files = vbuf->f_files; in cnvtvfs64() 35 buf->f_ffree = vbuf->f_ffree; in cnvtvfs64() 36 buf->f_fsid.val[0] = vbuf->f_fsid; in cnvtvfs64() 44 struct statvfs64 vbuf; in statfs64() local 51 if ((ret = statvfs64(path, &vbuf)) != -1) in statfs64() [all …]
|
| /onnv-gate/usr/src/lib/libbc/libc/sys/common/ |
| H A D | _statfs.c | 82 cpstatvfs(struct statfs *bsdbuf, struct statvfs *vbuf) in cpstatvfs() argument 85 bsdbuf->f_bsize = (vbuf->f_frsize != 0) ? in cpstatvfs() 86 (long) vbuf->f_frsize: (long) vbuf->f_bsize; in cpstatvfs() 87 bsdbuf->f_blocks = (long) vbuf->f_blocks; in cpstatvfs() 88 bsdbuf->f_bfree = (long) vbuf->f_bfree; in cpstatvfs() 89 bsdbuf->f_bavail = (long) vbuf->f_bavail; in cpstatvfs() 90 bsdbuf->f_files = (long) vbuf->f_files; in cpstatvfs() 91 bsdbuf->f_ffree = (long) vbuf->f_ffree; in cpstatvfs() 92 bsdbuf->f_fsid.val[0] = vbuf->f_fsid; in cpstatvfs()
|
| /onnv-gate/usr/src/cmd/picl/prtpicl/ |
| H A D | prtpicl.c | 134 print_bytearray(int lvl, uint8_t *vbuf, size_t nbytes) in print_bytearray() argument 170 (void) printf(" %02x ", vbuf[i]); in print_bytearray() 185 void *vbuf; in print_propval() local 198 vbuf = alloca(propinfo->size); in print_propval() 202 err = picl_get_propval(proph, vbuf, propinfo->size); in print_propval() 218 (void) printf(" %s ", (char *)vbuf); in print_propval() 224 (void) printf(" %d ", *(int8_t *)vbuf); in print_propval() 227 (void) printf(" %" PRId16 " ", *(int16_t *)vbuf); in print_propval() 230 (void) printf(" %" PRId32 " ", *(int32_t *)vbuf); in print_propval() 233 (void) printf(" %" PRId64 " ", *(int64_t *)vbuf); in print_propval() [all …]
|
| /onnv-gate/usr/src/lib/fm/topo/libtopo/common/ |
| H A D | topo_2xml.c | 110 char vbuf[INT64BUFSZ], tbuf[32], *pval = NULL, *aval = NULL; in txml_print_prop() local 117 (void) snprintf(vbuf, INT64BUFSZ, "%d", val); in txml_print_prop() 119 pval = vbuf; in txml_print_prop() 128 (void) snprintf(vbuf, INT64BUFSZ, "0x%x", val); in txml_print_prop() 130 pval = vbuf; in txml_print_prop() 139 (void) snprintf(vbuf, INT64BUFSZ, "0x%llx", in txml_print_prop() 142 pval = vbuf; in txml_print_prop() 151 (void) snprintf(vbuf, INT64BUFSZ, "0x%llx", in txml_print_prop() 154 pval = vbuf; in txml_print_prop() 202 (void) sprintf(vbuf, " 0x%x", val[i]); in txml_print_prop() [all …]
|
| /onnv-gate/usr/src/lib/librestart/common/ |
| H A D | librestart.c | 2376 char *buf = ci->vbuf; in get_profile() 2509 char *vbuf = ci->vbuf; in get_ids() local 2523 vbuf, vbuf_sz, prop, val) == 0 || get_astring_val(instpg, in get_ids() 2524 SCF_PROPERTY_USER, vbuf, vbuf_sz, prop, in get_ids() 2529 if ((r = get_uid(vbuf, ci, &ci->uid)) != 0) { in get_ids() 2533 "error %d.", SCF_PROPERTY_USER, vbuf, r)); in get_ids() 2536 if (!(get_astring_val(methpg, SCF_PROPERTY_GROUP, vbuf, vbuf_sz, prop, in get_ids() 2537 val) == 0 || get_astring_val(instpg, SCF_PROPERTY_GROUP, vbuf, in get_ids() 2540 (void) strcpy(vbuf, ":default"); in get_ids() 2548 if (strcmp(vbuf, ":default") != 0) { in get_ids() [all …]
|
| H A D | librestart.h | 285 char *vbuf; member
|
| /onnv-gate/usr/src/cmd/cmd-inet/lib/netcfgd/ |
| H A D | netcfgd.c | 76 char *vbuf; in nlog() local 79 if (vasprintf(&vbuf, fmt, ap) != -1) { in nlog() 80 log_out(severity, vbuf); in nlog() 81 free(vbuf); in nlog()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
| H A D | perliol.h | 33 SSize_t(*Read) (pTHX_ PerlIO *f, void *vbuf, Size_t count); 34 SSize_t(*Unread) (pTHX_ PerlIO *f, const void *vbuf, Size_t count); 35 SSize_t(*Write) (pTHX_ PerlIO *f, const void *vbuf, Size_t count); 132 extern SSize_t PerlIOBase_read(pTHX_ PerlIO *f, void *vbuf, Size_t count); 133 extern SSize_t PerlIOBase_unread(pTHX_ PerlIO *f, const void *vbuf, 176 extern SSize_t PerlIOBuf_read(pTHX_ PerlIO *f, void *vbuf, Size_t count); 177 extern SSize_t PerlIOBuf_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count); 178 extern SSize_t PerlIOBuf_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
|
| H A D | perlio.c | 1562 Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) argument 1564 Perl_PerlIO_or_Base(f, Read, read, -1, (aTHX_ f, vbuf, count)); 1568 Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument 1570 Perl_PerlIO_or_Base(f, Unread, unread, -1, (aTHX_ f, vbuf, count)); 1574 Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument 1576 Perl_PerlIO_or_fail(f, Write, -1, (aTHX_ f, vbuf, count)); 2023 PerlIOBase_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument 2032 done = PerlIOBuf_unread(aTHX_ f, vbuf, count); 2037 PerlIOBase_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) argument 2039 STDCHAR *buf = (STDCHAR *) vbuf; [all …]
|
| /onnv-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
| H A D | logging.c | 60 char vbuf[256]; in log_format() local 63 buf = vbuf; in log_format() 64 bufsize = sizeof (vbuf); in log_format()
|
| H A D | util.c | 189 char vbuf[1024]; in nwamd_start_childv() local 191 vbuf[0] = 0; in nwamd_start_childv() 192 n = sizeof (vbuf); in nwamd_start_childv() 194 n -= strlcat(vbuf, " ", n); in nwamd_start_childv() 195 n -= strlcat(vbuf, argv[i], n); in nwamd_start_childv() 235 nlog(LOG_ERR, "'%s%s' %s with signal %d (%s)", command, vbuf, in nwamd_start_childv() 240 nlog(LOG_INFO, "'%s%s' completed normally: %d", command, vbuf, in nwamd_start_childv()
|
| /onnv-gate/usr/src/lib/libpicltree/ |
| H A D | picltree.c | 2164 void *vbuf, size_t size) in read_reserved_propval_and_unlock() argument 2180 (void) memcpy(vbuf, srcp, sizeof (picl_nodehdl_t)); in read_reserved_propval_and_unlock() 2193 read_propval_and_unlock(picl_obj_t *nodep, picl_obj_t *propp, void *vbuf, in read_propval_and_unlock() argument 2217 err = (volrd)(&rarg, vbuf); in read_propval_and_unlock() 2220 (void) strlcpy(vbuf, propp->prop_val, propp->prop_size); in read_propval_and_unlock() 2222 (void) memcpy(vbuf, propp->prop_val, propp->prop_size); in read_propval_and_unlock() 2230 xptree_get_propval_with_cred(picl_prophdl_t proph, void *vbuf, size_t size, in xptree_get_propval_with_cred() argument 2252 return (read_propval_and_unlock(nodep, propp, vbuf, cred)); in xptree_get_propval_with_cred() 2259 ptree_get_propval(picl_prophdl_t proph, void *vbuf, size_t size) in ptree_get_propval() argument 2261 return (xptree_get_propval_with_cred(proph, vbuf, size, picld_cred)); in ptree_get_propval() [all …]
|
| H A D | picltree.h | 91 extern int ptree_create_prop(const ptree_propinfo_t *pi, const void *vbuf, 100 const char *name, const void *vbuf, size_t sz); 123 ptree_propinfo_t *infop, void *vbuf,
|
| H A D | llib-lpicltree | 44 int ptree_create_prop(const ptree_propinfo_t *pi, const void *vbuf, 53 const void *vbuf, unsigned int sz); 74 ptree_propinfo_t *infop, void *vbuf,
|
| /onnv-gate/usr/src/cmd/svc/startd/ |
| H A D | startd.c | 339 char *buf, *vbuf; in read_startd_config() local 484 vbuf = startd_alloc(max_scf_value_size); in read_startd_config() 547 if (scf_value_get_astring(val, vbuf, max_scf_value_size) < 0) in read_startd_config() 551 if (strcmp("verbose", vbuf) == 0) { in read_startd_config() 554 } else if (strcmp("debug", vbuf) == 0) { in read_startd_config() 557 } else if (strcmp("quiet", vbuf) == 0) { in read_startd_config() 561 "value '%s' ignored\n", vbuf); in read_startd_config() 565 if (strcmp("quiet", vbuf) == 0) { in read_startd_config() 567 } else if (strcmp("verbose", vbuf) == 0) { in read_startd_config() 572 "ignored\n", vbuf); in read_startd_config() [all …]
|
| /onnv-gate/usr/src/lib/libcpc/i386/ |
| H A D | conf_pentium.c | 510 uint32_t vbuf[4]; in cpc_getcpuver() local 515 maxeax = cpc_getcpuid(0, &vbuf[0], &vbuf[2], &vbuf[1]); in cpc_getcpuver() 517 char *vendor = (char *)vbuf; in cpc_getcpuver()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/via/ |
| H A D | via.xs | 391 PerlIOVia_unread(pTHX_ PerlIO * f, const void *vbuf, Size_t count) in PerlIOVia_unread() argument 394 SV *buf = sv_2mortal(newSVpvn((char *) vbuf, count)); in PerlIOVia_unread() 400 return PerlIOBase_unread(aTHX_ f, vbuf, count); in PerlIOVia_unread() 405 PerlIOVia_read(pTHX_ PerlIO * f, void *vbuf, Size_t count) in PerlIOVia_read() argument 410 rd = PerlIOBase_read(aTHX_ f, vbuf, count); in PerlIOVia_read() 421 Move(SvPVX(buf), vbuf, rd, char); in PerlIOVia_read() 430 PerlIOVia_write(pTHX_ PerlIO * f, const void *vbuf, Size_t count) in PerlIOVia_write() argument 434 SV *buf = newSVpvn((char *) vbuf, count); in PerlIOVia_write()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/scalar/ |
| H A D | scalar.xs | 105 PerlIOScalar_unread(pTHX_ PerlIO * f, const void *vbuf, Size_t count) in PerlIOScalar_unread() argument 109 Move(vbuf, dst + s->posn, count, char); in PerlIOScalar_unread() 117 PerlIOScalar_write(pTHX_ PerlIO * f, const void *vbuf, Size_t count) in PerlIOScalar_write() argument 137 Move(vbuf, dst + offset, count, char); in PerlIOScalar_write()
|
| /onnv-gate/usr/src/cmd/man/src/util/instant.src/ |
| H A D | translate.c | 207 char vbuf[500]; in ExpandVariables() local 217 vp = vbuf; in ExpandVariables() 242 vp = vbuf; in ExpandVariables() 353 char vbuf[LINESIZE]; in ProcesOutputSpec() local 359 ExpandVariables(ib, vbuf, e); /* expand regular variables */ in ProcesOutputSpec() 360 ib = vbuf; in ProcesOutputSpec()
|
| /onnv-gate/usr/src/cmd/picl/plugins/common/devtree/ |
| H A D | picldevtree.c | 1039 get_path_state_name(ptree_rarg_t *rarg, void *vbuf) in get_path_state_name() argument 1049 (void) strlcpy(vbuf, "unknown", MAX_STATE_SIZE); in get_path_state_name() 1113 (void) strlcpy(vbuf, path_state_name(di_path_state(pi)), in get_path_state_name() 1885 get_pi_state(ptree_rarg_t *rarg, void *vbuf) in get_pi_state() argument 1896 (void) strlcpy(vbuf, PS_ONLINE, MAX_STATE_SIZE); in get_pi_state() 1899 (void) strlcpy(vbuf, PS_OFFLINE, MAX_STATE_SIZE); in get_pi_state() 1902 (void) strlcpy(vbuf, PS_NOINTR, MAX_STATE_SIZE); in get_pi_state() 1905 (void) strlcpy(vbuf, PS_SPARE, MAX_STATE_SIZE); in get_pi_state() 1908 (void) strlcpy(vbuf, PS_FAULTED, MAX_STATE_SIZE); in get_pi_state() 1911 (void) strlcpy(vbuf, PS_POWEROFF, MAX_STATE_SIZE); in get_pi_state() [all …]
|
| /onnv-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
| H A D | piclfrutree.c | 1041 void *vbuf; in find_ref_parent() local 1057 vbuf = alloca(propinfo.piclinfo.size); in find_ref_parent() 1058 if (vbuf == NULL) in find_ref_parent() 1061 if (ptree_get_propval(proph, vbuf, in find_ref_parent() 1067 if (strcmp(fru_arg->node_name, (char *)vbuf) == 0) { in find_ref_parent() 1082 void *vbuf; in get_reference_handle() local 1156 vbuf = alloca(propinfo.piclinfo.size); in get_reference_handle() 1157 if (vbuf == NULL) in get_reference_handle() 1160 if (ptree_get_propval(proph, vbuf, in get_reference_handle() 1165 if (strchr((char *)vbuf, ',') != NULL) { in get_reference_handle() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/encoding/ |
| H A D | encoding.xs | 555 PerlIOEncode_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) in PerlIOEncode_write() argument 560 const char *ptr = (const char *) vbuf; in PerlIOEncode_write() 579 return (SSize_t) (ptr - (const char *) vbuf); in PerlIOEncode_write() 582 return PerlIOBuf_write(aTHX_ f, vbuf, count); in PerlIOEncode_write()
|
| /onnv-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
| H A D | piclenvmond.c | 148 picl_nodehdl_t nodeh, picl_prophdl_t *propp, void *vbuf) in env_create_property() argument 166 rc = ptree_create_and_add_prop(nodeh, &propinfo, vbuf, propp); in env_create_property()
|
| /onnv-gate/usr/src/uts/common/fs/zfs/sys/ |
| H A D | zfs_vfsops.h | 143 uint64_t *cookiep, void *vbuf, uint64_t *bufsizep);
|
| /onnv-gate/usr/src/uts/common/fs/zfs/ |
| H A D | dmu.c | 1694 byteswap_uint64_array(void *vbuf, size_t size) in byteswap_uint64_array() argument 1696 uint64_t *buf = vbuf; in byteswap_uint64_array() 1707 byteswap_uint32_array(void *vbuf, size_t size) in byteswap_uint32_array() argument 1709 uint32_t *buf = vbuf; in byteswap_uint32_array() 1720 byteswap_uint16_array(void *vbuf, size_t size) in byteswap_uint16_array() argument 1722 uint16_t *buf = vbuf; in byteswap_uint16_array() 1734 byteswap_uint8_array(void *vbuf, size_t size) in byteswap_uint8_array() argument
|