Function report |
Source Code:mm\madvise.c |
Create Date:2022-07-28 15:12:19 |
| 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_pageout
Proto:static inline bool can_do_pageout(struct vm_area_struct *vma)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | vma |
| 520 | If vma_is_anonymous(vma) Then Return true |
| 522 | If Not File we map to (can be NULL). Then Return false |
| 530 | 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 |
|---|---|
| madvise_pageout |
| 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 |