Home
last modified time | relevance | path

Searched refs:sops (Results 1 – 19 of 19) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl01.c28 static struct sembuf sops; variable
80 sops.sem_num = 4; in child_cnt()
81 sops.sem_flg = 0; in child_cnt()
89 if (semop(sem_id, &sops, 1) != -1) in child_cnt()
97 sops.sem_num = 4; in cnt_setup()
98 sops.sem_flg = 0; in cnt_setup()
103 sops.sem_op = 1; in cnt_setup()
104 SAFE_SEMOP(sem_id, &sops, 1); in cnt_setup()
107 sops.sem_op = opval; in cnt_setup()
129 sops.sem_num = 2; in child_pid()
[all …]
/third_party/musl/libc-test/src/functional/
Dipc_sem.c38 struct sembuf sops; in inc() local
72 sops.sem_num = 0; in inc()
73 sops.sem_op = 1; in inc()
74 sops.sem_flg = 0; in inc()
75 T(semop(semid, &sops, 1)); in inc()
90 struct sembuf sops; in dec() local
96 sops.sem_num = 0; in dec()
97 sops.sem_op = -1; in dec()
98 sops.sem_flg = 0; in dec()
99 T(semop(semid, &sops, 1)); in dec()
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop.h10 static inline int sys_semtimedop(int semid, struct sembuf *sops, size_t nsops, in sys_semtimedop() argument
13 return tst_syscall(__NR_semtimedop, semid, sops, nsops, timeout); in sys_semtimedop()
16 static inline int sys_semtimedop_time64(int semid, struct sembuf *sops, in sys_semtimedop_time64() argument
19 return tst_syscall(__NR_semtimedop_time64, semid, sops, nsops, timeout); in sys_semtimedop_time64()
35 struct sembuf *sops, size_t nsops, void *timeout) in call_semop() argument
38 return tv->semop(semid, sops, nsops); in call_semop()
40 return tv->semtimedop(semid, sops, nsops, timeout); in call_semop()
Dsemop01.c23 static struct sembuf sops[PSEMS]; variable
40 TEST(call_semop(tv, sem_id, sops, NSEMS, tst_ts_get(tc[n].to))); in run()
85 sops[i].sem_num = i; in setup()
86 sops[i].sem_op = i * i; in setup()
87 sops[i].sem_flg = SEM_UNDO; in setup()
/third_party/ltp/include/
Dtst_safe_sysv_ipc.h68 int safe_semop(const char *file, const int lineno, int semid, struct sembuf *sops,
70 #define SAFE_SEMOP(semid, sops, nsops) \ argument
71 safe_semop(__FILE__, __LINE__, (semid), (sops), (nsops))
Dtime64_variants.h53 int (*semop)(int semid, struct sembuf *sops, size_t nsops);
54 int (*semtimedop)(int semid, struct sembuf *sops, size_t nsops, void *timeout);
/third_party/ltp/lib/
Dtst_safe_sysv_ipc.c266 int safe_semop(const char *file, const int lineno, int semid, struct sembuf *sops, in safe_semop() argument
271 rval = semop(semid, sops, nsops); in safe_semop()
274 "semop(%d, %p, %zu) failed", semid, sops, nsops); in safe_semop()
278 semid, sops, nsops, rval); in safe_semop()
/third_party/alsa-lib/modules/mixer/simple/
Dhda.c43 .sops = &simple_hda_ops,
Dac97.c42 .sops = &simple_ac97_ops,
Dsbase.h40 struct sm_elem_ops *sops; member
/third_party/rust/crates/libc/src/unix/haiku/
Dmod.rs1872 pub fn semop(semid: ::c_int, sops: *mut sembuf, nsops: ::size_t) -> ::c_int; in semop()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3920 pub fn semop(semid: ::c_int, sops: *mut ::sembuf, nsops: ::size_t) -> ::c_int; in semop()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs4094 pub fn semop(semid: ::c_int, sops: *mut sembuf, nsops: ::size_t) -> ::c_int; in semop()
/third_party/rust/crates/libc/src/fuchsia/
Dmod.rs3961 pub fn semop(semid: ::c_int, sops: *mut ::sembuf, nsops: ::size_t) -> ::c_int; in semop()
/third_party/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs5148 pub fn semop(semid: ::c_int, sops: *mut sembuf, nsops: ::size_t) -> ::c_int; in semop()
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi11353 …<parameter type-id='type-id-3' name='sops' filepath='../../.././libsanitizer/sanitizer_common/sani…
11360 …<parameter type-id='type-id-3' name='sops' filepath='../../.././libsanitizer/sanitizer_common/sani…
11381 …<parameter type-id='type-id-3' name='sops' filepath='../../.././libsanitizer/sanitizer_common/sani…
11389 …<parameter type-id='type-id-3' name='sops' filepath='../../.././libsanitizer/sanitizer_common/sani…
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi20120 …<parameter type-id='type-id-3' name='sops' filepath='../../.././libsanitizer/sanitizer_common/sani…
20133 …<parameter type-id='type-id-3' name='sops' filepath='../../.././libsanitizer/sanitizer_common/sani…
20172 …<parameter type-id='type-id-3' name='sops' filepath='../../.././libsanitizer/sanitizer_common/sani…
20187 …<parameter type-id='type-id-3' name='sops' filepath='../../.././libsanitizer/sanitizer_common/sani…
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h50316 struct sembuf *sops; member
/third_party/astc-encoder/Test/Images/HDRIHaven/HDR-RGB/
Dhdr-rgb-riverwalk.hdr4186 …|o�k�%zX|�c��om�y�c�bdx�i����������JKKJJJKK�L MNMOONOOP�QR�SQoR�vk\SJB�sops�����n�ׯέ��߮����y�t�…