Lines Matching defs:clone
42 * marshal_clone_to_rele() - translate clone to release structure
43 * @clone: Source structure from which to translate/copy.
46 static void marshal_clone_to_rele(struct dk_cxlflash_clone *clone,
49 release->hdr = clone->hdr;
50 release->context_id = clone->context_id_dst;
121 /* Allocate clone map */
125 pr_err("%s: Failed to allocate clone map: lun_id=%016llx\n",
317 pr_debug("%s: Received a request to clone AUN %llx on lun_id=%016llx\n",
1111 /* allocate new LXTs for clone */
1123 /* clone the LBAs in block allocator via ref_cnt, note that the
1179 * cxlflash_disk_clone() - clone a context by making snapshot of another
1181 * @clone: Clone ioctl data structure.
1186 * open at the time of the clone.
1191 struct dk_cxlflash_clone *clone)
1205 u64 ctxid_src = DECODE_CTXID(clone->context_id_src),
1206 ctxid_dst = DECODE_CTXID(clone->context_id_dst),
1207 rctxid_src = clone->context_id_src,
1208 rctxid_dst = clone->context_id_dst;
1217 /* Do not clone yourself */
1271 dev_dbg(dev, "%s: Nothing to clone\n", __func__);
1281 * cleaning up if the clone fails.
1285 * account by attaching after each successful RHT entry clone. In the
1286 * event that a clone failure is experienced, the LUN detach is handled
1306 marshal_clone_to_rele(clone, &release);