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); | |||||
| 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); | |||||
| 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 All 34 Lines | |||||
| #define vn_rangelock_unlock(vp, cookie) \ | #define vn_rangelock_unlock(vp, cookie) \ | ||||
| rangelock_unlock(&(vp)->v_rl, (cookie), VI_MTX(vp)) | rangelock_unlock(&(vp)->v_rl, (cookie), VI_MTX(vp)) | ||||
| #define vn_rangelock_unlock_range(vp, cookie, start, end) \ | #define vn_rangelock_unlock_range(vp, cookie, start, end) \ | ||||
| rangelock_unlock_range(&(vp)->v_rl, (cookie), (start), (end), \ | rangelock_unlock_range(&(vp)->v_rl, (cookie), (start), (end), \ | ||||
| VI_MTX(vp)) | VI_MTX(vp)) | ||||
| #define vn_rangelock_rlock(vp, start, end) \ | #define vn_rangelock_rlock(vp, start, end) \ | ||||
| rangelock_rlock(&(vp)->v_rl, (start), (end), VI_MTX(vp)) | rangelock_rlock(&(vp)->v_rl, (start), (end), VI_MTX(vp)) | ||||
| #define vn_rangelock_rlock_trylock(vp, start, end) \ | |||||
| rangelock_rlock_trylock(&(vp)->v_rl, (start), (end), VI_MTX(vp)) | |||||
| #define vn_rangelock_wlock(vp, start, end) \ | #define vn_rangelock_wlock(vp, start, end) \ | ||||
| rangelock_wlock(&(vp)->v_rl, (start), (end), VI_MTX(vp)) | rangelock_wlock(&(vp)->v_rl, (start), (end), VI_MTX(vp)) | ||||
| #define vn_rangelock_wlock_trylock(vp, start, end) \ | |||||
| rangelock_wlock_trylock(&(vp)->v_rl, (start), (end), VI_MTX(vp)) | |||||
| int vfs_cache_lookup(struct vop_lookup_args *ap); | int vfs_cache_lookup(struct vop_lookup_args *ap); | ||||
| void vfs_timestamp(struct timespec *); | void vfs_timestamp(struct timespec *); | ||||
| void vfs_write_resume(struct mount *mp, int flags); | void vfs_write_resume(struct mount *mp, int flags); | ||||
| int vfs_write_suspend(struct mount *mp, int flags); | int vfs_write_suspend(struct mount *mp, int flags); | ||||
| int vfs_write_suspend_umnt(struct mount *mp); | int vfs_write_suspend_umnt(struct mount *mp); | ||||
| void vnlru_free(int, struct vfsops *); | void vnlru_free(int, struct vfsops *); | ||||
| int vop_stdbmap(struct vop_bmap_args *); | int vop_stdbmap(struct vop_bmap_args *); | ||||
| ▲ Show 20 Lines • Show All 188 Lines • Show Last 20 Lines | |||||