• Home
  • Raw
  • Download

Lines Matching refs:buf_printf

2019 void __attribute__((format(printf, 2, 3))) buf_printf(struct buffer *buf,  in buf_printf()  function
2108 buf_printf(b, "#include <linux/module.h>\n"); in add_header()
2109 buf_printf(b, "#include <linux/vermagic.h>\n"); in add_header()
2110 buf_printf(b, "#include <linux/compiler.h>\n"); in add_header()
2111 buf_printf(b, "\n"); in add_header()
2112 buf_printf(b, "MODULE_INFO(vermagic, VERMAGIC_STRING);\n"); in add_header()
2113 buf_printf(b, "\n"); in add_header()
2114 buf_printf(b, "__visible struct module __this_module\n"); in add_header()
2115 buf_printf(b, "__attribute__((section(\".gnu.linkonce.this_module\"))) = {\n"); in add_header()
2116 buf_printf(b, "\t.name = KBUILD_MODNAME,\n"); in add_header()
2118 buf_printf(b, "\t.init = init_module,\n"); in add_header()
2120 buf_printf(b, "#ifdef CONFIG_MODULE_UNLOAD\n" in add_header()
2123 buf_printf(b, "\t.arch = MODULE_ARCH_INIT,\n"); in add_header()
2124 buf_printf(b, "};\n"); in add_header()
2130 buf_printf(b, "\nMODULE_INFO(intree, \"Y\");\n"); in add_intree_flag()
2136 buf_printf(b, "\n#ifdef RETPOLINE\n"); in add_retpoline()
2137 buf_printf(b, "MODULE_INFO(retpoline, \"Y\");\n"); in add_retpoline()
2138 buf_printf(b, "#endif\n"); in add_retpoline()
2146 buf_printf(b, "\nMODULE_INFO(staging, \"Y\");\n"); in add_staging_flag()
2185 buf_printf(b, "\n"); in add_versions()
2186 buf_printf(b, "static const struct modversion_info ____versions[]\n"); in add_versions()
2187 buf_printf(b, "__used\n"); in add_versions()
2188 buf_printf(b, "__attribute__((section(\"__versions\"))) = {\n"); in add_versions()
2204 buf_printf(b, "\t{ %#8x, __VMLINUX_SYMBOL_STR(%s) },\n", in add_versions()
2208 buf_printf(b, "};\n"); in add_versions()
2223 buf_printf(b, "\n"); in add_depends()
2224 buf_printf(b, "static const char __module_depends[]\n"); in add_depends()
2225 buf_printf(b, "__used\n"); in add_depends()
2226 buf_printf(b, "__attribute__((section(\".modinfo\"))) =\n"); in add_depends()
2227 buf_printf(b, "\"depends="); in add_depends()
2242 buf_printf(b, "%s%s", first ? "" : ",", p); in add_depends()
2245 buf_printf(b, "\";\n"); in add_depends()
2251 buf_printf(b, "\n"); in add_srcversion()
2252 buf_printf(b, "MODULE_INFO(srcversion, \"%s\");\n", in add_srcversion()
2375 buf_printf(&buf, "0x%08x\t%s\t%s\t%s\n", in write_dump()