#define CODA_PSDEV_MAJOR 67 #define MAX_CODADEVS 5 /* how many do we allow */
struct kstatfs;
/* messages between coda filesystem in kernel and Venus */ struct upc_req { struct list_head uc_chain;
caddr_t uc_data;
u_short uc_flags;
u_short uc_inSize; /* Size is at most 5000 bytes */
u_short uc_outSize;
u_short uc_opcode; /* copied from data to save lookup */ int uc_unique;
wait_queue_head_t uc_sleep; /* process' wait queue */
};
/* upcalls */ int venus_rootfid(struct super_block *sb, struct CodaFid *fidp); int venus_getattr(struct super_block *sb, struct CodaFid *fid, struct coda_vattr *attr); int venus_setattr(struct super_block *, struct CodaFid *, struct coda_vattr *); int venus_lookup(struct super_block *sb, struct CodaFid *fid, constchar *name, int length, int *type, struct CodaFid *resfid); int venus_close(struct super_block *sb, struct CodaFid *fid, int flags,
kuid_t uid); int venus_open(struct super_block *sb, struct CodaFid *fid, int flags, struct file **f); int venus_mkdir(struct super_block *sb, struct CodaFid *dirfid, constchar *name, int length, struct CodaFid *newfid, struct coda_vattr *attrs); int venus_create(struct super_block *sb, struct CodaFid *dirfid, constchar *name, int length, int excl, int mode, struct CodaFid *newfid, struct coda_vattr *attrs); int venus_rmdir(struct super_block *sb, struct CodaFid *dirfid, constchar *name, int length); int venus_remove(struct super_block *sb, struct CodaFid *dirfid, constchar *name, int length); int venus_readlink(struct super_block *sb, struct CodaFid *fid, char *buffer, int *length); int venus_rename(struct super_block *sb, struct CodaFid *new_fid, struct CodaFid *old_fid, size_t old_length,
size_t new_length, constchar *old_name, constchar *new_name); int venus_link(struct super_block *sb, struct CodaFid *fid, struct CodaFid *dirfid, constchar *name, int len ); int venus_symlink(struct super_block *sb, struct CodaFid *fid, constchar *name, int len, constchar *symname, int symlen); int venus_access(struct super_block *sb, struct CodaFid *fid, int mask); int venus_pioctl(struct super_block *sb, struct CodaFid *fid, unsignedint cmd, struct PioctlData *data); int coda_downcall(struct venus_comm *vcp, int opcode, union outputArgs *out,
size_t nbytes); int venus_fsync(struct super_block *sb, struct CodaFid *fid); int venus_statfs(struct dentry *dentry, struct kstatfs *sfs); int venus_access_intent(struct super_block *sb, struct CodaFid *fid, bool *access_intent_supported,
size_t count, loff_t ppos, int type);
/* * Statistics
*/
externstruct venus_comm coda_comms[]; #endif
Messung V0.5
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.3Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.