Lines Matching refs:copy
1053 struct msg_msg *copy;
1056 * Create dummy message to copy real message to.
1058 copy = load_msg(buf, bufsz);
1059 if (!IS_ERR(copy)) {
1060 copy->m_ts = bufsz;
1062 return copy;
1065 static inline void free_copy(struct msg_msg *copy)
1067 if (copy) {
1068 free_msg(copy);
1077 static inline void free_copy(struct msg_msg *copy)
1113 struct msg_msg *msg, *copy = NULL;
1126 copy = prepare_copy(buf, min_t(size_t, bufsz, ns->msg_ctlmax));
1127 if (IS_ERR(copy)) {
1128 return PTR_ERR(copy);
1137 free_copy(copy);
1172 msg = copy_msg(msg, copy);
1269 free_copy(copy);