Symbol: sembuf
arch/arm/kernel/sys_oabi-compat.c
343
struct sembuf *sops;
include/linux/lsm_hook_defs.h
292
LSM_HOOK(int, 0, sem_semop, struct kern_ipc_perm *perm, struct sembuf *sops,
include/linux/security.h
1531
struct sembuf *sops, unsigned nsops,
include/linux/security.h
46
struct sembuf;
include/linux/security.h
564
int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops,
include/linux/syscalls.h
1306
long ksys_semtimedop(int semid, struct sembuf __user *tsops,
include/linux/syscalls.h
1320
long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems,
include/linux/syscalls.h
1323
long __do_semtimedop(int semid, struct sembuf *tsems, unsigned int nsops,
include/linux/syscalls.h
42
struct sembuf;
include/linux/syscalls.h
763
asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
include/linux/syscalls.h
766
asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops,
include/linux/syscalls.h
769
asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
ipc/sem.c
1005
static void set_semotime(struct sem_array *sma, struct sembuf *sops)
ipc/sem.c
1029
static void do_smart_update(struct sem_array *sma, struct sembuf *sops, int nsops,
ipc/sem.c
1075
struct sembuf *sop = q->blocking;
ipc/sem.c
136
struct sembuf *sops; /* array of pending operations */
ipc/sem.c
137
struct sembuf *blocking; /* the operation that blocked */
ipc/sem.c
1983
long __do_semtimedop(int semid, struct sembuf *sops,
ipc/sem.c
1989
struct sembuf *sop;
ipc/sem.c
2222
static long do_semtimedop(int semid, struct sembuf __user *tsops,
ipc/sem.c
2225
struct sembuf fast_sops[SEMOPM_FAST];
ipc/sem.c
2226
struct sembuf *sops = fast_sops;
ipc/sem.c
2256
long ksys_semtimedop(int semid, struct sembuf __user *tsops,
ipc/sem.c
2268
SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsops,
ipc/sem.c
2275
long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems,
ipc/sem.c
2288
SYSCALL_DEFINE4(semtimedop_time32, int, semid, struct sembuf __user *, tsems,
ipc/sem.c
2296
SYSCALL_DEFINE3(semop, int, semid, struct sembuf __user *, tsops,
ipc/sem.c
389
static inline int sem_lock(struct sem_array *sma, struct sembuf *sops,
ipc/sem.c
650
struct sembuf *sop;
ipc/sem.c
652
struct sembuf *sops;
ipc/sem.c
722
struct sembuf *sop;
ipc/sem.c
724
struct sembuf *sops;
ipc/sem.c
893
static int do_smart_wakeup_zero(struct sem_array *sma, struct sembuf *sops,
ipc/syscall.c
30
return ksys_semtimedop(first, (struct sembuf __user *)ptr,
security/security.c
3687
int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops,
security/selinux/hooks.c
6640
struct sembuf *sops, unsigned nsops, int alter)
security/smack/smack_lsm.c
3344
static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops,
tools/testing/selftests/memfd/memfd_test.c
1354
struct sembuf sembuf;
tools/testing/selftests/memfd/memfd_test.c
1360
sembuf.sem_num = 0;
tools/testing/selftests/memfd/memfd_test.c
1361
sembuf.sem_flg = 0;
tools/testing/selftests/memfd/memfd_test.c
1362
sembuf.sem_op = 0;
tools/testing/selftests/memfd/memfd_test.c
1364
if (semop(sem, &sembuf, 1) < 0) {
tools/testing/selftests/memfd/memfd_test.c
1391
struct sembuf sembuf;
tools/testing/selftests/memfd/memfd_test.c
1431
sembuf.sem_op = -1;
tools/testing/selftests/memfd/memfd_test.c
1432
sembuf.sem_flg = 0;
tools/testing/selftests/memfd/memfd_test.c
1433
sembuf.sem_num = 0;
tools/testing/selftests/memfd/memfd_test.c
1449
if (semop(sem, &sembuf, 1) < 0) {
tools/testing/selftests/memfd/memfd_test.c
1468
if (semop(sem, &sembuf, 1) < 0) {
tools/testing/selftests/memfd/memfd_test.c
1492
if (semop(sem, &sembuf, 1) < 0) {
tools/testing/selftests/memfd/memfd_test.c
1511
if (semop(sem, &sembuf, 1) < 0) {
tools/testing/selftests/memfd/memfd_test.c
1529
if (semop(sem, &sembuf, 1) < 0) {
tools/testing/selftests/mm/rmap.c
30
struct sembuf sem_wait = {0, -1, 0};
tools/testing/selftests/mm/rmap.c
31
struct sembuf sem_signal = {0, 1, 0};