Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
sys_ppc32.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/file.h>
#include <linux/signal.h>
#include <linux/resource.h>
#include <linux/times.h>
#include <linux/smp.h>
#include <linux/sem.h>
#include <linux/msg.h>
#include <linux/shm.h>
#include <linux/poll.h>
#include <linux/personality.h>
#include <linux/stat.h>
#include <linux/mman.h>
#include <linux/in.h>
#include <linux/syscalls.h>
#include <linux/unistd.h>
#include <linux/sysctl.h>
#include <linux/binfmts.h>
#include <linux/security.h>
#include <linux/compat.h>
#include <linux/ptrace.h>
#include <linux/elf.h>
#include <linux/ipc.h>
#include <linux/slab.h>
#include <asm/ptrace.h>
#include <asm/types.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
#include <asm/time.h>
#include <asm/mmu_context.h>
#include <asm/ppc-pci.h>
#include <asm/syscalls.h>
#include <asm/switch_to.h>

Go to the source code of this file.

Functions

asmlinkage long ppc32_select (u32 n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, compat_uptr_t tvp_x)
 
asmlinkage long compat_sys_sysfs (u32 option, u32 arg1, u32 arg2)
 
asmlinkage long compat_sys_sendfile_wrapper (u32 out_fd, u32 in_fd, compat_off_t __user *offset, u32 count)
 
asmlinkage long compat_sys_sendfile64_wrapper (u32 out_fd, u32 in_fd, compat_loff_t __user *offset, u32 count)
 
asmlinkage long compat_sys_prctl (u32 option, u32 arg2, u32 arg3, u32 arg4, u32 arg5)
 
asmlinkage long compat_sys_sched_rr_get_interval (u32 pid, struct compat_timespec __user *interval)
 
asmlinkage long compat_sys_access (const char __user *filename, u32 mode)
 
asmlinkage long compat_sys_creat (const char __user *pathname, u32 mode)
 
asmlinkage long compat_sys_waitpid (u32 pid, unsigned int __user *stat_addr, u32 options)
 
asmlinkage long compat_sys_getgroups (u32 gidsetsize, gid_t __user *grouplist)
 
asmlinkage long compat_sys_getpgid (u32 pid)
 
asmlinkage long compat_sys_getsid (u32 pid)
 
asmlinkage long compat_sys_kill (u32 pid, u32 sig)
 
asmlinkage long compat_sys_mkdir (const char __user *pathname, u32 mode)
 
long compat_sys_nice (u32 increment)
 
off_t ppc32_lseek (unsigned int fd, u32 offset, unsigned int origin)
 
long compat_sys_truncate (const char __user *path, u32 length)
 
long compat_sys_ftruncate (int fd, u32 length)
 
asmlinkage long compat_sys_readlink (const char __user *path, char __user *buf, u32 bufsiz)
 
asmlinkage long compat_sys_sched_get_priority_max (u32 policy)
 
asmlinkage long compat_sys_sched_get_priority_min (u32 policy)
 
asmlinkage long compat_sys_sched_getparam (u32 pid, struct sched_param __user *param)
 
asmlinkage long compat_sys_sched_getscheduler (u32 pid)
 
asmlinkage long compat_sys_sched_setparam (u32 pid, struct sched_param __user *param)
 
asmlinkage long compat_sys_sched_setscheduler (u32 pid, u32 policy, struct sched_param __user *param)
 
asmlinkage long compat_sys_setdomainname (char __user *name, u32 len)
 
asmlinkage long compat_sys_setgroups (u32 gidsetsize, gid_t __user *grouplist)
 
asmlinkage long compat_sys_sethostname (char __user *name, u32 len)
 
asmlinkage long compat_sys_setpgid (u32 pid, u32 pgid)
 
long compat_sys_getpriority (u32 which, u32 who)
 
long compat_sys_setpriority (u32 which, u32 who, u32 niceval)
 
long compat_sys_ioprio_get (u32 which, u32 who)
 
long compat_sys_ioprio_set (u32 which, u32 who, u32 ioprio)
 
asmlinkage long compat_sys_ssetmask (u32 newmask)
 
asmlinkage long compat_sys_syslog (u32 type, char __user *buf, u32 len)
 
asmlinkage long compat_sys_umask (u32 mask)
 
unsigned long compat_sys_mmap2 (unsigned long addr, size_t len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff)
 
long compat_sys_tgkill (u32 tgid, u32 pid, int sig)
 
compat_ssize_t compat_sys_pread64 (unsigned int fd, char __user *ubuf, compat_size_t count, u32 reg6, u32 poshi, u32 poslo)
 
compat_ssize_t compat_sys_pwrite64 (unsigned int fd, const char __user *ubuf, compat_size_t count, u32 reg6, u32 poshi, u32 poslo)
 
compat_ssize_t compat_sys_readahead (int fd, u32 r4, u32 offhi, u32 offlo, u32 count)
 
asmlinkage int compat_sys_truncate64 (const char __user *path, u32 reg4, unsigned long high, unsigned long low)
 
asmlinkage long compat_sys_fallocate (int fd, int mode, u32 offhi, u32 offlo, u32 lenhi, u32 lenlo)
 
asmlinkage int compat_sys_ftruncate64 (unsigned int fd, u32 reg4, unsigned long high, unsigned long low)
 
long ppc32_lookup_dcookie (u32 cookie_high, u32 cookie_low, char __user *buf, size_t len)
 
long ppc32_fadvise64 (int fd, u32 unused, u32 offset_high, u32 offset_low, size_t len, int advice)
 
asmlinkage long compat_sys_add_key (const char __user *_type, const char __user *_description, const void __user *_payload, u32 plen, u32 ringid)
 
asmlinkage long compat_sys_request_key (const char __user *_type, const char __user *_description, const char __user *_callout_info, u32 destringid)
 
asmlinkage long compat_sys_sync_file_range2 (int fd, unsigned int flags, unsigned offset_hi, unsigned offset_lo, unsigned nbytes_hi, unsigned nbytes_lo)
 
asmlinkage long compat_sys_fanotify_mark (int fanotify_fd, unsigned int flags, unsigned mask_hi, unsigned mask_lo, int dfd, const char __user *pathname)
 

Function Documentation

asmlinkage long compat_sys_access ( const char __user filename,
u32  mode 
)

Definition at line 198 of file sys_ppc32.c.

asmlinkage long compat_sys_add_key ( const char __user _type,
const char __user _description,
const void __user _payload,
u32  plen,
u32  ringid 
)

Definition at line 540 of file sys_ppc32.c.

asmlinkage long compat_sys_creat ( const char __user pathname,
u32  mode 
)

Definition at line 209 of file sys_ppc32.c.

asmlinkage long compat_sys_fallocate ( int  fd,
int  mode,
u32  offhi,
u32  offlo,
u32  lenhi,
u32  lenlo 
)

Definition at line 513 of file sys_ppc32.c.

asmlinkage long compat_sys_fanotify_mark ( int  fanotify_fd,
unsigned int  flags,
unsigned  mask_hi,
unsigned  mask_lo,
int  dfd,
const char __user pathname 
)

Definition at line 567 of file sys_ppc32.c.

long compat_sys_ftruncate ( int  fd,
u32  length 
)

Definition at line 299 of file sys_ppc32.c.

asmlinkage int compat_sys_ftruncate64 ( unsigned int  fd,
u32  reg4,
unsigned long  high,
unsigned long  low 
)

Definition at line 520 of file sys_ppc32.c.

asmlinkage long compat_sys_getgroups ( u32  gidsetsize,
gid_t __user grouplist 
)

Definition at line 231 of file sys_ppc32.c.

asmlinkage long compat_sys_getpgid ( u32  pid)

Definition at line 242 of file sys_ppc32.c.

long compat_sys_getpriority ( u32  which,
u32  who 
)

Definition at line 420 of file sys_ppc32.c.

asmlinkage long compat_sys_getsid ( u32  pid)

Definition at line 254 of file sys_ppc32.c.

long compat_sys_ioprio_get ( u32  which,
u32  who 
)

Definition at line 432 of file sys_ppc32.c.

long compat_sys_ioprio_set ( u32  which,
u32  who,
u32  ioprio 
)

Definition at line 438 of file sys_ppc32.c.

asmlinkage long compat_sys_kill ( u32  pid,
u32  sig 
)

Definition at line 265 of file sys_ppc32.c.

asmlinkage long compat_sys_mkdir ( const char __user pathname,
u32  mode 
)

Definition at line 276 of file sys_ppc32.c.

unsigned long compat_sys_mmap2 ( unsigned long  addr,
size_t  len,
unsigned long  prot,
unsigned long  flags,
unsigned long  fd,
unsigned long  pgoff 
)

Definition at line 471 of file sys_ppc32.c.

long compat_sys_nice ( u32  increment)

Definition at line 281 of file sys_ppc32.c.

asmlinkage long compat_sys_prctl ( u32  option,
u32  arg2,
u32  arg3,
u32  arg4,
u32  arg5 
)

Definition at line 164 of file sys_ppc32.c.

compat_ssize_t compat_sys_pread64 ( unsigned int  fd,
char __user ubuf,
compat_size_t  count,
u32  reg6,
u32  poshi,
u32  poslo 
)

Definition at line 490 of file sys_ppc32.c.

compat_ssize_t compat_sys_pwrite64 ( unsigned int  fd,
const char __user ubuf,
compat_size_t  count,
u32  reg6,
u32  poshi,
u32  poslo 
)

Definition at line 496 of file sys_ppc32.c.

compat_ssize_t compat_sys_readahead ( int  fd,
u32  r4,
u32  offhi,
u32  offlo,
u32  count 
)

Definition at line 502 of file sys_ppc32.c.

asmlinkage long compat_sys_readlink ( const char __user path,
char __user buf,
u32  bufsiz 
)

Definition at line 310 of file sys_ppc32.c.

asmlinkage long compat_sys_request_key ( const char __user _type,
const char __user _description,
const char __user _callout_info,
u32  destringid 
)

Definition at line 549 of file sys_ppc32.c.

asmlinkage long compat_sys_sched_get_priority_max ( u32  policy)

Definition at line 320 of file sys_ppc32.c.

asmlinkage long compat_sys_sched_get_priority_min ( u32  policy)

Definition at line 331 of file sys_ppc32.c.

asmlinkage long compat_sys_sched_getparam ( u32  pid,
struct sched_param __user param 
)

Definition at line 342 of file sys_ppc32.c.

asmlinkage long compat_sys_sched_getscheduler ( u32  pid)

Definition at line 353 of file sys_ppc32.c.

asmlinkage long compat_sys_sched_rr_get_interval ( u32  pid,
struct compat_timespec __user interval 
)

Definition at line 178 of file sys_ppc32.c.

asmlinkage long compat_sys_sched_setparam ( u32  pid,
struct sched_param __user param 
)

Definition at line 364 of file sys_ppc32.c.

asmlinkage long compat_sys_sched_setscheduler ( u32  pid,
u32  policy,
struct sched_param __user param 
)

Definition at line 375 of file sys_ppc32.c.

asmlinkage long compat_sys_sendfile64_wrapper ( u32  out_fd,
u32  in_fd,
compat_loff_t __user offset,
u32  count 
)

Definition at line 152 of file sys_ppc32.c.

asmlinkage long compat_sys_sendfile_wrapper ( u32  out_fd,
u32  in_fd,
compat_off_t __user offset,
u32  count 
)

Definition at line 146 of file sys_ppc32.c.

asmlinkage long compat_sys_setdomainname ( char __user name,
u32  len 
)

Definition at line 386 of file sys_ppc32.c.

asmlinkage long compat_sys_setgroups ( u32  gidsetsize,
gid_t __user grouplist 
)

Definition at line 397 of file sys_ppc32.c.

asmlinkage long compat_sys_sethostname ( char __user name,
u32  len 
)

Definition at line 403 of file sys_ppc32.c.

asmlinkage long compat_sys_setpgid ( u32  pid,
u32  pgid 
)

Definition at line 415 of file sys_ppc32.c.

long compat_sys_setpriority ( u32  which,
u32  who,
u32  niceval 
)

Definition at line 426 of file sys_ppc32.c.

asmlinkage long compat_sys_ssetmask ( u32  newmask)

Definition at line 449 of file sys_ppc32.c.

asmlinkage long compat_sys_sync_file_range2 ( int  fd,
unsigned int  flags,
unsigned  offset_hi,
unsigned  offset_lo,
unsigned  nbytes_hi,
unsigned  nbytes_lo 
)

Definition at line 557 of file sys_ppc32.c.

asmlinkage long compat_sys_sysfs ( u32  option,
u32  arg1,
u32  arg2 
)

Definition at line 69 of file sys_ppc32.c.

asmlinkage long compat_sys_syslog ( u32  type,
char __user buf,
u32  len 
)

Definition at line 454 of file sys_ppc32.c.

long compat_sys_tgkill ( u32  tgid,
u32  pid,
int  sig 
)

Definition at line 479 of file sys_ppc32.c.

long compat_sys_truncate ( const char __user path,
u32  length 
)

Definition at line 293 of file sys_ppc32.c.

asmlinkage int compat_sys_truncate64 ( const char __user path,
u32  reg4,
unsigned long  high,
unsigned long  low 
)

Definition at line 507 of file sys_ppc32.c.

asmlinkage long compat_sys_umask ( u32  mask)

Definition at line 466 of file sys_ppc32.c.

asmlinkage long compat_sys_waitpid ( u32  pid,
unsigned int __user stat_addr,
u32  options 
)

Definition at line 220 of file sys_ppc32.c.

long ppc32_fadvise64 ( int  fd,
u32  unused,
u32  offset_high,
u32  offset_low,
size_t  len,
int  advice 
)

Definition at line 533 of file sys_ppc32.c.

long ppc32_lookup_dcookie ( u32  cookie_high,
u32  cookie_low,
char __user buf,
size_t  len 
)

Definition at line 526 of file sys_ppc32.c.

off_t ppc32_lseek ( unsigned int  fd,
u32  offset,
unsigned int  origin 
)

Definition at line 287 of file sys_ppc32.c.

asmlinkage long ppc32_select ( u32  n,
compat_ulong_t __user inp,
compat_ulong_t __user outp,
compat_ulong_t __user exp,
compat_uptr_t  tvp_x 
)

Definition at line 56 of file sys_ppc32.c.