• Home
  • Raw
  • Download

Lines Matching refs:lli

162 	struct llun_info *lli = arg;  in get_context()  local
168 lli = NULL; in get_context()
218 if (lli) { in get_context()
220 if (lun_access->lli == lli) in get_context()
330 static int read_cap16(struct scsi_device *sdev, struct llun_info *lli) in read_cap16() argument
334 struct glun_info *gli = lli->parent; in read_cap16()
436 struct llun_info *lli) in get_rhte() argument
454 if (unlikely(ctxi->rht_lun[rhndl] != lli)) { in get_rhte()
480 struct llun_info *lli) in rhte_checkout() argument
496 ctxi->rht_lun[i] = lli; in rhte_checkout()
635 struct llun_info *lli = sdev->hostdata; in _cxlflash_disk_release() local
636 struct glun_info *gli = lli->parent; in _cxlflash_disk_release()
655 ctxi = get_context(cfg, rctxid, lli, CTX_CTRL_ERR_FALLBACK); in _cxlflash_disk_release()
666 rhte = get_rhte(ctxi, rhndl, lli); in _cxlflash_disk_release()
783 struct llun_info **lli = NULL; in create_context() local
788 lli = kzalloc((MAX_RHT_PER_CONTEXT * sizeof(*lli)), GFP_KERNEL); in create_context()
790 if (unlikely(!ctxi || !lli || !ws)) { in create_context()
801 ctxi->rht_lun = lli; in create_context()
809 kfree(lli); in create_context()
895 struct llun_info *lli = sdev->hostdata; in _cxlflash_disk_detach() local
908 ctxi = get_context(cfg, rctxid, lli, CTX_CTRL_ERR_FALLBACK); in _cxlflash_disk_detach()
923 if (ctxi->rht_lun[i] == lli) { in _cxlflash_disk_detach()
936 if (lun_access->lli == lli) { in _cxlflash_disk_detach()
1322 struct llun_info *lli = sdev->hostdata; in cxlflash_disk_attach() local
1323 struct glun_info *gli = lli->parent; in cxlflash_disk_attach()
1347 __func__, lli->lun_id[sdev->channel]); in cxlflash_disk_attach()
1348 rc = read_cap16(sdev, lli); in cxlflash_disk_attach()
1370 if (lun_access->lli == lli) { in cxlflash_disk_attach()
1391 lun_access->lli = lli; in cxlflash_disk_attach()
1655 struct llun_info *lli = sdev->hostdata; in cxlflash_afu_recover() local
1690 ctxi = get_context(cfg, rctxid, lli, CTX_CTRL_ERR_FALLBACK); in cxlflash_afu_recover()
1776 struct llun_info *lli = sdev->hostdata; in process_sense() local
1777 struct glun_info *gli = lli->parent; in process_sense()
1800 rc = read_cap16(sdev, lli); in process_sense()
1842 struct llun_info *lli = sdev->hostdata; in cxlflash_disk_verify() local
1843 struct glun_info *gli = lli->parent; in cxlflash_disk_verify()
1854 ctxi = get_context(cfg, rctxid, lli, 0); in cxlflash_disk_verify()
1861 rhte = get_rhte(ctxi, rhndl, lli); in cxlflash_disk_verify()
1965 struct llun_info *lli = sdev->hostdata; in cxlflash_disk_direct_open() local
1966 struct glun_info *gli = lli->parent; in cxlflash_disk_direct_open()
1991 ctxi = get_context(cfg, rctxid, lli, 0); in cxlflash_disk_direct_open()
1998 rhte = rhte_checkout(ctxi, lli); in cxlflash_disk_direct_open()
2008 rht_format1(rhte, lli->lun_id[sdev->channel], ctxi->rht_perms, port); in cxlflash_disk_direct_open()
2052 struct llun_info *lli = sdev->hostdata; in ioctl_common() local
2055 if (unlikely(!lli)) { in ioctl_common()