/illumos-gate/usr/src/lib/libprtdiag/inc/ |
H A D | display_sun4u.h | 70 char bus_type[MAXSTRLEN]; /* Type of bus this IO card is on */ 74 char slot_str[MAXSTRLEN]; /* Slot description string */ 76 char status[MAXSTRLEN]; /* Card status */ 77 char name[MAXSTRLEN]; /* Card name */ 78 char model[MAXSTRLEN]; /* Card model */ 81 char notes[MAXSTRLEN]; /* notes */
|
H A D | display_sun4v.h | 36 #define MAXSTRLEN 256 macro
|
H A D | pdevinfo_sun4u.h | 93 #define MAXSTRLEN 256 macro
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | erie.c | 69 char path[MAXSTRLEN]; in erie_pci_callback() 70 char parent_path[MAXSTRLEN]; in erie_pci_callback() 72 char name[MAXSTRLEN]; in erie_pci_callback() 73 char model[MAXSTRLEN]; in erie_pci_callback() 74 char nac[MAXSTRLEN]; in erie_pci_callback() 75 char bus_type[MAXSTRLEN]; in erie_pci_callback() 171 char path[MAXSTRLEN] = ""; in erie_hw_rev_callback() 172 char nac[MAXSTRLEN]; in erie_hw_rev_callback() 445 char binding_name[MAXSTRLEN]; in erie_get_name() 446 char lname[MAXSTRLEN]; in erie_get_name() [all …]
|
H A D | huron.c | 135 char path[MAXSTRLEN]; in huron_pci_callback() 136 char parent_path[MAXSTRLEN]; in huron_pci_callback() 138 char name[MAXSTRLEN]; in huron_pci_callback() 139 char model[MAXSTRLEN]; in huron_pci_callback() 141 char binding_name[MAXSTRLEN]; in huron_pci_callback() 230 (void) strlcat(name, "-", MAXSTRLEN); in huron_pci_callback() 231 (void) strlcat(name, compatible, MAXSTRLEN); in huron_pci_callback() 239 (void) strlcat(name, "-", MAXSTRLEN); in huron_pci_callback() 240 (void) strlcat(name, binding_name, MAXSTRLEN); in huron_pci_callback() 294 char path[MAXSTRLEN] = ""; in huron_hw_rev_callback() [all …]
|
H A D | pelton.c | 139 char path[MAXSTRLEN]; in pelton_pci_callback() 140 char parent_path[MAXSTRLEN]; in pelton_pci_callback() 142 char name[MAXSTRLEN]; in pelton_pci_callback() 143 char model[MAXSTRLEN]; in pelton_pci_callback() 145 char binding_name[MAXSTRLEN]; in pelton_pci_callback() 228 (void) strlcat(name, "-", MAXSTRLEN); in pelton_pci_callback() 229 (void) strlcat(name, compatible, MAXSTRLEN); in pelton_pci_callback() 237 (void) strlcat(name, "-", MAXSTRLEN); in pelton_pci_callback() 238 (void) strlcat(name, binding_name, MAXSTRLEN); in pelton_pci_callback() 292 char path[MAXSTRLEN] = ""; in pelton_hw_rev_callback() [all …]
|
H A D | ontario.c | 102 char ua[MAXSTRLEN]; in get_slot_number() 153 char path[MAXSTRLEN]; in ontario_pci_callback() 154 char parent_path[MAXSTRLEN]; in ontario_pci_callback() 156 char name[MAXSTRLEN]; in ontario_pci_callback() 157 char model[MAXSTRLEN]; in ontario_pci_callback() 159 char binding_name[MAXSTRLEN]; in ontario_pci_callback() 245 (void) strlcat(name, "-", MAXSTRLEN); in ontario_pci_callback() 246 (void) strlcat(name, compatible, MAXSTRLEN); in ontario_pci_callback() 254 (void) strlcat(name, "-", MAXSTRLEN); in ontario_pci_callback() 255 (void) strlcat(name, binding_name, MAXSTRLEN); in ontario_pci_callback() [all …]
|
H A D | stpaul.c | 72 char path[MAXSTRLEN]; in stpaul_pci_callback() 73 char parent_path[MAXSTRLEN]; in stpaul_pci_callback() 75 char name[MAXSTRLEN]; in stpaul_pci_callback() 76 char model[MAXSTRLEN]; in stpaul_pci_callback() 78 char binding_name[MAXSTRLEN]; in stpaul_pci_callback() 192 (void) strlcat(name, "-", MAXSTRLEN); in stpaul_pci_callback() 193 (void) strlcat(name, compatible, MAXSTRLEN); in stpaul_pci_callback() 200 (void) strlcat(name, "-", MAXSTRLEN); in stpaul_pci_callback() 201 (void) strlcat(name, binding_name, MAXSTRLEN); in stpaul_pci_callback() 249 char path[MAXSTRLEN]; in stpaul_hw_rev_callback() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 121 char path[MAXSTRLEN]; in montoya_pci_callback() 122 char parent_path[MAXSTRLEN]; in montoya_pci_callback() 124 char name[MAXSTRLEN]; in montoya_pci_callback() 125 char model[MAXSTRLEN]; in montoya_pci_callback() 127 char binding_name[MAXSTRLEN]; in montoya_pci_callback() 215 (void) strlcat(name, "-", MAXSTRLEN); in montoya_pci_callback() 216 (void) strlcat(name, compatible, MAXSTRLEN); in montoya_pci_callback() 224 (void) strlcat(name, "-", MAXSTRLEN); in montoya_pci_callback() 225 (void) strlcat(name, binding_name, MAXSTRLEN); in montoya_pci_callback() 275 char platbuf[MAXSTRLEN]; in sun4v_display_pci() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 148 char path[MAXSTRLEN]; in monza_pci_callback() 149 char parent_path[MAXSTRLEN]; in monza_pci_callback() 151 char name[MAXSTRLEN]; in monza_pci_callback() 152 char model[MAXSTRLEN]; in monza_pci_callback() 154 char binding_name[MAXSTRLEN]; in monza_pci_callback() 252 (void) strlcat(name, "-", MAXSTRLEN); in monza_pci_callback() 253 (void) strlcat(name, compatible, MAXSTRLEN); in monza_pci_callback() 261 (void) strlcat(name, "-", MAXSTRLEN); in monza_pci_callback() 262 (void) strlcat(name, binding_name, MAXSTRLEN); in monza_pci_callback() 312 char platbuf[MAXSTRLEN]; in sun4v_display_pci() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | workfile.c | 497 char buf[MAXSTRLEN]; in fill_pci_card_list() 651 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list() 654 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list() 659 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list() 676 (void) snprintf(pci_card->model, MAXSTRLEN, "%s", in fill_pci_card_list() 702 (void) snprintf(buf, MAXSTRLEN, "%s-%s", name, in fill_pci_card_list() 706 (void) snprintf(buf, MAXSTRLEN, "%s", name); in fill_pci_card_list() 721 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list() 726 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list() 730 (void) snprintf(pci_card->name, MAXSTRLEN, "%s", in fill_pci_card_list() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 93 char path[MAXSTRLEN]; in opl_pci_callback() 94 char parent_path[MAXSTRLEN]; in opl_pci_callback() 95 static char root_path[MAXSTRLEN]; in opl_pci_callback() 97 char name[MAXSTRLEN]; in opl_pci_callback() 98 char model[MAXSTRLEN]; in opl_pci_callback() 100 char binding_name[MAXSTRLEN]; in opl_pci_callback() 142 if (prop_size > MAXSTRLEN) in opl_pci_callback() 143 prop_size = MAXSTRLEN; in opl_pci_callback() 181 if (prop_size > MAXSTRLEN) in opl_pci_callback() 182 prop_size = MAXSTRLEN; in opl_pci_callback() [all …]
|
H A D | opl.c | 313 char cpu_str[MAXSTRLEN], fcpu_str[MAXSTRLEN] = {0}; in display_cpus() 384 (void) strlcat(fcpu_str, cpu_str, MAXSTRLEN); in display_cpus() 388 MAXSTRLEN); in display_cpus() 392 (void) strlcat(fcpu_str, cpu_str, MAXSTRLEN); in display_cpus() 396 MAXSTRLEN); in display_cpus()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | strcoll-strxfrm-6907.c | 31 #define MAXSTRLEN 20 macro 32 #define MAXXFRMLEN (MAXSTRLEN * 20) 35 char sval[MAXSTRLEN]; 59 len = 1 + (random() % (MAXSTRLEN - 1)); in main()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
H A D | workfile.c | 607 char buf[MAXSTRLEN]; in fill_pci_card_list() 741 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list() 744 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list() 749 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list() 766 (void) snprintf(pci_card->model, MAXSTRLEN, "%s", in fill_pci_card_list() 792 (void) snprintf(buf, MAXSTRLEN, "%s-%s", name, in fill_pci_card_list() 796 (void) snprintf(buf, MAXSTRLEN, "%s", name); in fill_pci_card_list() 811 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list() 816 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list() 820 (void) snprintf(pci_card->name, MAXSTRLEN, "%s", in fill_pci_card_list() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | workfile.c | 633 char buf[MAXSTRLEN]; in fill_pci_card_list() 754 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list() 757 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list() 762 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list() 779 (void) snprintf(pci_card->model, MAXSTRLEN, "%s", in fill_pci_card_list() 810 (void) snprintf(buf, MAXSTRLEN, "%s-%s", name, in fill_pci_card_list() 814 (void) snprintf(buf, MAXSTRLEN, "%s", name); in fill_pci_card_list() 829 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list() 835 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list() 840 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | cpu_prop_update.c | 79 char str[MAXSTRLEN]; in add_tlb_props() 80 char property[MAXSTRLEN]; in add_tlb_props() 81 char tlb_str[MAXSTRLEN]; in add_tlb_props() 133 char str[MAXSTRLEN]; in add_cache_props() 134 char property[MAXSTRLEN]; in add_cache_props() 135 char cache_str[MAXSTRLEN]; in add_cache_props()
|
H A D | mdescplugin.h | 59 #define MAXSTRLEN 256 macro
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | desktop.c | 522 MAXSTRLEN); in display_sbus() 567 (void) strncpy(card.name, name, MAXSTRLEN); in display_sbus() 571 (void) strncpy(card.model, model, MAXSTRLEN); in display_sbus() 585 char name[MAXSTRLEN]; in get_machine_type() 590 if (sysinfo(SI_PLATFORM, name, MAXSTRLEN) != -1) { in get_machine_type()
|
H A D | picldiag.c | 1030 strlcpy(card.bus_type, SBUS_NAME, MAXSTRLEN); in add_io_card() 1033 strlcpy(card.bus_type, PCI_NAME, MAXSTRLEN); in add_io_card() 1036 strlcpy(card.bus_type, PCIEX_NAME, MAXSTRLEN); in add_io_card() 1039 strlcpy(card.bus_type, UPA_NAME, MAXSTRLEN); in add_io_card() 1042 strlcpy(card.bus_type, "", MAXSTRLEN); in add_io_card() 1049 (void) strlcpy(card.slot_str, label, MAXSTRLEN); in add_io_card() 1057 strlcpy(card.status, status, MAXSTRLEN); in add_io_card() 1059 strlcpy(card.name, name, MAXSTRLEN); in add_io_card() 1061 strlcpy(card.model, model, MAXSTRLEN); in add_io_card() 1063 strlcpy(card.status, status, MAXSTRLEN); in add_io_card() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 1063 strlcpy(card.bus_type, SBUS_NAME, MAXSTRLEN); in add_io_card() 1066 strlcpy(card.bus_type, PCI_NAME, MAXSTRLEN); in add_io_card() 1069 strlcpy(card.bus_type, UPA_NAME, MAXSTRLEN); in add_io_card() 1072 strlcpy(card.bus_type, "", MAXSTRLEN); in add_io_card() 1079 (void) strlcpy(card.slot_str, label, MAXSTRLEN); in add_io_card() 1087 strlcpy(card.status, status, MAXSTRLEN); in add_io_card() 1089 strlcpy(card.name, name, MAXSTRLEN); in add_io_card() 1091 strlcpy(card.model, model, MAXSTRLEN); in add_io_card() 1093 strlcpy(card.status, status, MAXSTRLEN); in add_io_card() 1095 strlcpy(card.notes, devfs_path, MAXSTRLEN); in add_io_card() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 947 strlcpy(card.bus_type, PCI_NAME, MAXSTRLEN); in add_io_card() 950 strlcpy(card.bus_type, "", MAXSTRLEN); in add_io_card() 957 (void) strlcpy(card.slot_str, label, MAXSTRLEN); in add_io_card() 965 strlcpy(card.status, status, MAXSTRLEN); in add_io_card() 967 strlcpy(card.name, name, MAXSTRLEN); in add_io_card() 969 strlcpy(card.model, model, MAXSTRLEN); in add_io_card() 971 strlcpy(card.status, status, MAXSTRLEN); in add_io_card() 973 strlcpy(card.notes, devfs_path, MAXSTRLEN); in add_io_card() 1690 char nodename[MAXSTRLEN]; in add_io_leaves() 1691 char name[MAXSTRLEN]; in add_io_leaves() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | io.c | 433 char device[MAXSTRLEN]; in display_ffb() 542 MAXSTRLEN); in display_sbus() 573 (void) strncpy(card.name, name, MAXSTRLEN); in display_sbus() 577 (void) strncpy(card.model, model, MAXSTRLEN); in display_sbus() 737 char buf[MAXSTRLEN]; in create_io_card_name()
|
H A D | display_sun4v.c | 123 char machine[MAXSTRLEN]; in sun4v_display() 349 char uaddr[MAXSTRLEN]; in get_slot_number() 911 char freq_str[MAXSTRLEN]; in sun4v_display_cpus() 912 char state[MAXSTRLEN]; in sun4v_display_cpus()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 241 char slot_str[MAXSTRLEN]; in disp_fail_parts() 702 char device[MAXSTRLEN]; in display_ffb() 1250 char devpath[MAXSTRLEN]; in check_disk_presence() 1473 char controller[MAXSTRLEN]; in tazmo_physical_slot()
|