Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
xfs_ioctl32.c File Reference
#include <linux/compat.h>
#include <linux/ioctl.h>
#include <linux/mount.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_log.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_mount.h"
#include "xfs_bmap_btree.h"
#include "xfs_vnode.h"
#include "xfs_dinode.h"
#include "xfs_inode.h"
#include "xfs_itable.h"
#include "xfs_error.h"
#include "xfs_dfrag.h"
#include "xfs_vnodeops.h"
#include "xfs_fsops.h"
#include "xfs_alloc.h"
#include "xfs_rtalloc.h"
#include "xfs_attr.h"
#include "xfs_ioctl.h"
#include "xfs_ioctl32.h"
#include "xfs_trace.h"

Go to the source code of this file.

Macros

#define _NATIVE_IOC(cmd, type)   _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(type))
 
#define xfs_inumbers_fmt_compat   xfs_inumbers_fmt
 

Functions

STATIC int xfs_ioctl32_bstime_copyin (xfs_bstime_t *bstime, compat_xfs_bstime_t __user *bstime32)
 
STATIC int xfs_ioctl32_bstat_copyin (xfs_bstat_t *bstat, compat_xfs_bstat_t __user *bstat32)
 
STATIC int xfs_bstime_store_compat (compat_xfs_bstime_t __user *p32, const xfs_bstime_t *p)
 
STATIC int xfs_bulkstat_one_fmt_compat (void __user *ubuffer, int ubsize, int *ubused, const xfs_bstat_t *buffer)
 
STATIC int xfs_bulkstat_one_compat (xfs_mount_t *mp, xfs_ino_t ino, void __user *buffer, int ubsize, int *ubused, int *stat)
 
STATIC int xfs_compat_ioc_bulkstat (xfs_mount_t *mp, unsigned int cmd, compat_xfs_fsop_bulkreq_t __user *p32)
 
STATIC int xfs_compat_handlereq_copyin (xfs_fsop_handlereq_t *hreq, compat_xfs_fsop_handlereq_t __user *arg32)
 
STATIC struct dentryxfs_compat_handlereq_to_dentry (struct file *parfilp, compat_xfs_fsop_handlereq_t *hreq)
 
STATIC int xfs_compat_attrlist_by_handle (struct file *parfilp, void __user *arg)
 
STATIC int xfs_compat_attrmulti_by_handle (struct file *parfilp, void __user *arg)
 
STATIC int xfs_compat_fssetdm_by_handle (struct file *parfilp, void __user *arg)
 
long xfs_file_compat_ioctl (struct file *filp, unsigned cmd, unsigned long p)
 

Macro Definition Documentation

#define _NATIVE_IOC (   cmd,
  type 
)    _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(type))

Definition at line 46 of file xfs_ioctl32.c.

#define xfs_inumbers_fmt_compat   xfs_inumbers_fmt

Definition at line 126 of file xfs_ioctl32.c.

Function Documentation

STATIC int xfs_bstime_store_compat ( compat_xfs_bstime_t __user p32,
const xfs_bstime_t p 
)

Definition at line 177 of file xfs_ioctl32.c.

STATIC int xfs_bulkstat_one_compat ( xfs_mount_t *  mp,
xfs_ino_t  ino,
void __user buffer,
int  ubsize,
int ubused,
int stat 
)

Definition at line 231 of file xfs_ioctl32.c.

STATIC int xfs_bulkstat_one_fmt_compat ( void __user ubuffer,
int  ubsize,
int ubused,
const xfs_bstat_t buffer 
)

Definition at line 192 of file xfs_ioctl32.c.

STATIC int xfs_compat_attrlist_by_handle ( struct file parfilp,
void __user arg 
)

Definition at line 347 of file xfs_ioctl32.c.

STATIC int xfs_compat_attrmulti_by_handle ( struct file parfilp,
void __user arg 
)

Definition at line 397 of file xfs_ioctl32.c.

STATIC int xfs_compat_fssetdm_by_handle ( struct file parfilp,
void __user arg 
)

Definition at line 490 of file xfs_ioctl32.c.

STATIC int xfs_compat_handlereq_copyin ( xfs_fsop_handlereq_t hreq,
compat_xfs_fsop_handlereq_t __user arg32 
)

Definition at line 317 of file xfs_ioctl32.c.

STATIC struct dentry* xfs_compat_handlereq_to_dentry ( struct file parfilp,
compat_xfs_fsop_handlereq_t hreq 
)
read

Definition at line 338 of file xfs_ioctl32.c.

STATIC int xfs_compat_ioc_bulkstat ( xfs_mount_t *  mp,
unsigned int  cmd,
compat_xfs_fsop_bulkreq_t __user p32 
)

Definition at line 246 of file xfs_ioctl32.c.

long xfs_file_compat_ioctl ( struct file filp,
unsigned  cmd,
unsigned long  p 
)

Definition at line 528 of file xfs_ioctl32.c.

STATIC int xfs_ioctl32_bstat_copyin ( xfs_bstat_t bstat,
compat_xfs_bstat_t __user bstat32 
)

Definition at line 145 of file xfs_ioctl32.c.

STATIC int xfs_ioctl32_bstime_copyin ( xfs_bstime_t bstime,
compat_xfs_bstime_t __user bstime32 
)

Definition at line 130 of file xfs_ioctl32.c.