函数逻辑报告 |
Source Code:kernel\dma\swiotlb.c |
Create Date:2022-07-27 11:35:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:int swiotlb_late_init_with_default_size(size_t default_size)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
size_t | default_size |
279 | req_nslabs等于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. |
280 | unsigned char * vstart = NULL |
282 | rc等于0 |
292 | order等于get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory |
293 | 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.等于SLABS_PER_PAGE左移order位 |
301 | order自减 |
304 | 如果非vstart则 |
305 | 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.等于req_nslabs |
306 | 返回:负ENOMEM |
313 | rc等于swiotlb_late_init_with_tbl(vstart, 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.) |
314 | 如果rc则free_pages((unsignedlong)vstart, order) |
317 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |