Home
last modified time | relevance | path

Searched refs:MAXSTRLEN (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/lib/libprtdiag/inc/
H A Ddisplay_sun4u.h70 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 Ddisplay_sun4v.h36 #define MAXSTRLEN 256 macro
H A Dpdevinfo_sun4u.h93 #define MAXSTRLEN 256 macro
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Derie.c69 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 Dhuron.c135 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 Dpelton.c139 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 Dontario.c102 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 Dstpaul.c72 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 Dmontoya.c121 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 Dmonza.c148 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 Dworkfile.c497 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 Dopl_picl.c93 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 Dopl.c313 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 Dstrcoll-strxfrm-6907.c31 #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 Dworkfile.c607 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 Dworkfile.c633 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 Dcpu_prop_update.c79 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 Dmdescplugin.h59 #define MAXSTRLEN 256 macro
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c522 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 Dpicldiag.c1030 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 Dlw8.c1063 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 Dschumacher.c947 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 Dio.c433 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 Ddisplay_sun4v.c123 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 Dtazmo.c241 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()

12