Function report |
Source Code:mm\gup.c |
Create Date:2022-07-28 14:35:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__gup_longterm_unlocked
Proto:static int __gup_longterm_unlocked(unsigned long start, int nr_pages, unsigned int gup_flags, struct page **pages)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | start | |
| int | nr_pages | |
| unsigned int | gup_flags | |
| struct page ** | pages |
| 2382 | If gup_flags & mapping lifetime is indefinite: see below Then |
| 2383 | lock for reading |
| 2384 | ret = __gup_longterm_locked() is a wrapper for __get_user_pages_locked which* allows us to process the FOLL_LONGTERM flag. |
| 2387 | lease a read lock |
| 2388 | Else |
| 2393 | Return ret |
| Name | Describe |
|---|---|
| get_user_pages_fast | get_user_pages_fast() - pin user pages in memory*@start: starting user address*@nr_pages: number of pages from start to pin*@gup_flags: flags modifying pin behaviour*@pages: array that receives pointers to the pages 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 |