Lines Matching refs:flags
179 unsigned long flags; in driver_filter() local
203 read_lock_irqsave(&driver_name_lock, flags); in driver_filter()
212 read_unlock_irqrestore(&driver_name_lock, flags); in driver_filter()
249 unsigned long *flags) in get_hash_bucket() argument
256 *flags = __flags; in get_hash_bucket()
264 unsigned long flags) in put_hash_bucket() argument
267 spin_unlock_irqrestore(&bucket->lock, flags); in put_hash_bucket()
350 unsigned long *flags) in bucket_find_contain() argument
366 put_hash_bucket(*bucket, *flags); in bucket_find_contain()
369 *bucket = get_hash_bucket(&index, flags); in bucket_find_contain()
410 unsigned long flags; in debug_dma_dump_mappings() local
412 spin_lock_irqsave(&bucket->lock, flags); in debug_dma_dump_mappings()
426 spin_unlock_irqrestore(&bucket->lock, flags); in debug_dma_dump_mappings()
513 unsigned long flags; in active_cacheline_insert() local
523 spin_lock_irqsave(&radix_lock, flags); in active_cacheline_insert()
527 spin_unlock_irqrestore(&radix_lock, flags); in active_cacheline_insert()
535 unsigned long flags; in active_cacheline_remove() local
541 spin_lock_irqsave(&radix_lock, flags); in active_cacheline_remove()
548 spin_unlock_irqrestore(&radix_lock, flags); in active_cacheline_remove()
558 unsigned long flags; in add_dma_entry() local
561 bucket = get_hash_bucket(entry, &flags); in add_dma_entry()
563 put_hash_bucket(bucket, flags); in add_dma_entry()
634 unsigned long flags; in dma_entry_alloc() local
637 spin_lock_irqsave(&free_entries_lock, flags); in dma_entry_alloc()
641 spin_unlock_irqrestore(&free_entries_lock, flags); in dma_entry_alloc()
651 spin_unlock_irqrestore(&free_entries_lock, flags); in dma_entry_alloc()
666 unsigned long flags; in dma_entry_free() local
674 spin_lock_irqsave(&free_entries_lock, flags); in dma_entry_free()
677 spin_unlock_irqrestore(&free_entries_lock, flags); in dma_entry_free()
692 unsigned long flags; in filter_read() local
703 read_lock_irqsave(&driver_name_lock, flags); in filter_read()
705 read_unlock_irqrestore(&driver_name_lock, flags); in filter_read()
714 unsigned long flags; in filter_write() local
730 write_lock_irqsave(&driver_name_lock, flags); in filter_write()
769 write_unlock_irqrestore(&driver_name_lock, flags); in filter_write()
787 unsigned long flags; in dump_show() local
789 spin_lock_irqsave(&bucket->lock, flags); in dump_show()
801 spin_unlock_irqrestore(&bucket->lock, flags); in dump_show()
828 unsigned long flags; in device_dma_allocations() local
832 spin_lock_irqsave(&dma_entry_hash[i].lock, flags); in device_dma_allocations()
839 spin_unlock_irqrestore(&dma_entry_hash[i].lock, flags); in device_dma_allocations()
960 unsigned long flags; in check_unmap() local
962 bucket = get_hash_bucket(ref, &flags); in check_unmap()
967 put_hash_bucket(bucket, flags); in check_unmap()
1049 put_hash_bucket(bucket, flags); in check_unmap()
1103 unsigned long flags; in check_sync() local
1105 bucket = get_hash_bucket(ref, &flags); in check_sync()
1107 entry = bucket_find_contain(&bucket, ref, &flags); in check_sync()
1170 put_hash_bucket(bucket, flags); in check_sync()
1255 unsigned long flags; in debug_dma_mapping_error() local
1262 bucket = get_hash_bucket(&ref, &flags); in debug_dma_mapping_error()
1284 put_hash_bucket(bucket, flags); in debug_dma_mapping_error()
1346 unsigned long flags; in get_nr_mapped_entries() local
1349 bucket = get_hash_bucket(ref, &flags); in get_nr_mapped_entries()
1355 put_hash_bucket(bucket, flags); in get_nr_mapped_entries()