函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-27 16:32:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:early_init_on_alloc

函数原型:static int __init early_init_on_alloc(char *buf)

返回类型:int

参数:

类型参数名称
char *buf
157  如果非buf则返回:负EINVAL
159  ret等于kstrtobool - convert common user inputs into boolean values*@s: input string*@res: result* This routine returns 0 iff the first character is one of 'Yy1Nn0', or* [oO][NnFf] for "on" and "off". Otherwise it will return -EINVAL. Value
160  如果bool_resultpage_poisoning_enabled()则打印信息("mem auto-init: CONFIG_PAGE_POISONING is on, will take precedence over init_on_alloc\n")
162  如果bool_resultNormal usage; boolean enable/disable.( & init_on_alloc)
164  否则static_branch_disable( & init_on_alloc)
166  返回:ret