Searched refs:log_base (Results 1 – 2 of 2) sorted by relevance
/drivers/vhost/ |
D | vhost.c | 183 vq->log_base = NULL; in vhost_vq_reset() 462 static int log_access_ok(void __user *log_base, u64 addr, unsigned long sz) in log_access_ok() argument 467 if (a > ULONG_MAX - (unsigned long)log_base || in log_access_ok() 468 a + (unsigned long)log_base > ULONG_MAX) in log_access_ok() 471 return access_ok(VERIFY_WRITE, log_base + a, in log_access_ok() 476 static int vq_memory_access_ok(void __user *log_base, struct vhost_memory *mem, in vq_memory_access_ok() argument 492 else if (log_all && !log_access_ok(log_base, in vq_memory_access_ok() 512 ok = vq_memory_access_ok(d->vqs[i]->log_base, mem, in memory_access_ok() 550 void __user *log_base) in vq_log_access_ok() argument 557 return vq_memory_access_ok(log_base, mp, in vq_log_access_ok() [all …]
|
D | vhost.h | 113 void __user *log_base; member
|