Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kmalloc_parameter

Proto:static void *kmalloc_parameter(unsigned int size)

Type:void

Parameter:

TypeParameterName
unsigned intsize
50  p = Allocation memory
51  If Not p Then Return NULL
54  spin_lock( & kmalloced_params_lock)
55  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
56  spin_unlock( & kmalloced_params_lock)
58  Return val
Caller
NameDescribe
param_set_charp