Lines Matching refs:p
325 struct kern_ipc_perm *p = container_of(head, struct kern_ipc_perm, rcu); in sem_rcu_free() local
326 struct sem_array *sma = container_of(p, struct sem_array, sem_perm); in sem_rcu_free()
1309 int cmd, void __user *p) in semctl_info() argument
1338 if (copy_to_user(p, &seminfo, sizeof(struct seminfo))) in semctl_info()
1406 int cmd, void __user *p) in semctl_main() argument
1435 ushort __user *array = p; in semctl_main()
1493 if (copy_from_user(sem_io, p, nsems*sizeof(ushort))) { in semctl_main()
1654 void __user *p = (void __user *)arg; in ksys_semctl() local
1666 return semctl_info(ns, semid, cmd, p); in ksys_semctl()
1673 if (copy_semid_to_user(p, &semid64, version)) in ksys_semctl()
1682 return semctl_main(ns, semid, semnum, cmd, p); in ksys_semctl()
1695 if (copy_semid_from_user(&semid64, p, version)) in ksys_semctl()
1742 struct compat_semid64_ds __user *p = buf; in copy_compat_semid_from_user() local
1743 return get_compat_ipc64_perm(&out->sem_perm, &p->sem_perm); in copy_compat_semid_from_user()
1745 struct compat_semid_ds __user *p = buf; in copy_compat_semid_from_user() local
1746 return get_compat_ipc_perm(&out->sem_perm, &p->sem_perm); in copy_compat_semid_from_user()
1776 void __user *p = compat_ptr(arg); in compat_ksys_semctl() local
1789 return semctl_info(ns, semid, cmd, p); in compat_ksys_semctl()
1796 if (copy_compat_semid_to_user(p, &semid64, version)) in compat_ksys_semctl()
1805 return semctl_main(ns, semid, semnum, cmd, p); in compat_ksys_semctl()
1809 if (copy_compat_semid_from_user(&semid64, p, version)) in compat_ksys_semctl()