Lines Matching refs:log_base
88 vhost_log_page(uint8_t *log_base, uint64_t page) in vhost_log_page() argument
90 vhost_set_bit(page % 8, &log_base[page / 8]); in vhost_log_page()
98 if (unlikely(!dev->log_base || !len)) in __vhost_log_write()
109 vhost_log_page((uint8_t *)(uintptr_t)dev->log_base, page); in __vhost_log_write()
137 unsigned long *log_base; in __vhost_log_cache_sync() local
140 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()
182 vhost_log_page((uint8_t *)(uintptr_t)dev->log_base, page); in vhost_log_cache_page()
202 vhost_log_page((uint8_t *)(uintptr_t)dev->log_base, page); in vhost_log_cache_page()
218 if (unlikely(!dev->log_base || !len)) in __vhost_log_cache_write()
1502 rte_vhost_get_log_base(int vid, uint64_t *log_base, in rte_vhost_get_log_base() argument
1507 if (dev == NULL || log_base == NULL || log_size == NULL) in rte_vhost_get_log_base()
1510 *log_base = dev->log_base; in rte_vhost_get_log_base()