Deleted Added
full compact
vnode.h (195148) vnode.h (197405)
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

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)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

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)vnode.h 8.7 (Berkeley) 2/4/94
30 * $FreeBSD: head/sys/sys/vnode.h 195148 2009-06-28 21:49:43Z stas $
30 * $FreeBSD: head/sys/sys/vnode.h 197405 2009-09-22 15:15:03Z trasz $
31 */
32
33#ifndef _SYS_VNODE_H_
34#define _SYS_VNODE_H_
35
36#include <sys/bufobj.h>
37#include <sys/queue.h>
38#include <sys/lock.h>

--- 570 unchanged lines hidden (view full) ---

609int vn_fullpath(struct thread *td, struct vnode *vn,
610 char **retbuf, char **freebuf);
611int vn_fullpath_global(struct thread *td, struct vnode *vn,
612 char **retbuf, char **freebuf);
613int vn_commname(struct vnode *vn, char *buf, u_int buflen);
614int vaccess(enum vtype type, mode_t file_mode, uid_t file_uid,
615 gid_t file_gid, accmode_t accmode, struct ucred *cred,
616 int *privused);
31 */
32
33#ifndef _SYS_VNODE_H_
34#define _SYS_VNODE_H_
35
36#include <sys/bufobj.h>
37#include <sys/queue.h>
38#include <sys/lock.h>

--- 570 unchanged lines hidden (view full) ---

609int vn_fullpath(struct thread *td, struct vnode *vn,
610 char **retbuf, char **freebuf);
611int vn_fullpath_global(struct thread *td, struct vnode *vn,
612 char **retbuf, char **freebuf);
613int vn_commname(struct vnode *vn, char *buf, u_int buflen);
614int vaccess(enum vtype type, mode_t file_mode, uid_t file_uid,
615 gid_t file_gid, accmode_t accmode, struct ucred *cred,
616 int *privused);
617int vaccess_acl_nfs4(enum vtype type, uid_t file_uid, gid_t file_gid,
618 struct acl *aclp, accmode_t accmode, struct ucred *cred,
619 int *privused);
617int vaccess_acl_posix1e(enum vtype type, uid_t file_uid,
618 gid_t file_gid, struct acl *acl, accmode_t accmode,
619 struct ucred *cred, int *privused);
620void vattr_null(struct vattr *vap);
621int vcount(struct vnode *vp);
622void vdrop(struct vnode *);
623void vdropl(struct vnode *);
624void vdestroy(struct vnode *);

--- 156 unchanged lines hidden ---
620int vaccess_acl_posix1e(enum vtype type, uid_t file_uid,
621 gid_t file_gid, struct acl *acl, accmode_t accmode,
622 struct ucred *cred, int *privused);
623void vattr_null(struct vattr *vap);
624int vcount(struct vnode *vp);
625void vdrop(struct vnode *);
626void vdropl(struct vnode *);
627void vdestroy(struct vnode *);

--- 156 unchanged lines hidden ---