Home
last modified time | relevance | path

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

/linux/ipc/
H A Dsem.c136 struct sembuf *sops; /* array of pending operations */ member
139 bool alter; /* does *sops alter the array? */
140 bool dupsop; /* sops on more than one sem_num */
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 in perform_atomic_semop_slow()
724 struct sembuf *sops; perform_atomic_semop() local
893 do_smart_wakeup_zero(struct sem_array * sma,struct sembuf * sops,int nsops,struct wake_q_head * wake_q) do_smart_wakeup_zero() argument
1005 set_semotime(struct sem_array * sma,struct sembuf * sops) set_semotime() argument
1029 do_smart_update(struct sem_array * sma,struct sembuf * sops,int nsops,int otime,struct wake_q_head * wake_q) do_smart_update() argument
1983 __do_semtimedop(int semid,struct sembuf * sops,unsigned nsops,const struct timespec64 * timeout,struct ipc_namespace * ns) __do_semtimedop() argument
2226 struct sembuf *sops = fast_sops; do_semtimedop() local
[all...]
/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c343 struct sembuf *sops; in sys_oabi_semtimedop() local
352 sops = kvmalloc_objs(*sops, nsops); 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/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.c1079 sb->s_op = server->nfs_client->cl_nfs_mod->sops; in nfs_fill_super()
/linux/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/include/linux/
H A Dsyscalls.h763 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
766 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops,
769 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
/linux/security/
H A Dsecurity.c3678 * @sops: operations to perform
3687 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop() argument
3690 return call_int_hook(sem_semop, sma, sops, nsops, alter); in security_sem_semop()
/linux/security/smack/
H A Dsmack_lsm.c3336 * @sops: unused in smack_sem_semctl()
3344 static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops,
3349 smack_sem_semop(struct kern_ipc_perm * isp,struct sembuf * sops,unsigned nsops,int alter) smack_sem_semop() argument
/linux/security/selinux/
H A Dhooks.c6616 struct sembuf *sops, unsigned nsops, int alter) in selinux_sem_semctl()
6620 selinux_sem_semop(struct kern_ipc_perm * sma,struct sembuf * sops,unsigned nsops,int alter) selinux_sem_semop() argument