Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
file.c File Reference
#include "fuse_i.h"
#include <linux/pagemap.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/compat.h>
#include <linux/swap.h>

Go to the source code of this file.

Data Structures

struct  fuse_fill_data
 

Functions

struct fuse_filefuse_file_alloc (struct fuse_conn *fc)
 
void fuse_file_free (struct fuse_file *ff)
 
struct fuse_filefuse_file_get (struct fuse_file *ff)
 
int fuse_do_open (struct fuse_conn *fc, u64 nodeid, struct file *file, bool isdir)
 
 EXPORT_SYMBOL_GPL (fuse_do_open)
 
void fuse_finish_open (struct inode *inode, struct file *file)
 
int fuse_open_common (struct inode *inode, struct file *file, bool isdir)
 
void fuse_release_common (struct file *file, int opcode)
 
void fuse_sync_release (struct fuse_file *ff, int flags)
 
 EXPORT_SYMBOL_GPL (fuse_sync_release)
 
u64 fuse_lock_owner_id (struct fuse_conn *fc, fl_owner_t id)
 
int fuse_fsync_common (struct file *file, loff_t start, loff_t end, int datasync, int isdir)
 
void fuse_read_fill (struct fuse_req *req, struct file *file, loff_t pos, size_t count, int opcode)
 
void fuse_write_update_size (struct inode *inode, loff_t pos)
 
ssize_t fuse_direct_io (struct file *file, const char __user *buf, size_t count, loff_t *ppos, int write)
 
 EXPORT_SYMBOL_GPL (fuse_direct_io)
 
void fuse_flush_writepages (struct inode *inode) __releases(fc-> lock) __acquires(fc->lock)
 
long fuse_do_ioctl (struct file *file, unsigned int cmd, unsigned long arg, unsigned int flags)
 
 EXPORT_SYMBOL_GPL (fuse_do_ioctl)
 
long fuse_ioctl_common (struct file *file, unsigned int cmd, unsigned long arg, unsigned int flags)
 
unsigned fuse_file_poll (struct file *file, poll_table *wait)
 
 EXPORT_SYMBOL_GPL (fuse_file_poll)
 
int fuse_notify_poll_wakeup (struct fuse_conn *fc, struct fuse_notify_poll_wakeup_out *outarg)
 
long fuse_file_fallocate (struct file *file, int mode, loff_t offset, loff_t length)
 
 EXPORT_SYMBOL_GPL (fuse_file_fallocate)
 
void fuse_init_file_inode (struct inode *inode)
 

Function Documentation

EXPORT_SYMBOL_GPL ( fuse_do_open  )
EXPORT_SYMBOL_GPL ( fuse_sync_release  )
EXPORT_SYMBOL_GPL ( fuse_direct_io  )
EXPORT_SYMBOL_GPL ( fuse_do_ioctl  )
EXPORT_SYMBOL_GPL ( fuse_file_poll  )
EXPORT_SYMBOL_GPL ( fuse_file_fallocate  )
ssize_t fuse_direct_io ( struct file file,
const char __user buf,
size_t  count,
loff_t *  ppos,
int  write 
)

Definition at line 1065 of file file.c.

long fuse_do_ioctl ( struct file file,
unsigned int  cmd,
unsigned long  arg,
unsigned int  flags 
)

Definition at line 1797 of file file.c.

int fuse_do_open ( struct fuse_conn fc,
u64  nodeid,
struct file file,
bool  isdir 
)

Definition at line 140 of file file.c.

struct fuse_file* fuse_file_alloc ( struct fuse_conn fc)
read

Definition at line 51 of file file.c.

long fuse_file_fallocate ( struct file file,
int  mode,
loff_t  offset,
loff_t  length 
)

Definition at line 2180 of file file.c.

void fuse_file_free ( struct fuse_file ff)

Definition at line 78 of file file.c.

struct fuse_file* fuse_file_get ( struct fuse_file ff)
read

Definition at line 84 of file file.c.

unsigned fuse_file_poll ( struct file file,
poll_table wait 
)

Definition at line 2056 of file file.c.

void fuse_finish_open ( struct inode inode,
struct file file 
)

Definition at line 170 of file file.c.

void fuse_flush_writepages ( struct inode inode) -> lock) __acquires(fc->lock)

Definition at line 1235 of file file.c.

int fuse_fsync_common ( struct file file,
loff_t  start,
loff_t  end,
int  datasync,
int  isdir 
)

Send FSYNC or FSYNCDIR request

Definition at line 406 of file file.c.

void fuse_init_file_inode ( struct inode inode)

Initialize file operations on a regular file

Definition at line 2266 of file file.c.

long fuse_ioctl_common ( struct file file,
unsigned int  cmd,
unsigned long  arg,
unsigned int  flags 
)

Definition at line 1978 of file file.c.

u64 fuse_lock_owner_id ( struct fuse_conn fc,
fl_owner_t  id 
)

Definition at line 295 of file file.c.

int fuse_notify_poll_wakeup ( struct fuse_conn fc,
struct fuse_notify_poll_wakeup_out outarg 
)

Notify poll wakeup

Definition at line 2109 of file file.c.

int fuse_open_common ( struct inode inode,
struct file file,
bool  isdir 
)

Send OPEN or OPENDIR request

Definition at line 192 of file file.c.

void fuse_read_fill ( struct fuse_req req,
struct file file,
loff_t  pos,
size_t  count,
int  opcode 
)

Initialize READ or READDIR request

Definition at line 474 of file file.c.

void fuse_release_common ( struct file file,
int  opcode 
)

Send RELEASE or RELEASEDIR request

Definition at line 233 of file file.c.

void fuse_sync_release ( struct fuse_file ff,
int  flags 
)

Definition at line 280 of file file.c.

void fuse_write_update_size ( struct inode inode,
loff_t  pos 
)

Definition at line 764 of file file.c.