Searched refs:sembuf (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/testing/selftests/memfd/ |
| H A D | memfd_test.c | 1354 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 D | sem.c | 136 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 D | syscall.c | 30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in ksys_ipc()
|
| /linux/include/uapi/linux/ |
| H A D | sem.h | 40 struct sembuf { struct
|
| /linux/tools/testing/selftests/mm/ |
| H A D | rmap.c | 30 struct sembuf sem_wait = {0, -1, 0}; 31 struct sembuf sem_signal = {0, 1, 0};
|
| /linux/include/uapi/asm-generic/ |
| H A D | Kbuild | 22 mandatory-y += sembuf.h
|
| /linux/arch/arm/kernel/ |
| H A D | sys_oabi-compat.c | 343 struct sembuf *sops; in sys_oabi_semtimedop()
|
| /linux/security/ |
| H A D | security.c | 3687 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop()
|
| /linux/security/smack/ |
| H A D | smack_lsm.c | 3349 static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops, in smack_sem_semop()
|
| /linux/security/selinux/ |
| H A D | hooks.c | 6620 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop()
|