Home
last modified time | relevance | path

Searched refs:SEMUN_CAST (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl03.c56 #define SEMUN_CAST macro
58 #define SEMUN_CAST (union semun) macro
65 #define SEMUN_CAST macro
67 #define SEMUN_CAST (union semun) macro
83 &sem_id_1, -1, SEMUN_CAST & sem_ds, EINVAL},
86 &bad_id, IPC_STAT, SEMUN_CAST & sem_ds, EINVAL},
89 &sem_id_1, GETALL, SEMUN_CAST - 1, EFAULT},
93 &sem_id_1, IPC_SET, SEMUN_CAST - 1, EFAULT}
Dsemctl05.c59 #define SEMUN_CAST macro
61 #define SEMUN_CAST (union semun) macro
70 #define SEMUN_CAST macro
72 #define SEMUN_CAST (union semun) macro
86 5, SETVAL, SEMUN_CAST - 1},
89 0, SETALL, SEMUN_CAST big_arr},
92 5, SETVAL, SEMUN_CAST BIGV}
Dsemctl01.c87 #define SEMUN_CAST macro
89 #define SEMUN_CAST (union semun) macro
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},
[all …]