Function report |
Source Code:arch\x86\kernel\tls.c |
Create Date:2022-07-28 07:52:15 |
| Last Modify:2022-05-18 16:59:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:regset_tls_set
Proto:int regset_tls_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | target | |
| const struct user_regset * | regset | |
| unsigned int | pos | |
| unsigned int | count | |
| const void * | kbuf | |
| const void __user * | ubuf |
| 300 | If pos >= GDT_ENTRY_TLS_ENTRIES * sizeof(structuser_desc) || pos % sizeof(structuser_desc) != 0 || count % sizeof(structuser_desc) != 0 Then Return -EINVAL |
| 307 | Else if __copy_from_user(infobuf, ubuf, count) Then Return -EFAULT |
| 314 | Return -EINVAL |
| 320 | 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 |