Lines Matching full: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, in marshal_clone_to_rele() argument
49 release->hdr = clone->hdr; in marshal_clone_to_rele()
50 release->context_id = clone->context_id_dst; in marshal_clone_to_rele()
121 /* Allocate clone map */ in ba_init()
125 pr_err("%s: Failed to allocate clone map: lun_id=%016llx\n", in ba_init()
275 pr_debug("%s: AUN %llx lun_id=%016llx cloned. Clone count=%x\n", in ba_free()
301 * ba_clone() - Clone a chunk of the block allocation table
317 pr_debug("%s: Received a request to clone AUN %llx on lun_id=%016llx\n", in ba_clone()
1111 /* allocate new LXTs for clone */ in clone_lxt()
1123 /* clone the LBAs in block allocator via ref_cnt, note that the in clone_lxt()
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) in cxlflash_disk_clone() argument
1205 u64 ctxid_src = DECODE_CTXID(clone->context_id_src), in cxlflash_disk_clone()
1206 ctxid_dst = DECODE_CTXID(clone->context_id_dst), in cxlflash_disk_clone()
1207 rctxid_src = clone->context_id_src, in cxlflash_disk_clone()
1208 rctxid_dst = clone->context_id_dst; in cxlflash_disk_clone()
1217 /* Do not clone yourself */ in cxlflash_disk_clone()
1246 /* Clone LUN access list */ in cxlflash_disk_clone()
1271 dev_dbg(dev, "%s: Nothing to clone\n", __func__); in cxlflash_disk_clone()
1281 * cleaning up if the clone fails. in cxlflash_disk_clone()
1285 * account by attaching after each successful RHT entry clone. In the in cxlflash_disk_clone()
1286 * event that a clone failure is experienced, the LUN detach is handled in cxlflash_disk_clone()
1306 marshal_clone_to_rele(clone, &release); in cxlflash_disk_clone()