Searched refs:pages_order (Results 1 – 1 of 1) sorted by relevance
445 int *pages_order; in create_sgt() local468 pages = kvmalloc_array(nr_pages, sizeof(*pages) + sizeof(*pages_order), GFP_KERNEL); in create_sgt()473 pages_order = (void *)pages + sizeof(*pages) * nr_pages; in create_sgt()497 pages_order[i] = order; in create_sgt()522 sg_set_page(sg, pages[k], PAGE_SIZE << pages_order[k], 0); in create_sgt()524 sg_set_page(sg, pages[k], (PAGE_SIZE << pages_order[k]) - buf_extra, 0); in create_sgt()537 __free_pages(pages[j], pages_order[j]); in create_sgt()