Searched refs:log_base (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/arch/x86/kernel/ |
D | tboot.c | 365 void __iomem *log_base; in tboot_log_read() local 371 log_base = ioremap_nocache(TBOOT_SERIAL_LOG_ADDR, TBOOT_SERIAL_LOG_SIZE); in tboot_log_read() 372 if (!log_base) in tboot_log_read() 375 memcpy_fromio(log_uuid, log_base, sizeof(log_uuid)); in tboot_log_read() 379 max_size = readl(log_base + LOG_MAX_SIZE_OFF); in tboot_log_read() 394 memcpy_fromio(kbuf, log_base + LOG_BUF_OFF + *ppos, count); in tboot_log_read() 406 iounmap(log_base); in tboot_log_read()
|
/Linux-v4.19/drivers/vhost/ |
D | vhost.c | 319 vq->log_base = NULL; in vhost_vq_reset() 648 static bool log_access_ok(void __user *log_base, u64 addr, unsigned long sz) in log_access_ok() argument 653 if (a > ULONG_MAX - (unsigned long)log_base || in log_access_ok() 654 a + (unsigned long)log_base > ULONG_MAX) in log_access_ok() 657 return access_ok(VERIFY_WRITE, log_base + a, in log_access_ok() 668 static bool vq_memory_access_ok(void __user *log_base, struct vhost_umem *umem, in vq_memory_access_ok() argument 686 else if (log_all && !log_access_ok(log_base, in vq_memory_access_ok() 721 ok = vq_memory_access_ok(d->vqs[i]->log_base, in memory_access_ok() 1273 void __user *log_base) in vq_log_access_ok() argument 1277 return vq_memory_access_ok(log_base, vq->umem, in vq_log_access_ok() [all …]
|
D | vhost.h | 137 void __user *log_base; member
|