函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\tls.c Create Date:2022-07-27 08:52:24
Last Modify:2022-05-18 16:59:10 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:SYSCALL_DEFINE1(get_thread_area, struct user_desc __user *, u_info)return do_get_thread_area(current, -1, u_info);

函数原型:int regset_tls_active(struct task_struct *target, const struct user_regset *regset)

返回类型:int

参数:

类型参数名称
struct task_struct *target
const struct user_regset *regset
251  t等于* New fields for task_struct should be added above here, so that * they are included in the randomized portion of task_struct.
252  n等于GDT_ENTRY_TLS_ENTRIES
253 n大于0且desc_empty( & Cached TLS descriptors: [n - 1])循环
254  n先自减
255  返回:n