Lines Matching refs:modinfo
469 if (strcmp(secname, ".modinfo") == 0) {
471 fatal("%s has NOBITS .modinfo\n", filename);
472 info->modinfo = (void *)hdr + sechdrs[i].sh_offset;
635 * Parse tag=value strings from .modinfo section
655 static char *get_next_modinfo(void *modinfo, unsigned long modinfo_len,
663 size -= info - (char *)modinfo;
664 modinfo = next_string(info, &size);
667 for (p = modinfo; p; p = next_string(p, &size)) {
674 static char *get_modinfo(void *modinfo, unsigned long modinfo_len,
678 return get_next_modinfo(modinfo, modinfo_len, tag, NULL);
1660 license = get_modinfo(info.modinfo, info.modinfo_len, "license");
1661 if (info.modinfo && !license && !is_vmlinux(modname))
1672 license = get_next_modinfo(info.modinfo, info.modinfo_len,
1686 version = get_modinfo(info.modinfo, info.modinfo_len, "version");
1688 maybe_frob_rcs_version(modname, version, info.modinfo,
1891 buf_printf(b, "__attribute__((section(\".modinfo\"))) =\n");