Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ehca/
Dipz_pt_fn.c84 u64 page = __pa(queue->queue_pages[i]); in ipz_queue_abs_to_offset()
113 queue->queue_pages[f] = (struct ipz_page *)kpage; in alloc_queue_pages()
121 for (f = 0; f < nr_of_pages && queue->queue_pages[f]; in alloc_queue_pages()
123 free_page((unsigned long)(queue->queue_pages)[f]); in alloc_queue_pages()
161 queue->queue_pages[0] = (void *)(page->page | (bit << (order + 9))); in alloc_small_queue_page()
179 bit = ((unsigned long)queue->queue_pages[0] & ~PAGE_MASK) in free_small_queue_page()
225 queue->queue_pages = kzalloc(nr_of_pages * sizeof(void *), GFP_KERNEL); in ipz_queue_ctor()
226 if (!queue->queue_pages) { in ipz_queue_ctor()
227 queue->queue_pages = vzalloc(nr_of_pages * sizeof(void *)); in ipz_queue_ctor()
228 if (!queue->queue_pages) { in ipz_queue_ctor()
[all …]
Dipz_pt_fn.h79 struct ipz_page **queue_pages; /* array of pages belonging to queue */ member
98 current_page = (queue->queue_pages)[q_offset >> EHCA_PAGESHIFT]; in ipz_qeit_calc()
/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c67 queue->queue_pages = kmalloc_array(nr_of_pages, sizeof(void *), in hw_queue_ctor()
69 if (!queue->queue_pages) in hw_queue_ctor()
83 (queue->queue_pages)[i] = (struct ehea_page *)kpage; in hw_queue_ctor()
97 if (!(queue->queue_pages)[i]) in hw_queue_ctor()
99 free_page((unsigned long)(queue->queue_pages)[i]); in hw_queue_ctor()
109 if (!queue || !queue->queue_pages) in hw_queue_dtor()
115 free_page((unsigned long)(queue->queue_pages)[i]); in hw_queue_dtor()
117 kfree(queue->queue_pages); in hw_queue_dtor()
Dehea.h156 struct ehea_page **queue_pages; /* array of pages belonging to queue */ member
Dehea_qmr.h216 current_page = (queue->queue_pages)[q_offset >> EHEA_PAGESHIFT]; in hw_qeit_calc()