Searched refs:page_order (Results 1 – 2 of 2) sorted by relevance
109 size_t page_order; member117 idal_buffer_alloc(size_t size, int page_order) in idal_buffer_alloc() argument123 nr_chunks = (4096 << page_order) >> IDA_SIZE_LOG; in idal_buffer_alloc()129 ib->page_order = page_order; in idal_buffer_alloc()136 __get_free_pages(GFP_KERNEL, page_order); in idal_buffer_alloc()143 ib->page_order); in idal_buffer_alloc()160 nr_chunks = (4096 << ib->page_order) >> IDA_SIZE_LOG; in idal_buffer_free()162 free_pages((unsigned long) ib->data[i], ib->page_order); in idal_buffer_free()172 return ib->size > (4096ul << ib->page_order) || in __idal_buffer_is_needed()
586 int page_order = IOMMU_PAGE_SHIFT_4K; in pSeries_cmo_feature_init() local626 page_order = simple_strtol(value, NULL, 10); in pSeries_cmo_feature_init()639 CMO_PageSize = 1 << page_order; in pSeries_cmo_feature_init()