Lines Matching defs:copy
1047 struct msg_msg *copy;
1050 * Create dummy message to copy real message to.
1052 copy = load_msg(buf, bufsz);
1053 if (!IS_ERR(copy))
1054 copy->m_ts = bufsz;
1055 return copy;
1058 static inline void free_copy(struct msg_msg *copy)
1060 if (copy)
1061 free_msg(copy);
1069 static inline void free_copy(struct msg_msg *copy)
1104 struct msg_msg *msg, *copy = NULL;
1115 copy = prepare_copy(buf, min_t(size_t, bufsz, ns->msg_ctlmax));
1116 if (IS_ERR(copy))
1117 return PTR_ERR(copy);
1125 free_copy(copy);
1159 msg = copy_msg(msg, copy);
1254 free_copy(copy);