Coda Distributed File System
Macros | Functions
inodeops.c File Reference
#include <vcrcommon.h>
#include <partition.h>
#include <fcntl.h>
Include dependency graph for inodeops.c:

Macros

#define O_BINARY   0
 

Functions

Inode icreate (Device devno, u_long volume, u_long vnode, u_long unique, u_long dataversion)
 
int iopen (Device devno, Inode inode, int flag)
 
int idec (Device devno, Inode inode, Inode parent_vol)
 
int iinc (Device devno, Inode inode, Inode parent_vol)
 
int iwrite (Device devno, Inode inode, Inode parent_vol, int offset, char *buf, int count)
 
int iread (Device devno, Inode inode, Inode parent_vol, int offset, char *buf, int count)
 
int get_header (struct DiskPartition *dp, struct i_header *header, Inode ino)
 
int put_header (struct DiskPartition *dp, struct i_header *header, Inode ino)
 

Macro Definition Documentation

◆ O_BINARY

#define O_BINARY   0

Function Documentation

◆ get_header()

int get_header ( struct DiskPartition dp,
struct i_header header,
Inode  ino 
)

◆ icreate()

Inode icreate ( Device  devno,
u_long  volume,
u_long  vnode,
u_long  unique,
u_long  dataversion 
)

◆ idec()

int idec ( Device  devno,
Inode  inode,
Inode  parent_vol 
)

◆ iinc()

int iinc ( Device  devno,
Inode  inode,
Inode  parent_vol 
)

◆ iopen()

int iopen ( Device  devno,
Inode  inode,
int  flag 
)

◆ iread()

int iread ( Device  devno,
Inode  inode,
Inode  parent_vol,
int  offset,
char *  buf,
int  count 
)

◆ iwrite()

int iwrite ( Device  devno,
Inode  inode,
Inode  parent_vol,
int  offset,
char *  buf,
int  count 
)

◆ put_header()

int put_header ( struct DiskPartition dp,
struct i_header header,
Inode  ino 
)