Home
last modified time | relevance | path

Searched refs:dma_entry_hash (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/lib/
Ddma-debug.c96 static struct hash_bucket dma_entry_hash[HASH_SIZE]; variable
260 spin_lock_irqsave(&dma_entry_hash[idx].lock, __flags); in get_hash_bucket()
262 return &dma_entry_hash[idx]; in get_hash_bucket()
411 struct hash_bucket *bucket = &dma_entry_hash[idx]; in debug_dma_dump_mappings()
938 spin_lock(&dma_entry_hash[i].lock); in device_dma_allocations()
939 list_for_each_entry(entry, &dma_entry_hash[i].list, list) { in device_dma_allocations()
945 spin_unlock(&dma_entry_hash[i].lock); in device_dma_allocations()
1015 INIT_LIST_HEAD(&dma_entry_hash[i].list); in dma_debug_init()
1016 spin_lock_init(&dma_entry_hash[i].lock); in dma_debug_init()