/Linux-v5.10/ipc/ |
D | sem.c | 136 struct sembuf *sops; /* array of pending operations */ member 295 curr = &sma->sems[q->sops[0].sem_num]; in unmerge_queues() 386 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, in sem_lock() argument 408 idx = array_index_nospec(sops->sem_num, sma->sem_nsems); in sem_lock() 425 return sops->sem_num; in sem_lock() 446 return sops->sem_num; in sem_lock() 649 struct sembuf *sops; in perform_atomic_semop_slow() local 652 sops = q->sops; in perform_atomic_semop_slow() 656 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop_slow() 684 while (sop >= sops) { in perform_atomic_semop_slow() [all …]
|
/Linux-v5.10/arch/arm/kernel/ |
D | sys_oabi-compat.c | 314 struct sembuf *sops; in sys_oabi_semtimedop() local 323 sops = kmalloc_array(nsops, sizeof(*sops), GFP_KERNEL); in sys_oabi_semtimedop() 324 if (!sops) in sys_oabi_semtimedop() 330 sops[i].sem_num = osb.sem_num; in sys_oabi_semtimedop() 331 sops[i].sem_op = osb.sem_op; in sys_oabi_semtimedop() 332 sops[i].sem_flg = osb.sem_flg; in sys_oabi_semtimedop() 345 err = sys_semtimedop_time32(semid, sops, nsops, timeout); in sys_oabi_semtimedop() 348 kfree(sops); in sys_oabi_semtimedop()
|
/Linux-v5.10/drivers/iommu/ |
D | ioasid.c | 209 struct ioasid_allocator_ops *sops; in ioasid_unregister_allocator() local 246 list_for_each_entry(sops, &pallocator->slist, list) { in ioasid_unregister_allocator() 247 if (sops == ops) { in ioasid_unregister_allocator()
|
/Linux-v5.10/fs/nfs/ |
D | nfs.h | 20 const struct super_operations *sops; /* NFS Super operations */ member
|
D | nfs2super.c | 15 .sops = &nfs_sops,
|
D | nfs3super.c | 16 .sops = &nfs_sops,
|
D | nfs4super.c | 43 .sops = &nfs4_sops,
|
D | super.c | 1028 sb->s_op = server->nfs_client->cl_nfs_mod->sops; in nfs_fill_super()
|
/Linux-v5.10/fs/pstore/ |
D | inode.c | 145 const struct seq_operations *sops = NULL; in pstore_file_open() local 148 sops = &pstore_ftrace_seq_ops; in pstore_file_open() 150 err = seq_open(file, sops); in pstore_file_open()
|
/Linux-v5.10/net/core/ |
D | sock_map.c | 643 BPF_CALL_4(bpf_sock_map_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument 648 if (likely(sock_map_sk_is_suitable(sops->sk) && in BPF_CALL_4() 649 sock_map_op_okay(sops))) in BPF_CALL_4() 650 return sock_map_update_common(map, *(u32 *)key, sops->sk, in BPF_CALL_4() 1248 BPF_CALL_4(bpf_sock_hash_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument 1253 if (likely(sock_map_sk_is_suitable(sops->sk) && in BPF_CALL_4() 1254 sock_map_op_okay(sops))) in BPF_CALL_4() 1255 return sock_hash_update_common(map, key, sops->sk, flags); in BPF_CALL_4()
|
/Linux-v5.10/include/linux/ |
D | syscalls.h | 786 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops, 789 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops, 792 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
|
D | security.h | 442 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, 1239 struct sembuf *sops, unsigned nsops, in security_sem_semop() argument
|
D | lsm_hook_defs.h | 242 LSM_HOOK(int, 0, sem_semop, struct kern_ipc_perm *perm, struct sembuf *sops,
|
/Linux-v5.10/security/ |
D | security.c | 1963 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop() argument 1966 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter); in security_sem_semop()
|
/Linux-v5.10/security/smack/ |
D | smack_lsm.c | 3106 static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops, in smack_sem_semop() argument
|
/Linux-v5.10/security/selinux/ |
D | hooks.c | 6241 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop() argument
|