Home
last modified time | relevance | path

Searched refs:nsems (Results 1 – 5 of 5) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl07.c29 static unsigned long nsems; variable
40 if (arg.buf->sem_nsems != nsems) { in verify_semctl()
42 arg.buf->sem_nsems, nsems); in verify_semctl()
136 nsems = 1; in setup()
138 semid = SAFE_SEMGET(key, nsems, SEM_RA | IPC_CREAT); in setup()
Dsemctl09.c106 int nsems; in parse_proc_sysvipc() local
112 &nsems) > 0){ in parse_proc_sysvipc()
114 sem_cnt += nsems; in parse_proc_sysvipc()
/third_party/ltp/include/
Dtst_safe_sysv_ipc.h55 int safe_semget(const char *file, const int lineno, key_t key, int nsems,
57 #define SAFE_SEMGET(key, nsems, semflg) \ argument
58 safe_semget(__FILE__, __LINE__, (key), (nsems), (semflg))
/third_party/ltp/lib/
Dtst_safe_sysv_ipc.c211 int safe_semget(const char *file, const int lineno, key_t key, int nsems, in safe_semget() argument
216 rval = semget(key, nsems, semflg); in safe_semget()
220 "semget(%i, %i, %x) failed", (int)key, nsems, semflg); in safe_semget()
224 (int)key, nsems, semflg, rval); in safe_semget()
/third_party/python/Lib/test/
D_test_multiprocessing.py152 nsems = os.sysconf("SC_SEM_NSEMS_MAX")
156 if nsems == -1 or nsems >= nsems_min: