Function report |
Source Code:include\linux\regset.h |
Create Date:2022-07-28 07:49:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:These are helpers for writing regset get/set functions in arch code
Proto:static inline int user_regset_copyout(unsigned int *pos, unsigned int *count, void **kbuf, void __user **ubuf, const void *data, const int start_pos, const int end_pos)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int * | pos | |
unsigned int * | count | |
void ** | kbuf | |
void __user ** | ubuf | |
const void * | data | |
const int | start_pos | |
const int | end_pos |
259 | If count == 0 Then Return 0 |
263 | copy = If end_pos < 0 Then count Else min - return minimum of two values of the same or compatible types*@x: first value*@y: second value( * count, end_pos - * pos) |
266 | If kbuf Then |
269 | Else if __copy_to_user( * ubuf, data, copy) Then Return -EFAULT |
276 | Return 0 |
Name | Describe |
---|---|
xfpregs_get | |
xstateregs_get | |
fpregs_get | |
ioperm_get |
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 |