Function report |
Source Code:mm\mincore.c |
Create Date:2022-07-28 14:44:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:can_do_mincore
Proto:static inline bool can_do_mincore(struct vm_area_struct *vma)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma |
182 | If vma_is_anonymous(vma) Then Return true |
184 | If Not File we map to (can be NULL). Then Return false |
192 | Return inode_owner_or_capable(file_inode(File we map to (can be NULL). )) || inode_permission(file_inode(File we map to (can be NULL). ), MAY_WRITE) == 0 |
Name | Describe |
---|---|
do_mincore | Do a chunk of "sys_mincore()". We've already checked* all the arguments, we hold the mmap semaphore: we should* just return the amount of info we're asked for. |
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 |