Home
last modified time | relevance | path

Searched refs:args (Results 1 – 18 of 18) sorted by relevance

/devicemodel/log/
A Dlog.c90 va_list args; in output_log() local
97 va_start(args, fmt); in output_log()
98 logger->output(fmt, args); in output_log()
99 va_end(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/hw/platform/
A Dcmos_io.c36 #define DPRINTF(format, args...) \ argument
37 do { fprintf(dbg_file, format, args); fflush(dbg_file); } while (0)
/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/include/
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 Dvmmapi.h160 int vm_ioeventfd(struct vmctx *ctx, struct acrn_ioeventfd *args);
161 int vm_irqfd(struct vmctx *ctx, struct acrn_irqfd *args);
A Dlog.h29 void (*output)(const char *fmt, va_list args);
/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/core/
A Dvmmapi.c731 vm_ioeventfd(struct vmctx *ctx, struct acrn_ioeventfd *args) in vm_ioeventfd() argument
734 error = ioctl(ctx->fd, ACRN_IOCTL_IOEVENTFD, args); in vm_ioeventfd()
742 vm_irqfd(struct vmctx *ctx, struct acrn_irqfd *args) in vm_irqfd() argument
745 error = ioctl(ctx->fd, ACRN_IOCTL_IRQFD, args); in vm_irqfd()
A Dmonitor.c61 #define DPRINTF(format, args...) \ argument
62 do { fprintf(dbg_file, format, args); fflush(dbg_file); } while (0)
/devicemodel/hw/pci/
A Dwdt_i6300esb.c73 #define DPRINTF(format, args...) \ argument
74 do { fprintf(dbg_file, format, args); fflush(dbg_file); } while (0)
A Duart.c124 *((uint32_t *)vdev.args) = vuart_idx; in pci_uart_init()
A Dptm.c73 struct vrp_config *rp_priv = (struct vrp_config *)&rp_vdev.args; in add_vroot_port()
A Divshmem.c170 strncpy((char*)dev.args, shm_name, 32); in create_ivshmem_from_hv()

Completed in 20 milliseconds