Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sys.c File Reference
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/syscalls.h>
#include <linux/mman.h>
#include <linux/file.h>
#include <linux/mempolicy.h>
#include <linux/binfmts.h>
#include <linux/fs.h>
#include <linux/compat.h>
#include <linux/uaccess.h>
#include <linux/signal.h>
#include <asm/syscalls.h>
#include <asm/pgtable.h>
#include <asm/homecache.h>
#include <asm/cachectl.h>
#include <arch/chip.h>
#include <asm/unistd.h>

Go to the source code of this file.

Macros

#define PAGE_ADJUST   (PAGE_SHIFT - 12)
 
#define __SYSCALL(nr, call)   [nr] = (call),
 
#define sys_fadvise64_64   sys32_fadvise64_64
 
#define sys_readahead   sys32_readahead
 
#define sys_execve   _sys_execve
 
#define sys_sigaltstack   _sys_sigaltstack
 
#define sys_rt_sigreturn   _sys_rt_sigreturn
 
#define sys_clone   _sys_clone
 
#define sys_cmpxchg_badaddr   _sys_cmpxchg_badaddr
 

Functions

 SYSCALL_DEFINE3 (cacheflush, unsigned long, addr, unsigned long, len, unsigned long, flags)
 
ssize_t sys32_readahead (int fd, u32 offset_lo, u32 offset_hi, u32 count)
 
int sys32_fadvise64_64 (int fd, u32 offset_lo, u32 offset_hi, u32 len_lo, u32 len_hi, int advice)
 
 SYSCALL_DEFINE6 (mmap2, unsigned long, addr, unsigned long, len, unsigned long, prot, unsigned long, flags, unsigned long, fd, unsigned long, off_4k)
 

Variables

voidsys_call_table [__NR_syscalls]
 

Macro Definition Documentation

#define __SYSCALL (   nr,
  call 
)    [nr] = (call),

Definition at line 101 of file sys.c.

#define PAGE_ADJUST   (PAGE_SHIFT - 12)
#define sys_clone   _sys_clone

Definition at line 113 of file sys.c.

#define sys_cmpxchg_badaddr   _sys_cmpxchg_badaddr

Definition at line 115 of file sys.c.

#define sys_execve   _sys_execve

Definition at line 110 of file sys.c.

#define sys_fadvise64_64   sys32_fadvise64_64

Definition at line 105 of file sys.c.

#define sys_readahead   sys32_readahead

Definition at line 106 of file sys.c.

#define sys_rt_sigreturn   _sys_rt_sigreturn

Definition at line 112 of file sys.c.

#define sys_sigaltstack   _sys_sigaltstack

Definition at line 111 of file sys.c.

Function Documentation

int sys32_fadvise64_64 ( int  fd,
u32  offset_lo,
u32  offset_hi,
u32  len_lo,
u32  len_hi,
int  advice 
)

Definition at line 65 of file sys.c.

ssize_t sys32_readahead ( int  fd,
u32  offset_lo,
u32  offset_hi,
u32  count 
)

Definition at line 60 of file sys.c.

SYSCALL_DEFINE3 ( cacheflush  ,
unsigned  long,
addr  ,
unsigned  long,
len  ,
unsigned  long,
flags   
)

Definition at line 38 of file sys.c.

SYSCALL_DEFINE6 ( mmap2  ,
unsigned  long,
addr  ,
unsigned  long,
len  ,
unsigned  long,
prot  ,
unsigned  long,
flags  ,
unsigned  long,
fd  ,
unsigned  long,
off_4k   
)

Definition at line 75 of file sys.c.

Variable Documentation

void* sys_call_table[__NR_syscalls]
Initial value:
= {
}

Definition at line 122 of file sys.c.