1*cda5da8dSAndroid Build Coastguard Worker /* 2*cda5da8dSAndroid Build Coastguard Worker * This file is auto-generated. Modifications will be lost. 3*cda5da8dSAndroid Build Coastguard Worker * 4*cda5da8dSAndroid Build Coastguard Worker * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5*cda5da8dSAndroid Build Coastguard Worker * for more information. 6*cda5da8dSAndroid Build Coastguard Worker */ 7*cda5da8dSAndroid Build Coastguard Worker #ifndef _LINUX_SYSINFO_H 8*cda5da8dSAndroid Build Coastguard Worker #define _LINUX_SYSINFO_H 9*cda5da8dSAndroid Build Coastguard Worker #include <linux/types.h> 10*cda5da8dSAndroid Build Coastguard Worker #define SI_LOAD_SHIFT 16 11*cda5da8dSAndroid Build Coastguard Worker struct sysinfo { 12*cda5da8dSAndroid Build Coastguard Worker __kernel_long_t uptime; 13*cda5da8dSAndroid Build Coastguard Worker __kernel_ulong_t loads[3]; 14*cda5da8dSAndroid Build Coastguard Worker __kernel_ulong_t totalram; 15*cda5da8dSAndroid Build Coastguard Worker __kernel_ulong_t freeram; 16*cda5da8dSAndroid Build Coastguard Worker __kernel_ulong_t sharedram; 17*cda5da8dSAndroid Build Coastguard Worker __kernel_ulong_t bufferram; 18*cda5da8dSAndroid Build Coastguard Worker __kernel_ulong_t totalswap; 19*cda5da8dSAndroid Build Coastguard Worker __kernel_ulong_t freeswap; 20*cda5da8dSAndroid Build Coastguard Worker __u16 procs; 21*cda5da8dSAndroid Build Coastguard Worker __u16 pad; 22*cda5da8dSAndroid Build Coastguard Worker __kernel_ulong_t totalhigh; 23*cda5da8dSAndroid Build Coastguard Worker __kernel_ulong_t freehigh; 24*cda5da8dSAndroid Build Coastguard Worker __u32 mem_unit; 25*cda5da8dSAndroid Build Coastguard Worker char _f[20 - 2 * sizeof(__kernel_ulong_t) - sizeof(__u32)]; 26*cda5da8dSAndroid Build Coastguard Worker }; 27*cda5da8dSAndroid Build Coastguard Worker #endif 28