/third_party/musl/libc-test/src/functional/ |
D | ipc_shm.c | 32 struct shmid_ds shmid_ds; in set() local 52 T(shmctl(shmid, IPC_STAT, &shmid_ds)); in set() 53 EQ(shmid_ds.shm_perm.cuid, geteuid(), "got %d, want %d"); in set() 54 EQ(shmid_ds.shm_perm.uid, geteuid(), "got %d, want %d"); in set() 55 EQ(shmid_ds.shm_perm.cgid, getegid(), "got %d, want %d"); in set() 56 EQ(shmid_ds.shm_perm.gid, getegid(), "got %d, want %d"); in set() 57 EQ(shmid_ds.shm_perm.mode & 0x1ff, 0666, "got %o, want %o"); in set() 58 EQ(shmid_ds.shm_segsz, 100, "got %d, want %d"); in set() 59 EQ(shmid_ds.shm_lpid, 0, "got %d, want %d"); in set() 60 EQ(shmid_ds.shm_cpid, getpid(), "got %d, want %d"); in set() [all …]
|
/third_party/musl/src/ipc/ |
D | shmctl.c | 10 int shmctl(int id, int cmd, struct shmid_ds *buf) in shmctl() 13 struct shmid_ds out, *orig; in shmctl() 15 out = (struct shmid_ds){0}; in shmctl() 21 struct shmid_ds tmp; in shmctl()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl01.c | 103 struct shmid_ds ds1; in check_nattch() 104 struct shmid_ds ds2; in check_nattch() 167 static void check_ds(struct shmid_ds *ds, const char *desc) in check_ds() 196 struct shmid_ds ds; in shmstat_basic_check() 232 struct shmid_ds dummy_ds; in get_shm_idx_from_id()
|
D | shmctl02.c | 45 static struct shmid_ds buf; 60 struct shmid_ds *buf; 64 {&shm_id2, IPC_SET, (struct shmid_ds *)-1, EFAULT}, 65 {&shm_id2, IPC_STAT, (struct shmid_ds *)-1, EFAULT},
|
D | shmctl08.c | 25 static int test_ipc_set(struct shmid_ds *ds) in test_ipc_set() 39 static void check_mode(struct shmid_ds *ds, short exp_mode) in check_mode() 52 struct shmid_ds ds; in verify_shmset()
|
D | shmctl04.c | 116 struct shmid_ds ds; in verify_shminfo() 123 TEST(shmctl(0, SHM_INFO, (struct shmid_ds *)&info)); in verify_shminfo() 158 struct shmid_ds temp_ds; in setup()
|
D | shmctl03.c | 22 TEST(shmctl(0, IPC_INFO, (struct shmid_ds *)&info)); in verify_ipcinfo()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl02.c | 36 static struct shmid_ds buf; 41 struct shmid_ds *sbuf; 45 {&shm_id_2, IPC_SET, (struct shmid_ds *)-1, EFAULT}, 47 {&shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT},
|
D | hugeshmctl03.c | 43 static struct shmid_ds buf; 50 struct shmid_ds *sbuf;
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
D | shm.h | 3 #define shmid_ds shmid64_ds macro 5 struct shmid_ds { struct
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/ |
D | shm.h | 3 #define shmid_ds shmid64_ds macro 5 struct shmid_ds { struct
|
/third_party/musl/libc-test/src/api/ |
D | sys_shm.c | 15 struct shmid_ds x; in f() 26 {int(*p)(int,int,struct shmid_ds*) = shmctl;} in f()
|
/third_party/toybox/toys/pending/ |
D | ipcs.c | 120 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()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
D | 9-1-buildonly.c | 17 typedef int (*shmctl_test) (int, int, struct shmid_ds *);
|
D | 6-1-buildonly.c | 24 static struct shmid_ds this_type_should_exist, t;
|
/third_party/musl/arch/powerpc64/bits/ |
D | shm.h | 3 struct shmid_ds { struct
|
/third_party/musl/porting/linux/user/arch/generic/bits/ |
D | shm.h | 3 struct shmid_ds { struct
|
/third_party/musl/arch/generic/bits/ |
D | shm.h | 7 struct shmid_ds { struct
|
/third_party/musl/arch/mips/bits/ |
D | shm.h | 3 struct shmid_ds { struct
|
/third_party/musl/arch/mipsn32/bits/ |
D | shm.h | 3 struct shmid_ds { struct
|
/third_party/musl/arch/powerpc/bits/ |
D | shm.h | 3 struct shmid_ds { struct
|
/third_party/musl/arch/sh/bits/ |
D | shm.h | 3 struct shmid_ds { struct
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
D | shm.h | 3 struct shmid_ds { struct
|
/third_party/musl/arch/m68k/bits/ |
D | shm.h | 3 struct shmid_ds { struct
|
/third_party/musl/arch/i386/bits/ |
D | shm.h | 3 struct shmid_ds { struct
|