Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\debug.c Create Date:2022-07-28 10:34:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dma_debug_create_entries

Proto:static int dma_debug_create_entries(gfp_t gfp)

Type:int

Parameter:

TypeParameterName
gfp_tgfp
628  entry = get_zeroed_page(gfp)
629  If Not entry Then Return -ENOMEM
632  When i < If the pool runs out, add this many new entries at once cycle list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
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  Return 0
Caller
NameDescribe
dma_entry_allocstruct dma_entry allocator* The next two functions implement the allocator for* struct dma_debug_entries.
dma_debug_init