Lines Matching refs:buf_printf

2129 void __attribute__((format(printf, 2, 3))) buf_printf(struct buffer *buf,  in buf_printf()  function
2261 buf_printf(b, "#include <linux/build-salt.h>\n"); in add_header()
2262 buf_printf(b, "#include <linux/module.h>\n"); in add_header()
2263 buf_printf(b, "#include <linux/vermagic.h>\n"); in add_header()
2264 buf_printf(b, "#include <linux/compiler.h>\n"); in add_header()
2265 buf_printf(b, "\n"); in add_header()
2266 buf_printf(b, "BUILD_SALT;\n"); in add_header()
2267 buf_printf(b, "\n"); in add_header()
2268 buf_printf(b, "MODULE_INFO(vermagic, VERMAGIC_STRING);\n"); in add_header()
2269 buf_printf(b, "MODULE_INFO(name, KBUILD_MODNAME);\n"); in add_header()
2270 buf_printf(b, "\n"); in add_header()
2271 buf_printf(b, "__visible struct module __this_module\n"); in add_header()
2272 buf_printf(b, "__section(.gnu.linkonce.this_module) = {\n"); in add_header()
2273 buf_printf(b, "\t.name = KBUILD_MODNAME,\n"); in add_header()
2275 buf_printf(b, "\t.init = init_module,\n"); in add_header()
2277 buf_printf(b, "#ifdef CONFIG_MODULE_UNLOAD\n" in add_header()
2280 buf_printf(b, "\t.arch = MODULE_ARCH_INIT,\n"); in add_header()
2281 buf_printf(b, "};\n"); in add_header()
2287 buf_printf(b, "\nMODULE_INFO(intree, \"Y\");\n"); in add_intree_flag()
2293 buf_printf(b, "\n#ifdef CONFIG_RETPOLINE\n"); in add_retpoline()
2294 buf_printf(b, "MODULE_INFO(retpoline, \"Y\");\n"); in add_retpoline()
2295 buf_printf(b, "#endif\n"); in add_retpoline()
2301 buf_printf(b, "\nMODULE_INFO(staging, \"Y\");\n"); in add_staging_flag()
2324 buf_printf(b, "\n"); in add_versions()
2325 buf_printf(b, "static const struct modversion_info ____versions[]\n"); in add_versions()
2326 buf_printf(b, "__used __section(__versions) = {\n"); in add_versions()
2342 buf_printf(b, "\t{ %#8x, \"%s\" },\n", in add_versions()
2346 buf_printf(b, "};\n"); in add_versions()
2361 buf_printf(b, "\n"); in add_depends()
2362 buf_printf(b, "MODULE_INFO(depends, \""); in add_depends()
2377 buf_printf(b, "%s%s", first ? "" : ",", p); in add_depends()
2380 buf_printf(b, "\");\n"); in add_depends()
2386 buf_printf(b, "\n"); in add_srcversion()
2387 buf_printf(b, "MODULE_INFO(srcversion, \"%s\");\n", in add_srcversion()
2517 buf_printf(&buf, "0x%08x\t%s\t%s\t%s\t%s\n", in write_dump()
2545 buf_printf(&ns_deps_buf, "%s\n", ns->namespace); in write_namespace_deps_files()