Lines Matching refs:buf_printf

1805 void __attribute__((format(printf, 2, 3))) buf_printf(struct buffer *buf,  in buf_printf()  function
1907 buf_printf(b, "#include <linux/module.h>\n"); in add_header()
1912 buf_printf(b, "#define INCLUDE_VERMAGIC\n"); in add_header()
1913 buf_printf(b, "#include <linux/build-salt.h>\n"); in add_header()
1914 buf_printf(b, "#include <linux/elfnote-lto.h>\n"); in add_header()
1915 buf_printf(b, "#include <linux/export-internal.h>\n"); in add_header()
1916 buf_printf(b, "#include <linux/vermagic.h>\n"); in add_header()
1917 buf_printf(b, "#include <linux/compiler.h>\n"); in add_header()
1918 buf_printf(b, "\n"); in add_header()
1919 buf_printf(b, "#ifdef CONFIG_UNWINDER_ORC\n"); in add_header()
1920 buf_printf(b, "#include <asm/orc_header.h>\n"); in add_header()
1921 buf_printf(b, "ORC_HEADER;\n"); in add_header()
1922 buf_printf(b, "#endif\n"); in add_header()
1923 buf_printf(b, "\n"); in add_header()
1924 buf_printf(b, "BUILD_SALT;\n"); in add_header()
1925 buf_printf(b, "BUILD_LTO_INFO;\n"); in add_header()
1926 buf_printf(b, "\n"); in add_header()
1927 buf_printf(b, "MODULE_INFO(vermagic, VERMAGIC_STRING);\n"); in add_header()
1928 buf_printf(b, "MODULE_INFO(name, KBUILD_MODNAME);\n"); in add_header()
1929 buf_printf(b, "\n"); in add_header()
1930 buf_printf(b, "__visible struct module __this_module\n"); in add_header()
1931 buf_printf(b, "__section(\".gnu.linkonce.this_module\") = {\n"); in add_header()
1932 buf_printf(b, "\t.name = KBUILD_MODNAME,\n"); in add_header()
1934 buf_printf(b, "\t.init = init_module,\n"); in add_header()
1936 buf_printf(b, "#ifdef CONFIG_MODULE_UNLOAD\n" in add_header()
1939 buf_printf(b, "\t.arch = MODULE_ARCH_INIT,\n"); in add_header()
1940 buf_printf(b, "};\n"); in add_header()
1943 buf_printf(b, "\nMODULE_INFO(intree, \"Y\");\n"); in add_header()
1945 buf_printf(b, in add_header()
1952 buf_printf(b, "\nMODULE_INFO(staging, \"Y\");\n"); in add_header()
1955 buf_printf(b, "\nMODULE_INFO(test, \"Y\");\n"); in add_header()
1963 buf_printf(buf, "\n"); in add_exported_symbols()
1968 buf_printf(buf, "KSYMTAB_%s(%s, \"%s\", \"%s\");\n", in add_exported_symbols()
1977 buf_printf(buf, "\n"); in add_exported_symbols()
1988 buf_printf(buf, "SYMBOL_CRC(%s, 0x%08x, \"%s\");\n", in add_exported_symbols()
2003 buf_printf(b, "\n"); in add_versions()
2004 buf_printf(b, "static const struct modversion_info ____versions[]\n"); in add_versions()
2005 buf_printf(b, "__used __section(\"__versions\") = {\n"); in add_versions()
2020 buf_printf(b, "\t{ %#8x, \"%s\" },\n", in add_versions()
2024 buf_printf(b, "};\n"); in add_versions()
2038 buf_printf(b, "\n"); in add_depends()
2039 buf_printf(b, "MODULE_INFO(depends, \""); in add_depends()
2054 buf_printf(b, "%s%s", first ? "" : ",", p); in add_depends()
2057 buf_printf(b, "\");\n"); in add_depends()
2063 buf_printf(b, "\n"); in add_srcversion()
2064 buf_printf(b, "MODULE_INFO(srcversion, \"%s\");\n", in add_srcversion()
2130 buf_printf(&buf, in write_vmlinux_export_c_file()
2239 buf_printf(&buf, "0x%08x\t%s\t%s\tEXPORT_SYMBOL%s\t%s\n", in write_dump()
2260 buf_printf(&ns_deps_buf, "%s.ko:", mod->name); in write_namespace_deps_files()
2263 buf_printf(&ns_deps_buf, " %s", ns->namespace); in write_namespace_deps_files()
2265 buf_printf(&ns_deps_buf, "\n"); in write_namespace_deps_files()