Lines Matching defs:mem_flags
190 gfp_t mem_flags)
200 ret = radix_tree_maybe_preload(mem_flags);
224 gfp_t mem_flags)
236 ring, seg, mem_flags);
273 static int xhci_update_stream_mapping(struct xhci_ring *ring, gfp_t mem_flags)
276 ring->first_seg, ring->last_seg, mem_flags);
557 gfp_t mem_flags)
563 return dma_alloc_coherent(dev, size, dma, mem_flags);
565 return dma_pool_zalloc(xhci->medium_streams_pool, mem_flags, dma);
567 return dma_pool_zalloc(xhci->small_streams_pool, mem_flags, dma);
592 unsigned int max_packet, gfp_t mem_flags)
609 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags,
619 num_streams, sizeof(struct xhci_ring *), mem_flags,
627 mem_flags);
633 xhci_alloc_command_with_ctx(xhci, true, mem_flags);
647 mem_flags);
661 ret = xhci_update_stream_mapping(cur_ring, mem_flags);
805 struct usb_tt *tt, gfp_t mem_flags)
820 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags,
1398 gfp_t mem_flags)
1469 xhci_ring_alloc(xhci, 2, 1, ring_type, max_packet, mem_flags);
1711 bool allocate_completion, gfp_t mem_flags)
1716 command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev));
1722 kzalloc_node(sizeof(struct completion), mem_flags,
1737 bool allocate_completion, gfp_t mem_flags)
1741 command = xhci_alloc_command(xhci, allocate_completion, mem_flags);
1746 mem_flags);