Searched refs:log_base (Results 1 – 3 of 3) sorted by relevance
/linux/arch/x86/kernel/ |
H A D | tboot.c | 360 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/drivers/vhost/ |
H A D | vhost.c | 386 vq->log_base = NULL; in vhost_vq_reset() 1231 static bool log_access_ok(void __user *log_base, u64 addr, unsigned long sz) in log_access_ok() argument 1236 if (a > ULONG_MAX - (unsigned long)log_base || in log_access_ok() 1237 a + (unsigned long)log_base > ULONG_MAX) in log_access_ok() 1240 return access_ok(log_base + a, in log_access_ok() 1257 static bool vq_memory_access_ok(void __user *log_base, struct vhost_iotlb *umem, in vq_memory_access_ok() argument 1274 else if (log_all && !log_access_ok(log_base, in vq_memory_access_ok() 1309 ok = vq_memory_access_ok(d->vqs[i]->log_base, in memory_access_ok() 1935 void __user *log_base, in vq_log_used_access_ok() argument 1944 return !log_used || log_access_ok(log_base, log_add in vq_log_used_access_ok() 1951 vq_log_access_ok(struct vhost_virtqueue * vq,void __user * log_base) vq_log_access_ok() argument 2434 log_write(void __user * log_base,u64 write_address,u64 write_length) log_write() argument [all...] |
H A D | vhost.h | 154 void __user *log_base; member
|