Lines Matching defs:flags
319 unsigned int flags,
330 if (flags & SWIOTLB_ANY)
354 void __init swiotlb_init_remap(bool addressing_limit, unsigned int flags,
369 swiotlb_force_bounce || (flags & SWIOTLB_FORCE);
374 if (flags & SWIOTLB_ANY)
385 while ((tlb = swiotlb_memblock_alloc(nslabs, flags, remap)) == NULL) {
416 if (flags & SWIOTLB_VERBOSE)
420 void __init swiotlb_init(bool addressing_limit, unsigned int flags)
422 swiotlb_init_remap(addressing_limit, flags, NULL);
564 * @gfp: GFP flags for the allocation.
608 * @gfp: GFP flags for the allocation.
675 * @gfp: GFP flags for the allocations.
803 unsigned long flags;
805 spin_lock_irqsave(&dev->dma_io_tlb_lock, flags);
807 spin_unlock_irqrestore(&dev->dma_io_tlb_lock, flags);
898 unsigned long flags;
903 local_irq_save(flags);
909 local_irq_restore(flags);
1028 unsigned long flags;
1060 spin_lock_irqsave(&area->lock, flags);
1092 spin_unlock_irqrestore(&area->lock, flags);
1116 spin_unlock_irqrestore(&area->lock, flags);
1187 unsigned long flags;
1223 spin_lock_irqsave(&dev->dma_io_tlb_lock, flags);
1225 spin_unlock_irqrestore(&dev->dma_io_tlb_lock, flags);
1410 unsigned long flags;
1430 spin_lock_irqsave(&area->lock, flags);
1456 spin_unlock_irqrestore(&area->lock, flags);