version 1.59, 2005/12/30 11:19:26 |
version 1.59.8.2, 2006/08/11 15:47:26 |
|
|
* (Modifications made here may easily be lost!) |
* (Modifications made here may easily be lost!) |
* |
* |
* Created from the file: |
* Created from the file: |
* NetBSD: vnode_if.src,v 1.48 2005/12/30 11:19:09 yamt Exp |
* NetBSD: vnode_if.src,v 1.50 2006/05/14 21:15:12 elad Exp |
* by the script: |
* by the script: |
* NetBSD: vnode_if.sh,v 1.41 2005/12/11 12:24:30 christos Exp |
* NetBSD: vnode_if.sh,v 1.42 2006/05/14 21:15:12 elad Exp |
*/ |
*/ |
|
|
/* |
/* |
Line 84 struct vop_open_args { |
|
Line 84 struct vop_open_args { |
|
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
int a_mode; |
int a_mode; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_open_desc; |
extern const struct vnodeop_desc vop_open_desc; |
int VOP_OPEN(struct vnode *, int, struct ucred *, struct lwp *); |
int VOP_OPEN(struct vnode *, int, kauth_cred_t, struct lwp *); |
|
|
struct vop_close_args { |
struct vop_close_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
int a_fflag; |
int a_fflag; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_close_desc; |
extern const struct vnodeop_desc vop_close_desc; |
int VOP_CLOSE(struct vnode *, int, struct ucred *, struct lwp *); |
int VOP_CLOSE(struct vnode *, int, kauth_cred_t, struct lwp *); |
|
|
struct vop_access_args { |
struct vop_access_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
int a_mode; |
int a_mode; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_access_desc; |
extern const struct vnodeop_desc vop_access_desc; |
int VOP_ACCESS(struct vnode *, int, struct ucred *, struct lwp *); |
int VOP_ACCESS(struct vnode *, int, kauth_cred_t, struct lwp *); |
|
|
struct vop_getattr_args { |
struct vop_getattr_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
struct vattr *a_vap; |
struct vattr *a_vap; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_getattr_desc; |
extern const struct vnodeop_desc vop_getattr_desc; |
int VOP_GETATTR(struct vnode *, struct vattr *, struct ucred *, struct lwp *); |
int VOP_GETATTR(struct vnode *, struct vattr *, kauth_cred_t, struct lwp *); |
|
|
struct vop_setattr_args { |
struct vop_setattr_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
struct vattr *a_vap; |
struct vattr *a_vap; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_setattr_desc; |
extern const struct vnodeop_desc vop_setattr_desc; |
int VOP_SETATTR(struct vnode *, struct vattr *, struct ucred *, struct lwp *); |
int VOP_SETATTR(struct vnode *, struct vattr *, kauth_cred_t, struct lwp *); |
|
|
struct vop_read_args { |
struct vop_read_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
struct uio *a_uio; |
struct uio *a_uio; |
int a_ioflag; |
int a_ioflag; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
}; |
}; |
extern const struct vnodeop_desc vop_read_desc; |
extern const struct vnodeop_desc vop_read_desc; |
int VOP_READ(struct vnode *, struct uio *, int, struct ucred *); |
int VOP_READ(struct vnode *, struct uio *, int, kauth_cred_t); |
|
|
struct vop_write_args { |
struct vop_write_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
struct uio *a_uio; |
struct uio *a_uio; |
int a_ioflag; |
int a_ioflag; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
}; |
}; |
extern const struct vnodeop_desc vop_write_desc; |
extern const struct vnodeop_desc vop_write_desc; |
int VOP_WRITE(struct vnode *, struct uio *, int, struct ucred *); |
int VOP_WRITE(struct vnode *, struct uio *, int, kauth_cred_t); |
|
|
struct vop_ioctl_args { |
struct vop_ioctl_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
Line 156 struct vop_ioctl_args { |
|
Line 156 struct vop_ioctl_args { |
|
u_long a_command; |
u_long a_command; |
void *a_data; |
void *a_data; |
int a_fflag; |
int a_fflag; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_ioctl_desc; |
extern const struct vnodeop_desc vop_ioctl_desc; |
int VOP_IOCTL(struct vnode *, u_long, void *, int, struct ucred *, |
int VOP_IOCTL(struct vnode *, u_long, void *, int, kauth_cred_t, struct lwp *); |
struct lwp *); |
|
|
|
struct vop_fcntl_args { |
struct vop_fcntl_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
Line 169 struct vop_fcntl_args { |
|
Line 168 struct vop_fcntl_args { |
|
u_int a_command; |
u_int a_command; |
void *a_data; |
void *a_data; |
int a_fflag; |
int a_fflag; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_fcntl_desc; |
extern const struct vnodeop_desc vop_fcntl_desc; |
int VOP_FCNTL(struct vnode *, u_int, void *, int, struct ucred *, |
int VOP_FCNTL(struct vnode *, u_int, void *, int, kauth_cred_t, struct lwp *); |
struct lwp *); |
|
|
|
struct vop_poll_args { |
struct vop_poll_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
Line 205 struct vop_mmap_args { |
|
Line 203 struct vop_mmap_args { |
|
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
int a_fflags; |
int a_fflags; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_mmap_desc; |
extern const struct vnodeop_desc vop_mmap_desc; |
int VOP_MMAP(struct vnode *, int, struct ucred *, struct lwp *); |
int VOP_MMAP(struct vnode *, int, kauth_cred_t, struct lwp *); |
|
|
struct vop_fsync_args { |
struct vop_fsync_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
int a_flags; |
int a_flags; |
off_t a_offlo; |
off_t a_offlo; |
off_t a_offhi; |
off_t a_offhi; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_fsync_desc; |
extern const struct vnodeop_desc vop_fsync_desc; |
int VOP_FSYNC(struct vnode *, struct ucred *, int, off_t, off_t, struct lwp *); |
int VOP_FSYNC(struct vnode *, kauth_cred_t, int, off_t, off_t, struct lwp *); |
|
|
struct vop_seek_args { |
struct vop_seek_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
off_t a_oldoff; |
off_t a_oldoff; |
off_t a_newoff; |
off_t a_newoff; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
}; |
}; |
extern const struct vnodeop_desc vop_seek_desc; |
extern const struct vnodeop_desc vop_seek_desc; |
int VOP_SEEK(struct vnode *, off_t, off_t, struct ucred *); |
int VOP_SEEK(struct vnode *, off_t, off_t, kauth_cred_t); |
|
|
struct vop_remove_args { |
struct vop_remove_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
Line 300 struct vop_readdir_args { |
|
Line 298 struct vop_readdir_args { |
|
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
struct uio *a_uio; |
struct uio *a_uio; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
int *a_eofflag; |
int *a_eofflag; |
off_t **a_cookies; |
off_t **a_cookies; |
int *a_ncookies; |
int *a_ncookies; |
}; |
}; |
extern const struct vnodeop_desc vop_readdir_desc; |
extern const struct vnodeop_desc vop_readdir_desc; |
int VOP_READDIR(struct vnode *, struct uio *, struct ucred *, int *, |
int VOP_READDIR(struct vnode *, struct uio *, kauth_cred_t, int *, off_t **, |
off_t **, int *); |
int *); |
|
|
struct vop_readlink_args { |
struct vop_readlink_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
struct uio *a_uio; |
struct uio *a_uio; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
}; |
}; |
extern const struct vnodeop_desc vop_readlink_desc; |
extern const struct vnodeop_desc vop_readlink_desc; |
int VOP_READLINK(struct vnode *, struct uio *, struct ucred *); |
int VOP_READLINK(struct vnode *, struct uio *, kauth_cred_t); |
|
|
struct vop_abortop_args { |
struct vop_abortop_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
Line 415 struct vop_lease_args { |
|
Line 413 struct vop_lease_args { |
|
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
struct lwp *a_l; |
struct lwp *a_l; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
int a_flag; |
int a_flag; |
}; |
}; |
extern const struct vnodeop_desc vop_lease_desc; |
extern const struct vnodeop_desc vop_lease_desc; |
int VOP_LEASE(struct vnode *, struct lwp *, struct ucred *, int); |
int VOP_LEASE(struct vnode *, struct lwp *, kauth_cred_t, int); |
|
|
struct vop_whiteout_args { |
struct vop_whiteout_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
Line 459 struct vop_closeextattr_args { |
|
Line 457 struct vop_closeextattr_args { |
|
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
int a_commit; |
int a_commit; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_closeextattr_desc; |
extern const struct vnodeop_desc vop_closeextattr_desc; |
int VOP_CLOSEEXTATTR(struct vnode *, int, struct ucred *, struct lwp *); |
int VOP_CLOSEEXTATTR(struct vnode *, int, kauth_cred_t, struct lwp *); |
|
|
struct vop_getextattr_args { |
struct vop_getextattr_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
Line 472 struct vop_getextattr_args { |
|
Line 470 struct vop_getextattr_args { |
|
const char *a_name; |
const char *a_name; |
struct uio *a_uio; |
struct uio *a_uio; |
size_t *a_size; |
size_t *a_size; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_getextattr_desc; |
extern const struct vnodeop_desc vop_getextattr_desc; |
int VOP_GETEXTATTR(struct vnode *, int, const char *, struct uio *, |
int VOP_GETEXTATTR(struct vnode *, int, const char *, struct uio *, |
size_t *, struct ucred *, struct lwp *); |
size_t *, kauth_cred_t, struct lwp *); |
|
|
struct vop_listextattr_args { |
struct vop_listextattr_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
Line 485 struct vop_listextattr_args { |
|
Line 483 struct vop_listextattr_args { |
|
int a_attrnamespace; |
int a_attrnamespace; |
struct uio *a_uio; |
struct uio *a_uio; |
size_t *a_size; |
size_t *a_size; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_listextattr_desc; |
extern const struct vnodeop_desc vop_listextattr_desc; |
int VOP_LISTEXTATTR(struct vnode *, int, struct uio *, size_t *, |
int VOP_LISTEXTATTR(struct vnode *, int, struct uio *, size_t *, |
struct ucred *, struct lwp *); |
kauth_cred_t, struct lwp *); |
|
|
struct vop_openextattr_args { |
struct vop_openextattr_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_openextattr_desc; |
extern const struct vnodeop_desc vop_openextattr_desc; |
int VOP_OPENEXTATTR(struct vnode *, struct ucred *, struct lwp *); |
int VOP_OPENEXTATTR(struct vnode *, kauth_cred_t, struct lwp *); |
|
|
struct vop_deleteextattr_args { |
struct vop_deleteextattr_args { |
const struct vnodeop_desc *a_desc; |
const struct vnodeop_desc *a_desc; |
struct vnode *a_vp; |
struct vnode *a_vp; |
int a_attrnamespace; |
int a_attrnamespace; |
const char *a_name; |
const char *a_name; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_deleteextattr_desc; |
extern const struct vnodeop_desc vop_deleteextattr_desc; |
int VOP_DELETEEXTATTR(struct vnode *, int, const char *, struct ucred *, |
int VOP_DELETEEXTATTR(struct vnode *, int, const char *, kauth_cred_t, |
struct lwp *); |
struct lwp *); |
|
|
struct vop_setextattr_args { |
struct vop_setextattr_args { |
Line 519 struct vop_setextattr_args { |
|
Line 517 struct vop_setextattr_args { |
|
int a_attrnamespace; |
int a_attrnamespace; |
const char *a_name; |
const char *a_name; |
struct uio *a_uio; |
struct uio *a_uio; |
struct ucred *a_cred; |
kauth_cred_t a_cred; |
struct lwp *a_l; |
struct lwp *a_l; |
}; |
}; |
extern const struct vnodeop_desc vop_setextattr_desc; |
extern const struct vnodeop_desc vop_setextattr_desc; |
int VOP_SETEXTATTR(struct vnode *, int, const char *, struct uio *, |
int VOP_SETEXTATTR(struct vnode *, int, const char *, struct uio *, |
struct ucred *, struct lwp *); |
kauth_cred_t, struct lwp *); |
|
|
/* Special cases: */ |
/* Special cases: */ |
#include <sys/buf.h> |
#include <sys/buf.h> |