Lines Matching refs:sym

28 #define __CRC_SYMBOL(sym, sec)						\  argument
29 asm(" .section \"___kcrctab" sec "+" #sym "\", \"a\" \n" \
30 " .weak __crc_" #sym " \n" \
31 " .long __crc_" #sym " - . \n" \
34 #define __CRC_SYMBOL(sym, sec) \ argument
35 asm(" .section \"___kcrctab" sec "+" #sym "\", \"a\" \n" \
36 " .weak __crc_" #sym " \n" \
37 " .long __crc_" #sym " \n" \
41 #define __CRC_SYMBOL(sym, sec) argument
52 #define __KSYMTAB_ENTRY(sym, sec) \ argument
53 __ADDRESSABLE(sym) \
54 asm(" .section \"___ksymtab" sec "+" #sym "\", \"a\" \n" \
56 "__ksymtab_" #sym ": \n" \
57 " .long " #sym "- . \n" \
58 " .long __kstrtab_" #sym "- . \n" \
66 #define __KSYMTAB_ENTRY(sym, sec) \ argument
67 static const struct kernel_symbol __ksymtab_##sym \
68 __attribute__((section("___ksymtab" sec "+" #sym), used)) \
69 = { (unsigned long)&sym, __kstrtab_##sym }
78 #define ___EXPORT_SYMBOL(sym, sec) \ argument
79 extern typeof(sym) sym; \
80 __CRC_SYMBOL(sym, sec) \
81 static const char __kstrtab_##sym[] \
83 = #sym; \
84 __KSYMTAB_ENTRY(sym, sec)
93 #define __EXPORT_SYMBOL(sym, sec) argument
104 #define __EXPORT_SYMBOL(sym, sec) === __KSYM_##sym === argument
110 #define __EXPORT_SYMBOL(sym, sec) \ argument
111 __cond_export_sym(sym, sec, __is_defined(__KSYM_##sym))
112 #define __cond_export_sym(sym, sec, conf) \ argument
113 ___cond_export_sym(sym, sec, conf)
114 #define ___cond_export_sym(sym, sec, enabled) \ argument
115 __cond_export_sym_##enabled(sym, sec)
116 #define __cond_export_sym_1(sym, sec) ___EXPORT_SYMBOL(sym, sec) argument
117 #define __cond_export_sym_0(sym, sec) /* nothing */ argument
123 #define EXPORT_SYMBOL(sym) \ argument
124 __EXPORT_SYMBOL(sym, "")
126 #define EXPORT_SYMBOL_GPL(sym) \ argument
127 __EXPORT_SYMBOL(sym, "_gpl")
129 #define EXPORT_SYMBOL_GPL_FUTURE(sym) \ argument
130 __EXPORT_SYMBOL(sym, "_gpl_future")
133 #define EXPORT_UNUSED_SYMBOL(sym) __EXPORT_SYMBOL(sym, "_unused") argument
134 #define EXPORT_UNUSED_SYMBOL_GPL(sym) __EXPORT_SYMBOL(sym, "_unused_gpl") argument
136 #define EXPORT_UNUSED_SYMBOL(sym) argument
137 #define EXPORT_UNUSED_SYMBOL_GPL(sym) argument
144 #define EXPORT_SYMBOL(sym) argument
145 #define EXPORT_SYMBOL_GPL(sym) argument
146 #define EXPORT_SYMBOL_GPL_FUTURE(sym) argument
147 #define EXPORT_UNUSED_SYMBOL(sym) argument
148 #define EXPORT_UNUSED_SYMBOL_GPL(sym) argument