Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sys_sparc_64.c File Reference
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/mm.h>
#include <linux/sem.h>
#include <linux/msg.h>
#include <linux/shm.h>
#include <linux/stat.h>
#include <linux/mman.h>
#include <linux/utsname.h>
#include <linux/smp.h>
#include <linux/slab.h>
#include <linux/syscalls.h>
#include <linux/ipc.h>
#include <linux/personality.h>
#include <linux/random.h>
#include <linux/export.h>
#include <asm/uaccess.h>
#include <asm/utrap.h>
#include <asm/unistd.h>
#include "entry.h"
#include "systbls.h"

Go to the source code of this file.

Macros

#define VA_EXCLUDE_START   (0x0000080000000000UL - (1UL << 32UL))
 
#define VA_EXCLUDE_END   (0xfffff80000000000UL + (1UL << 32UL))
 

Functions

asmlinkage unsigned long sys_getpagesize (void)
 
unsigned long arch_get_unmapped_area (struct file *filp, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags)
 
unsigned long arch_get_unmapped_area_topdown (struct file *filp, const unsigned long addr0, const unsigned long len, const unsigned long pgoff, const unsigned long flags)
 
unsigned long get_fb_unmapped_area (struct file *filp, unsigned long orig_addr, unsigned long len, unsigned long pgoff, unsigned long flags)
 
 EXPORT_SYMBOL (get_fb_unmapped_area)
 
void arch_pick_mmap_layout (struct mm_struct *mm)
 
 SYSCALL_DEFINE1 (sparc_pipe_real, struct pt_regs *, regs)
 
 SYSCALL_DEFINE6 (sparc_ipc, unsigned int, call, int, first, unsigned long, second, unsigned long, third, void __user *, ptr, long, fifth)
 
 SYSCALL_DEFINE1 (sparc64_personality, unsigned long, personality)
 
int sparc_mmap_check (unsigned long addr, unsigned long len)
 
 SYSCALL_DEFINE6 (mmap, unsigned long, addr, unsigned long, len, unsigned long, prot, unsigned long, flags, unsigned long, fd, unsigned long, off)
 
 SYSCALL_DEFINE2 (64_munmap, unsigned long, addr, size_t, len)
 
unsigned long do_mremap (unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr)
 
 SYSCALL_DEFINE5 (64_mremap, unsigned long, addr, unsigned long, old_len, unsigned long, new_len, unsigned long, flags, unsigned long, new_addr)
 
asmlinkage unsigned long c_sys_nis_syscall (struct pt_regs *regs)
 
asmlinkage void sparc_breakpoint (struct pt_regs *regs)
 
void check_pending (int signum)
 
 SYSCALL_DEFINE2 (getdomainname, char __user *, name, int, len)
 
 SYSCALL_DEFINE5 (utrap_install, utrap_entry_t, type, utrap_handler_t, new_p, utrap_handler_t, new_d, utrap_handler_t __user *, old_p, utrap_handler_t __user *, old_d)
 
asmlinkage long sparc_memory_ordering (unsigned long model, struct pt_regs *regs)
 
 SYSCALL_DEFINE5 (rt_sigaction, int, sig, const struct sigaction __user *, act, struct sigaction __user *, oact, void __user *, restorer, size_t, sigsetsize)
 
int kernel_execve (const char *filename, const char *const argv[], const char *const envp[])
 
asmlinkage long sys_kern_features (void)
 

Macro Definition Documentation

#define VA_EXCLUDE_END   (0xfffff80000000000UL + (1UL << 32UL))

Definition at line 43 of file sys_sparc_64.c.

#define VA_EXCLUDE_START   (0x0000080000000000UL - (1UL << 32UL))

Definition at line 42 of file sys_sparc_64.c.

Function Documentation

unsigned long arch_get_unmapped_area ( struct file filp,
unsigned long  addr,
unsigned long  len,
unsigned long  pgoff,
unsigned long  flags 
)

Definition at line 98 of file sys_sparc_64.c.

unsigned long arch_get_unmapped_area_topdown ( struct file filp,
const unsigned long  addr0,
const unsigned long  len,
const unsigned long  pgoff,
const unsigned long  flags 
)

Definition at line 184 of file sys_sparc_64.c.

void arch_pick_mmap_layout ( struct mm_struct mm)

Definition at line 361 of file sys_sparc_64.c.

asmlinkage unsigned long c_sys_nis_syscall ( struct pt_regs regs)

Definition at line 572 of file sys_sparc_64.c.

void check_pending ( int  signum)
unsigned long do_mremap ( unsigned long  addr,
unsigned long  old_len,
unsigned long  new_len,
unsigned long  flags,
unsigned long  new_addr 
)

Definition at line 1753 of file nommu.c.

EXPORT_SYMBOL ( get_fb_unmapped_area  )
unsigned long get_fb_unmapped_area ( struct file filp,
unsigned long  orig_addr,
unsigned long  len,
unsigned long  pgoff,
unsigned long  flags 
)

Definition at line 299 of file sys_sparc_64.c.

int kernel_execve ( const char filename,
const char *const  argv[],
const char *const  envp[] 
)

Definition at line 737 of file sys_sparc_64.c.

asmlinkage void sparc_breakpoint ( struct pt_regs regs)

Definition at line 590 of file sys_sparc_64.c.

asmlinkage long sparc_memory_ordering ( unsigned long  model,
struct pt_regs regs 
)

Definition at line 697 of file sys_sparc_64.c.

int sparc_mmap_check ( unsigned long  addr,
unsigned long  len 
)

Definition at line 515 of file sys_sparc_64.c.

asmlinkage unsigned long sys_getpagesize ( void  )

Definition at line 37 of file sys_sparc_64.c.

asmlinkage long sys_kern_features ( void  )

Definition at line 755 of file sys_sparc_64.c.

SYSCALL_DEFINE1 ( sparc_pipe_real  ,
struct pt_regs ,
regs   
)

Definition at line 397 of file sys_sparc_64.c.

SYSCALL_DEFINE1 ( sparc64_personality  ,
unsigned  long,
personality   
)

Definition at line 501 of file sys_sparc_64.c.

SYSCALL_DEFINE2 ( 64_munmap  ,
unsigned  long,
addr  ,
size_t  ,
len   
)

Definition at line 550 of file sys_sparc_64.c.

SYSCALL_DEFINE2 ( getdomainname  ,
char __user ,
name  ,
int  ,
len   
)

Definition at line 614 of file sys_sparc_64.c.

SYSCALL_DEFINE5 ( 64_mremap  ,
unsigned  long,
addr  ,
unsigned  long,
old_len  ,
unsigned  long,
new_len  ,
unsigned  long,
flags  ,
unsigned  long,
new_addr   
)

Definition at line 562 of file sys_sparc_64.c.

SYSCALL_DEFINE5 ( utrap_install  ,
utrap_entry_t  ,
type  ,
utrap_handler_t  ,
new_p  ,
utrap_handler_t  ,
new_d  ,
utrap_handler_t __user ,
old_p  ,
utrap_handler_t __user ,
old_d   
)

Definition at line 637 of file sys_sparc_64.c.

SYSCALL_DEFINE5 ( rt_sigaction  ,
int  ,
sig  ,
const struct sigaction __user ,
act  ,
struct sigaction __user ,
oact  ,
void __user ,
restorer  ,
size_t  ,
sigsetsize   
)

Definition at line 706 of file sys_sparc_64.c.

SYSCALL_DEFINE6 ( sparc_ipc  ,
unsigned  int,
call  ,
int  ,
first  ,
unsigned  long,
second  ,
unsigned  long,
third  ,
void __user ,
ptr  ,
long  ,
fifth   
)

Definition at line 417 of file sys_sparc_64.c.

SYSCALL_DEFINE6 ( mmap  ,
unsigned  long,
addr  ,
unsigned  long,
len  ,
unsigned  long,
prot  ,
unsigned  long,
flags  ,
unsigned  long,
fd  ,
unsigned  long,
off   
)

Definition at line 535 of file sys_sparc_64.c.