Home
last modified time | relevance | path

Searched refs:sops (Results 1 – 16 of 16) sorted by relevance

/linux-6.15/ipc/
H A Dsem.c655 sops = q->sops; in perform_atomic_semop_slow()
659 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop_slow()
727 sops = q->sops; in perform_atomic_semop()
740 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop()
766 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop()
901 if (sops) { in do_smart_wakeup_zero()
1040 if (!sops) { in do_smart_update()
2013 for (sop = sops; sop < sops + nsops; sop++) { in __do_semtimedop()
2094 queue.sops = sops; in __do_semtimedop()
2237 sops = kvmalloc_array(nsops, sizeof(*sops), GFP_KERNEL); in do_semtimedop()
[all …]
/linux-6.15/arch/arm/kernel/
H A Dsys_oabi-compat.c343 struct sembuf *sops; in sys_oabi_semtimedop() local
352 sops = kvmalloc_array(nsops, sizeof(*sops), GFP_KERNEL); in sys_oabi_semtimedop()
353 if (!sops) in sys_oabi_semtimedop()
359 sops[i].sem_num = osb.sem_num; in sys_oabi_semtimedop()
360 sops[i].sem_op = osb.sem_op; in sys_oabi_semtimedop()
361 sops[i].sem_flg = osb.sem_flg; in sys_oabi_semtimedop()
374 err = __do_semtimedop(semid, sops, nsops, &ts, ns); in sys_oabi_semtimedop()
377 err = __do_semtimedop(semid, sops, nsops, NULL, ns); in sys_oabi_semtimedop()
379 kvfree(sops); in sys_oabi_semtimedop()
/linux-6.15/fs/nfs/
H A Dnfs.h20 const struct super_operations *sops; /* NFS Super operations */ member
H A Dnfs2super.c15 .sops = &nfs_sops,
H A Dnfs3super.c16 .sops = &nfs_sops,
H A Dnfs4super.c43 .sops = &nfs4_sops,
H A Dsuper.c1093 sb->s_op = server->nfs_client->cl_nfs_mod->sops; in nfs_fill_super()
/linux-6.15/fs/pstore/
H A Dinode.c147 const struct seq_operations *sops = NULL; in pstore_file_open() local
150 sops = &pstore_ftrace_seq_ops; in pstore_file_open()
152 err = seq_open(file, sops); in pstore_file_open()
/linux-6.15/net/core/
H A Dsock_map.c622 BPF_CALL_4(bpf_sock_map_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument
627 if (likely(sock_map_sk_is_suitable(sops->sk) && in BPF_CALL_4()
628 sock_map_op_okay(sops))) in BPF_CALL_4()
629 return sock_map_update_common(map, *(u32 *)key, sops->sk, in BPF_CALL_4()
1229 BPF_CALL_4(bpf_sock_hash_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument
1234 if (likely(sock_map_sk_is_suitable(sops->sk) && in BPF_CALL_4()
1235 sock_map_op_okay(sops))) in BPF_CALL_4()
1236 return sock_hash_update_common(map, key, sops->sk, flags); in BPF_CALL_4()
/linux-6.15/fs/
H A Dlibfs.c2135 const struct stashed_operations *sops = sb->s_fs_info; in prepare_anon_dentry() local
2140 sops->put_data(data); in prepare_anon_dentry()
2148 ret = sops->init_inode(inode, data); in prepare_anon_dentry()
2215 const struct stashed_operations *sops = mnt->mnt_sb->s_fs_info; in path_from_stashed() local
2220 sops->put_data(data); in path_from_stashed()
/linux-6.15/include/linux/
H A Dsyscalls.h749 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
752 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops,
755 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
H A Dsecurity.h556 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops,
1494 struct sembuf *sops, unsigned nsops, in security_sem_semop() argument
H A Dlsm_hook_defs.h285 LSM_HOOK(int, 0, sem_semop, struct kern_ipc_perm *perm, struct sembuf *sops,
/linux-6.15/security/
H A Dsecurity.c4062 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop() argument
4065 return call_int_hook(sem_semop, sma, sops, nsops, alter); in security_sem_semop()
/linux-6.15/security/smack/
H A Dsmack_lsm.c3303 static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops, in smack_sem_semop() argument
/linux-6.15/security/selinux/
H A Dhooks.c6379 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop() argument