Lines Matching refs:log_base
92 vhost_log_page(uint8_t *log_base, uint64_t page) in vhost_log_page() argument
94 vhost_set_bit(page % 8, &log_base[page / 8]); in vhost_log_page()
102 if (unlikely(!dev->log_base || !len)) in __vhost_log_write()
113 vhost_log_page((uint8_t *)(uintptr_t)dev->log_base, page); in __vhost_log_write()
141 unsigned long *log_base; in __vhost_log_cache_sync() local
144 if (unlikely(!dev->log_base)) in __vhost_log_cache_sync()
149 log_base = (unsigned long *)(uintptr_t)dev->log_base; in __vhost_log_cache_sync()
159 __sync_fetch_and_or(log_base + elem->offset, elem->val); in __vhost_log_cache_sync()
161 __atomic_fetch_or(log_base + elem->offset, elem->val, in __vhost_log_cache_sync()
194 vhost_log_page((uint8_t *)(uintptr_t)dev->log_base, page); in vhost_log_cache_page()
210 if (unlikely(!dev->log_base || !len)) in __vhost_log_cache_write()
1458 int rte_vhost_get_log_base(int vid, uint64_t *log_base, in rte_vhost_get_log_base() argument
1463 if (dev == NULL || log_base == NULL || log_size == NULL) in rte_vhost_get_log_base()
1466 *log_base = dev->log_base; in rte_vhost_get_log_base()