Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/kern/
Dsysv_sem.c1094 struct sembuf *sops; member
1106 struct sembuf *sops; in sys_semop() local
1118 sops = NULL; in sys_semop()
1120 DPRINTF(("call to semop(%d, %p, %u)\n", semid, sops, nsops)); in sys_semop()
1135 sops = small_sops; in sys_semop()
1153 sops = malloc(nsops * sizeof(*sops), M_TEMP, M_WAITOK); in sys_semop()
1155 if ((error = copyin(uap->sops, sops, nsops * sizeof(sops[0]))) != 0) { in sys_semop()
1157 uap->sops, sops, nsops * sizeof(sops[0]))); in sys_semop()
1158 if (sops != small_sops) in sys_semop()
1159 free(sops, M_TEMP); in sys_semop()
[all …]
Dsystrace_args.c1090 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */ in systrace_args()
/freebsd-12-stable/sys/i386/ibcs2/
Dibcs2_ipc.c374 struct sembuf *sops; member
385 ap.sops = uap->sops; in ibcs2_semop()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1311 #define __sanitizer_syscall_pre_semop(semid, sops, nsops) \ argument
1312 __sanitizer_syscall_pre_impl_semop((long)(semid), (long)(sops), (long)(nsops))
1313 #define __sanitizer_syscall_post_semop(res, semid, sops, nsops) \ argument
1314 __sanitizer_syscall_post_impl_semop(res, (long)(semid), (long)(sops), \
1322 #define __sanitizer_syscall_pre_semtimedop(semid, sops, nsops, timeout) \ argument
1323 __sanitizer_syscall_pre_impl_semtimedop((long)(semid), (long)(sops), \
1325 #define __sanitizer_syscall_post_semtimedop(res, semid, sops, nsops, timeout) \ argument
1326 __sanitizer_syscall_post_impl_semtimedop(res, (long)(semid), (long)(sops), \
2747 void __sanitizer_syscall_pre_impl_semop(long semid, long sops, long nsops);
2748 void __sanitizer_syscall_post_impl_semop(long res, long semid, long sops,
[all …]
Dnetbsd_syscall_hooks.h1159 #define __sanitizer_syscall_pre_semop(semid, sops, nsops) \ argument
1160 __sanitizer_syscall_pre_impl_semop((long long)(semid), (long long)(sops), \
1162 #define __sanitizer_syscall_post_semop(res, semid, sops, nsops) \ argument
1164 (long long)(sops), (long long)(nsops))
3729 void __sanitizer_syscall_pre_impl_semop(long long semid, long long sops,
3732 long long sops, long long nsops);
/freebsd-12-stable/contrib/gcclibs/libmudflap/
Dmf-hooks2.c1747 WRAPPER2(int, semop, int semid, struct sembuf *sops, unsigned nsops) in WRAPPER2() argument
1750 MF_VALIDATE_EXTENT (sops, sizeof (*sops) * nsops, __MF_CHECK_READ, in WRAPPER2()
1752 return semop (semid, sops, nsops); in WRAPPER2()
/freebsd-12-stable/sys/compat/linux/
Dlinux_ipc.c519 bsd_args.sops = PTRIN(args->tsops); in linux_semop()
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
Ddt_cg.c631 static const uint_t sops[] = { DIF_OP_STGS, DIF_OP_STTS, DIF_OP_STLS }; in dt_cg_stvar() local
636 return (idp->di_kind == DT_IDENT_ARRAY ? aops[i] : sops[i]); in dt_cg_stvar()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2101 PRE_SYSCALL(semop)(long semid, void *sops, long nsops) {}
2103 POST_SYSCALL(semop)(long res, long semid, void *sops, long nsops) {}
2109 PRE_SYSCALL(semtimedop)(long semid, void *sops, long nsops,
2114 POST_SYSCALL(semtimedop)(long res, long semid, void *sops, long nsops,
/freebsd-12-stable/sys/compat/freebsd32/
Dfreebsd32_systrace_args.c1060 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */ in systrace_args()
/freebsd-12-stable/sys/sys/
Dsysproto.h596 char sops_l_[PADL_(struct sembuf *)]; struct sembuf * sops; char sops_r_[PADR_(struct sembuf *)]; member