Home
last modified time | relevance | path

Searched refs:nsems (Results 1 – 14 of 14) 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/testcases/kernel/syscalls/ipc/semget/
Dsemget02.c39 int nsems; member
55 TST_EXP_FAIL2(semget(*tc->key, tc->nsems, tc->flags), tc->exp_err, in verify_semget()
56 "semget(%i, %i, %i)", *tc->key, tc->nsems, tc->flags); in verify_semget()
/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/rust/crates/libc/src/unix/haiku/
Dmod.rs1870 pub fn semget(key: ::key_t, nsems: ::c_int, semflg: ::c_int) -> ::c_int; in 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:
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3919 pub fn semget(key: ::key_t, nsems: ::c_int, semflag: ::c_int) -> ::c_int; in semget()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs4092 pub fn semget(key: ::key_t, nsems: ::c_int, semflg: ::c_int) -> ::c_int; in semget()
/third_party/rust/crates/libc/src/fuchsia/
Dmod.rs3960 pub fn semget(key: ::key_t, nsems: ::c_int, semflag: ::c_int) -> ::c_int; in semget()
/third_party/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs5142 pub fn semget(key: key_t, nsems: ::c_int, semflg: ::c_int) -> ::c_int; in semget()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h50164 int nsems; member
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi11340 …<parameter type-id='type-id-41' name='nsems' filepath='../../.././libsanitizer/sanitizer_common/sa…
11347 …<parameter type-id='type-id-41' name='nsems' filepath='../../.././libsanitizer/sanitizer_common/sa…
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi20096 …<parameter type-id='type-id-41' name='nsems' filepath='../../.././libsanitizer/sanitizer_common/sa…
20109 …<parameter type-id='type-id-41' name='nsems' filepath='../../.././libsanitizer/sanitizer_common/sa…