函数逻辑报告 |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-27 11:34:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Request exclusive access to a hash bucket for a given dma_debug_entry.
函数原型:static struct hash_bucket *get_hash_bucket(struct dma_debug_entry *entry, unsigned long *flags)__acquires(&dma_entry_hash[idx].lock)
返回类型:struct hash_bucket
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| 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) |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |