Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/vnode.h
Show First 20 Lines • Show All 723 Lines • ▼ Show 20 Lines | 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_need_pageq_flush(struct vnode *vp); | ||||
bool vn_isdisk_error(struct vnode *vp, int *errp); | bool vn_isdisk_error(struct vnode *vp, int *errp); | ||||
bool vn_isdisk(struct vnode *vp); | bool vn_isdisk(struct vnode *vp); | ||||
int _vn_lock(struct vnode *vp, int flags, const char *file, int line); | int _vn_lock(struct vnode *vp, int flags, const 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__) | ||||
void vn_lock_pair(struct vnode *vp1, bool vp1_locked, struct vnode *vp2, | |||||
bool vp2_locked); | |||||
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); | ||||
void vn_pages_remove(struct vnode *vp, vm_pindex_t start, vm_pindex_t end); | void vn_pages_remove(struct vnode *vp, vm_pindex_t start, vm_pindex_t end); | ||||
int vn_pollrecord(struct vnode *vp, struct thread *p, int events); | int vn_pollrecord(struct vnode *vp, struct thread *p, int events); | ||||
int vn_rdwr(enum uio_rw rw, struct vnode *vp, void *base, | int vn_rdwr(enum uio_rw rw, struct vnode *vp, void *base, | ||||
▲ Show 20 Lines • Show All 356 Lines • Show Last 20 Lines |