Lines Matching refs:rx_agg

700 struct rx_agg {  struct
1183 r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags);
1335 struct rx_agg *agg; in read_bulk_callback()
1511 static void free_rx_agg(struct r8152 *tp, struct rx_agg *agg) in free_rx_agg()
1522 static struct rx_agg *alloc_rx_agg(struct r8152 *tp, gfp_t mflags) in alloc_rx_agg()
1527 struct rx_agg *rx_agg; in alloc_rx_agg() local
1530 rx_agg = kmalloc_node(sizeof(*rx_agg), mflags, node); in alloc_rx_agg()
1531 if (!rx_agg) in alloc_rx_agg()
1534 rx_agg->page = alloc_pages(mflags | __GFP_COMP, order); in alloc_rx_agg()
1535 if (!rx_agg->page) in alloc_rx_agg()
1538 rx_agg->buffer = page_address(rx_agg->page); in alloc_rx_agg()
1540 rx_agg->urb = usb_alloc_urb(0, mflags); in alloc_rx_agg()
1541 if (!rx_agg->urb) in alloc_rx_agg()
1544 rx_agg->context = tp; in alloc_rx_agg()
1546 INIT_LIST_HEAD(&rx_agg->list); in alloc_rx_agg()
1547 INIT_LIST_HEAD(&rx_agg->info_list); in alloc_rx_agg()
1549 list_add_tail(&rx_agg->info_list, &tp->rx_info); in alloc_rx_agg()
1554 return rx_agg; in alloc_rx_agg()
1557 __free_pages(rx_agg->page, order); in alloc_rx_agg()
1559 kfree(rx_agg); in alloc_rx_agg()
1565 struct rx_agg *agg, *agg_next; in free_all_mem()
1992 static inline int agg_offset(struct rx_agg *agg, void *addr) in agg_offset()
1997 static struct rx_agg *rtl_get_free_rx(struct r8152 *tp, gfp_t mflags) in rtl_get_free_rx()
1999 struct rx_agg *agg, *agg_next, *agg_free = NULL; in rtl_get_free_rx()
2062 struct rx_agg *agg, *agg_free; in rx_bottom()
2069 agg = list_entry(cursor, struct rx_agg, list); in rx_bottom()
2254 int r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) in r8152_submit_rx()
2481 struct rx_agg *agg, *agg_next; in rtl_start_rx()
2524 struct rx_agg *agg, *agg_next; in rtl_stop_rx()