Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:early_cma

Proto:static int __init early_cma(char *p)

Type:int

Parameter:

TypeParameterName
char *p
53  If Not p Then
54  pr_err("Config string not provided\n")
55  Return -EINVAL
58  size_cmdline = memparse - parse a string with mem suffixes into a number*@ptr: Where parse begins*@retptr: (output) Optional pointer to next char after parse completes* Parses a string into a number. The number stored at @ptr is
59  If p != '@' Then Return 0
61  base_cmdline = memparse - parse a string with mem suffixes into a number*@ptr: Where parse begins*@retptr: (output) Optional pointer to next char after parse completes* Parses a string into a number. The number stored at @ptr is
62  If p != '-' Then
63  limit_cmdline = base_cmdline + size_cmdline
64  Return 0
66  limit_cmdline = memparse - parse a string with mem suffixes into a number*@ptr: Where parse begins*@retptr: (output) Optional pointer to next char after parse completes* Parses a string into a number. The number stored at @ptr is
68  Return 0