Lines Matching refs:hba
80 struct se_hba *hba; member
633 static int tcmu_attach_hba(struct se_hba *hba, u32 host_id) in tcmu_attach_hba() argument
642 hba->hba_ptr = tcmu_hba; in tcmu_attach_hba()
647 static void tcmu_detach_hba(struct se_hba *hba) in tcmu_detach_hba() argument
649 kfree(hba->hba_ptr); in tcmu_detach_hba()
650 hba->hba_ptr = NULL; in tcmu_detach_hba()
653 static struct se_device *tcmu_alloc_device(struct se_hba *hba, const char *name) in tcmu_alloc_device() argument
667 udev->hba = hba; in tcmu_alloc_device()
819 struct tcmu_hba *hba = udev->hba->hba_ptr; in tcmu_configure_device() local
829 size = snprintf(NULL, 0, "tcm-user/%u/%s/%s", hba->host_id, udev->name, in tcmu_configure_device()
836 used = snprintf(str, size, "tcm-user/%u/%s", hba->host_id, udev->name); in tcmu_configure_device()