Home
last modified time | relevance | path

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

/linux/drivers/hv/
A Dring_buffer.c189 unsigned long *pfns_wraparound; in hv_ringbuffer_init() local
203 pfns_wraparound = kcalloc(page_cnt * 2 - 1, in hv_ringbuffer_init()
205 if (!pfns_wraparound) in hv_ringbuffer_init()
208 pfns_wraparound[0] = pfn; in hv_ringbuffer_init()
210 pfns_wraparound[i + 1] = pfn + i % (page_cnt - 1) + 1; in hv_ringbuffer_init()
213 vmap_pfn(pfns_wraparound, page_cnt * 2 - 1, in hv_ringbuffer_init()
215 kfree(pfns_wraparound); in hv_ringbuffer_init()

Completed in 2 milliseconds