Lines Matching refs:valstr
4849 char valstr[64];
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, sizeof (valstr), "%d", 0);
4882 (void) snprintf(valstr, sizeof (valstr), "%d", 1);
4885 (void) snprintf(valstr, sizeof (valstr), "%d", 1);
4888 if (strlen(valstr) > 0)
4889 mac_prop_info_set_default_str(prh, valstr);
5148 char valstr[MAXNAMELEN];
5157 (void) snprintf(valstr, sizeof (valstr), "%d",
5161 "(value %d valstr %s)",
5162 pr_name, nxgep->function_num, valstr));
5170 (void) snprintf(valstr, sizeof (valstr), "%s",
5174 "(value %d valstr %s)",
5175 pr_name, nxgep->vpd_info.ver, valstr));
5185 (void) snprintf(valstr, sizeof (valstr), "1G copper %s",
5190 (void) snprintf(valstr, sizeof (valstr), "1G fiber %s",
5195 (void) snprintf(valstr, sizeof (valstr),
5201 (void) snprintf(valstr, sizeof (valstr), "10G fiber %s",
5206 (void) snprintf(valstr, sizeof (valstr),
5211 (void) snprintf(valstr, sizeof (valstr), "1G serdes %s",
5216 (void) snprintf(valstr, sizeof (valstr),
5221 (void) snprintf(valstr, sizeof (valstr),
5226 (void) snprintf(valstr, sizeof (valstr),
5231 (void) snprintf(valstr, sizeof (valstr),
5235 (void) snprintf(valstr, sizeof (valstr), "unknown %s",
5243 pr_name, valstr));
5251 (void) snprintf(valstr, sizeof (valstr), "%s",
5257 "(value %d valstr %s)",
5258 pr_name, nxgep->hot_swappable_phy, valstr));
5268 (void) snprintf(valstr, sizeof (valstr), "%d",
5279 (void) snprintf(valstr, sizeof (valstr), "%d",
5293 (void) snprintf(valstr, sizeof (valstr), "%x",
5297 "==> nxge_get_priv_prop: %s", valstr));
5305 (void) snprintf(valstr, sizeof (valstr), "%x",
5309 "==> nxge_get_priv_prop: %s", valstr));
5316 (void) snprintf(valstr, sizeof (valstr), "%x",
5320 "==> nxge_get_priv_prop: %s", valstr));
5328 (void) snprintf(valstr, sizeof (valstr), "%x",
5332 "==> nxge_get_priv_prop: %s", valstr));
5340 (void) snprintf(valstr, sizeof (valstr), "%x",
5344 "==> nxge_get_priv_prop: %s", valstr));
5352 (void) snprintf(valstr, sizeof (valstr), "%x",
5356 "==> nxge_get_priv_prop: %s", valstr));
5364 (void) snprintf(valstr, sizeof (valstr), "%x",
5368 "==> nxge_get_priv_prop: %s", valstr));
5376 (void) snprintf(valstr, sizeof (valstr), "%x",
5380 "==> nxge_get_priv_prop: %s", valstr));
5386 (void) snprintf(valstr, sizeof (valstr),
5398 (void) snprintf(valstr, sizeof (valstr), "%d", 1);
5401 (void) snprintf(valstr, sizeof (valstr), "%d", 0);
5408 (void) snprintf(valstr, sizeof (valstr), "%d", 1);
5411 (void) snprintf(valstr, sizeof (valstr), "%d", 0);
5418 strsize = (uint_t)strlen(valstr);
5422 (void) strlcpy(pr_val, valstr, pr_valsize);