Home
last modified time | relevance | path

Searched refs:log_base (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/arch/x86/kernel/
H A Dtboot.c360 void __iomem *log_base; in tboot_log_read() local
366 log_base = ioremap(TBOOT_SERIAL_LOG_ADDR, TBOOT_SERIAL_LOG_SIZE); in tboot_log_read()
367 if (!log_base) in tboot_log_read()
370 memcpy_fromio(log_uuid, log_base, sizeof(log_uuid)); in tboot_log_read()
374 max_size = readl(log_base + LOG_MAX_SIZE_OFF); in tboot_log_read()
389 memcpy_fromio(kbuf, log_base + LOG_BUF_OFF + *ppos, count); in tboot_log_read()
401 iounmap(log_base); in tboot_log_read()
/linux-6.15/drivers/vhost/
H A Dvhost.c377 vq->log_base = NULL; in vhost_vq_reset()
1062 a + (unsigned long)log_base > ULONG_MAX) in log_access_ok()
1065 return access_ok(log_base + a, in log_access_ok()
1099 else if (log_all && !log_access_ok(log_base, in vq_memory_access_ok()
1760 void __user *log_base, in vq_log_used_access_ok() argument
1776 void __user *log_base) in vq_log_access_ok() argument
1787 if (!vq_log_access_ok(vq, vq->log_base)) in vhost_vq_access_ok()
2165 vq->log_base = base; in vhost_dev_ioctl()
2219 static int log_write(void __user *log_base, in log_write() argument
2229 u64 base = (u64)(unsigned long)log_base; in log_write()
[all …]
H A Dvhost.h139 void __user *log_base; member