vnode.h (34266) | vnode.h (34611) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)vnode.h 8.7 (Berkeley) 2/4/94 | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)vnode.h 8.7 (Berkeley) 2/4/94 |
34 * $Id: vnode.h,v 1.67 1998/03/07 21:36:27 dyson Exp $ | 34 * $Id: vnode.h,v 1.68 1998/03/08 09:58:35 julian Exp $ |
35 */ 36 37#ifndef _SYS_VNODE_H_ 38#define _SYS_VNODE_H_ 39 40#include <sys/queue.h> 41#include <sys/select.h> /* needed for struct selinfo in vnodes */ 42 --- 441 unchanged lines hidden (view full) --- 484void vdrop __P((struct vnode *)); 485int vfinddev __P((dev_t dev, enum vtype type, struct vnode **vpp)); 486void vfs_opv_init __P((struct vnodeopv_desc **them)); 487int vflush __P((struct mount *mp, struct vnode *skipvp, int flags)); 488int vget __P((struct vnode *vp, int lockflag, struct proc *p)); 489void vgone __P((struct vnode *vp)); 490void vhold __P((struct vnode *)); 491int vinvalbuf __P((struct vnode *vp, int save, struct ucred *cred, | 35 */ 36 37#ifndef _SYS_VNODE_H_ 38#define _SYS_VNODE_H_ 39 40#include <sys/queue.h> 41#include <sys/select.h> /* needed for struct selinfo in vnodes */ 42 --- 441 unchanged lines hidden (view full) --- 484void vdrop __P((struct vnode *)); 485int vfinddev __P((dev_t dev, enum vtype type, struct vnode **vpp)); 486void vfs_opv_init __P((struct vnodeopv_desc **them)); 487int vflush __P((struct mount *mp, struct vnode *skipvp, int flags)); 488int vget __P((struct vnode *vp, int lockflag, struct proc *p)); 489void vgone __P((struct vnode *vp)); 490void vhold __P((struct vnode *)); 491int vinvalbuf __P((struct vnode *vp, int save, struct ucred *cred, |
492 |
|
492 struct proc *p, int slpflag, int slptimeo)); | 493 struct proc *p, int slpflag, int slptimeo)); |
494int vtruncbuf __P((struct vnode *vp, struct ucred *cred, struct proc *p, 495 off_t length, int blksize)); |
|
493void vprint __P((char *label, struct vnode *vp)); 494int vrecycle __P((struct vnode *vp, struct simplelock *inter_lkp, 495 struct proc *p)); 496int vn_close __P((struct vnode *vp, 497 int flags, struct ucred *cred, struct proc *p)); 498int vn_lock __P((struct vnode *vp, int flags, struct proc *p)); 499int vn_open __P((struct nameidata *ndp, int fmode, int cmode)); 500void vn_pollevent __P((struct vnode *vp, int events)); --- 45 unchanged lines hidden --- | 496void vprint __P((char *label, struct vnode *vp)); 497int vrecycle __P((struct vnode *vp, struct simplelock *inter_lkp, 498 struct proc *p)); 499int vn_close __P((struct vnode *vp, 500 int flags, struct ucred *cred, struct proc *p)); 501int vn_lock __P((struct vnode *vp, int flags, struct proc *p)); 502int vn_open __P((struct nameidata *ndp, int fmode, int cmode)); 503void vn_pollevent __P((struct vnode *vp, int events)); --- 45 unchanged lines hidden --- |