/openbmc/linux/ipc/ |
H A D | sem.c | 136 struct sembuf *sops; /* array of pending operations */ member 297 curr = &sma->sems[q->sops[0].sem_num]; in unmerge_queues() 389 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, in sem_lock() argument 411 idx = array_index_nospec(sops->sem_num, sma->sem_nsems); in sem_lock() 428 return sops->sem_num; in sem_lock() 449 return sops->sem_num; in sem_lock() 652 struct sembuf *sops; in perform_atomic_semop_slow() local 655 sops = q->sops; in perform_atomic_semop_slow() 659 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop_slow() 687 while (sop >= sops) { in perform_atomic_semop_slow() [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 345 struct sembuf *sops; in sys_oabi_semtimedop() local 354 sops = kvmalloc_array(nsops, sizeof(*sops), GFP_KERNEL); in sys_oabi_semtimedop() 355 if (!sops) in sys_oabi_semtimedop() 361 sops[i].sem_num = osb.sem_num; in sys_oabi_semtimedop() 362 sops[i].sem_op = osb.sem_op; in sys_oabi_semtimedop() 363 sops[i].sem_flg = osb.sem_flg; in sys_oabi_semtimedop() 376 err = __do_semtimedop(semid, sops, nsops, &ts, ns); in sys_oabi_semtimedop() 379 err = __do_semtimedop(semid, sops, nsops, NULL, ns); in sys_oabi_semtimedop() 381 kvfree(sops); in sys_oabi_semtimedop()
|
/openbmc/openbmc-tools/adcapp/src/ |
H A D | EINTR_wrappers.c | 97 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops) in sigwrap_semop() argument 101 if (semop(semid, sops, nsops) == 0) in sigwrap_semop() 110 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeout) 115 return (sigwrap_semop(semid, sops, nsops)); 121 if (semtimedop(semid, sops, nsops, &To.Timeout) == 0)
|
H A D | EINTR_wrappers.h | 54 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops); 55 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeou…
|
/openbmc/openbmc-tools/pwmtachtool/src/ |
H A D | EINTR_wrappers.h | 54 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops); 55 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeou…
|
H A D | EINTR_wrappers.c | 97 int sigwrap_semop(int semid, struct sembuf *sops, size_t nsops) in sigwrap_semop() argument 101 if (semop(semid, sops, nsops) == 0) in sigwrap_semop()
|
/openbmc/linux/fs/nfs/ |
H A D | nfs3super.c | 16 .sops = &nfs_sops,
|
H A D | nfs2super.c | 15 .sops = &nfs_sops,
|
H A D | nfs.h | 20 const struct super_operations *sops; /* NFS Super operations */ member
|
H A D | nfs4super.c | 43 .sops = &nfs4_sops,
|
H A D | super.c | 1062 sb->s_op = server->nfs_client->cl_nfs_mod->sops; in nfs_fill_super()
|
/openbmc/linux/fs/pstore/ |
H A D | inode.c | 146 const struct seq_operations *sops = NULL; in pstore_file_open() local 149 sops = &pstore_ftrace_seq_ops; in pstore_file_open() 151 err = seq_open(file, sops); in pstore_file_open()
|
/openbmc/linux/net/core/ |
H A D | sock_map.c | 619 BPF_CALL_4(bpf_sock_map_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument 624 if (likely(sock_map_sk_is_suitable(sops->sk) && in BPF_CALL_4() 625 sock_map_op_okay(sops))) in BPF_CALL_4() 626 return sock_map_update_common(map, *(u32 *)key, sops->sk, in BPF_CALL_4() 1226 BPF_CALL_4(bpf_sock_hash_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument 1231 if (likely(sock_map_sk_is_suitable(sops->sk) && in BPF_CALL_4() 1232 sock_map_op_okay(sops))) in BPF_CALL_4() 1233 return sock_hash_update_common(map, key, sops->sk, flags); in BPF_CALL_4()
|
/openbmc/linux/include/linux/ |
H A D | syscalls.h | 718 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops, 721 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops, 724 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
|
H A D | security.h | 472 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, 1339 struct sembuf *sops, unsigned nsops, in security_sem_semop() argument
|
H A D | lsm_hook_defs.h | 262 LSM_HOOK(int, 0, sem_semop, struct kern_ipc_perm *perm, struct sembuf *sops,
|
/openbmc/linux/security/ |
H A D | security.c | 3800 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop() argument 3803 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter); in security_sem_semop()
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 4092 struct sembuf *sops; in do_semtimedop() local 4113 sops = g_new(struct sembuf, nsops); in do_semtimedop() 4115 if (target_to_host_sembuf(sops, ptr, nsops)) { in do_semtimedop() 4116 g_free(sops); in do_semtimedop() 4122 ret = get_errno(safe_semtimedop(semid, sops, nsops, pts)); in do_semtimedop() 4127 SEMTIMEDOP_IPC_ARGS(nsops, sops, (long)pts))); in do_semtimedop() 4130 g_free(sops); in do_semtimedop()
|
/openbmc/linux/security/smack/ |
H A D | smack_lsm.c | 3278 static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops, in smack_sem_semop() argument
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 6285 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop() argument
|