Lines Matching refs:mem_flags
197 gfp_t mem_flags)
207 ret = radix_tree_maybe_preload(mem_flags);
231 gfp_t mem_flags)
243 ring, seg, mem_flags);
280 static int xhci_update_stream_mapping(struct xhci_ring *ring, gfp_t mem_flags)
283 ring->first_seg, ring->last_seg, mem_flags);
561 gfp_t mem_flags)
567 return dma_alloc_coherent(dev, size, dma, mem_flags);
569 return dma_pool_zalloc(xhci->medium_streams_pool, mem_flags, dma);
571 return dma_pool_zalloc(xhci->small_streams_pool, mem_flags, dma);
596 unsigned int max_packet, gfp_t mem_flags)
613 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags,
623 num_streams, sizeof(struct xhci_ring *), mem_flags,
631 mem_flags);
637 xhci_alloc_command_with_ctx(xhci, true, mem_flags);
651 mem_flags);
665 ret = xhci_update_stream_mapping(cur_ring, mem_flags);
808 struct usb_tt *tt, gfp_t mem_flags)
823 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,
1739 bool allocate_completion, gfp_t mem_flags)
1743 command = xhci_alloc_command(xhci, allocate_completion, mem_flags);
1748 mem_flags);