Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:29:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hugetlb_unreserve_pages
Proto:long hugetlb_unreserve_pages(struct inode *inode, long start, long end, long freed)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
long | start | |
long | end | |
long | freed |
4661 | h = hstate_inode(inode) |
4662 | resv_map = inode_resv_map(inode) |
4663 | chg = 0 |
4664 | spool = subpool_inode(inode) |
4671 | If resv_map Then |
4682 | spin_lock( & _blocks, i_bytes, maybe i_size ) |
4683 | i_blocks -= blocks_per_huge_page(h) * freed |
4684 | spin_unlock( & _blocks, i_bytes, maybe i_size ) |
4691 | Forward declaration |
4693 | Return 0 |
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 |