/illumos-gate/usr/src/cmd/pcidr/ |
H A D | pcidr_common.c | 174 char *valstr, *name; local 188 rv = nvpair_value_string(nvpairp, &valstr); 201 dprint(lvl, "%s%s = %s\n", prestr, name, valstr); 207 * if one of the args matches <valstr>, return 0; else return non-zero 209 * if args list is empty, this will return 0 if <valstr> is NOT empty 212 pcidr_check_string(char *valstr, ...) argument 218 assert(valstr != NULL); 220 va_start(ap, valstr); 222 if (valstr[0] != '\0') 227 va_start(ap, valstr); [all...] |
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | expr.c | 69 char *valstr, void *calldatap); 70 static void matched(spec_t * spec_p, char *valstr, void *calldatap); 242 char *valstr, 247 spec_valtrav(args_p->spec_p, valstr, matched, calldatap); 255 char *valstr, 240 matchvals(spec_t * spec_p, char *attrstr, char *valstr, void *calldatap) argument 254 matched(spec_t * spec_p, char *valstr, void *calldatap) argument
|
H A D | spec.c | 299 char *valstr, 309 if (!valstr) 313 if (!*valstr) { 314 if (spec_match(spec_p, valstr)) 315 (*fun) (spec_p, valstr, calldatap); 318 for (s = s0 = valstr; ; s++) { 386 for (v = strtok_r(valstr, " \t", &ls); v; 298 spec_valtrav(spec_t * spec_p, char *valstr, spec_val_fun_t fun, void *calldatap) argument
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_scfutil.c | 190 char *propname, char *valstr) 210 if (scf_value_set_astring(value, valstr) == 0) { 254 char *valstr, size_t sz) 268 if (scf_value_get_astring(value, valstr, sz) < 0) { 189 smb_smf_set_string_property(smb_scfhandle_t *handle, char *propname, char *valstr) argument 253 smb_smf_get_string_property(smb_scfhandle_t *handle, char *propname, char *valstr, size_t sz) argument
|
/illumos-gate/usr/src/lib/libshare/smbfs/ |
H A D | smbfs_scfutil.c | 574 char *propname, char *valstr) 595 if (scf_value_set_astring(value, valstr) == 0) { 639 char *valstr, size_t sz) 654 if (scf_value_get_astring(value, valstr, sz) < 0) { 573 smb_smf_set_string_property(smb_scfhandle_t *handle, char *propname, char *valstr) argument 638 smb_smf_get_string_property(smb_scfhandle_t *handle, char *propname, char *valstr, size_t sz) argument
|
/illumos-gate/usr/src/lib/libndmp/common/ |
H A D | libndmp_prop.c | 442 const char *valstr) 476 if ((scf_value_set_astring(value, valstr)) != SCF_SUCCESS) 480 valint = strtoll(valstr, 0, 0); 484 if (strncmp(valstr, "yes", 3)) 521 char *valstr, size_t sz) 538 if (scf_value_get_astring(value, valstr, 550 (void) strncpy(valstr, lltostr(valint, 561 (void) strncpy(valstr, "yes", 4); 563 (void) strncpy(valstr, "no", 3); 441 ndmp_smf_set_property(ndmp_scfhandle_t *handle, const char *propname, const char *valstr) argument 520 ndmp_smf_get_property(ndmp_scfhandle_t *handle, const char *propname, char *valstr, size_t sz) argument
|
/illumos-gate/usr/src/cmd/fmtmsg/ |
H A D | main.c | 365 char *valstr; /* Ptr to extracted sev value */ 406 valstr = current; 412 val = (int) strtol(noesc(valstr), &p, 0); 361 char *valstr; /* Ptr to extracted sev value */ local
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_gld.c | 546 char valstr[64]; local 557 (void) snprintf(valstr, sizeof (valstr), "%d", value); 558 mac_prop_info_set_default_str(prh, valstr);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | soconfig.c | 520 char *valstr; local 536 while ((valstr = strsep(&socktup, ":")) != NULL && i < 3) { 537 val = parse_int(valstr);
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_gld.c | 721 char valstr[64]; local 724 bzero(valstr, sizeof (valstr)); 750 (void) snprintf(valstr, sizeof (valstr), "%x", value);
|
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | ioctl.c | 159 char *valstr = PyString_AsString(value); local 160 err = nvlist_add_string(nvl, keystr, valstr);
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_gld.c | 1559 char valstr[64]; local 1584 (void) snprintf(valstr, sizeof (valstr), "%d", value); 1585 mac_prop_info_set_default_str(prh, valstr);
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | scfutil.c | 1438 sa_set_property(scfutilhandle_t *handle, char *propname, char *valstr) argument 1454 if (scf_value_set_astring(value, valstr) == 0) { 1532 char *valstr; local 1567 valstr = sa_get_resource_attr(resource, "name"); 1570 strsize = (valstr != NULL) ? strlen(valstr) : 0; 1583 valstr ? valstr : ""); 1586 idstr, valstr ? valstr [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_files.c | 156 char **valstr, **newvalstr; local 195 valstr = NULL; 210 valstr = calloc(NWAM_MAX_NUM_VALUES, 218 valstr == NULL) { 249 valstr[nelem - 1] = 313 if ((newvalstr = realloc(valstr, 625 char **valstr; local 693 if (nwam_value_get_string_array(val, &valstr, &nelem) 701 value_add_escapes(valstr[i], evalstr);
|
H A D | libnwam_util.c | 791 char **valstr; local 797 if ((err = nwam_value_get_string_array(value, &valstr, &numvalues)) 817 if (scf_handle_decode_fmri(h, valstr[i], NULL, svc,
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | fmtmsg.c | 404 char *valstr; /* Ptr to extracted sev value */ local 444 valstr = current; 451 val = (int)strtol(noesc(valstr), &p, 0);
|
/illumos-gate/usr/src/cmd/vscan/vscanadm/ |
H A D | vscanadm.c | 994 vs_adm_parse_maxsize(const char *valstr, void *vp) argument 1002 maxsize = strtoll(valstr, &end, 10); 1022 vs_adm_parse_maxsize_action(const char *valstr, void *vp) argument 1026 if (strcmp(valstr, VS_ADM_ALLOW) == 0) { 1031 if (strcmp(valstr, VS_ADM_DENY) == 0) { 1047 vs_adm_parse_types(const char *valstr, void *vp) argument 1051 if (strlen(valstr) >= sizeof (svcp->vp_types)) 1054 if (strlcpy(svcp->vp_types, valstr, sizeof (svcp->vp_types)) 1072 vs_adm_parse_enable(const char *valstr, void *vp) argument 1076 if (strcmp(valstr, VS_ADM_O 1097 vs_adm_parse_host(const char *valstr, void *vp) argument 1125 vs_adm_parse_port(const char *valstr, void *vp) argument 1152 vs_adm_parse_maxconn(const char *valstr, void *vp) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_rules.c | 1084 /* convert a struct in6_addr to valstr */ 1086 ilbd_ip_to_str(uint16_t ipversion, struct in6_addr *addr, char *valstr) argument 1097 if (inet_ntop(ipversion, (void *)addrptr, valstr, vallen == NULL))
|
H A D | ilbd_sg.c | 93 char *valstr) 104 prop_name, valstr)); 1207 char ipstr[INET6_ADDRSTRLEN], *valstr = NULL; local 1433 if ((valstr = malloc(scf_val_len)) == NULL) { 1438 (void) snprintf(valstr, scf_val_len, "%s;%d;%d-%d;%d", 1448 prop_name, valstr); 1454 prop_name, valstr); 1460 free(valstr); 92 i_ilbd_save_sg(ilbd_sg_t *d_sg, ilbd_scf_cmd_t scf_cmd, const char *prop_name, char *valstr) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | config.c | 494 char *valstr, struct confvar *confvar) 501 (int)type, varstr, valstr); 512 if (!(*cip->ci_parsefunc)(valstr, &val)) { 513 conferr("Bad value: <%s>\n", valstr); 518 valstr, cip->ci_min, varstr); 523 valstr, cip->ci_max, varstr); 493 parse_var_value(config_type_t type, struct configinfo *list, char *varstr, char *valstr, struct confvar *confvar) argument
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_prop.c | 618 const char *valstr = NULL; local 746 valstr = valbuf; 749 valstr = value; 754 valstr = tbuf; 760 "%s=%s", propname, (valstr == NULL ? "" : valstr)); 832 char *valstr = fnvpair_value_string(elem); local 833 if (strlen(valstr) >= (version < 942 char *valstr; local 979 valstr [all...] |
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | wbcli.c | 246 * On assignment the value is specified in valstr, either in hexascii or 250 clcid(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 263 len = strlen(valstr); 270 if ((valstr[0] == '"' || valstr[0] == '\'') && 271 valstr[len-1] == valstr[0]) { 273 ++valstr; 275 valstr[len] = '\0'; 283 for (p = valstr; * 318 clkey(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 354 clip(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 377 clstr(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 401 clurl(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 427 clhp(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 454 clgo(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 464 clexit(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 476 clhelp(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 494 cllist(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 532 clprompt(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 602 cldhcp(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 640 cltest(cli_ent_t *cliptr, char *valstr, boolean_t out) argument 683 char *p, *varstr, *end_varstr, *valstr, *end_valstr; local [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_gld.c | 2775 char valstr[64]; local 2779 bzero(valstr, sizeof (valstr)); 2842 snprintf(valstr, sizeof (valstr), "%d", default_val); 2843 mac_prop_info_set_default_str(prh, valstr);
|
/illumos-gate/usr/src/uts/common/io/simnet/ |
H A D | simnet.c | 1326 char valstr[MAXNAMELEN]; local 1328 bzero(valstr, sizeof (valstr)); 1331 (void) snprintf(valstr, sizeof (valstr), "%d", 0); 1334 if (strlen(valstr) > 0) 1335 mac_prop_info_set_default_str(prh, valstr);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_val.c | 2095 char *str, *valstr; local 2179 valstr = 0; 2180 str = scanMappingFormat(f, n, nf, str, &valstr, 2184 if (valstr != 0 && ni < numItems && 2186 v[ni]->val[v[ni]->numVals].value = valstr; 2188 strlen(valstr) + 1; 2191 } else if (valstr != 0) { 2192 sfree(valstr);
|