Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:32:06 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Copy a kernel node mask to user space
Proto:static int copy_nodes_to_user(unsigned long __user *mask, unsigned long maxnode, nodemask_t *nodes)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long __user * | mask | |
unsigned long | maxnode | |
nodemask_t * | nodes |
1406 | copy = @a is a power of 2 value (maxnode - 1, 64) / 8 |
1407 | nbytes = BITS_TO_LONGS(nr_node_ids) * sizeof(long) |
1416 | Return If copy_to_user(mask, nodes_addr( * nodes), copy) Then -EFAULT Else 0 |
Name | Describe |
---|---|
kernel_get_mempolicy | Retrieve NUMA policy |
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 |