Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
adfs.h File Reference
#include <linux/fs.h>
#include <linux/adfs_fs.h>
#include "dir_f.h"

Go to the source code of this file.

Data Structures

struct  adfs_inode_info
 
struct  adfs_sb_info
 
struct  adfs_dir
 
struct  object_info
 
struct  adfs_dir_ops
 
struct  adfs_discmap
 

Macros

#define ADFS_FREE_FRAG   0
 
#define ADFS_BAD_FRAG   1
 
#define ADFS_ROOT_FRAG   2
 
#define ADFS_NDA_OWNER_READ   (1 << 0)
 
#define ADFS_NDA_OWNER_WRITE   (1 << 1)
 
#define ADFS_NDA_LOCKED   (1 << 2)
 
#define ADFS_NDA_DIRECTORY   (1 << 3)
 
#define ADFS_NDA_EXECUTE   (1 << 4)
 
#define ADFS_NDA_PUBLIC_READ   (1 << 5)
 
#define ADFS_NDA_PUBLIC_WRITE   (1 << 6)
 
#define ADFS_MAX_NAME_LEN   (256 + 4) /* +4 for ,xyz hex filetype suffix */
 
#define adfs_error(sb, fmt...)   __adfs_error(sb, __func__, fmt)
 

Functions

struct inodeadfs_iget (struct super_block *sb, struct object_info *obj)
 
int adfs_write_inode (struct inode *inode, struct writeback_control *wbc)
 
int adfs_notify_change (struct dentry *dentry, struct iattr *attr)
 
int adfs_map_lookup (struct super_block *sb, unsigned int frag_id, unsigned int offset)
 
unsigned int adfs_map_free (struct super_block *sb)
 
void __adfs_error (struct super_block *sb, const char *function, const char *fmt,...)
 
int adfs_dir_update (struct super_block *sb, struct object_info *obj, int wait)
 

Variables

struct inode_operations adfs_dir_inode_operations
 
struct file_operations adfs_dir_operations
 
struct dentry_operations adfs_dentry_operations
 
struct adfs_dir_ops adfs_f_dir_ops
 
struct adfs_dir_ops adfs_fplus_dir_ops
 
struct inode_operations adfs_file_inode_operations
 
struct file_operations adfs_file_operations
 

Macro Definition Documentation

#define ADFS_BAD_FRAG   1

Definition at line 7 of file adfs.h.

#define adfs_error (   sb,
  fmt... 
)    __adfs_error(sb, __func__, fmt)

Definition at line 155 of file adfs.h.

#define ADFS_FREE_FRAG   0

Definition at line 6 of file adfs.h.

#define ADFS_MAX_NAME_LEN   (256 + 4) /* +4 for ,xyz hex filetype suffix */

Definition at line 97 of file adfs.h.

#define ADFS_NDA_DIRECTORY   (1 << 3)

Definition at line 13 of file adfs.h.

#define ADFS_NDA_EXECUTE   (1 << 4)

Definition at line 14 of file adfs.h.

#define ADFS_NDA_LOCKED   (1 << 2)

Definition at line 12 of file adfs.h.

#define ADFS_NDA_OWNER_READ   (1 << 0)

Definition at line 10 of file adfs.h.

#define ADFS_NDA_OWNER_WRITE   (1 << 1)

Definition at line 11 of file adfs.h.

#define ADFS_NDA_PUBLIC_READ   (1 << 5)

Definition at line 15 of file adfs.h.

#define ADFS_NDA_PUBLIC_WRITE   (1 << 6)

Definition at line 16 of file adfs.h.

#define ADFS_ROOT_FRAG   2

Definition at line 8 of file adfs.h.

Function Documentation

void __adfs_error ( struct super_block sb,
const char function,
const char fmt,
  ... 
)

Definition at line 26 of file super.c.

int adfs_dir_update ( struct super_block sb,
struct object_info obj,
int  wait 
)

Definition at line 74 of file dir.c.

struct inode* adfs_iget ( struct super_block sb,
struct object_info obj 
)
read

Definition at line 238 of file inode.c.

unsigned int adfs_map_free ( struct super_block sb)

Definition at line 230 of file map.c.

int adfs_map_lookup ( struct super_block sb,
unsigned int  frag_id,
unsigned int  offset 
)

Definition at line 248 of file map.c.

int adfs_notify_change ( struct dentry dentry,
struct iattr attr 
)

Definition at line 294 of file inode.c.

int adfs_write_inode ( struct inode inode,
struct writeback_control wbc 
)

Definition at line 350 of file inode.c.

Variable Documentation

struct dentry_operations adfs_dentry_operations

Definition at line 263 of file dir.c.

struct inode_operations adfs_dir_inode_operations

Definition at line 293 of file dir.c.

struct file_operations adfs_dir_operations

Definition at line 192 of file dir.c.

struct adfs_dir_ops adfs_f_dir_ops

Definition at line 479 of file dir_f.c.

struct inode_operations adfs_file_inode_operations

Definition at line 35 of file file.c.

struct file_operations adfs_file_operations

Definition at line 24 of file file.c.

struct adfs_dir_ops adfs_fplus_dir_ops

Definition at line 259 of file dir_fplus.c.