Function report |
Source Code:mm\mincore.c |
Create Date:2022-07-28 14:44:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Do a chunk of "sys_mincore()". We've already checked* all the arguments, we hold the mmap semaphore: we should* just return the amount of info we're asked for.
Proto:static long do_mincore(unsigned long addr, unsigned long pages, unsigned char *vec)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | addr | |
unsigned long | pages | |
unsigned char * | vec |
214 | If Not vma || addr < Our start address within vm_mm. Then Return -ENOMEM |
217 | If Not can_do_mincore(vma) Then |
222 | err = walk_page_range(The address space we belong to. , addr, end, & mincore_walk_ops, vec) |
225 | Return end - addr >> PAGE_SHIFT determines the page size |
Name | Describe |
---|---|
SYSCALL_DEFINE3 | The mincore(2) system call |
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 |