Function report |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-28 10:34:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Request exclusive access to a hash bucket for a given dma_debug_entry.
Proto:static struct hash_bucket *get_hash_bucket(struct dma_debug_entry *entry, unsigned long *flags)__acquires(&dma_entry_hash[idx].lock)
Type:struct hash_bucket
Parameter:
Type | Parameter | Name |
---|---|---|
struct dma_debug_entry * | entry | |
unsigned long * | flags |
246 | idx = Hash related functions* Every DMA-API request is saved into a struct dma_debug_entry. To* have quick access to these structs they are stored into a hash. |
249 | spin_lock_irqsave( & lock, __flags) |
251 | Return Hash list to save the allocated dma addresses [idx] |
Name | Describe |
---|---|
bucket_find_contain | |
add_dma_entry | Wrapper function for adding an entry to the hash.* This function takes care of locking itself. |
check_unmap | |
check_sync | |
debug_dma_mapping_error | |
get_nr_mapped_entries |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |