/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/netbootinfo/ |
H A D | netbootinfo.c | 94 char valbuf[URL_MAX_STRLEN]; local 95 size_t vallen = sizeof (valbuf); 100 switch (bootinfo_get(name, valbuf, &vallen, NULL)) { 105 (void) strlcpy(valbuf, "none", sizeof (valbuf)); 118 (void) printf("%s\n", valbuf);
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppdata.c | 67 static char valbuf[MAXTOKEN+1]; /* builtin macro value buffer */ variable 172 &valbuf[0], /* valbuf */
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_xdr.c | 310 char valbuf[YPMAXRECORD]; local 319 kv.valdat.dptr = valbuf;
|
/illumos-gate/usr/src/lib/libwanboot/common/ |
H A D | bootinfo_aux.c | 496 bi_get_chosen_prop(const char *name, void *valbuf, size_t *vallenp) argument 505 (void) memcpy(valbuf, val, *vallenp); 516 void *valbuf, size_t *vallenp) 519 optcat, optcode, optsize, valbuf, vallenp)); 515 bi_get_dhcp_info(uchar_t optcat, uint16_t optcode, uint16_t optsize, void *valbuf, size_t *vallenp) argument
|
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | bootinfo.c | 218 bi_getval_chosen(bi_param_t *bip, void *valbuf, size_t *vallenp) argument 222 if (!bi_get_chosen_prop(bip->bi_name, valbuf, vallenp)) { 232 bi_getval_dhcpopt(bi_param_t *bip, void *valbuf, size_t *vallenp) argument 242 val = valbuf; 257 len = strlen(strcpy(valbuf, inet_ntoa(ipaddr))) + 1; 264 ((uchar_t *)valbuf)[len++] = '\0'; 273 bi_getval_bootmisc(bi_param_t *bip, void *valbuf, size_t *vallenp) argument 286 (void) memcpy(valbuf, val, *vallenp); 296 bi_put_bootmisc(const char *name, const void *valbuf, size_t vallen) argument 299 (uchar_t *)valbuf, (uint_ 307 bi_putval_chosen(bi_param_t *bip, const void *valbuf, size_t vallen) argument 314 bi_putval_bootmisc(bi_param_t *bip, const void *valbuf, size_t vallen) argument 464 bootinfo_put(const char *name, const void *valbuf, size_t vallen, int repository) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvsetup.c | 244 int size, void *valbuf, picl_prophdl_t *prophp) 255 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph); 243 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, int size, void *valbuf, picl_prophdl_t *prophp) argument
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_callbacks.c | 916 char *valbuf; local 932 valbuf = strdup(value); 933 if (valbuf == NULL) { 940 session->ns_data.dd_env[session->ns_data.dd_env_len].value = valbuf; 967 char *valbuf; local 974 } else if (!(valbuf = strdup(value))) { 979 envp->value = valbuf;
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | smfcfg.c | 107 fs_smf_set_prop(smf_fstype_t fstype, char *prop_name, char *valbuf, argument 177 valint = strtoul(valbuf, NULL, 0); 195 valbuf) == 0) { 207 if (strcmp(valbuf, "1") == 0) { 209 } else if (strcmp(valbuf, "0") == 0) {
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | piclenvsetup.c | 302 int size, void *valbuf, picl_prophdl_t *prophp) 313 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph); 301 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, int size, void *valbuf, picl_prophdl_t *prophp) argument
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvsetup.c | 312 int size, void *valbuf, picl_prophdl_t *prophp) 323 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph); 311 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, int size, void *valbuf, picl_prophdl_t *prophp) argument
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvsetup.c | 375 int size, void *valbuf, picl_prophdl_t *prophp) 386 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph); 374 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, int size, void *valbuf, picl_prophdl_t *prophp) argument
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fcal_leds.c | 169 * valbuf has space for a unit address at the end 171 char valbuf[MAX_LEN_UNIT_ADDRESS]; local 181 valbuf, sizeof (valbuf)); 184 valbuf[sizeof (valbuf) - 1] = '\0'; /* ensure null terminated */ 186 addr = strtoul(valbuf, &ptr, 16);
|
H A D | fcal_leds_thread.c | 127 char valbuf[80]; local 141 PICL_PROP_CLASSNAME, (void *)valbuf, 142 sizeof (valbuf)); 145 } else if (strcmp(valbuf, "fp") == 0) {
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | automount.c | 104 char valbuf[6]; local 121 ret = autofs_smf_get_prop("timeout", valbuf, DEFAULT_INSTANCE, 128 mount_timeout = strtol(valbuf, (char **)NULL, 10); 131 ret = autofs_smf_get_prop("automount_verbose", valbuf, DEFAULT_INSTANCE, 134 if (strncasecmp("true", valbuf, 4) == 0)
|
/illumos-gate/usr/src/lib/libpicl/ |
H A D | picl.c | 353 * into the buffer <valbuf>. 356 picl_get_propval(picl_prophdl_t proph, void *valbuf, size_t nbytes) argument 382 (void) memcpy(valbuf, ret->ret_attrval.ret_buf, 391 * name into the buffer <valbuf> 395 void *valbuf, size_t nbytes) 422 (void) memcpy(valbuf, ret->ret_attrvalbyname.ret_buf, 431 * handle with the value specified in <valbuf>. 434 picl_set_propval(picl_prophdl_t proph, void *valbuf, size_t nbytes) argument 450 (void) memcpy(inargs->valbuf, valbuf, nbyte 394 picl_get_propval_by_name(picl_nodehdl_t nodeh, const char *propname, void *valbuf, size_t nbytes) argument 468 picl_set_propval_by_name(picl_nodehdl_t nodeh, const char *propname, void *valbuf, size_t nbytes) argument [all...] |
H A D | picl2door.h | 259 char valbuf[1]; member in struct:__anon3740 276 char valbuf[1]; member in struct:__anon3742 321 char valbuf[1]; /* prop value */ member in struct:__anon3748
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/ |
H A D | snowbird.c | 669 char *valbuf; local 689 valbuf = (char *) malloc(sizeof (char) * (propinfo.size)); 690 if (valbuf == NULL) 693 if (picl_get_propval(proph, (void *)valbuf, propinfo.size) 695 free(valbuf); 699 while (valbuf[ctr] != ' ' && valbuf[ctr] != NULL) { 700 label_txt[ctr] = valbuf[ctr]; 706 if (valbuf[ctr] != NULL) { 707 unit_no = atoi(valbuf 836 char *prop_name, *valbuf; local 1086 char *valbuf; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil_impl.h | 72 void *valbuf; member in struct:__anon1070 142 #define propcmd_valbuf u.prop.valbuf
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvsetup.c | 352 int size, void *valbuf, picl_prophdl_t *prophp) 363 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph); 351 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, int size, void *valbuf, picl_prophdl_t *prophp) argument
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | openprom.c | 363 char *valbuf; local 407 valbuf = (char *)kmem_zalloc(valsize + 1, KM_SLEEP); 408 if (prom_asr_list_keys((caddr_t)valbuf) == -1) { 409 kmem_free(valbuf, valsize + 1); 415 bcopy(valbuf, opp->oprom_array, valsize); 418 kmem_free(valbuf, valsize + 1); 427 valbuf = (char *)kmem_zalloc(valsize + 1, KM_SLEEP); 428 if (prom_asr_export((caddr_t)valbuf) == -1) { 429 kmem_free(valbuf, valsize + 1); 435 bcopy(valbuf, op [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_prop.c | 617 char valbuf[32]; local 744 (void) snprintf(valbuf, sizeof (valbuf), 746 valstr = valbuf;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/bsc/ |
H A D | picllom.c | 83 int type, int access, int size, const void *valbuf, picl_prophdl_t *prophp); 353 int size, const void *valbuf, picl_prophdl_t *prophp) 364 err = ptree_create_and_add_prop(nodeh, &propinfo, (void *)valbuf, 352 add_regular_prop(picl_nodehdl_t nodeh, const char *name, int type, int access, int size, const void *valbuf, picl_prophdl_t *prophp) argument
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/ |
H A D | piclenvmon.c | 89 int type, int access, int size, const void *valbuf, picl_prophdl_t *prophp); 556 int size, const void *valbuf, picl_prophdl_t *prophp) 567 err = ptree_create_and_add_prop(nodeh, &propinfo, (void *)valbuf, 555 add_regular_prop(picl_nodehdl_t nodeh, const char *name, int type, int access, int size, const void *valbuf, picl_prophdl_t *prophp) argument
|
/illumos-gate/usr/src/cmd/audio/audioctl/ |
H A D | audioctl.c | 460 char valbuf[COL_VAL_SZ + 1]; local 482 (void) snprintf(valbuf, sizeof (valbuf), "%s", 487 (void) snprintf(valbuf, sizeof (valbuf), "%d", 492 (void) snprintf(valbuf, sizeof (valbuf), "%d:%d", 505 (void) snprintf(valbuf, sizeof (valbuf), "%s", str); 564 col.col_val = valbuf; [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_config.c | 3366 char *name, *value, valbuf[BUFSIZE]; local 3386 (void) strlcpy(valbuf, strptr, sizeof (valbuf)); 3387 __s_api_split_key_value(valbuf, &name, &value); 3428 char *name, *value, valbuf[BUFSIZE]; local 3456 (void) strlcpy(valbuf, strptr, sizeof (valbuf)); 3457 __s_api_split_key_value(valbuf, &name, &value);
|