Home
last modified time | relevance | path

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

/lib/
Ddma-debug.c98 static struct hash_bucket dma_entry_hash[HASH_SIZE]; variable
259 __acquires(&dma_entry_hash[idx].lock) in get_hash_bucket()
264 spin_lock_irqsave(&dma_entry_hash[idx].lock, __flags); in get_hash_bucket()
266 return &dma_entry_hash[idx]; in get_hash_bucket()
419 struct hash_bucket *bucket = &dma_entry_hash[idx]; in debug_dma_dump_mappings()
946 spin_lock(&dma_entry_hash[i].lock); in device_dma_allocations()
947 list_for_each_entry(entry, &dma_entry_hash[i].list, list) { in device_dma_allocations()
953 spin_unlock(&dma_entry_hash[i].lock); in device_dma_allocations()
1023 INIT_LIST_HEAD(&dma_entry_hash[i].list); in dma_debug_init()
1024 spin_lock_init(&dma_entry_hash[i].lock); in dma_debug_init()