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

Side by Side Diff: fusl/arch/generic/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 int __unused1;
8 » int __unused1; 8 time_t shm_dtime;
9 » time_t shm_dtime; 9 int __unused2;
10 » int __unused2; 10 time_t shm_ctime;
11 » time_t shm_ctime; 11 int __unused3;
12 » int __unused3; 12 pid_t shm_cpid;
13 » pid_t shm_cpid; 13 pid_t shm_lpid;
14 » pid_t shm_lpid; 14 unsigned long shm_nattch;
15 » unsigned long shm_nattch; 15 unsigned long __pad1;
16 » unsigned long __pad1; 16 unsigned long __pad2;
17 » unsigned long __pad2;
18 }; 17 };
19 18
20 struct shminfo { 19 struct shminfo {
21 » unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; 20 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4];
22 }; 21 };
23 22
24 struct shm_info { 23 struct shm_info {
25 » int __used_ids; 24 int __used_ids;
26 » unsigned long shm_tot, shm_rss, shm_swp; 25 unsigned long shm_tot, shm_rss, shm_swp;
27 » unsigned long __swap_attempts, __swap_successes; 26 unsigned long __swap_attempts, __swap_successes;
28 }; 27 };
29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698