Home
last modified time | relevance | path

Searched refs:shmid_ds (Results 1 – 25 of 76) sorted by relevance

1234

/external/strace/
Dipc_shmctl.c43 typedef struct shmid_ds shmid_ds_t;
60 shmid_ds_t shmid_ds; in print_shmid_ds() local
64 if (umove_or_printaddr(tcp, addr, &shmid_ds)) in print_shmid_ds()
68 printuid("uid=", shmid_ds.shm_perm.uid); in print_shmid_ds()
69 printuid(", gid=", shmid_ds.shm_perm.gid); in print_shmid_ds()
71 print_numeric_umode_t(shmid_ds.shm_perm.mode); in print_shmid_ds()
78 tprintf(", key=%u", (unsigned) shmid_ds.shm_perm.__key); in print_shmid_ds()
79 printuid(", cuid=", shmid_ds.shm_perm.cuid); in print_shmid_ds()
80 printuid(", cgid=", shmid_ds.shm_perm.cgid); in print_shmid_ds()
82 tprintf(", shm_segsz=%u", (unsigned) shmid_ds.shm_segsz); in print_shmid_ds()
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_solaris.cpp304 CHECK_TYPE_SIZE(shmid_ds);
305 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
306 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_segsz);
307 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_atime);
308 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_dtime);
309 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_ctime);
310 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_cpid);
311 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_lpid);
312 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_nattch);
Dsanitizer_platform_limits_freebsd.cpp470 CHECK_TYPE_SIZE(shmid_ds);
471 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
472 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_segsz);
473 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_atime);
474 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_dtime);
475 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_ctime);
476 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_cpid);
477 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_lpid);
478 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_nattch);
Dsanitizer_platform_limits_posix.cpp1143 CHECK_TYPE_SIZE(shmid_ds);
1144 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
1145 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_segsz);
1146 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_atime);
1147 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_dtime);
1148 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_ctime);
1149 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_cpid);
1150 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_lpid);
1151 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_nattch);
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c44 static struct shmid_ds buf;
56 struct shmid_ds *sbuf;
60 {&shm_id_2, IPC_SET, (struct shmid_ds *)-1, EFAULT},
62 {&shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT},
Dhugeshmctl03.c52 static struct shmid_ds buf;
66 struct shmid_ds *sbuf;
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl02.c69 struct shmid_ds buf;
74 struct shmid_ds *sbuf;
82 &shm_id_2, IPC_SET, (struct shmid_ds *)-1, EFAULT},
85 &shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT},
Dshmctl03.c71 struct shmid_ds buf;
76 struct shmid_ds *sbuf;
Dshmctl01.c56 static struct shmid_ds buf;
99 struct shmid_ds *arg;
113 {&shm_id_1, IPC_INFO, (struct shmid_ds *) &info, func_info, NULL},
Dshmctl04.c70 TEST(shmctl(0, SHM_INFO, (struct shmid_ds *)&shm_info)); in main()
/external/compiler-rt/test/asan/TestCases/Linux/
Dshmctl.cc15 struct shmid_ds ds; in main()
23 res = shmctl(0, SHM_INFO, (struct shmid_ds *)&shmInfo); in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/
Dshmctl.cpp15 struct shmid_ds ds; in main()
23 res = shmctl(0, SHM_INFO, (struct shmid_ds *)&shmInfo); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D9-1-buildonly.c17 typedef int (*shmctl_test) (int, int, struct shmid_ds *);
D6-1-buildonly.c24 struct shmid_ds this_type_should_exist, t;
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc1147 CHECK_TYPE_SIZE(shmid_ds);
1148 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
1149 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_segsz);
1150 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_atime);
1151 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_dtime);
1152 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_ctime);
1153 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_cpid);
1154 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_lpid);
1155 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_nattch);
/external/toybox/toys/pending/
Dipcs.c120 struct shmid_ds buf; in show_shm_id()
151 struct shmid_ds buf; in shm_array()
156 if ((max_nr = shmctl(0, SHM_INFO, (struct shmid_ds*)&shm_buf)) < 0) { in shm_array()
176 if ((shmctl(0, 3, (struct shmid_ds*)&ipc_buf)) < 0) return; //IPC_INFO in shm_array()
/external/rust/crates/libc/src/unix/solarish/
Dillumos.rs2 pub struct shmid_ds {
/external/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget01.c69 struct shmid_ds buf; in main()
/external/kernel-headers/original/uapi/linux/
Dshm.h28 struct shmid_ds { struct
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget01.c41 struct shmid_ds buf; in test_hugeshmget()
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/
Dshmdt01.c70 struct shmid_ds buf;
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c49 struct shmid_ds buf;
/external/ltp/include/
Dtst_safe_sysv_ipc.h61 struct shmid_ds *buf);
/external/autotest/client/tests/synctest/src/
Dsynctest.c33 struct shmid_ds shm_desc; in main()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat01.c105 struct shmid_ds buf; in check_functionality()

1234