函数逻辑报告 |
Source Code:kernel\dma\swiotlb.c |
Create Date:2022-07-27 11:35:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:swiotlb_init_with_tbl
函数原型:int __init swiotlb_init_with_tbl(char *tlb, unsigned long nslabs, int verbose)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | tlb | |
unsigned long | nslabs | |
int | verbose |
205 | bytes等于nslabs左移log of the size of each IO TLB slab. The number of slabs is command line* controllable.位 |
207 | The number of IO TLB blocks (in groups of 64) between io_tlb_start and* io_tlb_end. This is command line adjustable via setup_io_tlb_npages.等于nslabs |
208 | Used to do a quick range check in swiotlb_tbl_unmap_single and* swiotlb_tbl_sync_single_*, to see if the memory was in fact allocated by this* API.等于__pa(tlb) |
217 | This is a free list describing the number of free entries available from* each index等于memblock_alloc(alloc_size, PAGE_SIZE) |
224 | 如果非io_tlb_orig_addr则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
232 | io_tlb_index等于0 |
234 | 如果verbose则swiotlb_print_info() |
238 | 返回:0 |
名称 | 描述 |
---|---|
swiotlb_init | Statically reserve bounce buffer space and initialize bounce buffer data* structures for the software IO TLB used to implement the DMA API. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |