Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
bool | obey_mempolicy | |
struct ctl_table * | table | |
int | write | |
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 |
2983 | If write Then ret = __nr_hugepages_store_common(obey_mempolicy, h, NUMA_NO_NODE, tmp, * length) |
2986 | out : |
2987 | Return ret |
Name | Describe |
---|---|
hugetlb_sysctl_handler | |
hugetlb_mempolicy_sysctl_handler |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |