Lines Matching refs:lun_access
160 struct lun_access *lun_access = NULL; in get_context() local
219 list_for_each_entry(lun_access, &ctxi->luns, list) in get_context()
220 if (lun_access->lli == lli) in get_context()
896 struct lun_access *lun_access, *t; in _cxlflash_disk_detach() local
935 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list) in _cxlflash_disk_detach()
936 if (lun_access->lli == lli) { in _cxlflash_disk_detach()
937 list_del(&lun_access->list); in _cxlflash_disk_detach()
938 kfree(lun_access); in _cxlflash_disk_detach()
939 lun_access = NULL; in _cxlflash_disk_detach()
996 struct lun_access *lun_access, *t; in cxlflash_cxl_release() local
1026 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list) in cxlflash_cxl_release()
1027 _cxlflash_disk_detach(lun_access->sdev, ctxi, &detach); in cxlflash_cxl_release()
1324 struct lun_access *lun_access = NULL; in cxlflash_disk_attach() local
1368 list_for_each_entry(lun_access, &ctxi->luns, list) in cxlflash_disk_attach()
1369 if (lun_access->lli == lli) { in cxlflash_disk_attach()
1383 lun_access = kzalloc(sizeof(*lun_access), GFP_KERNEL); in cxlflash_disk_attach()
1384 if (unlikely(!lun_access)) { in cxlflash_disk_attach()
1390 lun_access->lli = lli; in cxlflash_disk_attach()
1391 lun_access->sdev = sdev; in cxlflash_disk_attach()
1398 list_add(&lun_access->list, &ctxi->luns); in cxlflash_disk_attach()
1457 list_add(&lun_access->list, &ctxi->luns); in cxlflash_disk_attach()
1517 kfree(lun_access); in cxlflash_disk_attach()