Searched refs:hugetlb_acct_memory (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | hugetlb.c | 97 static int hugetlb_acct_memory(struct hstate *h, long delta); 110 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool() 131 if (min_hpages != -1 && hugetlb_acct_memory(h, min_hpages)) { in hugepage_new_subpool() 753 if (!hugetlb_acct_memory(h, 1)) in hugetlb_fix_reserve_counts() 2426 hugetlb_acct_memory(h, -rsv_adjust); in alloc_huge_page() 3604 static int hugetlb_acct_memory(struct hstate *h, long delta) in hugetlb_acct_memory() function 3691 hugetlb_acct_memory(h, -gbl_reserve); in hugetlb_vm_op_close() 5230 ret = hugetlb_acct_memory(h, gbl_reserve); in hugetlb_reserve_pages() 5250 hugetlb_acct_memory(h, -gbl_reserve); in hugetlb_reserve_pages() 5273 hugetlb_acct_memory(h, -rsv_adjust); in hugetlb_reserve_pages() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/vm/ |
| H A D | hugetlbfs_reserv.rst | 152 reservations is known. The routine hugetlb_acct_memory() is called to check 153 for and take the requested number of reservations. hugetlb_acct_memory() 312 hugetlb_acct_memory(min_hpages) is called to reserve the specified number of 560 comment in hugetlb_acct_memory sums up the interaction between reservations
|