Home
last modified time | relevance | path

Searched refs:varlen (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c317 int varlen = strlen(var) + 1; in set_one() local
320 if (varlen > MAXNAMESIZE) { in set_one()
329 (void) strcpy(opp->oprom_array + varlen, val); in set_one()
330 opp->oprom_size = varlen + vallen; in set_one()
395 int varlen = strlen(var) + 1; in i_oemlogo() local
399 if (loadlogo(val, 64, 64, opp->oprom_array + varlen)) in i_oemlogo()
401 opp->oprom_size = varlen + 512; in i_oemlogo()
489 int varlen; in i_passwd() local
505 varlen = strlen(opp->oprom_array) + 1; in i_passwd()
508 (void) strcpy(opp->oprom_array + varlen, pwbuf); /* Bounded */ in i_passwd()
[all …]
/titanic_41/usr/src/psm/stand/boot/sparc/common/
H A Dwbcli.c143 uint_t varlen; member
257 len = cliptr->varlen * 2 + 1; in clcid()
258 (void) octet_to_hexascii(cliptr->varptr, cliptr->varlen, in clcid()
297 cliptr->varlen = vmax; in clcid()
303 cliptr->varlen = len; in clcid()
326 len = cliptr->varlen * 2 + 1; in clkey()
328 cliptr->varlen, buffer, &len); in clkey()
341 cliptr->varlen = vmax; in clkey()
369 cliptr->varlen = len + 1; in clip()
389 cliptr->varlen = len + 1; in clstr()
[all …]
/titanic_41/usr/src/cmd/newtask/
H A Dutils.c127 size_t varlen; in getdefault() local
131 varlen = strlen(varname); in getdefault()
143 if (strncmp(varname, cp, varlen) == 0) { in getdefault()
148 cp2 = tmp_cp = cp + varlen; in getdefault()
/titanic_41/usr/src/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c698 int varlen = strlen(var) + 1; in prom_set_prop() local
704 (void) strcpy(opp->oprom_array + varlen, val); in prom_set_prop()
705 opp->oprom_size = varlen + vallen; in prom_set_prop()