Lines Matching refs:dma_entry_hash
93 static struct hash_bucket dma_entry_hash[HASH_SIZE]; variable
251 __acquires(&dma_entry_hash[idx].lock) in get_hash_bucket()
256 spin_lock_irqsave(&dma_entry_hash[idx].lock, __flags); in get_hash_bucket()
258 return &dma_entry_hash[idx]; in get_hash_bucket()
528 struct hash_bucket *bucket = &dma_entry_hash[idx]; in debug_dma_dump_mappings()
560 struct hash_bucket *bucket = &dma_entry_hash[idx]; in dump_show()
836 spin_lock_irqsave(&dma_entry_hash[i].lock, flags); in device_dma_allocations()
837 list_for_each_entry(entry, &dma_entry_hash[i].list, list) { in device_dma_allocations()
843 spin_unlock_irqrestore(&dma_entry_hash[i].lock, flags); in device_dma_allocations()
908 INIT_LIST_HEAD(&dma_entry_hash[i].list); in dma_debug_init()
909 spin_lock_init(&dma_entry_hash[i].lock); in dma_debug_init()