linux.hh (11728:f099627c6750) linux.hh (12297:fd5f1ffae4aa)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
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 are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 138 unchanged lines hidden (view full) ---

147 uint64_t st_atimeX;
148 uint64_t st_atime_nsec;
149 uint64_t st_mtimeX;
150 uint64_t st_mtime_nsec;
151 uint64_t st_ctimeX;
152 uint64_t st_ctime_nsec;
153 int32_t ___glibc_reserved[2];
154 } tgt_stat64;
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
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 are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 138 unchanged lines hidden (view full) ---

147 uint64_t st_atimeX;
148 uint64_t st_atime_nsec;
149 uint64_t st_mtimeX;
150 uint64_t st_mtime_nsec;
151 uint64_t st_ctimeX;
152 uint64_t st_ctime_nsec;
153 int32_t ___glibc_reserved[2];
154 } tgt_stat64;
155
156 typedef struct {
157 int32_t val[2];
158 } tgt_fsid_t;
159
160 typedef struct {
161 uint64_t f_type;
162 uint64_t f_bsize;
163 uint64_t f_blocks;
164 uint64_t f_bfree;
165 uint64_t f_bavail;
166 uint64_t f_files;
167 uint64_t f_ffree;
168 tgt_fsid_t f_fsid;
169 uint64_t f_namelen;
170 uint64_t f_frsize;
171 uint64_t f_flags;
172 uint64_t f_spare[4];
173 } tgt_statfs;
174
175 typedef struct {
176 int64_t uptime;
177 uint64_t loads[3];
178 uint64_t totalram;
179 uint64_t freeram;
180 uint64_t sharedram;
181 uint64_t bufferram;
182 uint64_t totalswap;
183 uint64_t freeswap;
184 uint16_t procs;
185 uint16_t pad;
186 uint64_t totalhigh;
187 uint64_t freehigh;
188 uint32_t mem_unit;
189 } tgt_sysinfo;
155};
156
157#endif
190};
191
192#endif