Searched refs:valstr (Results 1 - 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_scf.c329 ilbd_algo_to_str(ilb_algo_t algo_type, char *valstr) argument
335 (void) strlcpy(valstr, algo_tbl[i].algo_str,
344 ilbd_scf_str_to_algo(ilb_algo_t *algo_type, char *valstr) argument
349 if (strcmp(valstr, algo_tbl[i].algo_str) == 0) {
370 ilbd_topo_to_str(ilb_topo_t topo_type, char *valstr) argument
376 (void) strlcpy(valstr, topo_tbl[i].topo_str,
385 ilbd_scf_str_to_topo(ilb_topo_t *topo_type, char *valstr) argument
390 if (strcmp(valstr, topo_tbl[i].topo_str) == 0) {
399 ilbd_get_svr_field(char *valstr, struct in6_addr *sgs_addr, argument
408 ipaddr = strtok(valstr, ";");
472 ilbd_get_svr_info(ilbd_sg_t *sg, int num, char *valstr, char *svrname) argument
498 ilbd_scf_ip_to_str(uint16_t ipversion, struct in6_addr *addr, scf_type_t *scftype, char *valstr) argument
535 char *valstr = NULL; local
1039 char *valstr; local
[all...]
H A Dilbd_sg.c93 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/psm/stand/boot/sparc/common/
H A Dwbcli.c246 * 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/cmd/pcidr/
H A Dpcidr_common.c174 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/vscan/vscanadm/
H A Dvscanadm.c994 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/tnf/prex/
H A Dexpr.c69 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 Dspec.h86 void spec_valtrav(spec_t * spec_p, char *valstr,
H A Dspec.c299 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/libndmp/common/
H A Dlibndmp_prop.c442 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/uts/common/io/nxge/
H A Dnxge_main.c4849 char valstr[64]; local
4851 bzero(valstr, sizeof (valstr));
4860 (void) snprintf(valstr, sizeof (valstr),
4864 (void) snprintf(valstr, sizeof (valstr),
4875 (void) snprintf(valstr, sizeof (valstr), "%x",
4879 (void) snprintf(valstr, sizeo
5148 char valstr[MAXNAMELEN]; local
[all...]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_files.c156 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 Dlibnwam_values.c520 char **valstr; local
561 &valstr, &numvalues)) != 0)
563 if ((err = nwam_value_create_string_array(valstr, numvalues,
594 char **valstr; local
627 if ((err = nwam_value_get_string_array(value, &valstr,
631 valstr, numvalues)) != 0)
800 nwam_value_string_get_uint64(const char *propname, const char *valstr, argument
806 assert(propname != NULL && valstr != NULL && valp != NULL);
815 if (strcasecmp(value_entries[j].value_string, valstr)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_prop.c618 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/lib/libshare/common/
H A Dscfutil.c1438 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/cmd/fmtmsg/
H A Dmain.c365 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/cmd/valtools/
H A DMakefile52 valstr helpstr errstr \
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_scfutil.c190 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/uts/common/io/ixgbe/
H A Dixgbe_gld.c721 char valstr[64]; local
724 bzero(valstr, sizeof (valstr));
750 (void) snprintf(valstr, sizeof (valstr), "%x", value);
/illumos-gate/usr/src/uts/common/io/simnet/
H A Dsimnet.c1326 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/libc/port/gen/
H A Dfmtmsg.c404 char *valstr; /* Ptr to extracted sev value */ local
444 valstr = current;
451 val = (int)strtol(noesc(valstr), &p, 0);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsoconfig.c520 char *valstr; local
536 while ((valstr = strsep(&socktup, ":")) != NULL && i < 3) {
537 val = parse_int(valstr);
/illumos-gate/usr/src/lib/libshare/smbfs/
H A Dsmbfs_scfutil.c574 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/uts/common/io/fibre-channel/fca/oce/
H A Doce_gld.c546 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/lib/pyzfs/common/
H A Dioctl.c159 char *valstr = PyString_AsString(value); local
160 err = nvlist_add_string(nvl, keystr, valstr);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c1909 char *valstr; local
1912 composed, required, NULL, &valstr) != 0)
1914 *val = strcmp(valstr, RA_PROPVAL_BOOLEAN_TRUE) == 0;
1915 free(valstr);
2524 ra_str2oval(const char *valstr) argument
2526 if (strcmp(valstr, "enabled") == 0)
2528 else if (strcmp(valstr, "disabled") == 0)
2530 else if (strcmp(valstr, "default") == 0)

Completed in 258 milliseconds

12