Function report |
Source Code:mm\gup.c |
Create Date:2022-07-28 14:35:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:int get_user_pages_fast(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 |
2418 | If WARN_ON_ONCE(gup_flags & ~(check pte is writable | mapping lifetime is indefinite: see below | get_user_pages read/write w/o permission )) Then Return -EINVAL |
2424 | len = nr_pages << PAGE_SHIFT determines the page size |
2434 | local_irq_disable() |
2442 | start += nr << PAGE_SHIFT determines the page size |
2449 | If nr > 0 Then |
2457 | Return ret |
Name | Describe |
---|---|
iov_iter_get_pages_alloc | |
get_futex_key | get_futex_key() - Get parameters which are the keys for a futex*@uaddr: virtual address of the futex*@fshared: 0 for a PROCESS_PRIVATE futex, 1 for PROCESS_SHARED*@key: address where result is stored |
madvise_inject_error | Error injection support for memory error handling. |
__gup_benchmark_ioctl |
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 |