linux_stats.c (68225) | linux_stats.c (68519) |
---|---|
1/*- 2 * Copyright (c) 1994-1995 S�ren Schmidt 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 1994-1995 S�ren Schmidt 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/compat/linux/linux_stats.c 68225 2000-11-02 06:08:26Z marcel $ | 28 * $FreeBSD: head/sys/compat/linux/linux_stats.c 68519 2000-11-09 07:27:55Z marcel $ |
29 */ 30 31#include <sys/param.h> 32#include <sys/conf.h> 33#include <sys/dirent.h> 34#include <sys/file.h> 35#include <sys/filedesc.h> 36#include <sys/proc.h> 37#include <sys/mount.h> 38#include <sys/namei.h> 39#include <sys/stat.h> 40#include <sys/systm.h> 41#include <sys/vnode.h> 42 43#include <machine/../linux/linux.h> | 29 */ 30 31#include <sys/param.h> 32#include <sys/conf.h> 33#include <sys/dirent.h> 34#include <sys/file.h> 35#include <sys/filedesc.h> 36#include <sys/proc.h> 37#include <sys/mount.h> 38#include <sys/namei.h> 39#include <sys/stat.h> 40#include <sys/systm.h> 41#include <sys/vnode.h> 42 43#include <machine/../linux/linux.h> |
44#ifdef __alpha__ | |
45#include <linux_proto.h> | 44#include <linux_proto.h> |
46#else 47#include <machine/../linux/linux_proto.h> 48#endif | |
49#include <compat/linux/linux_util.h> 50 51struct linux_newstat { 52#ifdef __alpha__ 53 u_int stat_dev; 54 u_int stat_ino; 55 u_int stat_mode; 56 u_int stat_nlink; --- 344 unchanged lines hidden --- | 45#include <compat/linux/linux_util.h> 46 47struct linux_newstat { 48#ifdef __alpha__ 49 u_int stat_dev; 50 u_int stat_ino; 51 u_int stat_mode; 52 u_int stat_nlink; --- 344 unchanged lines hidden --- |