1/* 2 * Copyright (c) 2003-2005 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; --- 63 unchanged lines hidden (view full) --- 72// static const int TGT_O_DIRECTIO = 0x00020000; //!< O_DIRECTIO 73// static const int TGT_O_CACHE = 0x00002000; //!< O_CACHE 74// static const int TGT_O_DSYNC = 0x00008000; //!< O_DSYNC 75// static const int TGT_O_RSYNC = 0x00040000; //!< O_RSYNC 76 77 static const int NUM_OPEN_FLAGS; 78 79 static const unsigned TGT_MAP_ANONYMOUS = 0x20; |
80 static const unsigned TGT_MAP_FIXED = 0x10; |
81 82 typedef struct { 83 int64_t uptime; /* Seconds since boot */ 84 uint64_t loads[3]; /* 1, 5, and 15 minute load averages */ 85 uint64_t totalram; /* Total usable main memory size */ 86 uint64_t freeram; /* Available memory size */ 87 uint64_t sharedram; /* Amount of shared memory */ 88 uint64_t bufferram; /* Memory used by buffers */ --- 55 unchanged lines hidden --- |