Function report | 
Source Code:arch\x86\kernel\tls.c | 
Create Date:2022-07-28 07:52:13 | 
| 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_get
Proto:int regset_tls_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | target | |
| const struct user_regset * | regset | |
| unsigned int | pos | |
| unsigned int | count | |
| void * | kbuf | |
| void __user * | ubuf | 
| 264 | If pos >= GDT_ENTRY_TLS_ENTRIES * sizeof(structuser_desc) || pos % sizeof(structuser_desc) != 0 || count % sizeof(structuser_desc) != 0 Then Return -EINVAL | 
| 272 | tls = Cached TLS descriptors: [pos] | 
| 274 | If kbuf Then | 
| 279 | Else | 
| 284 | If __copy_to_user(u_info++, & info, size of info ) Then Return -EFAULT | 
| 289 | 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  |