Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sys_ia32.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/signal.h>
#include <linux/syscalls.h>
#include <linux/times.h>
#include <linux/utsname.h>
#include <linux/mm.h>
#include <linux/uio.h>
#include <linux/poll.h>
#include <linux/personality.h>
#include <linux/stat.h>
#include <linux/rwsem.h>
#include <linux/compat.h>
#include <linux/vfs.h>
#include <linux/ptrace.h>
#include <linux/highuid.h>
#include <linux/sysctl.h>
#include <linux/slab.h>
#include <asm/mman.h>
#include <asm/types.h>
#include <asm/uaccess.h>
#include <linux/atomic.h>
#include <asm/vgtod.h>
#include <asm/sys_ia32.h>

Go to the source code of this file.

Data Structures

struct  mmap_arg_struct32
 

Macros

#define AA(__x)   ((unsigned long)(__x))
 

Functions

asmlinkage long sys32_truncate64 (const char __user *filename, unsigned long offset_low, unsigned long offset_high)
 
asmlinkage long sys32_ftruncate64 (unsigned int fd, unsigned long offset_low, unsigned long offset_high)
 
asmlinkage long sys32_stat64 (const char __user *filename, struct stat64 __user *statbuf)
 
asmlinkage long sys32_lstat64 (const char __user *filename, struct stat64 __user *statbuf)
 
asmlinkage long sys32_fstat64 (unsigned int fd, struct stat64 __user *statbuf)
 
asmlinkage long sys32_fstatat (unsigned int dfd, const char __user *filename, struct stat64 __user *statbuf, int flag)
 
asmlinkage long sys32_mmap (struct mmap_arg_struct32 __user *arg)
 
asmlinkage long sys32_mprotect (unsigned long start, size_t len, unsigned long prot)
 
asmlinkage long sys32_rt_sigaction (int sig, struct sigaction32 __user *act, struct sigaction32 __user *oact, unsigned int sigsetsize)
 
asmlinkage long sys32_sigaction (int sig, struct old_sigaction32 __user *act, struct old_sigaction32 __user *oact)
 
asmlinkage long sys32_waitpid (compat_pid_t pid, unsigned int __user *stat_addr, int options)
 
asmlinkage long sys32_sched_rr_get_interval (compat_pid_t pid, struct compat_timespec __user *interval)
 
asmlinkage long sys32_rt_sigpending (compat_sigset_t __user *set, compat_size_t sigsetsize)
 
asmlinkage long sys32_rt_sigqueueinfo (int pid, int sig, compat_siginfo_t __user *uinfo)
 
asmlinkage long sys32_pread (unsigned int fd, char __user *ubuf, u32 count, u32 poslo, u32 poshi)
 
asmlinkage long sys32_pwrite (unsigned int fd, const char __user *ubuf, u32 count, u32 poslo, u32 poshi)
 
asmlinkage long sys32_sendfile (int out_fd, int in_fd, compat_off_t __user *offset, s32 count)
 
asmlinkage long sys32_clone (unsigned int clone_flags, unsigned int newsp, struct pt_regs *regs)
 
long sys32_lseek (unsigned int fd, int offset, unsigned int whence)
 
long sys32_kill (int pid, int sig)
 
long sys32_fadvise64_64 (int fd, __u32 offset_low, __u32 offset_high, __u32 len_low, __u32 len_high, int advice)
 
long sys32_vm86_warning (void)
 
long sys32_lookup_dcookie (u32 addr_low, u32 addr_high, char __user *buf, size_t len)
 
asmlinkage ssize_t sys32_readahead (int fd, unsigned off_lo, unsigned off_hi, size_t count)
 
asmlinkage long sys32_sync_file_range (int fd, unsigned off_low, unsigned off_hi, unsigned n_low, unsigned n_hi, int flags)
 
asmlinkage long sys32_fadvise64 (int fd, unsigned offset_lo, unsigned offset_hi, size_t len, int advice)
 
asmlinkage long sys32_fallocate (int fd, int mode, unsigned offset_lo, unsigned offset_hi, unsigned len_lo, unsigned len_hi)
 
asmlinkage long sys32_fanotify_mark (int fanotify_fd, unsigned int flags, u32 mask_lo, u32 mask_hi, int fd, const char __user *pathname)
 

Macro Definition Documentation

#define AA (   __x)    ((unsigned long)(__x))

Definition at line 50 of file sys_ia32.c.

Function Documentation

asmlinkage long sys32_clone ( unsigned int  clone_flags,
unsigned int  newsp,
struct pt_regs regs 
)

Definition at line 388 of file sys_ia32.c.

asmlinkage long sys32_fadvise64 ( int  fd,
unsigned  offset_lo,
unsigned  offset_hi,
size_t  len,
int  advice 
)

Definition at line 456 of file sys_ia32.c.

long sys32_fadvise64_64 ( int  fd,
__u32  offset_low,
__u32  offset_high,
__u32  len_low,
__u32  len_high,
int  advice 
)

Definition at line 413 of file sys_ia32.c.

asmlinkage long sys32_fallocate ( int  fd,
int  mode,
unsigned  offset_lo,
unsigned  offset_hi,
unsigned  len_lo,
unsigned  len_hi 
)

Definition at line 463 of file sys_ia32.c.

asmlinkage long sys32_fanotify_mark ( int  fanotify_fd,
unsigned int  flags,
u32  mask_lo,
u32  mask_hi,
int  fd,
const char __user pathname 
)

Definition at line 471 of file sys_ia32.c.

asmlinkage long sys32_fstat64 ( unsigned int  fd,
struct stat64 __user statbuf 
)

Definition at line 119 of file sys_ia32.c.

asmlinkage long sys32_fstatat ( unsigned int  dfd,
const char __user filename,
struct stat64 __user statbuf,
int  flag 
)

Definition at line 128 of file sys_ia32.c.

asmlinkage long sys32_ftruncate64 ( unsigned int  fd,
unsigned long  offset_low,
unsigned long  offset_high 
)

Definition at line 60 of file sys_ia32.c.

long sys32_kill ( int  pid,
int  sig 
)

Definition at line 408 of file sys_ia32.c.

long sys32_lookup_dcookie ( u32  addr_low,
u32  addr_high,
char __user buf,
size_t  len 
)

Definition at line 436 of file sys_ia32.c.

long sys32_lseek ( unsigned int  fd,
int  offset,
unsigned int  whence 
)

Definition at line 403 of file sys_ia32.c.

asmlinkage long sys32_lstat64 ( const char __user filename,
struct stat64 __user statbuf 
)

Definition at line 109 of file sys_ia32.c.

Definition at line 155 of file sys_ia32.c.

asmlinkage long sys32_mprotect ( unsigned long  start,
size_t  len,
unsigned long  prot 
)

Definition at line 169 of file sys_ia32.c.

asmlinkage long sys32_pread ( unsigned int  fd,
char __user ubuf,
u32  count,
u32  poslo,
u32  poshi 
)

Definition at line 353 of file sys_ia32.c.

asmlinkage long sys32_pwrite ( unsigned int  fd,
const char __user ubuf,
u32  count,
u32  poslo,
u32  poshi 
)

Definition at line 360 of file sys_ia32.c.

asmlinkage ssize_t sys32_readahead ( int  fd,
unsigned  off_lo,
unsigned  off_hi,
size_t  count 
)

Definition at line 442 of file sys_ia32.c.

asmlinkage long sys32_rt_sigaction ( int  sig,
struct sigaction32 __user act,
struct sigaction32 __user oact,
unsigned int  sigsetsize 
)

Definition at line 175 of file sys_ia32.c.

asmlinkage long sys32_rt_sigpending ( compat_sigset_t __user set,
compat_size_t  sigsetsize 
)

Definition at line 313 of file sys_ia32.c.

asmlinkage long sys32_rt_sigqueueinfo ( int  pid,
int  sig,
compat_siginfo_t __user uinfo 
)

Definition at line 337 of file sys_ia32.c.

asmlinkage long sys32_sched_rr_get_interval ( compat_pid_t  pid,
struct compat_timespec __user interval 
)

Definition at line 298 of file sys_ia32.c.

asmlinkage long sys32_sendfile ( int  out_fd,
int  in_fd,
compat_off_t __user offset,
s32  count 
)

Definition at line 368 of file sys_ia32.c.

asmlinkage long sys32_sigaction ( int  sig,
struct old_sigaction32 __user act,
struct old_sigaction32 __user oact 
)

Definition at line 251 of file sys_ia32.c.

asmlinkage long sys32_stat64 ( const char __user filename,
struct stat64 __user statbuf 
)

Definition at line 98 of file sys_ia32.c.

asmlinkage long sys32_sync_file_range ( int  fd,
unsigned  off_low,
unsigned  off_hi,
unsigned  n_low,
unsigned  n_hi,
int  flags 
)

Definition at line 448 of file sys_ia32.c.

asmlinkage long sys32_truncate64 ( const char __user filename,
unsigned long  offset_low,
unsigned long  offset_high 
)

Definition at line 53 of file sys_ia32.c.

long sys32_vm86_warning ( void  )

Definition at line 422 of file sys_ia32.c.

asmlinkage long sys32_waitpid ( compat_pid_t  pid,
unsigned int __user stat_addr,
int  options 
)

Definition at line 290 of file sys_ia32.c.