函数逻辑报告 |
Source Code:kernel\dma\swiotlb.c |
Create Date:2022-07-27 11:35:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:swiotlb_late_init_with_tbl
函数原型:int swiotlb_late_init_with_tbl(char *tlb, unsigned long nslabs)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | tlb | |
unsigned long | nslabs |
333 | bytes等于nslabs左移log of the size of each IO TLB slab. The number of slabs is command line* controllable.位 |
335 | 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 |
339 | set_memory_decrypted((unsignedlong)tlb, bytes >> PAGE_SHIFT determines the page size ) |
349 | 如果非This is a free list describing the number of free entries available from* each index则转到:cleanup3 |
356 | 如果非io_tlb_orig_addr则转到:cleanup4 |
363 | io_tlb_index等于0 |
365 | swiotlb_print_info() |
367 | late_alloc等于1 |
371 | 返回:0 |
373 | cleanup4 : |
377 | cleanup3 : |
378 | swiotlb_cleanup() |
379 | 返回:负ENOMEM |
名称 | 描述 |
---|---|
swiotlb_late_init_with_default_size | Systems with larger DMA zones (those that don't support ISA) can* initialize the swiotlb later using the slab allocator if needed.* This should be just like above, but with some error catching. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |