Lines Matching refs:AR_BUFFERS
81 #define AR_BUFFERS (AR_BUFFERS_MIN >= 2 ? AR_BUFFERS_MIN : 2) macro
89 struct page *pages[AR_BUFFERS];
685 for (i = 0; i < AR_BUFFERS; i++) { in ar_context_release()
707 return (index + 1) % AR_BUFFERS; in ar_next_buffer_index()
948 void *buffer_end = ctx->buffer + AR_BUFFERS * PAGE_SIZE; in ar_context_tasklet()
953 p -= AR_BUFFERS * PAGE_SIZE; in ar_context_tasklet()
978 struct page *pages[AR_BUFFERS + AR_WRAPAROUND_PAGES]; in ar_context_init()
985 for (i = 0; i < AR_BUFFERS; i++) { in ar_context_init()
995 for (i = 0; i < AR_BUFFERS; i++) in ar_context_init()
998 pages[AR_BUFFERS + i] = ctx->pages[i]; in ar_context_init()
1006 for (i = 0; i < AR_BUFFERS; i++) { in ar_context_init()
1029 for (i = 0; i < AR_BUFFERS; i++) in ar_context_run()
3638 BUILD_BUG_ON(AR_BUFFERS * sizeof(struct descriptor) > PAGE_SIZE/4); in pci_probe()