Searched refs:vring_size (Results 1 – 2 of 2) sorted by relevance
261 for (; num && vring_size(num, vring_align) > PAGE_SIZE; num /= 2) { in vring_create_virtqueue()262 queue = memalign(PAGE_SIZE, vring_size(num, vring_align)); in vring_create_virtqueue()272 queue = memalign(PAGE_SIZE, vring_size(num, vring_align)); in vring_create_virtqueue()277 memset(queue, 0, vring_size(num, vring_align)); in vring_create_virtqueue()
138 static inline unsigned int vring_size(unsigned int num, unsigned long align) in vring_size() function
Completed in 4 milliseconds