1170808Sdelphij/*	$NetBSD: tmpfs_vnops.h,v 1.7 2005/12/03 17:34:44 christos Exp $	*/
2170808Sdelphij
3182739Sdelphij/*-
4170808Sdelphij * Copyright (c) 2005 The NetBSD Foundation, Inc.
5170808Sdelphij * All rights reserved.
6170808Sdelphij *
7170808Sdelphij * This code is derived from software contributed to The NetBSD Foundation
8170808Sdelphij * by Julio M. Merino Vidal, developed as part of Google's Summer of Code
9170808Sdelphij * 2005 program.
10170808Sdelphij *
11170808Sdelphij * Redistribution and use in source and binary forms, with or without
12170808Sdelphij * modification, are permitted provided that the following conditions
13170808Sdelphij * are met:
14170808Sdelphij * 1. Redistributions of source code must retain the above copyright
15170808Sdelphij *    notice, this list of conditions and the following disclaimer.
16170808Sdelphij * 2. Redistributions in binary form must reproduce the above copyright
17170808Sdelphij *    notice, this list of conditions and the following disclaimer in the
18170808Sdelphij *    documentation and/or other materials provided with the distribution.
19170808Sdelphij *
20170808Sdelphij * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
21170808Sdelphij * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22170808Sdelphij * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23170808Sdelphij * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
24170808Sdelphij * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25170808Sdelphij * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26170808Sdelphij * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27170808Sdelphij * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28170808Sdelphij * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29170808Sdelphij * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30170808Sdelphij * POSSIBILITY OF SUCH DAMAGE.
31170808Sdelphij *
32170808Sdelphij * $FreeBSD: stable/11/sys/fs/tmpfs/tmpfs_vnops.h 328298 2018-01-23 20:08:25Z jhb $
33170808Sdelphij */
34170808Sdelphij
35170808Sdelphij#ifndef _FS_TMPFS_TMPFS_VNOPS_H_
36170808Sdelphij#define _FS_TMPFS_TMPFS_VNOPS_H_
37170808Sdelphij
38170808Sdelphij#if !defined(_KERNEL)
39170808Sdelphij#error not supposed to be exposed to userland.
40170808Sdelphij#endif
41170808Sdelphij
42170808Sdelphij/*
43170808Sdelphij * Declarations for tmpfs_vnops.c.
44170808Sdelphij */
45170808Sdelphij
46170808Sdelphijextern struct vop_vector tmpfs_vnodeop_entries;
47313078Skibextern struct vop_vector tmpfs_vnodeop_nonc_entries;
48170808Sdelphij
49170808Sdelphijvop_access_t	tmpfs_access;
50170808Sdelphijvop_getattr_t	tmpfs_getattr;
51170808Sdelphijvop_setattr_t	tmpfs_setattr;
52328298Sjhbvop_pathconf_t	tmpfs_pathconf;
53328295Sjhbvop_print_t	tmpfs_print;
54170808Sdelphijvop_reclaim_t	tmpfs_reclaim;
55170808Sdelphij
56170808Sdelphij#endif /* _FS_TMPFS_TMPFS_VNOPS_H_ */
57