/titanic_44/usr/src/cmd/eeprom/sparc/ |
H A D | openprom.c | 244 print_one(opp->oprom_array); in dump_all() 264 (void) strlcpy(bootargs, opp->oprom_array, MAXVALSIZE); 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() 287 (*v->out)(v->name, opp->oprom_array); in print_one() 289 (void) printf("%s=%s\n", var, opp->oprom_array); in print_one() 328 (void) strcpy(opp->oprom_array, var); in set_one() 329 (void) strcpy(opp->oprom_array + varlen, val); in set_one() 397 (void) strcpy(opp->oprom_array, var); /* safe - we know the name */ in i_oemlogo() 399 if (loadlogo(val, 64, 64, opp->oprom_array + varlen)) in i_oemlogo() [all …]
|
/titanic_44/usr/src/uts/common/io/ |
H A D | openprom.c | 415 bcopy(valbuf, opp->oprom_array, valsize); in opromioctl_cb() 435 bcopy(valbuf, opp->oprom_array, valsize); in opromioctl_cb() 556 if ((error = oprom_copyinstr(arg, opp->oprom_array, in opromioctl_cb() 560 (void) strcpy(propname, opp->oprom_array); in opromioctl_cb() 577 bcopy(&proplen, opp->oprom_array, valsize); in opromioctl_cb() 579 bzero(opp->oprom_array, valsize + 1); in opromioctl_cb() 581 opp->oprom_array); in opromioctl_cb() 595 (void) strcpy(opp->oprom_array, ""); in opromioctl_cb() 613 if ((error = oprom_copyinstr(arg, opp->oprom_array, in opromioctl_cb() 617 valbuf = (char *)prom_nextprop(node_id, opp->oprom_array, in opromioctl_cb() [all …]
|
/titanic_44/usr/src/cmd/luxadm/ |
H A D | setboot.c | 175 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); in setprom() 186 (void) strcpy(save_bootdev, pio->oprom_array); in setprom() 191 "Current boot-device = %s\n"), pio->oprom_array); in setprom() 214 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); in setprom() 215 (void) strcpy(pio->oprom_array + (int)strlen(BOOTDEV_PROP_NAME) + 1, in setprom() 226 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); in setprom() 233 if (strcmp(bdev, pio->oprom_array)) { in setprom() 242 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); in setprom() 243 (void) strcpy(pio->oprom_array + in setprom()
|
/titanic_44/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 107 i = (unsigned int)((unsigned char)opp->oprom_array[0]); in is_openprom() 151 (void) strcpy(temp->name.opp.oprom_array, in dump_node() 152 opp->oprom_array); in dump_node() 154 (void) strcpy(temp->value.opp.oprom_array, in dump_node() 155 temp->name.opp.oprom_array); in dump_node() 172 if ((new->name.opp.oprom_array = in dump_node() 177 (void) strcpy(new->name.opp.oprom_array, in dump_node() 178 temp->name.opp.oprom_array); in dump_node() 192 if (*(temp->value.opp.oprom_array) == '\0') { in dump_node() 199 if ((new->value.opp.oprom_array = in dump_node() [all …]
|
H A D | libdevinfo_sun4u.c | 309 temp->name.opp.oprom_array = temp->name.val_ptr; in dump_di_node() 319 temp->value.opp.oprom_array = temp->value.val_ptr; in dump_di_node() 378 temp->name.opp.oprom_array = temp->name.val_ptr; in dump_di_node() 389 temp->value.opp.oprom_array = temp->value.val_ptr; in dump_di_node()
|
/titanic_44/usr/src/cmd/eeprom/i386/ |
H A D | benv_kvm.c | 69 unsigned long *ip = (unsigned long *)(opp->oprom_array); in next() 76 return (*(unsigned long *)opp->oprom_array); in next() 84 unsigned long *ip = (unsigned long *)(opp->oprom_array); in child() 91 return (*(unsigned long *)opp->oprom_array); in child() 108 if (strcmp(opp->oprom_array, name) == 0) in prom_findnode_byname() 131 (void) strlcpy(opp->oprom_array, prop, MAXPROPSIZE); in getpropval() 144 (void) strlcpy(opp->oprom_array, prop, MAXPROPSIZE); in getnextprop() 159 return (opp->oprom_array); in getbootcmd() 176 return ((unsigned char *)opp->oprom_array); in prom_getprop() 186 return ((unsigned char *)opp->oprom_array); in prom_nextprop()
|
/titanic_44/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 508 new_bootdev = (char *)malloc(strlen(opp->oprom_array) in devfs_bootdev_set_list() 516 for (ptr = strtok(opp->oprom_array, " "); ptr != NULL; in devfs_bootdev_set_list() 559 int *ip = (int *)((void *)opp->oprom_array); in set_boot_dev_var() 568 (void) strcpy(opp->oprom_array, "diagnostic-mode?"); in set_boot_dev_var() 572 (strcmp(opp->oprom_array, "true") == 0)) { in set_boot_dev_var() 578 (void) strcpy(opp->oprom_array, "diag-switch?"); in set_boot_dev_var() 582 (strcmp(opp->oprom_array, "true") == 0)) { in set_boot_dev_var() 603 if (strcmp(opp->oprom_array, bootdev_variables[i]) in set_boot_dev_var() 611 (void) strcpy(opp->oprom_array, bootdev_variables[i]); in set_boot_dev_var() 623 if ((save_bootdev = strdup(opp->oprom_array)) == NULL) { in set_boot_dev_var() [all …]
|
H A D | devinfo.c | 2897 int *ip = (int *)((void *)opp->oprom_array); in di_prom_prop_found() 2917 (void) strcpy(opp->oprom_array, prop->name); in di_prom_prop_found() 2932 if ((prop->name = strdup(opp->oprom_array)) == NULL) { in di_prom_prop_found() 2962 bcopy(opp->oprom_array, prop->data, prop->len); in di_prom_prop_found() 3083 (void) strcpy(opp->oprom_array, prom_prop_name); in di_prom_prop_lookup_common() 3115 (void) strcpy(opp->oprom_array, prom_prop_name); in di_prom_prop_lookup_common() 3134 bcopy(opp->oprom_array, prop->data, prop->len); in di_prom_prop_lookup_common()
|
/titanic_44/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_prom.c | 117 (void) strncpy(opp->oprom_array, var, MAXNAMESIZE); in prom_read_one() 130 for (cp = opp->oprom_array; *cp != '\0'; cp++) { in prom_read_one() 190 (void) strncpy(opp->oprom_array, var, MAXNAMESIZE); in prom_write_one() 192 cp = opp->oprom_array + opp->oprom_size; in prom_write_one() 199 (void) strncpy(in_opp->oprom_array, var, MAXNAMESIZE); in prom_write_one() 206 for (icp = in_opp->oprom_array; *icp != '\0'; icp++) { in prom_write_one()
|
/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | class_id.c | 55 (void) strcpy(opp->oprom_array, prop); in opp_zalloc() 113 result = strdup(opp->oprom_array); in return_property()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wanboot/ickey/ |
H A D | ickey.c | 172 bcopy(&wkio, oio->oprom_array, sizeof (struct wankeyio)); in deletekey() 223 bcopy(&wkio, oio->oprom_array, sizeof (struct wankeyio)); in installkey()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | openpromio.h | 54 #define oprom_array opio_u.b macro
|
/titanic_44/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 677 (void) strncpy(opp->oprom_array, var, OBP_MAXPROPNAME); in prom_get_prop() 678 opp->oprom_array[OBP_MAXPROPNAME + 1] = '\0'; in prom_get_prop() 681 DBG3("getprop(%s, %d)\n", opp->oprom_array, opp->oprom_size); in prom_get_prop() 686 *val = opp->oprom_array; in prom_get_prop() 703 (void) strcpy(opp->oprom_array, var); in prom_set_prop() 704 (void) strcpy(opp->oprom_array + varlen, val); in prom_set_prop()
|
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 1941 return ((void *)(prop->value.opp.oprom_array)); in get_prop_val() 1971 (prop->name.opp.oprom_array), name))) in find_prop() 1997 if (strcmp("name", prop->name.opp.oprom_array) == 0) in get_node_name() 1998 return (prop->value.opp.oprom_array); in get_node_name() 2026 if (strcmp("device_type", prop->name.opp.oprom_array) in get_node_type() 2028 return (prop->value.opp.oprom_array); in get_node_type()
|
/titanic_44/usr/src/cmd/power/ |
H A D | powerd.c | 1116 if (strcmp(opp->oprom_array, property_name) == 0) { in get_prom() 1135 estrcpy(property_value, opp->oprom_array, len); in get_prom() 1139 estrcpy(opp->oprom_array, property_name, PBUFSIZE); in get_prom() 1148 estrcpy(property_value, opp->oprom_array, len); in get_prom()
|
H A D | handlers.c | 980 strcpy_limit(opp->oprom_array, fs_name, in utop() 985 strcpy_limit(prom_name, opp->oprom_array, OBP_MAXPATHLEN, in utop()
|
/titanic_44/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 897 i = (unsigned int)((unsigned char)opp->oprom_array[0]); in is_openprom() 1735 (void) printf("%s\n", opp->oprom_array); in do_promversion() 1747 struct openprom_opr64 *opr = (struct openprom_opr64 *)opp->oprom_array; in do_prom_version64()
|
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/ |
H A D | montecarlo.c | 1029 log_printf("%s\n", opp->oprom_array, 0); in do_promversion() 2306 if (strcmp(opp->oprom_array, "slot-table") == 0) { in mc_dump_node() 2317 (hsc_prom_slot_table_t *)opp->oprom_array; in mc_dump_node()
|
/titanic_44/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 2548 (void) memcpy(*exportlist, opp->oprom_array, opp->oprom_size); in get_asr_export_list()
|