Home
last modified time | relevance | path

Searched refs:src (Results 1 – 2 of 2) sorted by relevance

/ipc/
Dmsgutil.c84 struct msg_msg *load_msg(const void __user *src, size_t len) in load_msg() argument
96 if (copy_from_user(msg + 1, src, alen)) in load_msg()
101 src = (char __user *)src + alen; in load_msg()
103 if (copy_from_user(seg + 1, src, alen)) in load_msg()
118 struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst) in copy_msg() argument
121 size_t len = src->m_ts; in copy_msg()
124 if (src->m_ts > dst->m_ts) in copy_msg()
128 memcpy(dst + 1, src + 1, alen); in copy_msg()
130 for (dst_pseg = dst->next, src_pseg = src->next; in copy_msg()
139 dst->m_type = src->m_type; in copy_msg()
[all …]
Dutil.h200 extern struct msg_msg *load_msg(const void __user *src, size_t len);
201 extern struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst);