Coda Distributed File System
Functions
inodeops.h File Reference
#include <voltypes.h>
#include <viceinode.h>
#include <vicetab.h>
#include <partition.h>
Include dependency graph for inodeops.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Inode icreate (Device, u_long, u_long, u_long, u_long)
 
int iopen (Device, Inode, int)
 
int iread (Device dev, Inode inode_number, Inode parent_vol, int offset, char *buf, int count)
 
int iwrite (Device dev, Inode inode_number, Inode parent_vol, int offset, char *buf, int count)
 
int iinc (Device dev, Inode inode_number, Inode parent_vol)
 
int idec (Device dev, Inode inode_number, Inode parent_vol)
 
int get_header (struct DiskPartition *dp, struct i_header *header, Inode ino)
 
int put_header (struct DiskPartition *dp, struct i_header *header, Inode ino)
 
int ListCodaInodes (char *devname, char *mountedOn, char *resultFile, int(*judgeInode)(struct ViceInodeInfo *, VolumeId), int judgeParam)
 

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  dev,
Inode  inode_number,
Inode  parent_vol 
)

◆ iinc()

int iinc ( Device  dev,
Inode  inode_number,
Inode  parent_vol 
)

◆ iopen()

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

◆ iread()

int iread ( Device  dev,
Inode  inode_number,
Inode  parent_vol,
int  offset,
char *  buf,
int  count 
)

◆ iwrite()

int iwrite ( Device  dev,
Inode  inode_number,
Inode  parent_vol,
int  offset,
char *  buf,
int  count 
)

◆ ListCodaInodes()

int ListCodaInodes ( char *  devname,
char *  mountedOn,
char *  resultFile,
int(*)(struct ViceInodeInfo *, VolumeId)  judgeInode,
int  judgeParam 
)

◆ put_header()

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