函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\debug.c Create Date:2022-07-27 11:34:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dma_debug_create_entries

函数原型:static int dma_debug_create_entries(gfp_t gfp)

返回类型:int

参数:

类型参数名称
gfp_tgfp
628  entry等于get_zeroed_page(gfp)
629  如果非entry则返回:负ENOMEM
632 i小于If the pool runs out, add this many new entries at once 循环添加链表项
635  num_free_entries加等于If the pool runs out, add this many new entries at once
636  nr_total_entries加等于If the pool runs out, add this many new entries at once
638  返回:0
调用者
名称描述
dma_entry_allocstruct dma_entry allocator* The next two functions implement the allocator for* struct dma_debug_entries.
dma_debug_init