Function report |
Source Code:mm\gup.c |
Create Date:2022-07-28 14:35:34 |
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_locked() is a wrapper for __get_user_pages_locked which* allows us to process the FOLL_LONGTERM flag.
Proto:static long __gup_longterm_locked(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, struct page **pages, struct vm_area_struct **vmas, unsigned int gup_flags)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk | |
struct mm_struct * | mm | |
unsigned long | start | |
unsigned long | nr_pages | |
struct page ** | pages | |
struct vm_area_struct ** | vmas | |
unsigned int | gup_flags |
1559 | flags = 0 |
1562 | If gup_flags & mapping lifetime is indefinite: see below Then |
1566 | If Not vmas_tmp Then |
1573 | flags = memalloc_nocma_save() |
1579 | If gup_flags & mapping lifetime is indefinite: see below Then |
1580 | memalloc_nocma_restore(flags) |
1595 | out : |
1598 | Return rc |
Name | Describe |
---|---|
get_user_pages | This is the same as get_user_pages_remote(), just with a* less-flexible calling convention where we assume that the task* and mm being operated on are the current task's and don't allow* passing of a locked parameter. We also obviously don't pass |
__gup_longterm_unlocked |
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 |