Searched refs:get_arr (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
D | semop01.c | 64 union semun get_arr; variable 88 if (semctl(sem_id_1, 0, GETALL, get_arr) == -1) { in main() 94 if (get_arr.array[i] != i * i) { in main() 132 get_arr.array = malloc(sizeof(unsigned short int) * PSEMS); in setup() 133 if (get_arr.array == NULL) in setup() 153 free(get_arr.array); in cleanup()
|
D | semop04.c | 63 union semun get_arr; member 103 TC[i].get_arr.val = val--; in main() 104 if (semctl(sem_id_1, TC[i].num, SETVAL, TC[i].get_arr) in main()
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl06.c | 182 union semun get_arr; in dotest() local 258 get_arr.array = semvals; in dotest() 259 if (semctl(id, 0, GETALL, get_arr) < 0) { in dotest() 279 get_arr.val = 0; in dotest() 280 if (semctl(id, 0, IPC_RMID, get_arr) < 0) { in dotest()
|