Home
last modified time | relevance | path

Searched refs:sembuf (Results 1 – 10 of 10) 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.sem_flg = 0; in sysctl_nested_child()
1433 sembuf.sem_num = 0; in sysctl_nested_child()
1449 if (semop(sem, &sembuf, 1) < 0) { 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 *sops, int nsops, in do_smart_update()
[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/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.c3349 static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops, in smack_sem_semop()
/linux/security/selinux/
H A Dhooks.c6620 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop()