Function report |
Source Code:mm\gup.c |
Create Date:2022-07-28 14:35:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Like get_user_pages_fast() except it's IRQ-safe in that it won't fall back to* the regular GUP
Proto:int __get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | start | |
| int | nr_pages | |
| int | write | |
| struct page ** | pages |
| 2339 | nr = 0 |
| 2342 | len = nr_pages << PAGE_SHIFT determines the page size |
| 2364 | local_irq_save(flags) |
| 2365 | gup_pgd_range(start, end, write ? check pte is writable : 0, pages, & nr) |
| 2366 | local_irq_restore(flags) |
| 2369 | Return nr |
| 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 |