Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
exofs.h File Reference
#include <linux/fs.h>
#include <linux/time.h>
#include <linux/backing-dev.h>
#include <scsi/osd_ore.h>
#include "common.h"

Go to the source code of this file.

Data Structures

struct  exofs_dev
 
struct  exofs_sb_info
 
struct  exofs_i_info
 

Macros

#define EXOFS_ERR(fmt, a...)   printk(KERN_ERR "exofs: " fmt, ##a)
 
#define EXOFS_DBGMSG(fmt, a...)   do { if (0) printk(fmt, ##a); } while (0)
 
#define _LLU(x)   (unsigned long long)(x)
 
#define OBJ_2BCREATED   0 /* object will be created soon*/
 
#define OBJ_CREATED   1 /* object has been created on the osd*/
 
#define EXOFS_LINK_MAX   32000
 

Functions

int __exofs_wait_obj_created (struct exofs_i_info *oi)
 
unsigned exofs_max_io_pages (struct ore_layout *layout, unsigned expected_pages)
 
int exofs_setattr (struct dentry *, struct iattr *)
 
int exofs_write_begin (struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata)
 
struct inodeexofs_iget (struct super_block *, unsigned long)
 
struct inodeexofs_new_inode (struct inode *, umode_t)
 
int exofs_write_inode (struct inode *, struct writeback_control *wbc)
 
void exofs_evict_inode (struct inode *)
 
int exofs_add_link (struct dentry *, struct inode *)
 
ino_t exofs_inode_by_name (struct inode *, struct dentry *)
 
int exofs_delete_entry (struct exofs_dir_entry *, struct page *)
 
int exofs_make_empty (struct inode *, struct inode *)
 
struct exofs_dir_entryexofs_find_entry (struct inode *, struct dentry *, struct page **)
 
int exofs_empty_dir (struct inode *)
 
struct exofs_dir_entryexofs_dotdot (struct inode *, struct page **)
 
ino_t exofs_parent_ino (struct dentry *child)
 
int exofs_set_link (struct inode *, struct exofs_dir_entry *, struct page *, struct inode *)
 
void exofs_make_credential (u8 cred_a[OSD_CAP_LEN], const struct osd_obj_id *obj)
 
int exofs_sbi_write_stats (struct exofs_sb_info *sbi)
 
int exofs_sysfs_init (void)
 
void exofs_sysfs_uninit (void)
 
int exofs_sysfs_sb_add (struct exofs_sb_info *sbi, struct exofs_dt_device_info *dt_dev)
 
void exofs_sysfs_sb_del (struct exofs_sb_info *sbi)
 
int exofs_sysfs_odev_add (struct exofs_dev *edev, struct exofs_sb_info *sbi)
 
void exofs_sysfs_dbg_print (void)
 

Variables

struct file_operations exofs_dir_operations
 
struct inode_operations exofs_file_inode_operations
 
struct file_operations exofs_file_operations
 
struct address_space_operations exofs_aops
 
struct inode_operations exofs_dir_inode_operations
 
struct inode_operations exofs_special_inode_operations
 
struct inode_operations exofs_symlink_inode_operations
 
struct inode_operations exofs_fast_symlink_inode_operations
 

Macro Definition Documentation

#define _LLU (   x)    (unsigned long long)(x)

Definition at line 54 of file exofs.h.

#define EXOFS_DBGMSG (   fmt,
  a... 
)    do { if (0) printk(fmt, ##a); } while (0)

Definition at line 49 of file exofs.h.

#define EXOFS_ERR (   fmt,
  a... 
)    printk(KERN_ERR "exofs: " fmt, ##a)

Definition at line 43 of file exofs.h.

#define EXOFS_LINK_MAX   32000

Definition at line 147 of file exofs.h.

#define OBJ_2BCREATED   0 /* object will be created soon*/

Definition at line 104 of file exofs.h.

#define OBJ_CREATED   1 /* object has been created on the osd*/

Definition at line 105 of file exofs.h.

Function Documentation

int __exofs_wait_obj_created ( struct exofs_i_info oi)

Definition at line 1240 of file inode.c.

int exofs_add_link ( struct dentry ,
struct inode  
)

Definition at line 436 of file dir.c.

int exofs_delete_entry ( struct exofs_dir_entry ,
struct page  
)

Definition at line 531 of file dir.c.

struct exofs_dir_entry* exofs_dotdot ( struct inode ,
struct page **   
)
read

Definition at line 369 of file dir.c.

int exofs_empty_dir ( struct inode )

Definition at line 621 of file dir.c.

void exofs_evict_inode ( struct inode )

Definition at line 1470 of file inode.c.

struct exofs_dir_entry* exofs_find_entry ( struct inode ,
struct dentry ,
struct page **   
)
read

Definition at line 315 of file dir.c.

struct inode* exofs_iget ( struct super_block ,
unsigned  long 
)
read

Definition at line 1149 of file inode.c.

ino_t exofs_inode_by_name ( struct inode ,
struct dentry  
)

Definition at line 397 of file dir.c.

void exofs_make_credential ( u8  cred_a[OSD_CAP_LEN],
const struct osd_obj_id obj 
)

Definition at line 220 of file super.c.

int exofs_make_empty ( struct inode ,
struct inode  
)

Definition at line 581 of file dir.c.

unsigned exofs_max_io_pages ( struct ore_layout layout,
unsigned  expected_pages 
)

Definition at line 40 of file inode.c.

struct inode* exofs_new_inode ( struct inode ,
umode_t   
)
read

Definition at line 1288 of file inode.c.

ino_t exofs_parent_ino ( struct dentry child)

Definition at line 382 of file dir.c.

int exofs_sbi_write_stats ( struct exofs_sb_info sbi)

Definition at line 321 of file super.c.

int exofs_set_link ( struct inode ,
struct exofs_dir_entry ,
struct page ,
struct inode  
)

Definition at line 411 of file dir.c.

int exofs_setattr ( struct dentry ,
struct iattr  
)

Definition at line 1018 of file inode.c.

void exofs_sysfs_dbg_print ( void  )

Definition at line 117 of file sys.c.

int exofs_sysfs_init ( void  )

Definition at line 192 of file sys.c.

int exofs_sysfs_odev_add ( struct exofs_dev edev,
struct exofs_sb_info sbi 
)

Definition at line 172 of file sys.c.

int exofs_sysfs_sb_add ( struct exofs_sb_info sbi,
struct exofs_dt_device_info dt_dev 
)

Definition at line 152 of file sys.c.

void exofs_sysfs_sb_del ( struct exofs_sb_info sbi)

Definition at line 134 of file sys.c.

void exofs_sysfs_uninit ( void  )

Definition at line 202 of file sys.c.

int exofs_write_begin ( struct file file,
struct address_space mapping,
loff_t  pos,
unsigned  len,
unsigned  flags,
struct page **  pagep,
void **  fsdata 
)

Definition at line 865 of file inode.c.

int exofs_write_inode ( struct inode ,
struct writeback_control wbc 
)

Definition at line 1446 of file inode.c.

Variable Documentation

Definition at line 960 of file inode.c.

struct inode_operations exofs_dir_inode_operations

Definition at line 305 of file namei.c.

struct file_operations exofs_dir_operations

Definition at line 669 of file dir.c.

struct inode_operations exofs_fast_symlink_inode_operations

Definition at line 52 of file symlink.c.

struct inode_operations exofs_file_inode_operations

Definition at line 83 of file file.c.

struct file_operations exofs_file_operations

Definition at line 68 of file file.c.

struct inode_operations exofs_special_inode_operations

Definition at line 318 of file namei.c.

struct inode_operations exofs_symlink_inode_operations

Definition at line 46 of file symlink.c.