Lines Matching refs:var

185 do_var(char *var)  in do_var()  argument
189 val = strchr(var, '='); in do_var()
199 print_one(var); in do_var()
210 set_one(var, val); in do_var()
252 print_one(char *var) in print_one() argument
258 if (strcmp(var, "bootcmd") == 0) { in print_one()
271 (void) printf("%s=%s %s\n", var, opp->oprom_array, bootargs); in print_one()
275 (void) strlcpy(opp->oprom_array, var, MAXNAMESIZE); in print_one()
277 (void) printf("%s: data not available.\n", var); in print_one()
283 if (strcmp(var, v->name) == 0) in print_one()
289 (void) printf("%s=%s\n", var, opp->oprom_array); in print_one()
297 set_one(char *var, char *val) in set_one() argument
305 print_one(var); in set_one()
311 if (strcmp(var, v->name) == 0) in set_one()
317 int varlen = strlen(var) + 1; in set_one()
321 (void) printf("%s: invalid property.\n", var); in set_one()
325 (void) printf("%s: invalid property value.\n", var); in set_one()
328 (void) strcpy(opp->oprom_array, var); in set_one()
332 (void) printf("%s: invalid property.\n", var); in set_one()
337 print_one(var); in set_one()
393 i_oemlogo(char *var, char *val, struct openpromio *opp) in i_oemlogo() argument
395 int varlen = strlen(var) + 1; in i_oemlogo()
397 (void) strcpy(opp->oprom_array, var); /* safe - we know the name */ in i_oemlogo()
414 i_secure(char *var, char *val, struct openpromio *opp) in i_secure() argument
422 (void) strcpy(opp2->oprom_array, var); /* safe; we know the name */ in i_secure()
424 (void) printf("%s: data not available.\n", var); in i_secure()
430 (void) strcpy(opp->oprom_array, var); /* safe; we know the name */ in i_secure()
483 i_passwd(char *var, char *val, struct openpromio *opp) in i_passwd() argument
504 (void) strcpy(opp->oprom_array, var); /* Safe; We know the name */ in i_passwd()
518 o_passwd(char *var, char *val) in o_passwd() argument