Home
last modified time | relevance | path

Searched refs:vsnprintf (Results 1 – 25 of 126) sorted by relevance

123456

/linux-6.6.21/tools/verification/rv/src/
Dutils.c25 vsnprintf(message, sizeof(message), fmt, ap); in err_msg()
43 vsnprintf(message, sizeof(message), fmt, ap); in debug_msg()
Drv.c143 vsnprintf(message, sizeof(message), fmt, ap); in usage()
/linux-6.6.21/tools/lib/
Dvsprintf.c8 int i = vsnprintf(buf, size, fmt, args); in vscnprintf()
21 i = vsnprintf(buf, size, fmt, args); in scnprintf()
/linux-6.6.21/lib/
Dkasprintf.c22 first = vsnprintf(NULL, 0, fmt, aq); in kvasprintf()
29 second = vsnprintf(p, first+1, fmt, ap); in kvasprintf()
Ddump_stack.c35 vsnprintf(dump_stack_arch_desc_str, sizeof(dump_stack_arch_desc_str), in dump_stack_set_arch_desc()
/linux-6.6.21/drivers/acpi/acpica/
Dutprint.c318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() function
577 length = vsnprintf(string, size, format, args); in snprintf()
602 length = vsnprintf(string, ACPI_UINT32_MAX, format, args); in sprintf()
628 length = vsnprintf(acpi_gbl_print_buffer, in vprintf()
681 length = vsnprintf(acpi_gbl_print_buffer, in vfprintf()
/linux-6.6.21/lib/kunit/
Dstring-stream.c54 len = vsnprintf(NULL, 0, fmt, args_for_counting) + 1; in string_stream_vadd()
64 len = vsnprintf(frag_container->fragment, len, fmt, args); in string_stream_vadd()
Dtest.c42 len = vsnprintf(NULL, 0, fmt, args) + 1; in __kunit_fail_current_test_impl()
50 vsnprintf(buffer, len, fmt, args); in __kunit_fail_current_test_impl()
148 len = vsnprintf(NULL, 0, fmt, args) + 1; in kunit_log_append()
153 vsnprintf(log + log_len, min(len, len_left), fmt, args); in kunit_log_append()
/linux-6.6.21/tools/perf/util/
Dstrbuf.c106 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap); in strbuf_addv()
117 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap_saved); in strbuf_addv()
Dpath.c30 len = vsnprintf(path_buf, sz, fmt, args); in mkpath()
/linux-6.6.21/arch/x86/boot/compressed/
Derror.c35 len = vsnprintf(buf, sizeof(buf), fmt, args); in panic()
/linux-6.6.21/drivers/gpu/host1x/
Ddebug.c34 len = vsnprintf(o->buf, sizeof(o->buf), fmt, args); in host1x_debug_output()
46 len = vsnprintf(o->buf, sizeof(o->buf), fmt, args); in host1x_debug_cont()
/linux-6.6.21/include/linux/
Dsprintf.h13 __printf(3, 0) int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
/linux-6.6.21/arch/m68k/emu/
Dnatfeat.c62 n = vsnprintf(buf, 256, fmt, ap); in nfprint()
/linux-6.6.21/tools/lib/subcmd/
Dsubcmd-util.h13 vsnprintf(msg, sizeof(msg), err, params); in report()
/linux-6.6.21/tools/testing/selftests/pidfd/
Dpidfd_fdinfo_test.c35 r = vsnprintf(err->msg, sizeof(err->msg), fmt, args); in error_set()
177 r = vsnprintf(buffer, sizeof(buffer), expect, args); in verify_fdinfo()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dprintk-formats.rst64 支持的占位符或长度限定符都会导致一个WARN并且终止vsnprintf()执行。
148 定符的结果是打印一个字符串。对于直接在常规的vsnprintf()中使用时,(k)和(u)注释被忽略,但是,当
424 实现 "递归vsnprintf"。
/linux-6.6.21/kernel/module/
Dkmod.c150 ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args); in __request_module()
/linux-6.6.21/drivers/firmware/efi/libstub/
Dprintk.c144 printed = vsnprintf(printf_buf, sizeof(printf_buf), fmt, args); in efi_printk()
Dvsprintf.c301 int vsnprintf(char *buf, size_t size, const char *fmt, va_list ap) in vsnprintf() function
561 i = vsnprintf(buf, size, fmt, args); in snprintf()
/linux-6.6.21/drivers/scsi/esas2r/
Desas2r_log.c160 retval = vsnprintf(buffer, buflen, format, args); in esas2r_log_master()
/linux-6.6.21/arch/powerpc/kernel/
Dudbg.c130 vsnprintf(buf, UDBG_BUFSIZE, fmt, args); in udbg_printf()
/linux-6.6.21/scripts/dtc/
Dutil.c58 n = vsnprintf(NULL, 0, fmt, ap_copy) + 1; in xavsprintf_append()
63 n = vsnprintf(p + size, n, fmt, ap); in xavsprintf_append()
/linux-6.6.21/net/netfilter/
Dnf_log.c227 vsnprintf(prefix, sizeof(prefix), fmt, args); in nf_log_packet()
251 vsnprintf(prefix, sizeof(prefix), fmt, args); in nf_log_trace()
274 len = vsnprintf(m->buf + m->count, S_SIZE - m->count, f, args); in nf_log_buf_add()
/linux-6.6.21/scripts/kconfig/
Dutil.c71 vsnprintf(s, sizeof(s), fmt, ap); in str_printf()

123456