Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 12 of 12) sorted by relevance

/devicemodel/log/
A Dlog.c88 void output_log(uint8_t level, const char *fmt, ...) in output_log() argument
97 va_start(args, fmt); in output_log()
98 logger->output(fmt, args); in output_log()
126 static void write_to_console(const char *fmt, va_list args) in write_to_console() argument
129 vprintf(fmt, args); in write_to_console()
A Dkmsg_logger.c70 static void write_to_kmsg(const char *fmt, va_list args) in write_to_kmsg() argument
79 len = vasprintf(&buf, fmt, args); in write_to_kmsg()
A Ddisk_logger.c139 static void write_to_disk(const char *fmt, va_list args) in write_to_disk() argument
163 len = vasprintf(&buf, fmt, args); in write_to_disk()
/devicemodel/include/
A Dlog.h29 void (*output)(const char *fmt, va_list args);
34 void output_log(uint8_t level, const char *fmt, ...);
A Dusb_core.h220 #define UPRINTF(lvl, fmt, args...) \ argument
221 do { if (lvl <= usb_log_level) pr_dbg(LOG_TAG fmt, ##args); } while (0)
A Dacpi.h108 void dsdt_line(const char *fmt, ...);
/devicemodel/hw/platform/tpm/
A Dtpm.c23 #define DPRINTF(fmt, args...) \ argument
24 do { if (tpm_debug) pr_dbg(LOG_TAG "%s:" fmt, __func__, ##args); } while (0)
25 #define WPRINTF(fmt, args...) \ argument
26 do { pr_err(LOG_TAG "%s:" fmt, __func__, ##args); } while (0)
A Dtpm_crb.c23 #define DPRINTF(fmt, args...) \ argument
24 do { if (tpm_crb_debug) pr_dbg(LOG_TAG "%s: " fmt, __func__, ##args); } while (0)
25 #define WPRINTF(fmt, args...) \ argument
26 do { pr_err(LOG_TAG "%s: " fmt, __func__, ##args); } while (0)
/devicemodel/hw/pci/virtio/
A Dvhost.c30 #define DPRINTF(fmt, args...) \ argument
31 do { if (vhost_debug) pr_dbg(LOG_TAG fmt, ##args); } while (0)
32 #define WPRINTF(fmt, args...) pr_err(LOG_TAG fmt, ##args) argument
A Dvirtio_i2c.c65 #define DPRINTF(fmt, args...) \ argument
66 do { if (virtio_i2c_debug) pr_info(VIRTIO_I2C_PREF fmt, ##args); } while (0)
67 #define WPRINTF(fmt, args...) pr_err(VIRTIO_I2C_PREF fmt, ##args) argument
A Dvirtio_ipu.c48 #define IPRINTF(lvl, fmt, args...) \ argument
49 do { if (lvl <= ipu_log_level) pr_dbg(TAG fmt, ##args); } while (0)
/devicemodel/hw/platform/acpi/
A Dacpi.c777 dsdt_line(const char *fmt, ...) in dsdt_line() argument
784 if (strcmp(fmt, "") != 0) { in dsdt_line()
787 va_start(ap, fmt); in dsdt_line()
788 if (vfprintf(dsdt_fp, fmt, ap) < 0) in dsdt_line()

Completed in 16 milliseconds