Function report |
Source Code:include\linux\regset.h |
Create Date:2022-07-28 07:49:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:These two parallel the two above, but for portions of a regset layout* that always read as all-zero or for which writes are ignored.
Proto:static inline int user_regset_copyout_zero(unsigned int *pos, unsigned int *count, void **kbuf, void __user **ubuf, 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 int | start_pos | |
| const int | end_pos |
| 314 | If count == 0 Then Return 0 |
| 318 | 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) |
| 320 | If kbuf Then |
| 323 | Else if Zero a block of memory in user space, with less checking Then Return -EFAULT |
| 330 | Return 0 |
| 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 |