/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | logging.c | 60 char vbuf[256]; local 63 buf = vbuf; 64 bufsize = sizeof (vbuf);
|
H A D | util.c | 189 char vbuf[1024]; local 191 vbuf[0] = 0; 192 n = sizeof (vbuf); 194 n -= strlcat(vbuf, " ", n); 195 n -= strlcat(vbuf, argv[i], n); 235 nlog(LOG_ERR, "'%s%s' %s with signal %d (%s)", command, vbuf, 240 nlog(LOG_INFO, "'%s%s' completed normally: %d", command, vbuf,
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | statfs.c | 27 cnvtvfs64(struct statfs64 *buf, struct statvfs64 *vbuf) argument 30 buf->f_bsize = vbuf->f_frsize; 31 buf->f_blocks = vbuf->f_blocks; 32 buf->f_bfree = vbuf->f_bfree; 33 buf->f_bavail = vbuf->f_bavail; 34 buf->f_files = vbuf->f_files; 35 buf->f_ffree = vbuf->f_ffree; 36 buf->f_fsid.val[0] = vbuf->f_fsid; 44 struct statvfs64 vbuf; local 51 if ((ret = statvfs64(path, &vbuf)) ! 60 struct statvfs64 vbuf; local 69 cnvtvfs(struct statfs *buf, struct statvfs *vbuf) argument 86 struct statvfs vbuf; local 103 struct statvfs vbuf; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/lib/netcfgd/ |
H A D | netcfgd.c | 76 char *vbuf; local 79 if (vasprintf(&vbuf, fmt, ap) != -1) { 80 log_out(severity, vbuf); 81 free(vbuf);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | _statfs.c | 82 cpstatvfs(struct statfs *bsdbuf, struct statvfs *vbuf) argument 85 bsdbuf->f_bsize = (vbuf->f_frsize != 0) ? 86 (long) vbuf->f_frsize: (long) vbuf->f_bsize; 87 bsdbuf->f_blocks = (long) vbuf->f_blocks; 88 bsdbuf->f_bfree = (long) vbuf->f_bfree; 89 bsdbuf->f_bavail = (long) vbuf->f_bavail; 90 bsdbuf->f_files = (long) vbuf->f_files; 91 bsdbuf->f_ffree = (long) vbuf->f_ffree; 92 bsdbuf->f_fsid.val[0] = vbuf [all...] |
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/ |
H A D | mkholes.c | 147 char *buf, *vbuf; local 165 vbuf = (char *)umem_zalloc(readlen, UMEM_NOFAIL); 173 if (memcmp(buf, vbuf, bytes) != 0) { 183 umem_free(vbuf, readlen); 187 vbuf = (char *)umem_alloc(len, UMEM_NOFAIL); 193 if ((pread(fd, vbuf, len, off)) != len) { 198 if (memcmp(buf, vbuf, len) != 0) { 205 umem_free(vbuf, len);
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_2xml.c | 110 char vbuf[INT64BUFSZ], tbuf[32], *pval = NULL, *aval = NULL; local 117 (void) snprintf(vbuf, INT64BUFSZ, "%d", val); 119 pval = vbuf; 128 (void) snprintf(vbuf, INT64BUFSZ, "0x%x", val); 130 pval = vbuf; 139 (void) snprintf(vbuf, INT64BUFSZ, "0x%llx", 142 pval = vbuf; 151 (void) snprintf(vbuf, INT64BUFSZ, "0x%llx", 154 pval = vbuf; 202 (void) sprintf(vbuf, " [all...] |
/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | conf_pentium.c | 510 uint32_t vbuf[4]; local 515 maxeax = cpc_getcpuid(0, &vbuf[0], &vbuf[2], &vbuf[1]); 517 char *vendor = (char *)vbuf;
|
/illumos-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) 166 rc = ptree_create_and_add_prop(nodeh, &propinfo, vbuf, propp); 145 env_create_property(int ptype, int pmode, size_t psize, char *pname, int (*readfn)(ptree_rarg_t *, void *), int (*writefn)(ptree_warg_t *, const void *), picl_nodehdl_t nodeh, picl_prophdl_t *propp, void *vbuf) argument
|
/illumos-gate/usr/src/cmd/picl/prtpicl/ |
H A D | prtpicl.c | 134 print_bytearray(int lvl, uint8_t *vbuf, size_t nbytes) argument 170 (void) printf(" %02x ", vbuf[i]); 185 void *vbuf; local 198 vbuf = alloca(propinfo->size); 202 err = picl_get_propval(proph, vbuf, propinfo->size); 218 (void) printf(" %s ", (char *)vbuf); 224 (void) printf(" %d ", *(int8_t *)vbuf); 227 (void) printf(" %" PRId16 " ", *(int16_t *)vbuf); 230 (void) printf(" %" PRId32 " ", *(int32_t *)vbuf); 233 (void) printf(" %" PRId64 " ", *(int64_t *)vbuf); [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_ioctl.c | 1152 uint8_t *vpd, *vpdptr, *vbuf; local 1185 vbuf = vpd; 1186 while (vbuf <= vpdptr) { 1187 cnt += *vbuf++;
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | startd.c | 485 char *buf, *vbuf; local 630 vbuf = startd_alloc(max_scf_value_size); 693 if (scf_value_get_astring(val, vbuf, max_scf_value_size) < 0) 697 if (strcmp("verbose", vbuf) == 0) { 700 } else if (strcmp("debug", vbuf) == 0) { 703 } else if (strcmp("quiet", vbuf) == 0) { 707 "value '%s' ignored\n", vbuf); 711 if (strcmp("quiet", vbuf) == 0) { 713 } else if (strcmp("verbose", vbuf) == 0) { 718 "ignored\n", vbuf); [all...] |
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.h | 288 char *vbuf; member in struct:method_context
|
H A D | librestart.c | 2378 char *buf = ci->vbuf; 2511 char *vbuf = ci->vbuf; local 2525 vbuf, vbuf_sz, prop, val) == 0 || get_astring_val(instpg, 2526 SCF_PROPERTY_USER, vbuf, vbuf_sz, prop, 2531 if ((r = get_uid(vbuf, ci, &ci->uid)) != 0) { 2535 "error %d.", SCF_PROPERTY_USER, vbuf, r)); 2538 if (!(get_astring_val(methpg, SCF_PROPERTY_GROUP, vbuf, vbuf_sz, prop, 2539 val) == 0 || get_astring_val(instpg, SCF_PROPERTY_GROUP, vbuf, 2542 (void) strcpy(vbuf, " [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/ |
H A D | piclwatchdog.c | 1236 void *vbuf) /* initial value */ 1248 rc = ptree_create_and_add_prop(nodeh, &propinfo, vbuf, propp); 1227 wd_create_property( int ptype, int pmode, size_t psize, char *pname, int (*readfn)(ptree_rarg_t *, void *), int (*writefn)(ptree_warg_t *, const void *), picl_nodehdl_t nodeh, picl_prophdl_t *propp, void *vbuf) argument
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 1207 char vbuf[ZFS_MAXPROPLEN]; local 1223 if (zfs_prop_get(mhd->ml_handle, prop, vbuf, sizeof (vbuf), 1231 (void) strlcpy(mpp->mp_value, vbuf, ZFS_MAXPROPLEN);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dnode.c | 335 dnode_buf_byteswap(void *vbuf, size_t size) argument 337 dnode_phys_t *buf = vbuf;
|
H A D | zap.c | 59 fzap_byteswap(void *vbuf, size_t size) argument 63 block_type = *(uint64_t *)vbuf; 66 zap_leaf_byteswap(vbuf, size); 69 byteswap_uint64_array(vbuf, size);
|
H A D | dmu.c | 2063 byteswap_uint64_array(void *vbuf, size_t size) argument 2065 uint64_t *buf = vbuf; 2076 byteswap_uint32_array(void *vbuf, size_t size) argument 2078 uint32_t *buf = vbuf; 2089 byteswap_uint16_array(void *vbuf, size_t size) argument 2091 uint16_t *buf = vbuf; 2103 byteswap_uint8_array(void *vbuf, size_t size) argument
|
H A D | zfs_vfsops.c | 668 uint64_t *cookiep, void *vbuf, uint64_t *bufsizep) 673 zfs_useracct_t *buf = vbuf; 688 if ((uintptr_t)buf - (uintptr_t)vbuf + sizeof (zfs_useracct_t) > 701 ASSERT3U((uintptr_t)buf - (uintptr_t)vbuf, <=, *bufsizep); 702 *bufsizep = (uintptr_t)buf - (uintptr_t)vbuf; 667 zfs_userspace_many(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, uint64_t *cookiep, void *vbuf, uint64_t *bufsizep) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 2407 char *p, *q, *vbuf; local 2418 vbuf = malloc(vlen); 2419 if (vbuf == NULL) 2421 q = vbuf; 2423 q += slprintf(q, vbuf + vlen - q, "%s;", p); 2427 dbuf.dptr = vbuf;
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ds_common.c | 1957 ds_dump_msg(void *vbuf, size_t len) argument 1963 uint8_t *buf = vbuf;
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfssubr.c | 188 byteswap_uint64_array(void *vbuf, size_t size) argument 190 uint64_t *buf = vbuf;
|
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | picltree.c | 2164 void *vbuf, size_t size) 2180 (void) memcpy(vbuf, srcp, sizeof (picl_nodehdl_t)); 2193 read_propval_and_unlock(picl_obj_t *nodep, picl_obj_t *propp, void *vbuf, argument 2217 err = (volrd)(&rarg, vbuf); 2220 (void) strlcpy(vbuf, propp->prop_val, propp->prop_size); 2222 (void) memcpy(vbuf, propp->prop_val, propp->prop_size); 2230 xptree_get_propval_with_cred(picl_prophdl_t proph, void *vbuf, size_t size, argument 2252 return (read_propval_and_unlock(nodep, propp, vbuf, cred)); 2259 ptree_get_propval(picl_prophdl_t proph, void *vbuf, size_t size) argument 2261 return (xptree_get_propval_with_cred(proph, vbuf, siz 2163 read_reserved_propval_and_unlock(picl_obj_t *nodep, const char *pname, void *vbuf, size_t size) argument 2270 xptree_get_propval_by_name_with_cred(picl_nodehdl_t nodeh, const char *pname, void *vbuf, size_t size, door_cred_t cred) argument 2312 ptree_get_propval_by_name(picl_nodehdl_t nodeh, const char *pname, void *vbuf, size_t size) argument 2325 write_propval_and_unlock(picl_obj_t *nodep, picl_obj_t *propp, const void *vbuf, size_t size, door_cred_t cred) argument 2360 xptree_update_propval_with_cred(picl_prophdl_t proph, const void *vbuf, size_t size, door_cred_t cred) argument 2390 ptree_update_propval(picl_prophdl_t proph, const void *vbuf, size_t size) argument 2402 xptree_update_propval_by_name_with_cred(picl_nodehdl_t nodeh, const char *pname, const void *vbuf, size_t size, door_cred_t cred) argument 2444 ptree_update_propval_by_name(picl_nodehdl_t nodeh, const char *pname, const void *vbuf, size_t size) argument 2666 prop_match(ptree_propinfo_t pinfo, void *vbuf, char *val) argument 2751 void *vbuf; local 3003 ptree_create_and_add_prop(picl_nodehdl_t nodeh, ptree_propinfo_t *infop, void *vbuf, picl_prophdl_t *proph) argument 3113 void *vbuf; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.c | 1041 void *vbuf; local 1057 vbuf = alloca(propinfo.piclinfo.size); 1058 if (vbuf == NULL) 1061 if (ptree_get_propval(proph, vbuf, 1067 if (strcmp(fru_arg->node_name, (char *)vbuf) == 0) { 1082 void *vbuf; local 1156 vbuf = alloca(propinfo.piclinfo.size); 1157 if (vbuf == NULL) 1160 if (ptree_get_propval(proph, vbuf, 1165 if (strchr((char *)vbuf, ',') ! 1606 create_property(int ptype, int pmode, size_t psize, char *pname, int (*readfn)(ptree_rarg_t *, void *), int (*writefn)(ptree_warg_t *, const void *), picl_nodehdl_t nodeh, picl_prophdl_t *prophp, void *vbuf) argument 3921 void *vbuf; local [all...] |