/openbmc/linux/ipc/ |
H A D | sem.c | 138 int nsops; /* number of operations */ member 390 int nsops) in sem_lock() argument 395 if (nsops != 1) { in sem_lock() 648 int result, sem_op, nsops; in perform_atomic_semop_slow() local 656 nsops = q->nsops; in perform_atomic_semop_slow() 659 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop_slow() 721 int result, sem_op, nsops; in perform_atomic_semop() local 728 nsops = q->nsops; in perform_atomic_semop() 740 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop() 766 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop() [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 341 unsigned nsops, in sys_oabi_semtimedop() argument 350 if (nsops > ns->sc_semopm) in sys_oabi_semtimedop() 352 if (nsops < 1 || nsops > SEMOPM) in sys_oabi_semtimedop() 354 sops = kvmalloc_array(nsops, sizeof(*sops), GFP_KERNEL); in sys_oabi_semtimedop() 358 for (i = 0; i < nsops; i++) { in sys_oabi_semtimedop() 376 err = __do_semtimedop(semid, sops, nsops, &ts, ns); in sys_oabi_semtimedop() 379 err = __do_semtimedop(semid, sops, nsops, NULL, ns); in sys_oabi_semtimedop() 386 unsigned nsops) in sys_oabi_semop() argument 388 return sys_oabi_semtimedop(semid, tsops, nsops, NULL); in sys_oabi_semop() 411 unsigned nsops, in sys_oabi_semtimedop() argument [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | syscalls.h | 34 unsigned nsops, 37 unsigned nsops);
|
/openbmc/openbmc-tools/adcapp/src/ |
H A D | EINTR_wrappers.c | 97 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops) in sigwrap_semop() argument 101 if (semop(semid, sops, nsops) == 0) in sigwrap_semop() 110 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeout) 115 return (sigwrap_semop(semid, sops, nsops)); 121 if (semtimedop(semid, sops, nsops, &To.Timeout) == 0)
|
H A D | EINTR_wrappers.h | 54 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops); 55 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeou…
|
/openbmc/openbmc-tools/pwmtachtool/src/ |
H A D | EINTR_wrappers.h | 54 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops); 55 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeou…
|
H A D | EINTR_wrappers.c | 97 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops) in sigwrap_semop() argument 101 if (semop(semid, sops, nsops) == 0) in sigwrap_semop()
|
/openbmc/linux/include/linux/ |
H A D | syscalls.h | 719 unsigned nsops, 722 unsigned nsops, 725 unsigned nsops); 1256 unsigned int nsops, 1270 unsigned int nsops, 1272 long __do_semtimedop(int semid, struct sembuf *tsems, unsigned int nsops,
|
H A D | security.h | 473 unsigned nsops, int alter); 1339 struct sembuf *sops, unsigned nsops, in security_sem_semop() argument
|
H A D | lsm_hook_defs.h | 263 unsigned nsops, int alter)
|
/openbmc/linux/security/ |
H A D | security.c | 3801 unsigned nsops, int alter) in security_sem_semop() argument 3803 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter); in security_sem_semop()
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 771 unsigned, nsops, const struct timespec *, timeout) in safe_syscall3() 4051 unsigned nsops) in target_to_host_sembuf() argument 4057 nsops*sizeof(struct target_sembuf), 1); in target_to_host_sembuf() 4061 for(i=0; i<nsops; i++) { in target_to_host_sembuf() 4089 unsigned nsops, in do_semtimedop() argument 4109 if (nsops > TARGET_SEMOPM) { in do_semtimedop() 4113 sops = g_new(struct sembuf, nsops); in do_semtimedop() 4115 if (target_to_host_sembuf(sops, ptr, nsops)) { in do_semtimedop() 4122 ret = get_errno(safe_semtimedop(semid, sops, nsops, pts)); in do_semtimedop() 4127 SEMTIMEDOP_IPC_ARGS(nsops, sop in do_semtimedop() [all...] |
/openbmc/linux/security/smack/ |
H A D | smack_lsm.c | 3279 unsigned nsops, int alter) in smack_sem_semop() argument
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 6285 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop() argument
|