Searched refs:queue_pages (Results 1 – 5 of 5) sorted by relevance
84 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 …]
79 struct ipz_page **queue_pages; /* array of pages belonging to queue */ member98 current_page = (queue->queue_pages)[q_offset >> EHCA_PAGESHIFT]; in ipz_qeit_calc()
67 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()
156 struct ehea_page **queue_pages; /* array of pages belonging to queue */ member
216 current_page = (queue->queue_pages)[q_offset >> EHEA_PAGESHIFT]; in hw_qeit_calc()