Home
last modified time | relevance | path

Searched refs:nsops (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/ipc/
H A Dsem.c390 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()
728 nsops = q->nsops; in perform_atomic_semop()
802 if (q->nsops > 1) in unlink_queue()
823 if (q->nsops > 1) in check_restart()
2095 queue.nsops = nsops; in __do_semtimedop()
2127 if (nsops == 1) { in __do_semtimedop()
2233 if (nsops < 1) in do_semtimedop()
[all …]
/openbmc/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c341 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 Dsyscalls.h34 unsigned nsops,
37 unsigned nsops);
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.h54 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 DEINTR_wrappers.c97 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)
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.h54 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 DEINTR_wrappers.c97 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 Dsyscalls.h719 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 Dsecurity.h473 unsigned nsops, int alter);
1339 struct sembuf *sops, unsigned nsops, in security_sem_semop() argument
H A Dlsm_hook_defs.h263 unsigned nsops, int alter)
/openbmc/linux/security/
H A Dsecurity.c3801 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 Dsyscall.c739 unsigned, nsops, const struct timespec *, timeout) in safe_syscall3()
4021 unsigned nsops) in target_to_host_sembuf() argument
4027 nsops*sizeof(struct target_sembuf), 1); in target_to_host_sembuf()
4031 for(i=0; i<nsops; i++) { in target_to_host_sembuf()
4059 unsigned nsops, in do_semtimedop() argument
4079 if (nsops > TARGET_SEMOPM) { in do_semtimedop()
4083 sops = g_new(struct sembuf, nsops); in do_semtimedop()
4085 if (target_to_host_sembuf(sops, ptr, nsops)) { in do_semtimedop()
4092 ret = get_errno(safe_semtimedop(semid, sops, nsops, pts)); in do_semtimedop()
4097 SEMTIMEDOP_IPC_ARGS(nsops, sops, (long)pts))); in do_semtimedop()
/openbmc/linux/security/smack/
H A Dsmack_lsm.c3279 unsigned nsops, int alter) in smack_sem_semop() argument
/openbmc/linux/security/selinux/
H A Dhooks.c6285 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop() argument