1d1fa59e9SXin LI /* $NetBSD: tmpfs_vnops.h,v 1.7 2005/12/03 17:34:44 christos Exp $ */ 2d1fa59e9SXin LI 3e08d5567SXin LI /*- 4*b61a5730SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 5d63027b6SPedro F. Giffuni * 6d1fa59e9SXin LI * Copyright (c) 2005 The NetBSD Foundation, Inc. 7d1fa59e9SXin LI * All rights reserved. 8d1fa59e9SXin LI * 9d1fa59e9SXin LI * This code is derived from software contributed to The NetBSD Foundation 10d1fa59e9SXin LI * by Julio M. Merino Vidal, developed as part of Google's Summer of Code 11d1fa59e9SXin LI * 2005 program. 12d1fa59e9SXin LI * 13d1fa59e9SXin LI * Redistribution and use in source and binary forms, with or without 14d1fa59e9SXin LI * modification, are permitted provided that the following conditions 15d1fa59e9SXin LI * are met: 16d1fa59e9SXin LI * 1. Redistributions of source code must retain the above copyright 17d1fa59e9SXin LI * notice, this list of conditions and the following disclaimer. 18d1fa59e9SXin LI * 2. Redistributions in binary form must reproduce the above copyright 19d1fa59e9SXin LI * notice, this list of conditions and the following disclaimer in the 20d1fa59e9SXin LI * documentation and/or other materials provided with the distribution. 21d1fa59e9SXin LI * 22d1fa59e9SXin LI * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 23d1fa59e9SXin LI * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 24d1fa59e9SXin LI * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 25d1fa59e9SXin LI * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 26d1fa59e9SXin LI * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 27d1fa59e9SXin LI * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 28d1fa59e9SXin LI * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29d1fa59e9SXin LI * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 30d1fa59e9SXin LI * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 31d1fa59e9SXin LI * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32d1fa59e9SXin LI * POSSIBILITY OF SUCH DAMAGE. 33d1fa59e9SXin LI * 34d1fa59e9SXin LI * $FreeBSD$ 35d1fa59e9SXin LI */ 36d1fa59e9SXin LI 37d1fa59e9SXin LI #ifndef _FS_TMPFS_TMPFS_VNOPS_H_ 38d1fa59e9SXin LI #define _FS_TMPFS_TMPFS_VNOPS_H_ 39d1fa59e9SXin LI 40d1fa59e9SXin LI #if !defined(_KERNEL) 41d1fa59e9SXin LI #error not supposed to be exposed to userland. 42d1fa59e9SXin LI #endif 43d1fa59e9SXin LI 44d1fa59e9SXin LI /* 45d1fa59e9SXin LI * Declarations for tmpfs_vnops.c. 46d1fa59e9SXin LI */ 47d1fa59e9SXin LI 48d1fa59e9SXin LI extern struct vop_vector tmpfs_vnodeop_entries; 4900ac6a98SKonstantin Belousov extern struct vop_vector tmpfs_vnodeop_nonc_entries; 50d1fa59e9SXin LI 51d1fa59e9SXin LI vop_access_t tmpfs_access; 52172ffe70SMateusz Guzik vop_fplookup_vexec_t tmpfs_fplookup_vexec; 539a14439fSMateusz Guzik vop_stat_t tmpfs_stat; 54d1fa59e9SXin LI vop_getattr_t tmpfs_getattr; 55d1fa59e9SXin LI vop_setattr_t tmpfs_setattr; 56b501cc5dSJohn Baldwin vop_pathconf_t tmpfs_pathconf; 575b01ccb0SJohn Baldwin vop_print_t tmpfs_print; 58d1fa59e9SXin LI vop_reclaim_t tmpfs_reclaim; 59d1fa59e9SXin LI 60d1fa59e9SXin LI #endif /* _FS_TMPFS_TMPFS_VNOPS_H_ */ 61