Function report |
Source Code:mm\migrate.c |
Create Date:2022-07-28 15:59:38 |
Last Modify:2022-05-20 09:53:13 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Determine the nodes of an array of pages and store it in an array of status.
Proto:static void do_pages_stat_array(struct mm_struct *mm, unsigned long nr_pages, const void __user **pages, int *status)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm | |
unsigned long | nr_pages | |
const void __user ** | pages | |
int * | status |
1714 | lock for reading |
1723 | If Not vma || addr < Our start address within vm_mm. Then Go to set_status |
1727 | page = follow_page(vma, addr, give error on hole if it would be zero ) |
1730 | If IS_ERR(page) Then Go to set_status |
1733 | err = If page Then page_to_nid(page) Else -ENOENT |
1734 | set_status : |
1737 | pages++ |
1738 | status++ |
1741 | lease a read lock |
Name | Describe |
---|---|
do_pages_stat | Determine the nodes of a user array of pages and store it in* a user array of status. |
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 |