Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/vnode.h
Show First 20 Lines • Show All 676 Lines • ▼ Show 20 Lines | int vn_copy_file_range(struct vnode *invp, off_t *inoffp, | ||||
struct thread *fsize_td); | 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, | int vn_generic_copy_file_range(struct vnode *invp, off_t *inoffp, | ||||
struct vnode *outvp, off_t *outoffp, size_t *lenp, | struct vnode *outvp, off_t *outoffp, size_t *lenp, | ||||
unsigned int flags, struct ucred *incred, struct ucred *outcred, | unsigned int flags, struct ucred *incred, struct ucred *outcred, | ||||
struct thread *fsize_td); | struct thread *fsize_td); | ||||
int vn_need_pageq_flush(struct vnode *vp); | |||||
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 55 Lines • ▼ Show 20 Lines | |||||
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 *); | ||||
int vop_stdfdatasync_buf(struct vop_fdatasync_args *); | int vop_stdfdatasync_buf(struct vop_fdatasync_args *); | ||||
int vop_stdfsync(struct vop_fsync_args *); | int vop_stdfsync(struct vop_fsync_args *); | ||||
int vop_stdgetwritemount(struct vop_getwritemount_args *); | int vop_stdgetwritemount(struct vop_getwritemount_args *); | ||||
int vop_stdgetpages(struct vop_getpages_args *); | int vop_stdgetpages(struct vop_getpages_args *); | ||||
int vop_stdinactive(struct vop_inactive_args *); | int vop_stdinactive(struct vop_inactive_args *); | ||||
int vop_stdneed_inactive(struct vop_need_inactive_args *); | |||||
int vop_stdislocked(struct vop_islocked_args *); | int vop_stdislocked(struct vop_islocked_args *); | ||||
int vop_stdkqfilter(struct vop_kqfilter_args *); | int vop_stdkqfilter(struct vop_kqfilter_args *); | ||||
int vop_stdlock(struct vop_lock1_args *); | int vop_stdlock(struct vop_lock1_args *); | ||||
int vop_stdputpages(struct vop_putpages_args *); | int vop_stdputpages(struct vop_putpages_args *); | ||||
int vop_stdunlock(struct vop_unlock_args *); | int vop_stdunlock(struct vop_unlock_args *); | ||||
int vop_nopoll(struct vop_poll_args *); | int vop_nopoll(struct vop_poll_args *); | ||||
int vop_stdaccess(struct vop_access_args *ap); | int vop_stdaccess(struct vop_access_args *ap); | ||||
int vop_stdaccessx(struct vop_accessx_args *ap); | int vop_stdaccessx(struct vop_accessx_args *ap); | ||||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
int vop_sigdefer(struct vop_vector *vop, struct vop_generic_args *a); | int vop_sigdefer(struct vop_vector *vop, struct vop_generic_args *a); | ||||
#ifdef DEBUG_VFS_LOCKS | #ifdef DEBUG_VFS_LOCKS | ||||
void vop_strategy_pre(void *a); | void vop_strategy_pre(void *a); | ||||
void vop_lock_pre(void *a); | void vop_lock_pre(void *a); | ||||
void vop_lock_post(void *a, int rc); | void vop_lock_post(void *a, int rc); | ||||
void vop_unlock_pre(void *a); | void vop_unlock_pre(void *a); | ||||
void vop_unlock_post(void *a, int rc); | void vop_unlock_post(void *a, int rc); | ||||
void vop_need_inactive_pre(void *a); | |||||
void vop_need_inactive_post(void *a, int rc); | |||||
#else | #else | ||||
#define vop_strategy_pre(x) do { } while (0) | #define vop_strategy_pre(x) do { } while (0) | ||||
#define vop_lock_pre(x) do { } while (0) | #define vop_lock_pre(x) do { } while (0) | ||||
#define vop_lock_post(x, y) do { } while (0) | #define vop_lock_post(x, y) do { } while (0) | ||||
#define vop_unlock_pre(x) do { } while (0) | #define vop_unlock_pre(x) do { } while (0) | ||||
#define vop_unlock_post(x, y) do { } while (0) | #define vop_unlock_post(x, y) do { } while (0) | ||||
#define vop_need_inactive_pre(x) do { } while (0) | |||||
#define vop_need_inactive_post(x, y) do { } while (0) | |||||
#endif | #endif | ||||
void vop_rename_fail(struct vop_rename_args *ap); | void vop_rename_fail(struct vop_rename_args *ap); | ||||
#define VOP_WRITE_PRE(ap) \ | #define VOP_WRITE_PRE(ap) \ | ||||
struct vattr va; \ | struct vattr va; \ | ||||
int error; \ | int error; \ | ||||
off_t osize, ooffset, noffset; \ | off_t osize, ooffset, noffset; \ | ||||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |