fs_file.c File Reference

Defines functions for kernel part of filesystem to manipulate with files. More...

#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/statfs.h>
#include <linux/mm.h>
#include <asm/uaccess.h>
#include <asm/errno.h>
#include <linux/buffer_head.h>
#include <linux/pagemap.h>
#include <linux/proc_fs.h>
#include <asm/atomic.h>
#include <linux/string.h>
#include "fsc_device.h"
#include "rkfs.h"
#include "parser.h"

Go to the source code of this file.

Classes

struct  write_buffer

Functions

ssize_t rkfs_file_read (struct file *filp, char __user *buf, size_t count, loff_t *ppos)
 Function for read from file.
ssize_t rkfs_file_write (struct file *filp, const char __user *buf, size_t count, loff_t *ppos)
 Function for write to file.
int rkfs_file_open (struct inode *inode, struct file *file)
 Function for open file.
int rkfs_file_release (struct inode *ino, struct file *file)
 Function for release file.
int rkfs_file_readdir (struct file *file, void *dirent, filldir_t filldir)
 Read dir.
loff_t rkfs_file_llseek (struct file *file, loff_t offset, int origin)
 Lseek.

Variables

file_operations rkfs_fops


Detailed Description

Defines functions for kernel part of filesystem to manipulate with files.

Author:
Michal Podzimek, Michal Ficek, Tomas Pop, MFF UK, 2007

Definition in file fs_file.c.


Generated on Mon May 28 13:33:08 2007 for MYSQLFS by  doxygen 1.5.0