Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:27:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__nr_hugepages_store_common
Proto:static ssize_t __nr_hugepages_store_common(bool obey_mempolicy, struct hstate *h, int nid, unsigned long count, size_t len)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| bool | obey_mempolicy | |
| struct hstate * | h | |
| int | nid | |
| unsigned long | count | |
| size_t | len |
| 2482 | If hstate_is_gigantic(h) && Not gigantic_page_runtime_supported() Then Return -EINVAL |
| 2485 | If nid == NUMA_NO_NODE Then |
| 2489 | If Not (obey_mempolicy && init_nodemask_of_mempolicy( & nodes_allowed)) Then n_mask = Array of node states.[N_MEMORY] |
| 2492 | Else n_mask = nodes_allowed |
| 2494 | Else |
| 2499 | init_nodemask_of_node( & nodes_allowed, nid) |
| 2500 | n_mask = nodes_allowed |
| Name | Describe |
|---|---|
| nr_hugepages_store_common | |
| hugetlb_sysctl_handler_common |
| 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 |