HomeSort by: relevance | last modified time | path
    Searched refs:sops (Results 1 - 16 of 16) sorted by relevancy

  /src/tests/kernel/
t_semtimedop.c 59 struct sembuf sops; local in function:ATF_TC_BODY
75 sops.sem_num = 0;
76 sops.sem_op = 1;
77 sops.sem_flg = 0;
84 if (semtimedop(semid, &sops, 1, &timeout) == -1) {
110 struct sembuf sops; local in function:ATF_TC_BODY
134 sops.sem_num = 0;
135 sops.sem_op = -1;
136 sops.sem_flg = 0;
141 if (semtimedop(semid, &sops, 1, &timeout) == -1)
171 struct sembuf sops; local in function:ATF_TC_BODY
230 struct sembuf sops; local in function:ATF_TC_BODY
    [all...]
  /src/sys/compat/netbsd32/
netbsd32_ipc.c 216 struct netbsd32_sembuf *sops; local in function:netbsd32_do_semop
227 sops = small_sops;
229 sops = kmem_alloc(nsops * sizeof(*sops), KM_SLEEP);
231 SEM_PRINTF(("too many sops (max=%d, nsops=%zu)\n",
237 error = copyin(NETBSD32PTR64(usops), sops, nsops * sizeof(sops[0]));
240 NETBSD32PTR64(usops), &sops, nsops * sizeof(sops[0])));
241 if (sops != small_sops
    [all...]
netbsd32_compat_10_sysv.c 83 syscallarg(struct sembuf *) sops;
107 SCARG(&semop_args, sops) = NETBSD32IPTR64(SCARG(uap, a3));
netbsd32_syscallargs.h 1156 syscallarg(netbsd32_sembufp_t) sops;
2839 syscallarg(netbsd32_sembufp_t) sops;
netbsd32_systrace_args.c 1563 uarg[1] = (intptr_t) SCARG(p, sops).i32; /* netbsd32_sembufp_t */
3768 uarg[1] = (intptr_t) SCARG(p, sops).i32; /* netbsd32_sembufp_t */
  /src/sys/kern/
sysv_sem.c 814 do_semop1(struct lwp *l, int usemid, struct sembuf *sops,
830 SEM_PRINTF(("do_semop1(%d, %p, %zu)\n", usemid, sops, nsops));
871 if (sops[i].sem_num >= semaptr->sem_nsems) {
890 sopptr = &sops[i];
939 semaptr->_sem_base[sops[i].sem_num].semval -=
940 sops[i].sem_op;
1012 if ((sops[i].sem_flg & SEM_UNDO) == 0)
1014 adjval = sops[i].sem_op;
1018 sops[i].sem_num, -adjval);
1032 if ((sops[i].sem_flg & SEM_UNDO) == 0
1081 struct sembuf *sops; local in function:do_semop
1137 struct sembuf *sops = SCARG(uap, sops); local in function:sys_semtimedop
1153 struct sembuf *sops = SCARG(uap, sops); local in function:sys_semop
    [all...]
systrace_args.c 1624 uarg[1] = (intptr_t) SCARG(p, sops); /* struct sembuf * */
3951 uarg[1] = (intptr_t) SCARG(p, sops); /* struct sembuf * */
  /src/sys/compat/common/
kern_ipc_10.c 73 syscallarg(struct sembuf *) sops;
118 SCARG(&semop_args, sops) =
  /src/sys/compat/freebsd/
freebsd_ipc.c 77 syscallarg(struct sembuf *) sops;
100 SCARG(&semop_args, sops) = (struct sembuf *)SCARG(uap, a3);
  /src/sys/compat/linux/common/
linux_ipccall.c 176 SCARG(&bsa, sops) = (struct sembuf *)SCARG(uap, ptr);
  /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
linux_syscall_hooks.h 1312 #define __sanitizer_syscall_pre_semop(semid, sops, nsops) \
1313 __sanitizer_syscall_pre_impl_semop((long)(semid), (long)(sops), (long)(nsops))
1314 #define __sanitizer_syscall_post_semop(res, semid, sops, nsops) \
1315 __sanitizer_syscall_post_impl_semop(res, (long)(semid), (long)(sops), \
1323 #define __sanitizer_syscall_pre_semtimedop(semid, sops, nsops, timeout) \
1324 __sanitizer_syscall_pre_impl_semtimedop((long)(semid), (long)(sops), \
1326 #define __sanitizer_syscall_post_semtimedop(res, semid, sops, nsops, timeout) \
1327 __sanitizer_syscall_post_impl_semtimedop(res, (long)(semid), (long)(sops), \
2746 void __sanitizer_syscall_pre_impl_semop(long semid, long sops, long nsops);
2747 void __sanitizer_syscall_post_impl_semop(long res, long semid, long sops,
    [all...]
netbsd_syscall_hooks.h 1133 #define __sanitizer_syscall_pre_semop(semid, sops, nsops) \
1134 __sanitizer_syscall_pre_impl_semop((long long)(semid), (long long)(sops), \
1136 #define __sanitizer_syscall_post_semop(res, semid, sops, nsops) \
1138 (long long)(sops), (long long)(nsops))
3557 void __sanitizer_syscall_pre_impl_semop(long long semid, long long sops,
3560 long long sops, long long nsops);
  /src/sys/compat/linux32/common/
linux32_ipccall.c 266 SCARG(&ua, sops) = SCARG_P32(uap, ptr);
  /src/sys/sys/
syscallargs.h 1404 syscallarg(struct sembuf *) sops;
3415 syscallarg(struct sembuf *) sops;
  /src/sys/compat/linux/arch/aarch64/
linux_systrace_args.c 1378 uarg[1] = (intptr_t) SCARG(p, sops); /* struct sembuf * */
  /src/sys/compat/linux/arch/amd64/
linux_systrace_args.c 574 uarg[1] = (intptr_t) SCARG(p, sops); /* struct sembuf * */

Completed in 79 milliseconds