Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:01:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__lock_page - get a lock on the page, assuming we need to sleep to get it*@__page: the page to lock
Proto:void __lock_page(struct page *__page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | __page |
1381 | page = compound_head(__page) |
1382 | q = page_waitqueue(page) |
1383 | wait_on_page_bit_common(q, page, PG_locked, TASK_UNINTERRUPTIBLE, Hold ref to page and take the bit when woken, like* __lock_page() waiting on then setting PG_locked.) |
Name | Describe |
---|---|
__lock_page_or_retry | Return values:* 1 - page is locked; mmap_sem is still held |
lock_page_maybe_drop_mmap | lock_page_maybe_drop_mmap - lock the page, possibly dropping the mmap_sem*@vmf - the vm_fault for this fault.*@page - the page to lock.*@fpin - the pointer to the file we may pin (or is already pinned). |
lock_page | lock_page may only be called if we have the page's inode pinned. |
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 |