Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Side by Side Diff: fusl/arch/x32/bits/shm.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #define SHMLBA 4096 1 #define SHMLBA 4096
2 2
3 struct shmid_ds 3 struct shmid_ds {
4 { 4 struct ipc_perm shm_perm;
5 » struct ipc_perm shm_perm; 5 size_t shm_segsz;
6 » size_t shm_segsz; 6 time_t shm_atime;
7 » time_t shm_atime; 7 time_t shm_dtime;
8 » time_t shm_dtime; 8 time_t shm_ctime;
9 » time_t shm_ctime; 9 pid_t shm_cpid;
10 » pid_t shm_cpid; 10 pid_t shm_lpid;
11 » pid_t shm_lpid; 11 unsigned long shm_nattch;
12 » unsigned long shm_nattch; 12 unsigned long __pad0;
13 » unsigned long __pad0; 13 unsigned long long __pad1;
14 » unsigned long long __pad1; 14 unsigned long long __pad2;
15 » unsigned long long __pad2;
16 }; 15 };
17 16
18 struct shminfo { 17 struct shminfo {
19 » unsigned long shmmax, __pad0, shmmin, __pad1, shmmni, __pad2, 18 unsigned long shmmax, __pad0, shmmin, __pad1, shmmni, __pad2, shmseg, __pad3,
20 » shmseg, __pad3, shmall, __pad4; 19 shmall, __pad4;
21 » unsigned long long __unused[4]; 20 unsigned long long __unused[4];
22 }; 21 };
23 22
24 struct shm_info { 23 struct shm_info {
25 » int __used_ids; 24 int __used_ids;
26 » int __pad_ids; 25 int __pad_ids;
27 » unsigned long shm_tot, __pad0, shm_rss, __pad1, shm_swp, __pad2; 26 unsigned long shm_tot, __pad0, shm_rss, __pad1, shm_swp, __pad2;
28 » unsigned long __swap_attempts, __pad3, __swap_successes, __pad4; 27 unsigned long __swap_attempts, __pad3, __swap_successes, __pad4;
29 } 28 }
30 #ifdef __GNUC__ 29 #ifdef __GNUC__
31 __attribute__((__aligned__(8))) 30 __attribute__((__aligned__(8)))
32 #endif 31 #endif
33 ; 32 ;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698