Function report |
Source Code:include\asm-generic\hugetlb.h |
Create Date:2022-07-28 05:55:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:prepare_hugepage_range
Proto:static inline int prepare_hugepage_range(struct file *file, unsigned long addr, unsigned long len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
unsigned long | addr | |
unsigned long | len |
94 | h = hstate_file(file) |
96 | If len & ~huge_page_mask(h) Then Return -EINVAL |
98 | If addr & ~huge_page_mask(h) Then Return -EINVAL |
101 | 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 |