HomeSort by relevance Sort by last modified time
    Searched refs:sem_id_1 (Results 1 - 14 of 14) sorted by null

  /external/ltp/testcases/kernel/syscalls/ipc/semget/
semget01.c 64 int sem_id_1 = -1; variable
92 sem_id_1 = TEST_RETURN;
101 if (sem_id_1 != -1) {
102 rm_sema(sem_id_1);
103 sem_id_1 = -1;
122 if (semctl(sem_id_1, 0, IPC_STAT, un_arg) == -1) {
168 rm_sema(sem_id_1);
semget03.c 58 int sem_id_1 = -1; variable
79 sem_id_1 = TEST_RETURN;
129 rm_sema(sem_id_1);
semget06.c 61 int sem_id_1 = -1; variable
87 sem_id_1 = TEST_RETURN;
139 rm_sema(sem_id_1);
semget02.c 62 int sem_id_1 = -1; variable
98 sem_id_1 = TEST_RETURN;
149 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) {
161 rm_sema(sem_id_1);
  /external/ltp/testcases/kernel/syscalls/ipc/semop/
semop03.c 58 int sem_id_1 = -1; variable
93 TEST(semop(sem_id_1, &s_buf, 1));
141 if ((sem_id_1 =
154 rm_sema(sem_id_1);
semop02.c 41 int sem_id_1 = -1; /* a semaphore set with read & alter permissions */ variable
58 {&sem_id_1, (struct sembuf *)&s_buf, BIGOPS, E2BIG},
60 {&sem_id_1, (struct sembuf *)-1, NSOPS, EFAULT},
61 {&sem_id_1, (struct sembuf *)&s_buf, 0, EINVAL},
63 {&sem_id_1, (struct sembuf *)&s_buf, 1, ERANGE}
111 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA);
112 if (sem_id_1 == -1) {
128 if (semctl(sem_id_1, 0, IPC_INFO, arr) == -1)
134 if (semctl(sem_id_1, 0, SETVAL, arr) == -1)
159 rm_sema(sem_id_1);
    [all...]
semop01.c 62 int sem_id_1 = -1; /* a semaphore set with read & alter permissions */ variable
80 TEST(semop(sem_id_1, sops, NSEMS));
88 if (semctl(sem_id_1, 0, GETALL, get_arr) == -1) {
112 if (semctl(sem_id_1, i, SETVAL, set_arr) == -1) {
138 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA);
139 if (sem_id_1 == -1)
151 rm_sema(sem_id_1);
semop05.c 71 int sem_id_1 = -1; variable
112 maybe_run_child(&do_child_uclinux, "dd", &i_uclinux, &sem_id_1);
131 if (semctl(sem_id_1, TC[i].num, SETVAL, TC[i].semunptr)
143 if (self_exec(av[0], "dd", i, sem_id_1) < 0) {
161 rm_sema(sem_id_1);
180 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT |
202 TEST(semop(sem_id_1, &s_buf, 1));
270 if ((sem_id_1 =
283 rm_sema(sem_id_1);
semop04.c 58 int sem_id_1 = -1; variable
104 if (semctl(sem_id_1, TC[i].num, SETVAL, TC[i].get_arr)
113 TEST(semop(sem_id_1, &s_buf, 1));
160 if ((sem_id_1 =
173 rm_sema(sem_id_1);
  /external/ltp/testcases/kernel/syscalls/ipc/semctl/
semctl03.c 70 int sem_id_1 = -1; variable
83 &sem_id_1, -1, SEMUN_CAST & sem_ds, EINVAL},
89 &sem_id_1, GETALL, SEMUN_CAST - 1, EFAULT},
93 &sem_id_1, IPC_SET, SEMUN_CAST - 1, EFAULT}
158 if ((sem_id_1 =
171 rm_sema(sem_id_1);
semctl01.c 53 static int sem_id_1 = -1; variable
108 {&sem_id_1, 0, IPC_STAT, func_stat, SEMUN_CAST & buf, NULL},
109 {&sem_id_1, 0, IPC_SET, func_set, SEMUN_CAST & buf, set_setup},
110 {&sem_id_1, 0, GETALL, func_gall, SEMUN_CAST array, NULL},
111 {&sem_id_1, SEM4, GETNCNT, func_cnt, SEMUN_CAST & buf, cnt_setup},
112 {&sem_id_1, SEM2, GETPID, func_pid, SEMUN_CAST & buf, pid_setup},
113 {&sem_id_1, SEM2, GETVAL, func_gval, SEMUN_CAST & buf, NULL},
114 {&sem_id_1, SEM4, GETZCNT, func_cnt, SEMUN_CAST & buf, cnt_setup},
115 {&sem_id_1, 0, SETALL, func_sall, SEMUN_CAST array, sall_setup},
116 {&sem_id_1, SEM4, SETVAL, func_sval, SEMUN_CAST INCVAL, NULL}
    [all...]
semctl02.c 62 int sem_id_1 = -1; variable
87 TEST(semctl(sem_id_1, 0, IPC_STAT, un_arg));
141 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) {
153 rm_sema(sem_id_1);
semctl05.c 64 int sem_id_1 = -1; variable
112 TEST(semctl(sem_id_1, TC[i].count,
161 if ((sem_id_1 =
174 rm_sema(sem_id_1);
semctl04.c 68 int sem_id_1 = -1; variable
105 rm_sema(sem_id_1);
140 TEST(semctl(sem_id_1, 0, TC[i], arg));
185 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) {

Completed in 133 milliseconds