Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
sys_oabi-compat.c File Reference
#include <linux/syscalls.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/fcntl.h>
#include <linux/eventpoll.h>
#include <linux/sem.h>
#include <linux/socket.h>
#include <linux/net.h>
#include <linux/ipc.h>
#include <linux/uaccess.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  oldabi_stat64
 
struct  oabi_flock64
 
struct  oabi_epoll_event
 
struct  oabi_sembuf
 

Functions

struct oldabi_stat64 __attribute__ ((packed, aligned(4)))
 
asmlinkage long sys_oabi_stat64 (const char __user *filename, struct oldabi_stat64 __user *statbuf)
 
asmlinkage long sys_oabi_lstat64 (const char __user *filename, struct oldabi_stat64 __user *statbuf)
 
asmlinkage long sys_oabi_fstat64 (unsigned long fd, struct oldabi_stat64 __user *statbuf)
 
asmlinkage long sys_oabi_fstatat64 (int dfd, const char __user *filename, struct oldabi_stat64 __user *statbuf, int flag)
 
asmlinkage long sys_oabi_fcntl64 (unsigned int fd, unsigned int cmd, unsigned long arg)
 
asmlinkage long sys_oabi_epoll_ctl (int epfd, int op, int fd, struct oabi_epoll_event __user *event)
 
asmlinkage long sys_oabi_epoll_wait (int epfd, struct oabi_epoll_event __user *events, int maxevents, int timeout)
 
asmlinkage long sys_oabi_semtimedop (int semid, struct oabi_sembuf __user *tsops, unsigned nsops, const struct timespec __user *timeout)
 
asmlinkage long sys_oabi_semop (int semid, struct oabi_sembuf __user *tsops, unsigned nsops)
 
asmlinkage int sys_oabi_ipc (uint call, int first, int second, int third, void __user *ptr, long fifth)
 
asmlinkage long sys_oabi_bind (int fd, struct sockaddr __user *addr, int addrlen)
 
asmlinkage long sys_oabi_connect (int fd, struct sockaddr __user *addr, int addrlen)
 
asmlinkage long sys_oabi_sendto (int fd, void __user *buff, size_t len, unsigned flags, struct sockaddr __user *addr, int addrlen)
 
asmlinkage long sys_oabi_sendmsg (int fd, struct msghdr __user *msg, unsigned flags)
 
asmlinkage long sys_oabi_socketcall (int call, unsigned long __user *args)
 

Variables

unsigned long long st_dev
 
unsigned int __pad1
 
unsigned long __st_ino
 
unsigned int st_mode
 
unsigned int st_nlink
 
unsigned long st_uid
 
unsigned long st_gid
 
unsigned long long st_rdev
 
unsigned int __pad2
 
long long st_size
 
unsigned long st_blksize
 
unsigned long long st_blocks
 
unsigned long st_atime
 
unsigned long st_atime_nsec
 
unsigned long st_mtime
 
unsigned long st_mtime_nsec
 
unsigned long st_ctime
 
unsigned long st_ctime_nsec
 
unsigned long long st_ino
 
short l_type
 
short l_whence
 
loff_t l_start
 
loff_t l_len
 
pid_t l_pid
 
__u32 events
 
__u64 data
 
struct oabi_sembuf __attribute__
 

Function Documentation

struct oldabi_stat64 __attribute__ ( (packed, aligned(4))  )
read

Scatter-gather list for preada/pwritea calls.

< Client physical address of the buffer segment.

< Page table entry describing the caching and location override characteristics of the buffer segment. Some drivers ignore this element and will require that the NOCACHE flag be set on their requests.

< Length of the buffer segment.

Definition at line 1740 of file hypervisor.h.

asmlinkage long sys_oabi_bind ( int  fd,
struct sockaddr __user addr,
int  addrlen 
)

Definition at line 367 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_connect ( int  fd,
struct sockaddr __user addr,
int  addrlen 
)

Definition at line 377 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_epoll_ctl ( int  epfd,
int  op,
int  fd,
struct oabi_epoll_event __user event 
)

Definition at line 249 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_epoll_wait ( int  epfd,
struct oabi_epoll_event __user events,
int  maxevents,
int  timeout 
)

Definition at line 270 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_fcntl64 ( unsigned int  fd,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 196 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_fstat64 ( unsigned long  fd,
struct oldabi_stat64 __user statbuf 
)

Definition at line 164 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_fstatat64 ( int  dfd,
const char __user filename,
struct oldabi_stat64 __user statbuf,
int  flag 
)

Definition at line 174 of file sys_oabi-compat.c.

asmlinkage int sys_oabi_ipc ( uint  call,
int  first,
int  second,
int  third,
void __user ptr,
long  fifth 
)

Definition at line 349 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_lstat64 ( const char __user filename,
struct oldabi_stat64 __user statbuf 
)

Definition at line 154 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_semop ( int  semid,
struct oabi_sembuf __user tsops,
unsigned  nsops 
)

Definition at line 343 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_semtimedop ( int  semid,
struct oabi_sembuf __user tsops,
unsigned  nsops,
const struct timespec __user timeout 
)

Definition at line 304 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_sendmsg ( int  fd,
struct msghdr __user msg,
unsigned  flags 
)

Definition at line 400 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_sendto ( int  fd,
void __user buff,
size_t  len,
unsigned  flags,
struct sockaddr __user addr,
int  addrlen 
)

Definition at line 387 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_socketcall ( int  call,
unsigned long __user args 
)

Definition at line 426 of file sys_oabi-compat.c.

asmlinkage long sys_oabi_stat64 ( const char __user filename,
struct oldabi_stat64 __user statbuf 
)

Definition at line 144 of file sys_oabi-compat.c.

Variable Documentation

u16 __pad1

Definition at line 117 of file sys_oabi-compat.c.

unsigned int __pad2

Definition at line 126 of file sys_oabi-compat.c.

unsigned long __st_ino

Definition at line 118 of file sys_oabi-compat.c.

riva_get_cmap_len - query current color map length

DESCRIPTION: Get current color map length.

RETURNS: Length of color map

CALLED FROM: rivafb_setcolreg()

rivafb_pan_display

: TODO : pointer to fb_info object containing info for current riva board

DESCRIPTION: Pan (or wrap, depending on the `vmode' field) the display using the `xoffset' and `yoffset' fields of the `var' structure. If the values don't fit, return -EINVAL.

This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag

Definition at line 249 of file sys_oabi-compat.c.

Definition at line 248 of file sys_oabi-compat.c.

loff_t l_len

Definition at line 198 of file sys_oabi-compat.c.

pid_t l_pid

Definition at line 199 of file sys_oabi-compat.c.

loff_t l_start

Definition at line 197 of file sys_oabi-compat.c.

short l_type

Definition at line 195 of file sys_oabi-compat.c.

short l_whence

Definition at line 196 of file sys_oabi-compat.c.

unsigned long st_atime

Definition at line 132 of file sys_oabi-compat.c.

unsigned long st_atime_nsec

Definition at line 133 of file sys_oabi-compat.c.

unsigned long st_blksize

Definition at line 129 of file sys_oabi-compat.c.

unsigned long long st_blocks

Definition at line 130 of file sys_oabi-compat.c.

unsigned long st_ctime

Definition at line 138 of file sys_oabi-compat.c.

unsigned long st_ctime_nsec

Definition at line 139 of file sys_oabi-compat.c.

unsigned long long st_dev

Definition at line 116 of file sys_oabi-compat.c.

unsigned long st_gid

Definition at line 123 of file sys_oabi-compat.c.

unsigned long long st_ino

Definition at line 141 of file sys_oabi-compat.c.

unsigned int st_mode

Definition at line 119 of file sys_oabi-compat.c.

unsigned long st_mtime

Definition at line 135 of file sys_oabi-compat.c.

unsigned long st_mtime_nsec

Definition at line 136 of file sys_oabi-compat.c.

unsigned int st_nlink

Definition at line 120 of file sys_oabi-compat.c.

unsigned long long st_rdev

Definition at line 125 of file sys_oabi-compat.c.

long long st_size

Definition at line 128 of file sys_oabi-compat.c.

unsigned long st_uid

Definition at line 122 of file sys_oabi-compat.c.