Lines Matching refs:mem_flags
190 gfp_t mem_flags) in xhci_insert_segment_mapping() argument
200 ret = radix_tree_maybe_preload(mem_flags); in xhci_insert_segment_mapping()
224 gfp_t mem_flags) in xhci_update_stream_segment_mapping() argument
236 ring, seg, mem_flags); in xhci_update_stream_segment_mapping()
273 static int xhci_update_stream_mapping(struct xhci_ring *ring, gfp_t mem_flags) in xhci_update_stream_mapping() argument
276 ring->first_seg, ring->last_seg, mem_flags); in xhci_update_stream_mapping()
569 gfp_t mem_flags) in xhci_alloc_stream_ctx() argument
576 dma, mem_flags); in xhci_alloc_stream_ctx()
579 mem_flags, dma); in xhci_alloc_stream_ctx()
582 mem_flags, dma); in xhci_alloc_stream_ctx()
624 unsigned int max_packet, gfp_t mem_flags) in xhci_alloc_stream_info() argument
642 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags, in xhci_alloc_stream_info()
652 num_streams, sizeof(struct xhci_ring *), mem_flags, in xhci_alloc_stream_info()
660 mem_flags); in xhci_alloc_stream_info()
668 xhci_alloc_command_with_ctx(xhci, true, mem_flags); in xhci_alloc_stream_info()
682 mem_flags); in xhci_alloc_stream_info()
697 ret = xhci_update_stream_mapping(cur_ring, mem_flags); in xhci_alloc_stream_info()
844 struct usb_tt *tt, gfp_t mem_flags) in xhci_alloc_tt_info() argument
859 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info()
1434 gfp_t mem_flags) in xhci_endpoint_init() argument
1505 xhci_ring_alloc(xhci, 2, 1, ring_type, max_packet, mem_flags); in xhci_endpoint_init()
1748 bool allocate_completion, gfp_t mem_flags) in xhci_alloc_command() argument
1753 command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev)); in xhci_alloc_command()
1759 kzalloc_node(sizeof(struct completion), mem_flags, in xhci_alloc_command()
1774 bool allocate_completion, gfp_t mem_flags) in xhci_alloc_command_with_ctx() argument
1778 command = xhci_alloc_command(xhci, allocate_completion, mem_flags); in xhci_alloc_command_with_ctx()
1783 mem_flags); in xhci_alloc_command_with_ctx()