Home
last modified time | relevance | path

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

/linux-4.1.27/ipc/
Dsem.c111 struct sembuf *sops; /* array of pending operations */ member
220 curr = &sma->sem_base[q->sops[0].sem_num]; in unmerge_queues()
298 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, in sem_lock() argument
329 sem = sma->sem_base + sops->sem_num; in sem_lock()
355 return sops->sem_num; in sem_lock()
371 return sops->sem_num; in sem_lock()
399 int id, struct sembuf *sops, int nsops, int *locknum) in sem_obtain_lock() argument
409 *locknum = sem_lock(sma, sops, nsops); in sem_obtain_lock()
618 struct sembuf *sops; in perform_atomic_semop() local
621 sops = q->sops; in perform_atomic_semop()
[all …]
/linux-4.1.27/arch/arm/kernel/
Dsys_oabi-compat.c312 struct sembuf *sops; in sys_oabi_semtimedop() local
319 sops = kmalloc(sizeof(*sops) * nsops, GFP_KERNEL); in sys_oabi_semtimedop()
320 if (!sops) in sys_oabi_semtimedop()
324 __get_user_error(sops[i].sem_num, &tsops->sem_num, err); in sys_oabi_semtimedop()
325 __get_user_error(sops[i].sem_op, &tsops->sem_op, err); in sys_oabi_semtimedop()
326 __get_user_error(sops[i].sem_flg, &tsops->sem_flg, err); in sys_oabi_semtimedop()
339 err = sys_semtimedop(semid, sops, nsops, timeout); in sys_oabi_semtimedop()
342 kfree(sops); in sys_oabi_semtimedop()
/linux-4.1.27/fs/nfs/
Dnfs2super.c14 .sops = &nfs_sops,
Dnfs.h19 const struct super_operations *sops; /* NFS Super operations */ member
Dnfs3super.c15 .sops = &nfs_sops,
Dnfs4super.c71 .sops = &nfs4_sops,
Dsuper.c2311 sb->s_op = server->nfs_client->cl_nfs_mod->sops; in nfs_fill_super()
/linux-4.1.27/fs/pstore/
Dinode.c152 const struct seq_operations *sops = NULL; in pstore_file_open() local
159 sops = &pstore_ftrace_seq_ops; in pstore_file_open()
161 err = seq_open(file, sops); in pstore_file_open()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c977 static struct seq_operations sops = { in ptlrpc_lprocfs_svc_req_history_open() local
986 rc = seq_open(file, &sops); in ptlrpc_lprocfs_svc_req_history_open()
/linux-4.1.27/include/linux/
Dsecurity.h1658 struct sembuf *sops, unsigned nsops, int alter);
1927 int security_sem_semop(struct sem_array *sma, struct sembuf *sops,
2632 struct sembuf *sops, unsigned nsops, in security_sem_semop() argument
Dsyscalls.h665 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
668 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
/linux-4.1.27/security/
Dsecurity.c1084 int security_sem_semop(struct sem_array *sma, struct sembuf *sops, in security_sem_semop() argument
1087 return security_ops->sem_semop(sma, sops, nsops, alter); in security_sem_semop()
Dcapability.c592 static int cap_sem_semop(struct sem_array *sma, struct sembuf *sops, in cap_sem_semop() argument
/linux-4.1.27/security/smack/
Dsmack_lsm.c2868 static int smack_sem_semop(struct sem_array *sma, struct sembuf *sops, in smack_sem_semop() argument
/linux-4.1.27/security/selinux/
Dhooks.c5506 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semop() argument