os161-1.99
Data Fields
vnode_ops Struct Reference

Data Fields

unsigned long vop_magic
int(* vop_open )(struct vnode *object, int flags_from_open)
int(* vop_close )(struct vnode *object)
int(* vop_reclaim )(struct vnode *vnode)
int(* vop_read )(struct vnode *file, struct uio *uio)
int(* vop_readlink )(struct vnode *link, struct uio *uio)
int(* vop_getdirentry )(struct vnode *dir, struct uio *uio)
int(* vop_write )(struct vnode *file, struct uio *uio)
int(* vop_ioctl )(struct vnode *object, int op, userptr_t data)
int(* vop_stat )(struct vnode *object, struct stat *statbuf)
int(* vop_gettype )(struct vnode *object, mode_t *result)
int(* vop_tryseek )(struct vnode *object, off_t pos)
int(* vop_fsync )(struct vnode *object)
int(* vop_mmap )(struct vnode *file)
int(* vop_truncate )(struct vnode *file, off_t len)
int(* vop_namefile )(struct vnode *file, struct uio *uio)
int(* vop_creat )(struct vnode *dir, const char *name, bool excl, mode_t mode, struct vnode **result)
int(* vop_symlink )(struct vnode *dir, const char *contents, const char *name)
int(* vop_mkdir )(struct vnode *parentdir, const char *name, mode_t mode)
int(* vop_link )(struct vnode *dir, const char *name, struct vnode *file)
int(* vop_remove )(struct vnode *dir, const char *name)
int(* vop_rmdir )(struct vnode *dir, const char *name)
int(* vop_rename )(struct vnode *vn1, const char *name1, struct vnode *vn2, const char *name2)
int(* vop_lookup )(struct vnode *dir, char *pathname, struct vnode **result)
int(* vop_lookparent )(struct vnode *dir, char *pathname, struct vnode **result, char *buf, size_t len)

Detailed Description

Definition at line 195 of file vnode.h.


The documentation for this struct was generated from the following file:
 All Data Structures