Searched refs:nsems (Results 1 – 5 of 5) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl07.c | 29 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()
|
D | semctl09.c | 106 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/ |
D | tst_safe_sysv_ipc.h | 55 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/ |
D | tst_safe_sysv_ipc.c | 211 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.py | 152 nsems = os.sysconf("SC_SEM_NSEMS_MAX") 156 if nsems == -1 or nsems >= nsems_min:
|