1*41715070Sdholland /* $NetBSD: tmpfs_vnops.h,v 1.14 2021/07/18 23:57:14 dholland Exp $ */ 2ec933656Sjmmv 3ec933656Sjmmv /* 4cff91bd8Sjmmv * Copyright (c) 2005, 2006 The NetBSD Foundation, Inc. 5ec933656Sjmmv * All rights reserved. 6ec933656Sjmmv * 7ec933656Sjmmv * This code is derived from software contributed to The NetBSD Foundation 8b0085cabSjmmv * by Julio M. Merino Vidal, developed as part of Google's Summer of Code 9b0085cabSjmmv * 2005 program. 10ec933656Sjmmv * 11ec933656Sjmmv * Redistribution and use in source and binary forms, with or without 12ec933656Sjmmv * modification, are permitted provided that the following conditions 13ec933656Sjmmv * are met: 14ec933656Sjmmv * 1. Redistributions of source code must retain the above copyright 15ec933656Sjmmv * notice, this list of conditions and the following disclaimer. 16ec933656Sjmmv * 2. Redistributions in binary form must reproduce the above copyright 17ec933656Sjmmv * notice, this list of conditions and the following disclaimer in the 18ec933656Sjmmv * documentation and/or other materials provided with the distribution. 19ec933656Sjmmv * 20ec933656Sjmmv * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 21ec933656Sjmmv * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 22ec933656Sjmmv * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23ec933656Sjmmv * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 24ec933656Sjmmv * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25ec933656Sjmmv * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26ec933656Sjmmv * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27ec933656Sjmmv * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28ec933656Sjmmv * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29ec933656Sjmmv * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30ec933656Sjmmv * POSSIBILITY OF SUCH DAMAGE. 31ec933656Sjmmv */ 32ec933656Sjmmv 334bffed72Schristos #ifndef _FS_TMPFS_TMPFS_VNOPS_H_ 344bffed72Schristos #define _FS_TMPFS_TMPFS_VNOPS_H_ 35ec933656Sjmmv 36ec933656Sjmmv #if !defined(_KERNEL) 374bffed72Schristos #error not supposed to be exposed to userland. 38ec933656Sjmmv #endif 39ec933656Sjmmv 40ec933656Sjmmv #include <miscfs/genfs/genfs.h> 41ec933656Sjmmv 42ec933656Sjmmv /* 43ec933656Sjmmv * Declarations for tmpfs_vnops.c. 44ec933656Sjmmv */ 45ec933656Sjmmv 46ec933656Sjmmv extern int (**tmpfs_vnodeop_p)(void *); 47ec933656Sjmmv 48ec933656Sjmmv int tmpfs_lookup (void *); 49ec933656Sjmmv int tmpfs_create (void *); 50ec933656Sjmmv int tmpfs_mknod (void *); 51ec933656Sjmmv int tmpfs_open (void *); 52ec933656Sjmmv int tmpfs_close (void *); 53ec933656Sjmmv int tmpfs_access (void *); 54ec933656Sjmmv int tmpfs_getattr (void *); 55ec933656Sjmmv int tmpfs_setattr (void *); 56ec933656Sjmmv int tmpfs_read (void *); 57ec933656Sjmmv int tmpfs_write (void *); 58ec933656Sjmmv int tmpfs_fsync (void *); 59ec933656Sjmmv int tmpfs_remove (void *); 60ec933656Sjmmv int tmpfs_link (void *); 61ec933656Sjmmv int tmpfs_rename (void *); 62ec933656Sjmmv int tmpfs_mkdir (void *); 63ec933656Sjmmv int tmpfs_rmdir (void *); 64ec933656Sjmmv int tmpfs_symlink (void *); 65ec933656Sjmmv int tmpfs_readdir (void *); 66ec933656Sjmmv int tmpfs_readlink (void *); 67ec933656Sjmmv int tmpfs_inactive (void *); 68ec933656Sjmmv int tmpfs_reclaim (void *); 69ec933656Sjmmv int tmpfs_print (void *); 70ec933656Sjmmv int tmpfs_pathconf (void *); 71b6d141c7Sjmmv int tmpfs_advlock (void *); 72ec933656Sjmmv int tmpfs_getpages (void *); 73647aa775Syamt int tmpfs_putpages (void *); 7407b10a7bSpooka int tmpfs_whiteout (void *); 75ec933656Sjmmv 764bffed72Schristos #endif /* _FS_TMPFS_TMPFS_VNOPS_H_ */ 77