Lines Matching defs:detach
45 * marshal_det_to_rele() - translate detach to release structure
46 * @detach: Destination structure for the translate/copy.
49 static void marshal_det_to_rele(struct dk_cxlflash_detach *detach,
52 release->hdr = detach->hdr;
53 release->context_id = detach->context_id;
593 * @gli: LUN to detach.
881 * @detach: Detach ioctl data structure.
883 * As part of the detach, all per-context resources associated with the LUN
891 struct dk_cxlflash_detach *detach)
902 u64 ctxid = DECODE_CTXID(detach->context_id),
903 rctxid = detach->context_id;
921 marshal_det_to_rele(detach, &rel);
958 struct dk_cxlflash_detach *detach)
960 return _cxlflash_disk_detach(sdev, NULL, detach);
976 * This routine derives the context reference and calls detach for
977 * each LUN associated with the context.The final detach operation
985 * that design point, the semaphore is acquired and released around detach.
996 struct dk_cxlflash_detach detach = { { 0 }, 0 };
1026 detach.context_id = ctxi->ctxid;
1028 _cxlflash_disk_detach(lun_access->sdev, ctxi, &detach);