Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/vnode.h
| Show First 20 Lines • Show All 1,083 Lines • ▼ Show 20 Lines | |||||
| int vn_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, | int vn_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, | ||||
| struct thread *td); | struct thread *td); | ||||
| int vn_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, | int vn_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, | ||||
| struct thread *td); | struct thread *td); | ||||
| void vn_fsid(struct vnode *vp, struct vattr *va); | void vn_fsid(struct vnode *vp, struct vattr *va); | ||||
| int vn_dir_check_exec(struct vnode *vp, struct componentname *cnp); | int vn_dir_check_exec(struct vnode *vp, struct componentname *cnp); | ||||
| int vn_lktype_write(struct mount *mp, struct vnode *vp); | |||||
| #define VOP_UNLOCK_FLAGS(vp, flags) ({ \ | #define VOP_UNLOCK_FLAGS(vp, flags) ({ \ | ||||
| struct vnode *_vp = (vp); \ | struct vnode *_vp = (vp); \ | ||||
| int _flags = (flags); \ | int _flags = (flags); \ | ||||
| int _error; \ | int _error; \ | ||||
| \ | \ | ||||
| if ((_flags & ~(LK_INTERLOCK | LK_RELEASE)) != 0) \ | if ((_flags & ~(LK_INTERLOCK | LK_RELEASE)) != 0) \ | ||||
| panic("%s: unsupported flags %x\n", __func__, flags); \ | panic("%s: unsupported flags %x\n", __func__, flags); \ | ||||
| Show All 34 Lines | |||||