/kernel/linux/linux-6.6/ipc/ |
H A D | sem.c | 138 int nsops; /* number of operations */ member 390 int nsops) in sem_lock() 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() 389 sem_lock(struct sem_array *sma, struct sembuf *sops, int nsops) sem_lock() argument 893 do_smart_wakeup_zero(struct sem_array *sma, struct sembuf *sops, int nsops, struct wake_q_head *wake_q) do_smart_wakeup_zero() argument 1029 do_smart_update(struct sem_array *sma, struct sembuf *sops, int nsops, int otime, struct wake_q_head *wake_q) do_smart_update() argument 1983 __do_semtimedop(int semid, struct sembuf *sops, unsigned nsops, const struct timespec64 *timeout, struct ipc_namespace *ns) __do_semtimedop() argument 2222 do_semtimedop(int semid, struct sembuf __user *tsops, unsigned nsops, const struct timespec64 *timeout) do_semtimedop() argument 2256 ksys_semtimedop(int semid, struct sembuf __user *tsops, unsigned int nsops, const struct __kernel_timespec __user *timeout) ksys_semtimedop() argument 2275 compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, unsigned int nsops, const struct old_timespec32 __user *timeout) compat_ksys_semtimedop() argument [all...] |
/kernel/linux/linux-5.10/ipc/ |
H A D | sem.c | 138 int nsops; /* number of operations */ member 387 int nsops) in sem_lock() 392 if (nsops != 1) { in sem_lock() 645 int result, sem_op, nsops; in perform_atomic_semop_slow() local 653 nsops = q->nsops; in perform_atomic_semop_slow() 656 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop_slow() 718 int result, sem_op, nsops; in perform_atomic_semop() local 725 nsops = q->nsops; in perform_atomic_semop() 386 sem_lock(struct sem_array *sma, struct sembuf *sops, int nsops) sem_lock() argument 891 do_smart_wakeup_zero(struct sem_array *sma, struct sembuf *sops, int nsops, struct wake_q_head *wake_q) do_smart_wakeup_zero() argument 1027 do_smart_update(struct sem_array *sma, struct sembuf *sops, int nsops, int otime, struct wake_q_head *wake_q) do_smart_update() argument 1983 do_semtimedop(int semid, struct sembuf __user *tsops, unsigned nsops, const struct timespec64 *timeout) do_semtimedop() argument 2237 ksys_semtimedop(int semid, struct sembuf __user *tsops, unsigned int nsops, const struct __kernel_timespec __user *timeout) ksys_semtimedop() argument 2256 compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, unsigned int nsops, const struct old_timespec32 __user *timeout) compat_ksys_semtimedop() argument [all...] |
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 341 unsigned nsops, in sys_oabi_semtimedop() 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() 388 return sys_oabi_semtimedop(semid, tsops, nsops, NUL in sys_oabi_semop() 339 sys_oabi_semtimedop(int semid, struct oabi_sembuf __user *tsops, unsigned nsops, const struct old_timespec32 __user *timeout) sys_oabi_semtimedop() argument 385 sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, unsigned nsops) sys_oabi_semop() argument 409 sys_oabi_semtimedop(int semid, struct oabi_sembuf __user *tsops, unsigned nsops, const struct old_timespec32 __user *timeout) sys_oabi_semtimedop() argument 417 sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, unsigned nsops) sys_oabi_semop() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 326 unsigned nsops, in sys_oabi_semtimedop() 334 if (nsops < 1 || nsops > SEMOPM) in sys_oabi_semtimedop() 336 if (!access_ok(tsops, sizeof(*tsops) * nsops)) in sys_oabi_semtimedop() 338 sops = kmalloc_array(nsops, sizeof(*sops), GFP_KERNEL); in sys_oabi_semtimedop() 342 for (i = 0; i < nsops; i++) { in sys_oabi_semtimedop() 360 err = sys_semtimedop_time32(semid, sops, nsops, timeout); in sys_oabi_semtimedop() 368 unsigned nsops) in sys_oabi_semop() 370 return sys_oabi_semtimedop(semid, tsops, nsops, NULL); in sys_oabi_semop() 324 sys_oabi_semtimedop(int semid, struct oabi_sembuf __user *tsops, unsigned nsops, const struct old_timespec32 __user *timeout) sys_oabi_semtimedop() argument 367 sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, unsigned nsops) sys_oabi_semop() argument
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | syscalls.h | 34 unsigned nsops, 37 unsigned nsops);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | syscalls.h | 719 unsigned nsops, 722 unsigned nsops, 725 unsigned nsops); 1250 unsigned int nsops, 1264 unsigned int nsops, 1266 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() 1338 security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, unsigned nsops, int alter) security_sem_semop() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | syscalls.h | 812 unsigned nsops, 815 unsigned nsops, 818 unsigned nsops); 1354 unsigned int nsops, 1368 unsigned int nsops,
|
H A D | security.h | 448 unsigned nsops, int alter); 1256 struct sembuf *sops, unsigned nsops, in security_sem_semop() 1255 security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, unsigned nsops, int alter) security_sem_semop() argument
|
/kernel/linux/linux-5.10/security/ |
H A D | security.c | 1999 unsigned nsops, int alter) in security_sem_semop() 2001 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter); in security_sem_semop() 1998 security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, unsigned nsops, int alter) security_sem_semop() argument
|
/kernel/linux/linux-6.6/security/ |
H A D | security.c | 3792 * @nsops: number of operations 3801 unsigned nsops, int alter) in security_sem_semop() 3803 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter); in security_sem_semop() 3800 security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, unsigned nsops, int alter) security_sem_semop() argument
|
/kernel/linux/linux-5.10/security/smack/ |
H A D | smack_lsm.c | 3128 * @nsops: unused 3136 unsigned nsops, int alter) in smack_sem_semop() 3135 smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops, unsigned nsops, int alter) smack_sem_semop() argument
|
/kernel/linux/linux-6.6/security/smack/ |
H A D | smack_lsm.c | 3271 * @nsops: unused 3279 unsigned nsops, int alter) in smack_sem_semop() 3278 smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops, unsigned nsops, int alter) smack_sem_semop() argument
|
/kernel/linux/linux-5.10/security/selinux/ |
H A D | hooks.c | 6296 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop() 6295 selinux_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, unsigned nsops, int alter) selinux_sem_semop() argument
|
/kernel/linux/linux-6.6/security/selinux/ |
H A D | hooks.c | 6276 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop() 6275 selinux_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, unsigned nsops, int alter) selinux_sem_semop() argument
|