Home
last modified time | relevance | path

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

/Linux-v6.6/ipc/
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 …]
Dsyscall.c30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in ksys_ipc()
/Linux-v6.6/include/uapi/linux/
Dsem.h40 struct sembuf { struct
/Linux-v6.6/arch/loongarch/include/asm/
DKbuild16 generic-y += sembuf.h
/Linux-v6.6/include/uapi/asm-generic/
DKbuild22 mandatory-y += sembuf.h
/Linux-v6.6/include/linux/
Dsyscalls.h42 struct sembuf;
717 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
720 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops,
723 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
1248 long ksys_semtimedop(int semid, struct sembuf __user *tsops,
1262 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems,
1265 long __do_semtimedop(int semid, struct sembuf *tsems, unsigned int nsops,
Dsecurity.h40 struct sembuf;
470 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops,
1330 struct sembuf *sops, unsigned nsops, in security_sem_semop()
Dlsm_hook_defs.h260 LSM_HOOK(int, 0, sem_semop, struct kern_ipc_perm *perm, struct sembuf *sops,
/Linux-v6.6/arch/arm/kernel/
Dsys_oabi-compat.c345 struct sembuf *sops; in sys_oabi_semtimedop()
/Linux-v6.6/Documentation/arch/ia64/
Derr_inject.rst414 struct sembuf lock;
425 struct sembuf unlock;
/Linux-v6.6/security/
Dsecurity.c3782 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop()
/Linux-v6.6/security/smack/
Dsmack_lsm.c3268 static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops, in smack_sem_semop()
/Linux-v6.6/security/selinux/
Dhooks.c6247 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop()