linux_stats.c (10358) | linux_stats.c (12458) |
---|---|
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 * $Id: linux_stats.c,v 1.1 1995/06/25 17:32:42 sos Exp $ | 28 * $Id: linux_stats.c,v 1.2 1995/08/28 09:18:38 julian Exp $ |
29 */ 30 31#include <sys/param.h> 32#include <sys/systm.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> | 29 */ 30 31#include <sys/param.h> 32#include <sys/systm.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/socketvar.h> |
|
39#include <sys/stat.h> 40#include <sys/vnode.h> 41 | 40#include <sys/stat.h> 41#include <sys/vnode.h> 42 |
42#include <machine/cpu.h> 43#include <machine/psl.h> 44#include <machine/reg.h> 45 | |
46#include <i386/linux/linux.h> | 43#include <i386/linux/linux.h> |
44#include <i386/linux/sysproto.h> |
|
47 48struct linux_newstat { 49 unsigned short stat_dev; 50 unsigned short __pad1; 51 unsigned long stat_ino; 52 unsigned short stat_mode; 53 unsigned short stat_nlink; 54 unsigned short stat_uid; --- 214 unchanged lines hidden --- | 45 46struct linux_newstat { 47 unsigned short stat_dev; 48 unsigned short __pad1; 49 unsigned long stat_ino; 50 unsigned short stat_mode; 51 unsigned short stat_nlink; 52 unsigned short stat_uid; --- 214 unchanged lines hidden --- |