1974fd8c6SXin LI /* $NetBSD: tmpfs_fifoops.h,v 1.4 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_FIFOOPS_H_ 38d1fa59e9SXin LI #define _FS_TMPFS_TMPFS_FIFOOPS_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 #include <fs/tmpfs/tmpfs_vnops.h> 45d1fa59e9SXin LI 46d1fa59e9SXin LI /* 47d1fa59e9SXin LI * Declarations for tmpfs_fifoops.c. 48d1fa59e9SXin LI */ 49d1fa59e9SXin LI 50d1fa59e9SXin LI extern struct vop_vector tmpfs_fifoop_entries; 51d1fa59e9SXin LI 52d1fa59e9SXin LI #endif /* _FS_TMPFS_TMPFS_FIFOOPS_H_ */ 53