Lines Matching refs:tosec
854 const char *fromsec, const char *tosec)
864 if (*tosec == '\0')
871 if (check->bad_tosec[0] && match(tosec, check->bad_tosec))
873 if (check->good_tosec[0] && !match(tosec, check->good_tosec))
889 * tosec = .init.data
896 * tosec = .init.text
919 * tosec = init section
925 const char *tosec, const char *tosym)
928 if (match(tosec, PATTERNS(ALL_INIT_DATA_SECTIONS)) &&
934 if (strcmp(tosec, ".init.text") == 0 &&
941 match(tosec, PATTERNS(ALL_INIT_SECTIONS, ALL_EXIT_SECTIONS)) &&
947 match(tosec, PATTERNS(ALL_INIT_SECTIONS)))
956 match(tosec, PATTERNS(ALL_INIT_SECTIONS)) &&
998 const char *tosec, Elf_Addr taddr)
1012 if (!secref_whitelist(fromsec, fromsym, tosec, tosym))
1027 fromsec, tosym[0] ? tosym : taddr_str, tosec);
1030 if (match(tosec, mismatch->bad_tosec))
1036 fromsec, (long)faddr, tosec, modname);
1045 fromsec, (long)faddr, tosec, tosec, tosec);
1048 fromsec, (long)faddr, tosec);
1127 const char *tosec = sec_name(elf, get_secindex(elf, sym));
1131 check_export_symbol(mod, elf, faddr, tosec, sym);
1135 mismatch = section_mismatch(fromsec, tosec);
1141 tosec, taddr);