Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hugetlb_sysctl_handler_common

Proto:static int hugetlb_sysctl_handler_common(bool obey_mempolicy, struct ctl_table *table, int write, void __user *buffer, size_t *length, loff_t *ppos)

Type:int

Parameter:

TypeParameterName
boolobey_mempolicy
struct ctl_table *table
intwrite
void __user *buffer
size_t *length
loff_t *ppos
2970  h = default_hstate
2971  tmp = max_huge_pages
2974  If Not hugepages_supported() Then Return -EOPNOTSUPP
2977  data = tmp
2978  maxlen = sizeof(unsignedlong)
2979  ret = read a vector of long integers with min/max values
2980  If ret Then Go to out
2983  If write Then ret = __nr_hugepages_store_common(obey_mempolicy, h, NUMA_NO_NODE, tmp, * length)
2986  out :
2987  Return ret
Caller
NameDescribe
hugetlb_sysctl_handler
hugetlb_mempolicy_sysctl_handler