Home
last modified time | relevance | path

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

/Linux-v4.19/ipc/
Dsem.c136 struct sembuf *sops; /* array of pending operations */ member
272 curr = &sma->sems[q->sops[0].sem_num]; in unmerge_queues()
367 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, in sem_lock() argument
389 idx = array_index_nospec(sops->sem_num, sma->sem_nsems); in sem_lock()
406 return sops->sem_num; in sem_lock()
427 return sops->sem_num; in sem_lock()
635 struct sembuf *sops; in perform_atomic_semop_slow() local
638 sops = q->sops; in perform_atomic_semop_slow()
642 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop_slow()
670 while (sop >= sops) { in perform_atomic_semop_slow()
[all …]
/Linux-v4.19/arch/arm/kernel/
Dsys_oabi-compat.c318 struct sembuf *sops; in sys_oabi_semtimedop() local
327 sops = kmalloc_array(nsops, sizeof(*sops), GFP_KERNEL); in sys_oabi_semtimedop()
328 if (!sops) in sys_oabi_semtimedop()
334 sops[i].sem_num = osb.sem_num; in sys_oabi_semtimedop()
335 sops[i].sem_op = osb.sem_op; in sys_oabi_semtimedop()
336 sops[i].sem_flg = osb.sem_flg; in sys_oabi_semtimedop()
349 err = sys_semtimedop(semid, sops, nsops, timeout); in sys_oabi_semtimedop()
352 kfree(sops); in sys_oabi_semtimedop()
/Linux-v4.19/fs/nfs/
Dnfs.h20 const struct super_operations *sops; /* NFS Super operations */ member
Dnfs2super.c14 .sops = &nfs_sops,
Dnfs3super.c15 .sops = &nfs_sops,
Dnfs4super.c71 .sops = &nfs4_sops,
Dsuper.c2344 sb->s_op = server->nfs_client->cl_nfs_mod->sops; in nfs_fill_super()
/Linux-v4.19/fs/pstore/
Dinode.c151 const struct seq_operations *sops = NULL; in pstore_file_open() local
154 sops = &pstore_ftrace_seq_ops; in pstore_file_open()
156 err = seq_open(file, sops); in pstore_file_open()
/Linux-v4.19/include/linux/
Dsecurity.h390 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops,
1136 struct sembuf *sops, unsigned nsops, in security_sem_semop() argument
Dlsm_hooks.h1642 int (*sem_semop)(struct kern_ipc_perm *sma, struct sembuf *sops,
Dsyscalls.h712 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
715 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
/Linux-v4.19/security/
Dsecurity.c1277 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop() argument
1280 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter); in security_sem_semop()
/Linux-v4.19/security/smack/
Dsmack_lsm.c3199 static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops, in smack_sem_semop() argument
/Linux-v4.19/security/selinux/
Dhooks.c6333 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop() argument