Home
last modified time | relevance | path

Searched refs:log_cache (Results 1 – 3 of 3) sorted by relevance

/dpdk/lib/vhost/
H A Dvhost.c144 if (unlikely(!vq->log_cache)) in __vhost_log_cache_sync()
152 struct log_cache_entry *elem = vq->log_cache + i; in __vhost_log_cache_sync()
179 if (unlikely(!vq->log_cache)) { in vhost_log_cache_page()
188 struct log_cache_entry *elem = vq->log_cache + i; in vhost_log_cache_page()
207 vq->log_cache[i].offset = offset; in vhost_log_cache_page()
208 vq->log_cache[i].val = (1UL << bit_nr); in vhost_log_cache_page()
364 rte_free(vq->log_cache); in free_vq()
H A Dvhost_user.c575 if (vq->log_cache) { in numa_realloc()
578 lc = rte_realloc_socket(vq->log_cache, sizeof(*lc) * VHOST_LOG_CACHE_NR, 0, node); in numa_realloc()
584 vq->log_cache = lc; in numa_realloc()
2122 rte_free(vq->log_cache); in vhost_user_get_vring_base()
2123 vq->log_cache = NULL; in vhost_user_get_vring_base()
2270 rte_free(vq->log_cache); in vhost_user_set_log_base()
2271 vq->log_cache = NULL; in vhost_user_set_log_base()
2273 vq->log_cache = rte_malloc_socket("vq log cache", in vhost_user_set_log_base()
2280 if (!vq->log_cache) in vhost_user_set_log_base()
H A Dvhost.h280 struct log_cache_entry *log_cache; member