Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\cma_debug.c Create Date:2022-07-28 16:32:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cma_get_entry_from_list

Proto:static struct cma_mem *cma_get_entry_from_list(struct cma *cma)

Type:struct cma_mem

Parameter:

TypeParameterName
struct cma *cma
80  struct cma_mem * mem = NULL
82  spin_lock( & mem_head_lock)
83  If Not hlist_empty( & mem_head) Then
84  mem = hlist_entry(first, structcma_mem, node)
85  hlist_del_init( & node)
87  spin_unlock( & mem_head_lock)
89  Return mem
Caller
NameDescribe
cma_free_mem