Lines Matching refs:rx_agg
768 struct rx_agg { struct
1389 r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags);
1559 struct rx_agg *agg; in read_bulk_callback()
1737 static void free_rx_agg(struct r8152 *tp, struct rx_agg *agg) in free_rx_agg()
1748 static struct rx_agg *alloc_rx_agg(struct r8152 *tp, gfp_t mflags) in alloc_rx_agg()
1753 struct rx_agg *rx_agg; in alloc_rx_agg() local
1756 rx_agg = kmalloc_node(sizeof(*rx_agg), mflags, node); in alloc_rx_agg()
1757 if (!rx_agg) in alloc_rx_agg()
1760 rx_agg->page = alloc_pages(mflags | __GFP_COMP, order); in alloc_rx_agg()
1761 if (!rx_agg->page) in alloc_rx_agg()
1764 rx_agg->buffer = page_address(rx_agg->page); in alloc_rx_agg()
1766 rx_agg->urb = usb_alloc_urb(0, mflags); in alloc_rx_agg()
1767 if (!rx_agg->urb) in alloc_rx_agg()
1770 rx_agg->context = tp; in alloc_rx_agg()
1772 INIT_LIST_HEAD(&rx_agg->list); in alloc_rx_agg()
1773 INIT_LIST_HEAD(&rx_agg->info_list); in alloc_rx_agg()
1775 list_add_tail(&rx_agg->info_list, &tp->rx_info); in alloc_rx_agg()
1780 return rx_agg; in alloc_rx_agg()
1783 __free_pages(rx_agg->page, order); in alloc_rx_agg()
1785 kfree(rx_agg); in alloc_rx_agg()
1791 struct rx_agg *agg, *agg_next; in free_all_mem()
2194 static inline int agg_offset(struct rx_agg *agg, void *addr) in agg_offset()
2199 static struct rx_agg *rtl_get_free_rx(struct r8152 *tp, gfp_t mflags) in rtl_get_free_rx()
2201 struct rx_agg *agg, *agg_next, *agg_free = NULL; in rtl_get_free_rx()
2264 struct rx_agg *agg, *agg_free; in rx_bottom()
2271 agg = list_entry(cursor, struct rx_agg, list); in rx_bottom()
2456 int r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) in r8152_submit_rx()
2683 struct rx_agg *agg, *agg_next; in rtl_start_rx()
2726 struct rx_agg *agg, *agg_next; in rtl_stop_rx()