Lines Matching refs:rx_agg
837 struct rx_agg { struct
1550 r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags);
1733 struct rx_agg *agg; in read_bulk_callback()
1917 static void free_rx_agg(struct r8152 *tp, struct rx_agg *agg) in free_rx_agg()
1928 static struct rx_agg *alloc_rx_agg(struct r8152 *tp, gfp_t mflags) in alloc_rx_agg()
1933 struct rx_agg *rx_agg; in alloc_rx_agg() local
1936 rx_agg = kmalloc_node(sizeof(*rx_agg), mflags, node); in alloc_rx_agg()
1937 if (!rx_agg) in alloc_rx_agg()
1940 rx_agg->page = alloc_pages(mflags | __GFP_COMP, order); in alloc_rx_agg()
1941 if (!rx_agg->page) in alloc_rx_agg()
1944 rx_agg->buffer = page_address(rx_agg->page); in alloc_rx_agg()
1946 rx_agg->urb = usb_alloc_urb(0, mflags); in alloc_rx_agg()
1947 if (!rx_agg->urb) in alloc_rx_agg()
1950 rx_agg->context = tp; in alloc_rx_agg()
1952 INIT_LIST_HEAD(&rx_agg->list); in alloc_rx_agg()
1953 INIT_LIST_HEAD(&rx_agg->info_list); in alloc_rx_agg()
1955 list_add_tail(&rx_agg->info_list, &tp->rx_info); in alloc_rx_agg()
1960 return rx_agg; in alloc_rx_agg()
1963 __free_pages(rx_agg->page, order); in alloc_rx_agg()
1965 kfree(rx_agg); in alloc_rx_agg()
1971 struct rx_agg *agg, *agg_next; in free_all_mem()
2374 static inline int agg_offset(struct rx_agg *agg, void *addr) in agg_offset()
2379 static struct rx_agg *rtl_get_free_rx(struct r8152 *tp, gfp_t mflags) in rtl_get_free_rx()
2381 struct rx_agg *agg, *agg_next, *agg_free = NULL; in rtl_get_free_rx()
2445 struct rx_agg *agg, *agg_free; in rx_bottom()
2452 agg = list_entry(cursor, struct rx_agg, list); in rx_bottom()
2635 int r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) in r8152_submit_rx()
2895 struct rx_agg *agg, *agg_next; in rtl_start_rx()
2938 struct rx_agg *agg, *agg_next; in rtl_stop_rx()