Lines Matching refs: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",
303 * @to_clone: Block to clone.
317 pr_debug("%s: Received a request to clone AUN %llx on lun_id=%016llx\n",
1110 /* allocate new LXTs for clone */
1122 /* clone the LBAs in block allocator via ref_cnt, note that the
1178 * cxlflash_disk_clone() - clone a context by making snapshot of another
1185 * open at the time of the clone.
1191 struct dk_cxlflash_clone *clone = arg;
1204 u64 ctxid_src = DECODE_CTXID(clone->context_id_src),
1205 ctxid_dst = DECODE_CTXID(clone->context_id_dst),
1206 rctxid_src = clone->context_id_src,
1207 rctxid_dst = clone->context_id_dst;
1216 /* Do not clone yourself */
1270 dev_dbg(dev, "%s: Nothing to clone\n", __func__);
1280 * cleaning up if the clone fails.
1284 * account by attaching after each successful RHT entry clone. In the
1285 * event that a clone failure is experienced, the LUN detach is handled
1305 marshal_clone_to_rele(clone, &release);