Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c1354 struct sembuf sembuf; in sysctl_nested_wait() local
1360 sembuf.sem_num = 0; in sysctl_nested_wait()
1361 sembuf.sem_flg = 0; in sysctl_nested_wait()
1362 sembuf.sem_op = 0; in sysctl_nested_wait()
1364 if (semop(sem, &sembuf, 1) < 0) { in sysctl_nested_wait()
1391 struct sembuf sembuf; in sysctl_nested_child() local
1431 sembuf.sem_op = -1; in sysctl_nested_child()
1432 sembuf in sysctl_nested_child()
[all...]
/linux/ipc/
H A Dsem.c136 struct sembuf *sops; /* array of pending operations */
137 struct sembuf *blocking; /* the operation that blocked */
389 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, in sem_lock()
650 struct sembuf *sop; in perform_atomic_semop_slow()
652 struct sembuf *sops; in perform_atomic_semop_slow()
722 struct sembuf *sop; in perform_atomic_semop()
724 struct sembuf *sops; in perform_atomic_semop()
893 static int do_smart_wakeup_zero(struct sem_array *sma, struct sembuf *sops, in do_smart_wakeup_zero()
1005 static void set_semotime(struct sem_array *sma, struct sembuf *sops) in set_semotime()
1029 static void do_smart_update(struct sem_array *sma, struct sembuf *sop
[all...]
H A Dsyscall.c30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in ksys_ipc()
/linux/include/uapi/linux/
H A Dsem.h40 struct sembuf { struct
/linux/tools/testing/selftests/mm/
H A Drmap.c30 struct sembuf sem_wait = {0, -1, 0};
31 struct sembuf sem_signal = {0, 1, 0};
/linux/include/uapi/asm-generic/
H A DKbuild22 mandatory-y += sembuf.h
/linux/include/linux/
H A Dsyscalls.h42 struct sembuf;
763 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
766 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops,
769 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
1306 long ksys_semtimedop(int semid, struct sembuf __user *tsops,
1320 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems,
1323 long __do_semtimedop(int semid, struct sembuf *tsems, unsigned int nsops,
/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c343 struct sembuf *sops; in sys_oabi_semtimedop()
/linux/security/
H A Dsecurity.c3687 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop()
/linux/security/smack/
H A Dsmack_lsm.c3344 static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops,
/linux/security/selinux/
H A Dhooks.c6616 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semctl()