tmpfs.h (227802) | tmpfs.h (230180) |
---|---|
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 227802 2011-11-21 20:26:22Z delphij $ | 32 * $FreeBSD: head/sys/fs/tmpfs/tmpfs.h 230180 2012-01-16 00:26:49Z alc $ |
33 */ 34 35#ifndef _FS_TMPFS_TMPFS_H_ 36#define _FS_TMPFS_TMPFS_H_ 37 38/* --------------------------------------------------------------------- 39 * KERNEL-SPECIFIC DEFINITIONS 40 * --------------------------------------------------------------------- */ --- 390 unchanged lines hidden (view full) --- 431 struct tmpfs_node *f, 432 struct componentname *cnp); 433int tmpfs_dir_getdotdent(struct tmpfs_node *, struct uio *); 434int tmpfs_dir_getdotdotdent(struct tmpfs_node *, struct uio *); 435struct tmpfs_dirent * tmpfs_dir_lookupbycookie(struct tmpfs_node *, off_t); 436int tmpfs_dir_getdents(struct tmpfs_node *, struct uio *, off_t *); 437int tmpfs_dir_whiteout_add(struct vnode *, struct componentname *); 438void tmpfs_dir_whiteout_remove(struct vnode *, struct componentname *); | 33 */ 34 35#ifndef _FS_TMPFS_TMPFS_H_ 36#define _FS_TMPFS_TMPFS_H_ 37 38/* --------------------------------------------------------------------- 39 * KERNEL-SPECIFIC DEFINITIONS 40 * --------------------------------------------------------------------- */ --- 390 unchanged lines hidden (view full) --- 431 struct tmpfs_node *f, 432 struct componentname *cnp); 433int tmpfs_dir_getdotdent(struct tmpfs_node *, struct uio *); 434int tmpfs_dir_getdotdotdent(struct tmpfs_node *, struct uio *); 435struct tmpfs_dirent * tmpfs_dir_lookupbycookie(struct tmpfs_node *, off_t); 436int tmpfs_dir_getdents(struct tmpfs_node *, struct uio *, off_t *); 437int tmpfs_dir_whiteout_add(struct vnode *, struct componentname *); 438void tmpfs_dir_whiteout_remove(struct vnode *, struct componentname *); |
439int tmpfs_reg_resize(struct vnode *, off_t); | 439int tmpfs_reg_resize(struct vnode *, off_t, boolean_t); |
440int tmpfs_chflags(struct vnode *, int, struct ucred *, struct thread *); 441int tmpfs_chmod(struct vnode *, mode_t, struct ucred *, struct thread *); 442int tmpfs_chown(struct vnode *, uid_t, gid_t, struct ucred *, 443 struct thread *); 444int tmpfs_chsize(struct vnode *, u_quad_t, struct ucred *, struct thread *); 445int tmpfs_chtimes(struct vnode *, struct timespec *, struct timespec *, 446 struct timespec *, int, struct ucred *, struct thread *); 447void tmpfs_itimes(struct vnode *, const struct timespec *, --- 136 unchanged lines hidden --- | 440int tmpfs_chflags(struct vnode *, int, struct ucred *, struct thread *); 441int tmpfs_chmod(struct vnode *, mode_t, struct ucred *, struct thread *); 442int tmpfs_chown(struct vnode *, uid_t, gid_t, struct ucred *, 443 struct thread *); 444int tmpfs_chsize(struct vnode *, u_quad_t, struct ucred *, struct thread *); 445int tmpfs_chtimes(struct vnode *, struct timespec *, struct timespec *, 446 struct timespec *, int, struct ucred *, struct thread *); 447void tmpfs_itimes(struct vnode *, const struct timespec *, --- 136 unchanged lines hidden --- |