Function report |
Source Code:mm\mmap.c |
Create Date:2022-07-28 14:48:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:file_mmap_ok
Proto:static inline bool file_mmap_ok(struct file *file, struct inode *inode, unsigned long pgoff, unsigned long len)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
struct inode * | inode | |
unsigned long | pgoff | |
unsigned long | len |
1354 | maxsize = file_mmap_size_max(file, inode) |
1359 | If pgoff > maxsize >> PAGE_SHIFT determines the page size Then Return false |
1361 | Return true |
Name | Describe |
---|---|
do_mmap | The caller must hold down_write(¤t->mm->mmap_sem). |
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 |