Lines Matching refs:order
1549 int i, order, psize, new_frags; in skb_copy_ubufs() local
1561 order = 0; in skb_copy_ubufs()
1562 while ((PAGE_SIZE << order) * MAX_SKB_FRAGS < __skb_pagelen(skb)) in skb_copy_ubufs()
1563 order++; in skb_copy_ubufs()
1564 psize = (PAGE_SIZE << order); in skb_copy_ubufs()
1566 new_frags = (__skb_pagelen(skb) + psize - 1) >> (PAGE_SHIFT + order); in skb_copy_ubufs()
1568 page = alloc_pages(gfp_mask | __GFP_COMP, order); in skb_copy_ubufs()
6164 int order = max_page_order; in alloc_skb_with_frags() local
6166 while (order) { in alloc_skb_with_frags()
6167 if (npages >= 1 << order) { in alloc_skb_with_frags()
6171 order); in alloc_skb_with_frags()
6175 order = 1; in alloc_skb_with_frags()
6178 order--; in alloc_skb_with_frags()
6185 PAGE_SIZE << order); in alloc_skb_with_frags()
6188 npages -= 1 << order; in alloc_skb_with_frags()