Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
tls_32.c File Reference
#include <linux/percpu.h>
#include <linux/sched.h>
#include <asm/uaccess.h>
#include <os.h>
#include <skas.h>
#include <sysdep/tls.h>

Go to the source code of this file.

Macros

#define O_FORCE   1
 

Functions

int do_set_thread_area (struct user_desc *info)
 
int do_get_thread_area (struct user_desc *info)
 
void clear_flushed_tls (struct task_struct *task)
 
int arch_switch_tls (struct task_struct *to)
 
int arch_copy_tls (struct task_struct *new)
 
int sys_set_thread_area (struct user_desc __user *user_desc)
 
int ptrace_set_thread_area (struct task_struct *child, int idx, struct user_desc __user *user_desc)
 
int sys_get_thread_area (struct user_desc __user *user_desc)
 
int ptrace_get_thread_area (struct task_struct *child, int idx, struct user_desc __user *user_desc)
 
 __initcall (__setup_host_supports_tls)
 

Variables

int host_gdt_entry_tls_min
 

Macro Definition Documentation

#define O_FORCE   1

Definition at line 88 of file tls_32.c.

Function Documentation

__initcall ( __setup_host_supports_tls  )
int arch_copy_tls ( struct task_struct new)

Definition at line 216 of file tls_32.c.

int arch_switch_tls ( struct task_struct to)

Definition at line 185 of file tls_32.c.

void clear_flushed_tls ( struct task_struct task)

Definition at line 155 of file tls_32.c.

int do_get_thread_area ( struct user_desc info)

Definition at line 37 of file tls_32.c.

int do_set_thread_area ( struct user_desc info)

Definition at line 21 of file tls_32.c.

int ptrace_get_thread_area ( struct task_struct child,
int  idx,
struct user_desc __user user_desc 
)

Definition at line 350 of file tls_32.c.

int ptrace_set_thread_area ( struct task_struct child,
int  idx,
struct user_desc __user user_desc 
)

Definition at line 311 of file tls_32.c.

int sys_get_thread_area ( struct user_desc __user user_desc)

Definition at line 325 of file tls_32.c.

int sys_set_thread_area ( struct user_desc __user user_desc)

Definition at line 277 of file tls_32.c.

Variable Documentation

int host_gdt_entry_tls_min

Definition at line 19 of file tls_32.c.