Lines Matching full:alias

1 /* Simple code to turn various tables in an ELF file into alias definitions.
59 int (*do_entry)(const char *filename, void *symval, char *alias);
62 /* Size of alias provided to do_entry functions */
173 char alias[500]; in do_usb_entry() local
186 strcpy(alias, "usb:"); in do_usb_entry()
187 ADD(alias, "v", match_flags&USB_DEVICE_ID_MATCH_VENDOR, in do_usb_entry()
189 ADD(alias, "p", match_flags&USB_DEVICE_ID_MATCH_PRODUCT, in do_usb_entry()
192 strcat(alias, "d"); in do_usb_entry()
194 sprintf(alias + strlen(alias), "%0*X", in do_usb_entry()
197 sprintf(alias + strlen(alias), "%X", range_lo); in do_usb_entry()
200 sprintf(alias + strlen(alias), in do_usb_entry()
205 sprintf(alias + strlen(alias), in do_usb_entry()
208 sprintf(alias + strlen(alias), in do_usb_entry()
214 strcat(alias, "*"); in do_usb_entry()
216 ADD(alias, "dc", match_flags&USB_DEVICE_ID_MATCH_DEV_CLASS, in do_usb_entry()
218 ADD(alias, "dsc", match_flags&USB_DEVICE_ID_MATCH_DEV_SUBCLASS, in do_usb_entry()
220 ADD(alias, "dp", match_flags&USB_DEVICE_ID_MATCH_DEV_PROTOCOL, in do_usb_entry()
222 ADD(alias, "ic", match_flags&USB_DEVICE_ID_MATCH_INT_CLASS, in do_usb_entry()
224 ADD(alias, "isc", match_flags&USB_DEVICE_ID_MATCH_INT_SUBCLASS, in do_usb_entry()
226 ADD(alias, "ip", match_flags&USB_DEVICE_ID_MATCH_INT_PROTOCOL, in do_usb_entry()
228 ADD(alias, "in", match_flags&USB_DEVICE_ID_MATCH_INT_NUMBER, in do_usb_entry()
231 add_wildcard(alias); in do_usb_entry()
233 "MODULE_ALIAS(\"%s\");\n", alias); in do_usb_entry()
307 * run-time specification that results in catch-all alias in do_usb_entry_multi()
357 char alias[500]; in do_of_entry_multi() local
365 len = sprintf(alias, "of:N%sT%s", (*name)[0] ? *name : "*", in do_of_entry_multi()
369 sprintf(&alias[len], "%sC%s", (*type)[0] ? "*" : "", in do_of_entry_multi()
373 for (tmp = alias; tmp && *tmp; tmp++) in do_of_entry_multi()
377 buf_printf(&mod->dev_table_buf, "MODULE_ALIAS(\"%s\");\n", alias); in do_of_entry_multi()
378 strcat(alias, "C"); in do_of_entry_multi()
379 add_wildcard(alias); in do_of_entry_multi()
380 buf_printf(&mod->dev_table_buf, "MODULE_ALIAS(\"%s\");\n", alias); in do_of_entry_multi()
400 void *symval, char *alias) in do_hid_entry() argument
407 sprintf(alias, "hid:"); in do_hid_entry()
408 ADD(alias, "b", bus != HID_BUS_ANY, bus); in do_hid_entry()
409 ADD(alias, "g", group != HID_GROUP_ANY, group); in do_hid_entry()
410 ADD(alias, "v", vendor != HID_ANY_ID, vendor); in do_hid_entry()
411 ADD(alias, "p", product != HID_ANY_ID, product); in do_hid_entry()
418 void *symval, char *alias) in do_ieee1394_entry() argument
426 strcpy(alias, "ieee1394:"); in do_ieee1394_entry()
427 ADD(alias, "ven", match_flags & IEEE1394_MATCH_VENDOR_ID, in do_ieee1394_entry()
429 ADD(alias, "mo", match_flags & IEEE1394_MATCH_MODEL_ID, in do_ieee1394_entry()
431 ADD(alias, "sp", match_flags & IEEE1394_MATCH_SPECIFIER_ID, in do_ieee1394_entry()
433 ADD(alias, "ver", match_flags & IEEE1394_MATCH_VERSION, in do_ieee1394_entry()
436 add_wildcard(alias); in do_ieee1394_entry()
442 void *symval, char *alias) in do_pci_entry() argument
458 strcpy(alias, "pci:"); in do_pci_entry()
461 strcpy(alias, "vfio_pci:"); in do_pci_entry()
464 warn("Unknown PCI driver_override alias %08X\n", in do_pci_entry()
469 ADD(alias, "v", vendor != PCI_ANY_ID, vendor); in do_pci_entry()
470 ADD(alias, "d", device != PCI_ANY_ID, device); in do_pci_entry()
471 ADD(alias, "sv", subvendor != PCI_ANY_ID, subvendor); in do_pci_entry()
472 ADD(alias, "sd", subdevice != PCI_ANY_ID, subdevice); in do_pci_entry()
489 ADD(alias, "bc", baseclass_mask == 0xFF, baseclass); in do_pci_entry()
490 ADD(alias, "sc", subclass_mask == 0xFF, subclass); in do_pci_entry()
491 ADD(alias, "i", interface_mask == 0xFF, interface); in do_pci_entry()
492 add_wildcard(alias); in do_pci_entry()
498 void *symval, char *alias) in do_ccw_entry() argument
506 strcpy(alias, "ccw:"); in do_ccw_entry()
507 ADD(alias, "t", match_flags&CCW_DEVICE_ID_MATCH_CU_TYPE, in do_ccw_entry()
509 ADD(alias, "m", match_flags&CCW_DEVICE_ID_MATCH_CU_MODEL, in do_ccw_entry()
511 ADD(alias, "dt", match_flags&CCW_DEVICE_ID_MATCH_DEVICE_TYPE, in do_ccw_entry()
513 ADD(alias, "dm", match_flags&CCW_DEVICE_ID_MATCH_DEVICE_MODEL, in do_ccw_entry()
515 add_wildcard(alias); in do_ccw_entry()
521 void *symval, char *alias) in do_ap_entry() argument
525 sprintf(alias, "ap:t%02X*", dev_type); in do_ap_entry()
531 void *symval, char *alias) in do_css_entry() argument
535 sprintf(alias, "css:t%01X", type); in do_css_entry()
541 void *symval, char *alias) in do_serio_entry() argument
548 strcpy(alias, "serio:"); in do_serio_entry()
549 ADD(alias, "ty", type != SERIO_ANY, type); in do_serio_entry()
550 ADD(alias, "pr", proto != SERIO_ANY, proto); in do_serio_entry()
551 ADD(alias, "id", id != SERIO_ANY, id); in do_serio_entry()
552 ADD(alias, "ex", extra != SERIO_ANY, extra); in do_serio_entry()
554 add_wildcard(alias); in do_serio_entry()
566 void *symval, char *alias) in do_acpi_entry() argument
573 sprintf(alias, "acpi*:%s:*", *id); in do_acpi_entry()
578 sprintf(&alias[cnt], "acpi*:"); in do_acpi_entry()
584 sprintf(&alias[cnt], "%02x", in do_acpi_entry()
587 sprintf(&alias[cnt], "??"); in do_acpi_entry()
590 sprintf(&alias[cnt], ":*"); in do_acpi_entry()
663 /* add an individual alias for every device entry */ in do_pnp_card_entries()
683 void *symval, char *alias) in do_pcmcia_entry() argument
698 strcpy(alias, "pcmcia:"); in do_pcmcia_entry()
699 ADD(alias, "m", match_flags & PCMCIA_DEV_ID_MATCH_MANF_ID, in do_pcmcia_entry()
701 ADD(alias, "c", match_flags & PCMCIA_DEV_ID_MATCH_CARD_ID, in do_pcmcia_entry()
703 ADD(alias, "f", match_flags & PCMCIA_DEV_ID_MATCH_FUNC_ID, in do_pcmcia_entry()
705 ADD(alias, "fn", match_flags & PCMCIA_DEV_ID_MATCH_FUNCTION, in do_pcmcia_entry()
707 ADD(alias, "pfn", match_flags & PCMCIA_DEV_ID_MATCH_DEVICE_NO, in do_pcmcia_entry()
709 ADD(alias, "pa", match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID1, (*prod_id_hash)[0]); in do_pcmcia_entry()
710 ADD(alias, "pb", match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID2, (*prod_id_hash)[1]); in do_pcmcia_entry()
711 ADD(alias, "pc", match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID3, (*prod_id_hash)[2]); in do_pcmcia_entry()
712 ADD(alias, "pd", match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID4, (*prod_id_hash)[3]); in do_pcmcia_entry()
714 add_wildcard(alias); in do_pcmcia_entry()
719 char *alias) in do_vio_entry() argument
725 sprintf(alias, "vio:T%sS%s", (*type)[0] ? *type : "*", in do_vio_entry()
729 for (tmp = alias; tmp && *tmp; tmp++) in do_vio_entry()
733 add_wildcard(alias); in do_vio_entry()
737 static void do_input(char *alias, in do_input() argument
746 sprintf(alias + strlen(alias), "%X,*", i); in do_input()
751 char *alias) in do_input_entry() argument
768 sprintf(alias, "input:"); in do_input_entry()
770 ADD(alias, "b", flags & INPUT_DEVICE_ID_MATCH_BUS, bustype); in do_input_entry()
771 ADD(alias, "v", flags & INPUT_DEVICE_ID_MATCH_VENDOR, vendor); in do_input_entry()
772 ADD(alias, "p", flags & INPUT_DEVICE_ID_MATCH_PRODUCT, product); in do_input_entry()
773 ADD(alias, "e", flags & INPUT_DEVICE_ID_MATCH_VERSION, version); in do_input_entry()
775 sprintf(alias + strlen(alias), "-e*"); in do_input_entry()
777 do_input(alias, *evbit, 0, INPUT_DEVICE_ID_EV_MAX); in do_input_entry()
778 sprintf(alias + strlen(alias), "k*"); in do_input_entry()
780 do_input(alias, *keybit, in do_input_entry()
783 sprintf(alias + strlen(alias), "r*"); in do_input_entry()
785 do_input(alias, *relbit, 0, INPUT_DEVICE_ID_REL_MAX); in do_input_entry()
786 sprintf(alias + strlen(alias), "a*"); in do_input_entry()
788 do_input(alias, *absbit, 0, INPUT_DEVICE_ID_ABS_MAX); in do_input_entry()
789 sprintf(alias + strlen(alias), "m*"); in do_input_entry()
791 do_input(alias, *mscbit, 0, INPUT_DEVICE_ID_MSC_MAX); in do_input_entry()
792 sprintf(alias + strlen(alias), "l*"); in do_input_entry()
794 do_input(alias, *ledbit, 0, INPUT_DEVICE_ID_LED_MAX); in do_input_entry()
795 sprintf(alias + strlen(alias), "s*"); in do_input_entry()
797 do_input(alias, *sndbit, 0, INPUT_DEVICE_ID_SND_MAX); in do_input_entry()
798 sprintf(alias + strlen(alias), "f*"); in do_input_entry()
800 do_input(alias, *ffbit, 0, INPUT_DEVICE_ID_FF_MAX); in do_input_entry()
801 sprintf(alias + strlen(alias), "w*"); in do_input_entry()
803 do_input(alias, *swbit, 0, INPUT_DEVICE_ID_SW_MAX); in do_input_entry()
808 char *alias) in do_eisa_entry() argument
812 sprintf(alias, EISA_DEVICE_MODALIAS_FMT "*", *sig); in do_eisa_entry()
814 strcat(alias, "*"); in do_eisa_entry()
820 char *alias) in do_parisc_entry() argument
827 strcpy(alias, "parisc:"); in do_parisc_entry()
828 ADD(alias, "t", hw_type != PA_HWTYPE_ANY_ID, hw_type); in do_parisc_entry()
829 ADD(alias, "hv", hversion != PA_HVERSION_ANY_ID, hversion); in do_parisc_entry()
830 ADD(alias, "rev", hversion_rev != PA_HVERSION_REV_ANY_ID, hversion_rev); in do_parisc_entry()
831 ADD(alias, "sv", sversion != PA_SVERSION_ANY_ID, sversion); in do_parisc_entry()
833 add_wildcard(alias); in do_parisc_entry()
839 void *symval, char *alias) in do_sdio_entry() argument
845 strcpy(alias, "sdio:"); in do_sdio_entry()
846 ADD(alias, "c", class != (__u8)SDIO_ANY_ID, class); in do_sdio_entry()
847 ADD(alias, "v", vendor != (__u16)SDIO_ANY_ID, vendor); in do_sdio_entry()
848 ADD(alias, "d", device != (__u16)SDIO_ANY_ID, device); in do_sdio_entry()
849 add_wildcard(alias); in do_sdio_entry()
855 void *symval, char *alias) in do_ssb_entry() argument
861 strcpy(alias, "ssb:"); in do_ssb_entry()
862 ADD(alias, "v", vendor != SSB_ANY_VENDOR, vendor); in do_ssb_entry()
863 ADD(alias, "id", coreid != SSB_ANY_ID, coreid); in do_ssb_entry()
864 ADD(alias, "rev", revision != SSB_ANY_REV, revision); in do_ssb_entry()
865 add_wildcard(alias); in do_ssb_entry()
871 void *symval, char *alias) in do_bcma_entry() argument
878 strcpy(alias, "bcma:"); in do_bcma_entry()
879 ADD(alias, "m", manuf != BCMA_ANY_MANUF, manuf); in do_bcma_entry()
880 ADD(alias, "id", id != BCMA_ANY_ID, id); in do_bcma_entry()
881 ADD(alias, "rev", rev != BCMA_ANY_REV, rev); in do_bcma_entry()
882 ADD(alias, "cl", class != BCMA_ANY_CLASS, class); in do_bcma_entry()
883 add_wildcard(alias); in do_bcma_entry()
889 char *alias) in do_virtio_entry() argument
894 strcpy(alias, "virtio:"); in do_virtio_entry()
895 ADD(alias, "d", device != VIRTIO_DEV_ANY_ID, device); in do_virtio_entry()
896 ADD(alias, "v", vendor != VIRTIO_DEV_ANY_ID, vendor); in do_virtio_entry()
898 add_wildcard(alias); in do_virtio_entry()
909 char *alias) in do_vmbus_entry() argument
918 strcpy(alias, "vmbus:"); in do_vmbus_entry()
919 strcat(alias, guid_name); in do_vmbus_entry()
926 char *alias) in do_rpmsg_entry() argument
929 sprintf(alias, RPMSG_DEVICE_MODALIAS_FMT, *name); in do_rpmsg_entry()
936 char *alias) in do_i2c_entry() argument
939 sprintf(alias, I2C_MODULE_PREFIX "%s", *name); in do_i2c_entry()
945 char *alias) in do_i3c_entry() argument
953 strcpy(alias, "i3c:"); in do_i3c_entry()
954 ADD(alias, "dcr", match_flags & I3C_MATCH_DCR, dcr); in do_i3c_entry()
955 ADD(alias, "manuf", match_flags & I3C_MATCH_MANUF, manuf_id); in do_i3c_entry()
956 ADD(alias, "part", match_flags & I3C_MATCH_PART, part_id); in do_i3c_entry()
957 ADD(alias, "ext", match_flags & I3C_MATCH_EXTRA_INFO, extra_info); in do_i3c_entry()
964 char *alias) in do_spi_entry() argument
967 sprintf(alias, SPI_MODULE_PREFIX "%s", *name); in do_spi_entry()
1005 char *alias) in do_dmi_entry() argument
1009 sprintf(alias, "dmi*"); in do_dmi_entry()
1015 sprintf(alias + strlen(alias), ":%s*", in do_dmi_entry()
1017 dmi_ascii_filter(alias + strlen(alias), in do_dmi_entry()
1019 strcat(alias, "*"); in do_dmi_entry()
1024 strcat(alias, ":"); in do_dmi_entry()
1029 void *symval, char *alias) in do_platform_entry() argument
1032 sprintf(alias, PLATFORM_MODULE_PREFIX "%s", *name); in do_platform_entry()
1037 void *symval, char *alias) in do_mdio_entry() argument
1043 alias += sprintf(alias, MDIO_MODULE_PREFIX); in do_mdio_entry()
1047 *(alias++) = '?'; in do_mdio_entry()
1049 *(alias++) = '1'; in do_mdio_entry()
1051 *(alias++) = '0'; in do_mdio_entry()
1055 *alias = 0; in do_mdio_entry()
1062 char *alias) in do_zorro_entry() argument
1065 strcpy(alias, "zorro:"); in do_zorro_entry()
1066 ADD(alias, "i", id != ZORRO_WILDCARD, id); in do_zorro_entry()
1072 void *symval, char *alias) in do_isapnp_entry() argument
1076 sprintf(alias, "pnp:d%c%c%c%x%x%x%x*", in do_isapnp_entry()
1087 void *symval, char *alias) in do_ipack_entry() argument
1092 strcpy(alias, "ipack:"); in do_ipack_entry()
1093 ADD(alias, "f", format != IPACK_ANY_FORMAT, format); in do_ipack_entry()
1094 ADD(alias, "v", vendor != IPACK_ANY_ID, vendor); in do_ipack_entry()
1095 ADD(alias, "d", device != IPACK_ANY_ID, device); in do_ipack_entry()
1096 add_wildcard(alias); in do_ipack_entry()
1149 void *symval, char *alias) in do_amba_entry() argument
1152 char *p = alias; in do_amba_entry()
1161 p += sprintf(alias, "amba:d"); in do_amba_entry()
1177 void *symval, char *alias) in do_mips_cdmm_entry() argument
1181 sprintf(alias, "mipscdmm:t%02X*", type); in do_mips_cdmm_entry()
1192 char *alias) in do_x86cpu_entry() argument
1199 strcpy(alias, "cpu:type:x86,"); in do_x86cpu_entry()
1200 ADD(alias, "ven", vendor != X86_VENDOR_ANY, vendor); in do_x86cpu_entry()
1201 ADD(alias, "fam", family != X86_FAMILY_ANY, family); in do_x86cpu_entry()
1202 ADD(alias, "mod", model != X86_MODEL_ANY, model); in do_x86cpu_entry()
1203 strcat(alias, ":feature:*"); in do_x86cpu_entry()
1205 sprintf(alias + strlen(alias), "%04X*", feature); in do_x86cpu_entry()
1210 static int do_cpu_entry(const char *filename, void *symval, char *alias) in do_cpu_entry() argument
1214 sprintf(alias, "cpu:type:*:feature:*%04X*", feature); in do_cpu_entry()
1220 char *alias) in do_mei_entry() argument
1226 sprintf(alias, MEI_CL_MODULE_PREFIX); in do_mei_entry()
1227 sprintf(alias + strlen(alias), "%s:", (*name)[0] ? *name : "*"); in do_mei_entry()
1228 add_uuid(alias, *uuid); in do_mei_entry()
1229 ADD(alias, ":", version != MEI_CL_VERSION_ANY, version); in do_mei_entry()
1231 strcat(alias, ":*"); in do_mei_entry()
1238 void *symval, char *alias) in do_rio_entry() argument
1245 strcpy(alias, "rapidio:"); in do_rio_entry()
1246 ADD(alias, "v", vid != RIO_ANY_ID, vid); in do_rio_entry()
1247 ADD(alias, "d", did != RIO_ANY_ID, did); in do_rio_entry()
1248 ADD(alias, "av", asm_vid != RIO_ANY_ID, asm_vid); in do_rio_entry()
1249 ADD(alias, "ad", asm_did != RIO_ANY_ID, asm_did); in do_rio_entry()
1251 add_wildcard(alias); in do_rio_entry()
1257 char *alias) in do_ulpi_entry() argument
1262 sprintf(alias, "ulpi:v%04xp%04x", vendor, product); in do_ulpi_entry()
1268 static int do_hda_entry(const char *filename, void *symval, char *alias) in do_hda_entry() argument
1274 strcpy(alias, "hdaudio:"); in do_hda_entry()
1275 ADD(alias, "v", vendor_id != 0, vendor_id); in do_hda_entry()
1276 ADD(alias, "r", rev_id != 0, rev_id); in do_hda_entry()
1277 ADD(alias, "a", api_version != 0, api_version); in do_hda_entry()
1279 add_wildcard(alias); in do_hda_entry()
1284 static int do_sdw_entry(const char *filename, void *symval, char *alias) in do_sdw_entry() argument
1291 strcpy(alias, "sdw:"); in do_sdw_entry()
1292 ADD(alias, "m", mfg_id != 0, mfg_id); in do_sdw_entry()
1293 ADD(alias, "p", part_id != 0, part_id); in do_sdw_entry()
1294 ADD(alias, "v", sdw_version != 0, sdw_version); in do_sdw_entry()
1295 ADD(alias, "c", class_id != 0, class_id); in do_sdw_entry()
1297 add_wildcard(alias); in do_sdw_entry()
1303 char *alias) in do_fsl_mc_entry() argument
1308 sprintf(alias, "fsl-mc:v%08Xd%s", vendor, *obj_type); in do_fsl_mc_entry()
1313 static int do_tbsvc_entry(const char *filename, void *symval, char *alias) in do_tbsvc_entry() argument
1321 strcpy(alias, "tbsvc:"); in do_tbsvc_entry()
1323 sprintf(alias + strlen(alias), "k%s", *protocol_key); in do_tbsvc_entry()
1325 strcat(alias + strlen(alias), "k*"); in do_tbsvc_entry()
1326 ADD(alias, "p", match_flags & TBSVC_MATCH_PROTOCOL_ID, protocol_id); in do_tbsvc_entry()
1327 ADD(alias, "v", match_flags & TBSVC_MATCH_PROTOCOL_VERSION, in do_tbsvc_entry()
1329 ADD(alias, "r", match_flags & TBSVC_MATCH_PROTOCOL_REVISION, in do_tbsvc_entry()
1332 add_wildcard(alias); in do_tbsvc_entry()
1337 static int do_typec_entry(const char *filename, void *symval, char *alias) in do_typec_entry() argument
1342 sprintf(alias, "typec:id%04X", svid); in do_typec_entry()
1343 ADD(alias, "m", mode != TYPEC_ANY_MODE, mode); in do_typec_entry()
1349 static int do_tee_entry(const char *filename, void *symval, char *alias) in do_tee_entry() argument
1353 sprintf(alias, "tee:%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", in do_tee_entry()
1359 add_wildcard(alias); in do_tee_entry()
1364 static int do_wmi_entry(const char *filename, void *symval, char *alias) in do_wmi_entry() argument
1375 len = snprintf(alias, ALIAS_SIZE, WMI_MODULE_PREFIX "%s", *guid_string); in do_wmi_entry()
1385 static int do_mhi_entry(const char *filename, void *symval, char *alias) in do_mhi_entry() argument
1388 sprintf(alias, MHI_DEVICE_MODALIAS_FMT, *chan); in do_mhi_entry()
1393 static int do_mhi_ep_entry(const char *filename, void *symval, char *alias) in do_mhi_ep_entry() argument
1396 sprintf(alias, MHI_EP_DEVICE_MODALIAS_FMT, *chan); in do_mhi_ep_entry()
1402 static int do_ishtp_entry(const char *filename, void *symval, char *alias) in do_ishtp_entry() argument
1406 strcpy(alias, ISHTP_MODULE_PREFIX "{"); in do_ishtp_entry()
1407 add_guid(alias, guid); in do_ishtp_entry()
1408 strcat(alias, "}"); in do_ishtp_entry()
1413 static int do_auxiliary_entry(const char *filename, void *symval, char *alias) in do_auxiliary_entry() argument
1416 sprintf(alias, AUXILIARY_MODULE_PREFIX "%s", *name); in do_auxiliary_entry()
1426 static int do_ssam_entry(const char *filename, void *symval, char *alias) in do_ssam_entry() argument
1435 sprintf(alias, "ssam:d%02Xc%02X", domain, category); in do_ssam_entry()
1436 ADD(alias, "t", match_flags & SSAM_MATCH_TARGET, target); in do_ssam_entry()
1437 ADD(alias, "i", match_flags & SSAM_MATCH_INSTANCE, instance); in do_ssam_entry()
1438 ADD(alias, "f", match_flags & SSAM_MATCH_FUNCTION, function); in do_ssam_entry()
1444 static int do_dfl_entry(const char *filename, void *symval, char *alias) in do_dfl_entry() argument
1449 sprintf(alias, "dfl:t%04Xf%04X", type, feature_id); in do_dfl_entry()
1451 add_wildcard(alias); in do_dfl_entry()
1467 int (*do_entry)(const char *filename, void *symval, char *alias), in do_table() argument
1471 char alias[ALIAS_SIZE]; in do_table() local
1478 if (do_entry(mod->name, symval+i, alias)) { in do_table()
1480 "MODULE_ALIAS(\"%s\");\n", alias); in do_table()