Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
sysv.h File Reference
#include <linux/buffer_head.h>
#include <linux/sysv_fs.h>

Go to the source code of this file.

Data Structures

struct  sysv_sb_info
 
struct  sysv_inode_info
 

Macros

#define SYSV_MAGIC_BASE   0x012FF7B3
 
#define XENIX_SUPER_MAGIC   (SYSV_MAGIC_BASE+FSTYPE_XENIX)
 
#define SYSV4_SUPER_MAGIC   (SYSV_MAGIC_BASE+FSTYPE_SYSV4)
 
#define SYSV2_SUPER_MAGIC   (SYSV_MAGIC_BASE+FSTYPE_SYSV2)
 
#define COH_SUPER_MAGIC   (SYSV_MAGIC_BASE+FSTYPE_COH)
 

Typedefs

typedef __u16 __bitwise __fs16
 
typedef __u32 __bitwise __fs32
 

Enumerations

enum  {
  FSTYPE_NONE = 0, FSTYPE_XENIX, FSTYPE_SYSV4, FSTYPE_SYSV2,
  FSTYPE_COH, FSTYPE_V7, FSTYPE_AFS, FSTYPE_END
}
 
enum  { XENIX_LINK_MAX = 126, SYSV_LINK_MAX = 126, V7_LINK_MAX = 126, COH_LINK_MAX = 10000 }
 
enum  { BYTESEX_LE, BYTESEX_PDP, BYTESEX_BE }
 

Functions

struct sysv_inodesysv_raw_inode (struct super_block *, unsigned, struct buffer_head **)
 
struct inodesysv_new_inode (const struct inode *, umode_t)
 
void sysv_free_inode (struct inode *)
 
unsigned long sysv_count_free_inodes (struct super_block *)
 
sysv_zone_t sysv_new_block (struct super_block *)
 
void sysv_free_block (struct super_block *, sysv_zone_t)
 
unsigned long sysv_count_free_blocks (struct super_block *)
 
void sysv_truncate (struct inode *)
 
int sysv_prepare_chunk (struct page *page, loff_t pos, unsigned len)
 
struct inodesysv_iget (struct super_block *, unsigned int)
 
int sysv_write_inode (struct inode *, struct writeback_control *wbc)
 
int sysv_sync_inode (struct inode *)
 
void sysv_set_inode (struct inode *, dev_t)
 
int sysv_getattr (struct vfsmount *, struct dentry *, struct kstat *)
 
int sysv_init_icache (void)
 
void sysv_destroy_icache (void)
 
struct sysv_dir_entrysysv_find_entry (struct dentry *, struct page **)
 
int sysv_add_link (struct dentry *, struct inode *)
 
int sysv_delete_entry (struct sysv_dir_entry *, struct page *)
 
int sysv_make_empty (struct inode *, struct inode *)
 
int sysv_empty_dir (struct inode *)
 
void sysv_set_link (struct sysv_dir_entry *, struct page *, struct inode *)
 
struct sysv_dir_entrysysv_dotdot (struct inode *, struct page **)
 
ino_t sysv_inode_by_name (struct dentry *)
 

Variables

struct inode_operations sysv_file_inode_operations
 
struct inode_operations sysv_dir_inode_operations
 
struct inode_operations sysv_fast_symlink_inode_operations
 
struct file_operations sysv_file_operations
 
struct file_operations sysv_dir_operations
 
struct address_space_operations sysv_aops
 
struct super_operations sysv_sops
 
struct dentry_operations sysv_dentry_operations
 

Macro Definition Documentation

#define COH_SUPER_MAGIC   (SYSV_MAGIC_BASE+FSTYPE_COH)

Definition at line 102 of file sysv.h.

#define SYSV2_SUPER_MAGIC   (SYSV_MAGIC_BASE+FSTYPE_SYSV2)

Definition at line 101 of file sysv.h.

#define SYSV4_SUPER_MAGIC   (SYSV_MAGIC_BASE+FSTYPE_SYSV4)

Definition at line 100 of file sysv.h.

#define SYSV_MAGIC_BASE   0x012FF7B3

Definition at line 97 of file sysv.h.

#define XENIX_SUPER_MAGIC   (SYSV_MAGIC_BASE+FSTYPE_XENIX)

Definition at line 99 of file sysv.h.

Typedef Documentation

Definition at line 6 of file sysv.h.

Definition at line 7 of file sysv.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
FSTYPE_NONE 
FSTYPE_XENIX 
FSTYPE_SYSV4 
FSTYPE_SYSV2 
FSTYPE_COH 
FSTYPE_V7 
FSTYPE_AFS 
FSTYPE_END 

Definition at line 86 of file sysv.h.

anonymous enum
Enumerator:
XENIX_LINK_MAX 
SYSV_LINK_MAX 
V7_LINK_MAX 
COH_LINK_MAX 

Definition at line 106 of file sysv.h.

anonymous enum
Enumerator:
BYTESEX_LE 
BYTESEX_PDP 
BYTESEX_BE 

Definition at line 172 of file sysv.h.

Function Documentation

int sysv_add_link ( struct dentry ,
struct inode  
)

Definition at line 182 of file dir.c.

unsigned long sysv_count_free_blocks ( struct super_block )

Definition at line 158 of file balloc.c.

unsigned long sysv_count_free_inodes ( struct super_block )

Definition at line 181 of file ialloc.c.

int sysv_delete_entry ( struct sysv_dir_entry ,
struct page  
)

Definition at line 239 of file dir.c.

void sysv_destroy_icache ( void  )

Definition at line 361 of file inode.c.

struct sysv_dir_entry* sysv_dotdot ( struct inode ,
struct page **   
)
read

Definition at line 354 of file dir.c.

int sysv_empty_dir ( struct inode )

Definition at line 293 of file dir.c.

struct sysv_dir_entry* sysv_find_entry ( struct dentry ,
struct page **   
)
read

Definition at line 136 of file dir.c.

void sysv_free_block ( struct super_block ,
sysv_zone_t   
)

Definition at line 42 of file balloc.c.

void sysv_free_inode ( struct inode )

Definition at line 100 of file ialloc.c.

int sysv_getattr ( struct vfsmount ,
struct dentry ,
struct kstat  
)

Definition at line 443 of file itree.c.

struct inode* sysv_iget ( struct super_block ,
unsigned  int 
)
read

Definition at line 176 of file inode.c.

int sysv_init_icache ( void  )

Definition at line 350 of file inode.c.

ino_t sysv_inode_by_name ( struct dentry )

Definition at line 366 of file dir.c.

int sysv_make_empty ( struct inode ,
struct inode  
)

Definition at line 257 of file dir.c.

sysv_zone_t sysv_new_block ( struct super_block )

Definition at line 99 of file balloc.c.

struct inode* sysv_new_inode ( const struct inode ,
umode_t   
)
read

Definition at line 135 of file ialloc.c.

int sysv_prepare_chunk ( struct page page,
loff_t  pos,
unsigned  len 
)

Definition at line 462 of file itree.c.

struct sysv_inode* sysv_raw_inode ( struct super_block ,
unsigned  ,
struct buffer_head **   
)
read

Definition at line 56 of file ialloc.c.

void sysv_set_inode ( struct inode ,
dev_t   
)

Definition at line 153 of file inode.c.

void sysv_set_link ( struct sysv_dir_entry ,
struct page ,
struct inode  
)

Definition at line 336 of file dir.c.

int sysv_sync_inode ( struct inode )

Definition at line 291 of file inode.c.

void sysv_truncate ( struct inode )

Definition at line 363 of file itree.c.

int sysv_write_inode ( struct inode ,
struct writeback_control wbc 
)

Definition at line 286 of file inode.c.

Variable Documentation

Definition at line 488 of file itree.c.

struct dentry_operations sysv_dentry_operations

Definition at line 42 of file namei.c.

struct inode_operations sysv_dir_inode_operations

Definition at line 280 of file namei.c.

struct file_operations sysv_dir_operations

Definition at line 23 of file dir.c.

struct inode_operations sysv_fast_symlink_inode_operations

Definition at line 17 of file symlink.c.

struct inode_operations sysv_file_inode_operations

Definition at line 54 of file file.c.

struct file_operations sysv_file_operations

Definition at line 22 of file file.c.

Definition at line 339 of file inode.c.