函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:early_init_on_free

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

返回类型:int

参数:

类型参数名称
char *buf
175  如果非buf则返回:负EINVAL
177  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
178  如果bool_resultpage_poisoning_enabled()则打印信息("mem auto-init: CONFIG_PAGE_POISONING is on, will take precedence over init_on_free\n")
180  如果bool_resultNormal usage; boolean enable/disable.( & init_on_free)
182  否则static_branch_disable( & init_on_free)
184  返回:ret