Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__dma_entry_alloc

Proto:static struct dma_debug_entry *__dma_entry_alloc(void)

Type:struct dma_debug_entry

Parameter:Nothing

645  entry = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(next, structdma_debug_entry, list)
646  deletes entry from list
647  memset(entry, 0, size of entry )
649  num_free_entries -= 1
650  If num_free_entries < min_free_entries Then min_free_entries = num_free_entries
653  Return entry
Caller
NameDescribe
dma_entry_allocstruct dma_entry allocator* The next two functions implement the allocator for* struct dma_debug_entries.