函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hugetlb_sysctl_handler_common

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

返回类型:int

参数:

类型参数名称
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  如果非hugepages_supported()则返回:负EOPNOTSUPP
2977  data等于tmp
2978  maxlen等于sizeof(unsignedlong)
2979  ret等于指定大小读sysctl长整数向量
2980  如果ret则转到:out
2983  如果writeret等于__nr_hugepages_store_common(obey_mempolicy, h, NUMA_NO_NODE, tmp, * length)
2986  out :
2987  返回:ret
调用者
名称描述
hugetlb_sysctl_handler
hugetlb_mempolicy_sysctl_handler