Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:nr_hugepages_store_common

Proto:static ssize_t nr_hugepages_store_common(bool obey_mempolicy, struct kobject *kobj, const char *buf, size_t len)

Type:ssize_t

Parameter:

TypeParameterName
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  If err Then Return err
2521  h = kobj_to_hstate(kobj, & nid)
2522  Return __nr_hugepages_store_common(obey_mempolicy, h, nid, count, len)
Caller
NameDescribe
nr_hugepages_store
nr_hugepages_mempolicy_store