iso_fs.h File Reference

#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  iso_volume_descriptor
struct  iso_primary_descriptor
struct  hs_volume_descriptor
struct  hs_primary_descriptor
struct  iso_path_table
 We use this to help us look up the parent inode numbers. More...
struct  iso_directory_record
struct  lookup_cache

Defines

#define ISODCL(from, to)   (to - from + 1)
 This part borrowed from the bsd386 isofs.
#define ISO_VD_PRIMARY   1
 volume descriptor types
#define ISO_VD_END   255
#define ISO_STANDARD_ID   "CD001"
#define HS_STANDARD_ID   "CDROM"
#define ISOFS_BLOCK_BITS   11
#define ISOFS_BLOCK_SIZE   2048
#define ISOFS_BUFFER_SIZE(INODE)   ((INODE)->i_sb->s_blocksize)
#define ISOFS_BUFFER_BITS(INODE)   ((INODE)->i_sb->s_blocksize_bits)
#define ISOFS_SUPER_MAGIC   0x9660
#define ISOFS_FILE_UNKNOWN   0
#define ISOFS_FILE_TEXT   1
#define ISOFS_FILE_BINARY   2
#define ISOFS_FILE_TEXT_M   3

Functions

int isonum_711 (char *)
int isonum_712 (char *)
int isonum_721 (char *)
int isonum_722 (char *)
int isonum_723 (char *)
int isonum_731 (char *)
int isonum_732 (char *)
int isonum_733 (char *)
int iso_date (char *, int)
int parse_rock_ridge_inode (struct iso_directory_record *, struct inode *)
int get_rock_ridge_filename (struct iso_directory_record *, char **name, int *len, struct inode *)
char * get_rock_ridge_symlink (struct inode *)
int find_rock_ridge_relocation (struct iso_directory_record *, struct inode *)
int isofs_open (struct inode *inode, struct file *filp)
void isofs_release (struct inode *inode, struct file *filp)
int isofs_lookup (struct inode *dir, const char *name, int len, struct inode **result)
unsigned long isofs_count_free_inodes (struct super_block *sb)
int isofs_new_block (int dev)
int isofs_free_block (int dev, int block)
int isofs_bmap (struct inode *, int)
void isofs_put_super (struct super_block *)
super_blockisofs_read_super (struct super_block *, void *, int)
void isofs_read_inode (struct inode *)
void isofs_put_inode (struct inode *)
void isofs_statfs (struct super_block *, struct statfs *)
int isofs_lseek (struct inode *, struct file *, off_t, int)
int isofs_read (struct inode *, struct file *, char *, int)
int isofs_lookup_grandparent (struct inode *, int)

Variables

inode_operations isofs_file_inode_operations
inode_operations isofs_dir_inode_operations
inode_operations isofs_symlink_inode_operations
inode_operations isofs_chrdev_inode_operations
inode_operations isofs_blkdev_inode_operations
inode_operations isofs_fifo_inode_operations
lookup_cache cache


Define Documentation

#define HS_STANDARD_ID   "CDROM"

Definition at line 67 of file iso_fs.h.

#define ISO_STANDARD_ID   "CD001"

Definition at line 28 of file iso_fs.h.

#define ISO_VD_END   255

Definition at line 26 of file iso_fs.h.

#define ISO_VD_PRIMARY   1

volume descriptor types

Definition at line 25 of file iso_fs.h.

#define ISODCL ( from,
to   )     (to - from + 1)

This part borrowed from the bsd386 isofs.

The isofs filesystem constants/structures

Definition at line 15 of file iso_fs.h.

#define ISOFS_BLOCK_BITS   11

Definition at line 144 of file iso_fs.h.

#define ISOFS_BLOCK_SIZE   2048

Definition at line 145 of file iso_fs.h.

#define ISOFS_BUFFER_BITS ( INODE   )     ((INODE)->i_sb->s_blocksize_bits)

Definition at line 148 of file iso_fs.h.

#define ISOFS_BUFFER_SIZE ( INODE   )     ((INODE)->i_sb->s_blocksize)

Definition at line 147 of file iso_fs.h.

#define ISOFS_FILE_BINARY   2

Definition at line 168 of file iso_fs.h.

#define ISOFS_FILE_TEXT   1

Definition at line 167 of file iso_fs.h.

#define ISOFS_FILE_TEXT_M   3

Definition at line 169 of file iso_fs.h.

#define ISOFS_FILE_UNKNOWN   0

Definition at line 166 of file iso_fs.h.

#define ISOFS_SUPER_MAGIC   0x9660

Definition at line 165 of file iso_fs.h.


Function Documentation

int find_rock_ridge_relocation ( struct iso_directory_record ,
struct inode  
)

int get_rock_ridge_filename ( struct iso_directory_record ,
char **  name,
int *  len,
struct inode  
)

char* get_rock_ridge_symlink ( struct inode  ) 

int iso_date ( char *  ,
int   
)

int isofs_bmap ( struct inode ,
int   
)

unsigned long isofs_count_free_inodes ( struct super_block sb  ) 

int isofs_free_block ( int  dev,
int  block 
)

int isofs_lookup ( struct inode dir,
const char *  name,
int  len,
struct inode **  result 
)

int isofs_lookup_grandparent ( struct inode ,
int   
)

int isofs_lseek ( struct inode ,
struct file ,
off_t  ,
int   
)

int isofs_new_block ( int  dev  ) 

int isofs_open ( struct inode inode,
struct file filp 
)

The stuff that follows may be totally unneeded. I have not checked to see

void isofs_put_inode ( struct inode  ) 

void isofs_put_super ( struct super_block  ) 

int isofs_read ( struct inode ,
struct file ,
char *  ,
int   
)

void isofs_read_inode ( struct inode  ) 

struct super_block* isofs_read_super ( struct super_block ,
void *  ,
int   
)

void isofs_release ( struct inode inode,
struct file filp 
)

void isofs_statfs ( struct super_block ,
struct statfs  
)

int isonum_711 ( char *   ) 

int isonum_712 ( char *   ) 

int isonum_721 ( char *   ) 

int isonum_722 ( char *   ) 

int isonum_723 ( char *   ) 

int isonum_731 ( char *   ) 

int isonum_732 ( char *   ) 

int isonum_733 ( char *   ) 

int parse_rock_ridge_inode ( struct iso_directory_record ,
struct inode  
)


Variable Documentation

struct lookup_cache cache

struct inode_operations isofs_blkdev_inode_operations

struct inode_operations isofs_chrdev_inode_operations

struct inode_operations isofs_dir_inode_operations

struct inode_operations isofs_fifo_inode_operations

struct inode_operations isofs_file_inode_operations

struct inode_operations isofs_symlink_inode_operations


Generated on Mon May 1 21:47:01 2006 for KernelAPI by  doxygen 1.4.6-5