Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:01:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return values:* 1 - page is locked; mmap_sem is still held
Proto:int __lock_page_or_retry(struct page *page, struct mm_struct *mm, unsigned int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct mm_struct * | mm | |
unsigned int | flags |
1411 | If flags & Retry fault if blocking Then |
1416 | If flags & Don't drop mmap_sem and wait when retrying Then Return 0 |
1419 | lease a read lock |
1420 | If flags & The fault task is in SIGKILL killable region Then wait_on_page_locked_killable(page) |
1424 | Return 0 |
1425 | Else |
1426 | If flags & The fault task is in SIGKILL killable region Then |
1434 | Else __lock_page - get a lock on the page, assuming we need to sleep to get it*@__page: the page to lock |
1436 | Return 1 |
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 |