tmpfs.h (269169) | tmpfs.h (269175) |
---|---|
1/* $NetBSD: tmpfs.h,v 1.26 2007/02/22 06:37:00 thorpej Exp $ */ 2 3/*- 4 * Copyright (c) 2005, 2006 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Julio M. Merino Vidal, developed as part of Google's Summer of Code --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 * POSSIBILITY OF SUCH DAMAGE. 31 * | 1/* $NetBSD: tmpfs.h,v 1.26 2007/02/22 06:37:00 thorpej Exp $ */ 2 3/*- 4 * Copyright (c) 2005, 2006 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Julio M. Merino Vidal, developed as part of Google's Summer of Code --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 * POSSIBILITY OF SUCH DAMAGE. 31 * |
32 * $FreeBSD: stable/10/sys/fs/tmpfs/tmpfs.h 269169 2014-07-28 01:06:36Z kib $ | 32 * $FreeBSD: stable/10/sys/fs/tmpfs/tmpfs.h 269175 2014-07-28 01:23:59Z kib $ |
33 */ 34 35#ifndef _FS_TMPFS_TMPFS_H_ 36#define _FS_TMPFS_TMPFS_H_ 37 38#include <sys/dirent.h> 39#include <sys/mount.h> 40#include <sys/queue.h> --- 338 unchanged lines hidden (view full) --- 379 unsigned long tf_gen; 380}; 381 382#ifdef _KERNEL 383/* 384 * Prototypes for tmpfs_subr.c. 385 */ 386 | 33 */ 34 35#ifndef _FS_TMPFS_TMPFS_H_ 36#define _FS_TMPFS_TMPFS_H_ 37 38#include <sys/dirent.h> 39#include <sys/mount.h> 40#include <sys/queue.h> --- 338 unchanged lines hidden (view full) --- 379 unsigned long tf_gen; 380}; 381 382#ifdef _KERNEL 383/* 384 * Prototypes for tmpfs_subr.c. 385 */ 386 |
387int tmpfs_alloc_node(struct tmpfs_mount *, enum vtype, | 387int tmpfs_alloc_node(struct mount *mp, struct tmpfs_mount *, enum vtype, |
388 uid_t uid, gid_t gid, mode_t mode, struct tmpfs_node *, 389 char *, dev_t, struct tmpfs_node **); 390void tmpfs_free_node(struct tmpfs_mount *, struct tmpfs_node *); 391int tmpfs_alloc_dirent(struct tmpfs_mount *, struct tmpfs_node *, 392 const char *, u_int, struct tmpfs_dirent **); 393void tmpfs_free_dirent(struct tmpfs_mount *, struct tmpfs_dirent *); 394void tmpfs_dirent_init(struct tmpfs_dirent *, const char *, u_int); 395void tmpfs_destroy_vobject(struct vnode *vp, vm_object_t obj); --- 107 unchanged lines hidden --- | 388 uid_t uid, gid_t gid, mode_t mode, struct tmpfs_node *, 389 char *, dev_t, struct tmpfs_node **); 390void tmpfs_free_node(struct tmpfs_mount *, struct tmpfs_node *); 391int tmpfs_alloc_dirent(struct tmpfs_mount *, struct tmpfs_node *, 392 const char *, u_int, struct tmpfs_dirent **); 393void tmpfs_free_dirent(struct tmpfs_mount *, struct tmpfs_dirent *); 394void tmpfs_dirent_init(struct tmpfs_dirent *, const char *, u_int); 395void tmpfs_destroy_vobject(struct vnode *vp, vm_object_t obj); --- 107 unchanged lines hidden --- |