Lines Matching refs:hba
83 struct se_hba *hba; member
673 static int tcmu_attach_hba(struct se_hba *hba, u32 host_id) in tcmu_attach_hba() argument
682 hba->hba_ptr = tcmu_hba; in tcmu_attach_hba()
687 static void tcmu_detach_hba(struct se_hba *hba) in tcmu_detach_hba() argument
689 kfree(hba->hba_ptr); in tcmu_detach_hba()
690 hba->hba_ptr = NULL; in tcmu_detach_hba()
693 static struct se_device *tcmu_alloc_device(struct se_hba *hba, const char *name) in tcmu_alloc_device() argument
707 udev->hba = hba; in tcmu_alloc_device()
859 struct tcmu_hba *hba = udev->hba->hba_ptr; in tcmu_configure_device() local
869 size = snprintf(NULL, 0, "tcm-user/%u/%s/%s", hba->host_id, udev->name, in tcmu_configure_device()
876 used = snprintf(str, size, "tcm-user/%u/%s", hba->host_id, udev->name); in tcmu_configure_device()