#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/time.h>
#include <linux/fs.h>
#include <linux/stat.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/namei.h>
#include <linux/module.h>
#include <linux/uaccess.h>
#include <linux/coda.h>
#include "coda_psdev.h"
#include "coda_linux.h"
static int coda_ioctl_permission(struct mnt_idmap *idmap,
struct inode *inode, int mask);
static long coda_pioctl(struct file *filp, unsigned int cmd,
unsigned long user_data);
const struct inode_operations coda_ioctl_inode_operations = …;
const struct file_operations coda_ioctl_operations = …;
static int coda_ioctl_permission(struct mnt_idmap *idmap,
struct inode *inode, int mask)
{ … }
static long coda_pioctl(struct file *filp, unsigned int cmd,
unsigned long user_data)
{ … }