Lines Matching refs:from
19 * This code is collected from the versions for sparc64, mips64, s390x, ia64,
39 struct compat_ipc64_perm __user *from)
42 if (copy_from_user(&v, from, sizeof(v)))
51 struct compat_ipc_perm __user *from)
54 if (copy_from_user(&v, from, sizeof(v)))
62 void to_compat_ipc64_perm(struct compat_ipc64_perm *to, struct ipc64_perm *from)
64 to->key = from->key;
65 to->uid = from->uid;
66 to->gid = from->gid;
67 to->cuid = from->cuid;
68 to->cgid = from->cgid;
69 to->mode = from->mode;
70 to->seq = from->seq;
73 void to_compat_ipc_perm(struct compat_ipc_perm *to, struct ipc64_perm *from)
75 to->key = from->key;
76 SET_UID(to->uid, from->uid);
77 SET_GID(to->gid, from->gid);
78 SET_UID(to->cuid, from->cuid);
79 SET_GID(to->cgid, from->cgid);
80 to->mode = from->mode;
81 to->seq = from->seq;