函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:nr_hugepages_store_common

函数原型:static ssize_t nr_hugepages_store_common(bool obey_mempolicy, struct kobject *kobj, const char *buf, size_t len)

返回类型:ssize_t

参数:

类型参数名称
boolobey_mempolicy
struct kobject *kobj
const char *buf
size_tlen
2517  err等于kstrtoul - convert a string to an unsigned long*@s: The start of the string. The string must be null-terminated, and may also* include a single newline before its terminating null. The first character* may also be a plus sign, but not a minus sign.
2518  如果err则返回:err
2521  h等于kobj_to_hstate(kobj, & nid)
2522  返回:__nr_hugepages_store_common(obey_mempolicy, h, nid, count, len)
调用者
名称描述
nr_hugepages_store
nr_hugepages_mempolicy_store