Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/vnode.h
Show First 20 Lines • Show All 661 Lines • ▼ Show 20 Lines | |||||
void vunref(struct vnode *); | void vunref(struct vnode *); | ||||
void vn_printf(struct vnode *vp, const char *fmt, ...) __printflike(2,3); | void vn_printf(struct vnode *vp, const char *fmt, ...) __printflike(2,3); | ||||
int vrecycle(struct vnode *vp); | int vrecycle(struct vnode *vp); | ||||
int vrecyclel(struct vnode *vp); | int vrecyclel(struct vnode *vp); | ||||
int vn_bmap_seekhole(struct vnode *vp, u_long cmd, off_t *off, | int vn_bmap_seekhole(struct vnode *vp, u_long cmd, off_t *off, | ||||
struct ucred *cred); | struct ucred *cred); | ||||
int vn_close(struct vnode *vp, | int vn_close(struct vnode *vp, | ||||
int flags, struct ucred *file_cred, struct thread *td); | int flags, struct ucred *file_cred, struct thread *td); | ||||
int vn_copy_file_range(struct vnode *invp, off_t *inoffp, | |||||
struct vnode *outvp, off_t *outoffp, size_t *lenp, | |||||
unsigned int flags, struct ucred *incred, struct ucred *outcred, | |||||
struct thread *fsize_td); | |||||
void vn_finished_write(struct mount *mp); | void vn_finished_write(struct mount *mp); | ||||
void vn_finished_secondary_write(struct mount *mp); | void vn_finished_secondary_write(struct mount *mp); | ||||
int vn_fsync_buf(struct vnode *vp, int waitfor); | int vn_fsync_buf(struct vnode *vp, int waitfor); | ||||
int vn_generic_copy_file_range(struct vnode *invp, off_t *inoffp, | |||||
struct vnode *outvp, off_t *outoffp, size_t *lenp, | |||||
unsigned int flags, struct ucred *incred, struct ucred *outcred, | |||||
struct thread *fsize_td); | |||||
int vn_isdisk(struct vnode *vp, int *errp); | int vn_isdisk(struct vnode *vp, int *errp); | ||||
int _vn_lock(struct vnode *vp, int flags, char *file, int line); | int _vn_lock(struct vnode *vp, int flags, char *file, int line); | ||||
#define vn_lock(vp, flags) _vn_lock(vp, flags, __FILE__, __LINE__) | #define vn_lock(vp, flags) _vn_lock(vp, flags, __FILE__, __LINE__) | ||||
int vn_open(struct nameidata *ndp, int *flagp, int cmode, struct file *fp); | int vn_open(struct nameidata *ndp, int *flagp, int cmode, struct file *fp); | ||||
int vn_open_cred(struct nameidata *ndp, int *flagp, int cmode, | int vn_open_cred(struct nameidata *ndp, int *flagp, int cmode, | ||||
u_int vn_open_flags, struct ucred *cred, struct file *fp); | u_int vn_open_flags, struct ucred *cred, struct file *fp); | ||||
int vn_open_vnode(struct vnode *vp, int fmode, struct ucred *cred, | int vn_open_vnode(struct vnode *vp, int fmode, struct ucred *cred, | ||||
struct thread *td, struct file *fp); | struct thread *td, struct file *fp); | ||||
▲ Show 20 Lines • Show All 242 Lines • Show Last 20 Lines |