Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:32:34 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:COMPAT_SYSCALL_DEFINE6
Proto:COMPAT_SYSCALL_DEFINE6(mbind, compat_ulong_t, start, compat_ulong_t, len, compat_ulong_t, mode, compat_ulong_t __user *, nmask, compat_ulong_t, maxnode, compat_ulong_t, flags)
Type:
Parameter:Nothing
1668 | nr_bits = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, maxnode - 1, MAX_NUMNODES) |
1669 | alloc_size = @a is a power of 2 value (nr_bits, BITS_PER_LONG) / 8 |
1671 | If nmask Then |
1672 | If compat_get_bitmap(nodes_addr(bm), nmask, nr_bits) Then Return -EFAULT |
1674 | nm = Allocate user-space memory for the duration of a single system call,* in order to marshall parameters inside a compat thunk. |
1675 | If copy_to_user(nm, nodes_addr(bm), alloc_size) Then Return -EFAULT |
1679 | Return kernel_mbind(start, len, Async or sync migration mode , nm, nr_bits + 1, flags) |
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 |