tmpfs.h (188318) | tmpfs.h (191990) |
---|---|
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: head/sys/fs/tmpfs/tmpfs.h 188318 2009-02-08 19:18:33Z kib $ | 32 * $FreeBSD: head/sys/fs/tmpfs/tmpfs.h 191990 2009-05-11 15:33:26Z attilio $ |
33 */ 34 35#ifndef _FS_TMPFS_TMPFS_H_ 36#define _FS_TMPFS_TMPFS_H_ 37 38/* --------------------------------------------------------------------- 39 * KERNEL-SPECIFIC DEFINITIONS 40 * --------------------------------------------------------------------- */ --- 348 unchanged lines hidden (view full) --- 389 390#ifdef _KERNEL 391/* 392 * Prototypes for tmpfs_subr.c. 393 */ 394 395int tmpfs_alloc_node(struct tmpfs_mount *, enum vtype, 396 uid_t uid, gid_t gid, mode_t mode, struct tmpfs_node *, | 33 */ 34 35#ifndef _FS_TMPFS_TMPFS_H_ 36#define _FS_TMPFS_TMPFS_H_ 37 38/* --------------------------------------------------------------------- 39 * KERNEL-SPECIFIC DEFINITIONS 40 * --------------------------------------------------------------------- */ --- 348 unchanged lines hidden (view full) --- 389 390#ifdef _KERNEL 391/* 392 * Prototypes for tmpfs_subr.c. 393 */ 394 395int tmpfs_alloc_node(struct tmpfs_mount *, enum vtype, 396 uid_t uid, gid_t gid, mode_t mode, struct tmpfs_node *, |
397 char *, dev_t, struct thread *, struct tmpfs_node **); | 397 char *, dev_t, struct tmpfs_node **); |
398void tmpfs_free_node(struct tmpfs_mount *, struct tmpfs_node *); 399int tmpfs_alloc_dirent(struct tmpfs_mount *, struct tmpfs_node *, 400 const char *, uint16_t, struct tmpfs_dirent **); 401void tmpfs_free_dirent(struct tmpfs_mount *, struct tmpfs_dirent *, 402 boolean_t); 403int tmpfs_alloc_vp(struct mount *, struct tmpfs_node *, int, | 398void tmpfs_free_node(struct tmpfs_mount *, struct tmpfs_node *); 399int tmpfs_alloc_dirent(struct tmpfs_mount *, struct tmpfs_node *, 400 const char *, uint16_t, struct tmpfs_dirent **); 401void tmpfs_free_dirent(struct tmpfs_mount *, struct tmpfs_dirent *, 402 boolean_t); 403int tmpfs_alloc_vp(struct mount *, struct tmpfs_node *, int, |
404 struct vnode **, struct thread *); | 404 struct vnode **); |
405void tmpfs_free_vp(struct vnode *); 406int tmpfs_alloc_file(struct vnode *, struct vnode **, struct vattr *, 407 struct componentname *, char *); 408void tmpfs_dir_attach(struct vnode *, struct tmpfs_dirent *); 409void tmpfs_dir_detach(struct vnode *, struct tmpfs_dirent *); 410struct tmpfs_dirent * tmpfs_dir_lookup(struct tmpfs_node *node, 411 struct tmpfs_node *f, 412 struct componentname *cnp); --- 156 unchanged lines hidden --- | 405void tmpfs_free_vp(struct vnode *); 406int tmpfs_alloc_file(struct vnode *, struct vnode **, struct vattr *, 407 struct componentname *, char *); 408void tmpfs_dir_attach(struct vnode *, struct tmpfs_dirent *); 409void tmpfs_dir_detach(struct vnode *, struct tmpfs_dirent *); 410struct tmpfs_dirent * tmpfs_dir_lookup(struct tmpfs_node *node, 411 struct tmpfs_node *f, 412 struct componentname *cnp); --- 156 unchanged lines hidden --- |