Lines Matching refs:hba

1522 	struct se_hba *hba = dev->se_hba;
1541 config_item_name(&hba->hba_group.cg_item),
1572 struct se_hba *hba = dev->se_hba;
1592 config_item_name(&hba->hba_group.cg_item),
1674 struct se_hba *hba = dev->se_hba;
1716 config_item_name(&hba->hba_group.cg_item),
1741 config_item_name(&hba->hba_group.cg_item),
2067 struct se_hba *hba;
2077 hba = dev->se_hba;
2080 config_item_name(&hba->hba_group.cg_item),
2784 struct se_hba *hba = item_to_hba(hba_ci);
2790 ret = mutex_lock_interruptible(&hba->hba_access_mutex);
2796 t = hba->transport;
2798 dev = target_alloc_device(hba, name);
2860 mutex_unlock(&hba->hba_access_mutex);
2872 mutex_unlock(&hba->hba_access_mutex);
2883 struct se_hba *hba;
2888 hba = item_to_hba(&dev->se_hba->hba_group.cg_item);
2890 mutex_lock(&hba->hba_access_mutex);
2922 mutex_unlock(&hba->hba_access_mutex);
2945 struct se_hba *hba,
2949 hba->hba_id, hba->transport->name,
2955 static ssize_t target_core_hba_show_attr_hba_mode(struct se_hba *hba,
2960 if (hba->hba_flags & HBA_FLAGS_PSCSI_MODE)
2966 static ssize_t target_core_hba_store_attr_hba_mode(struct se_hba *hba,
2969 struct se_subsystem_api *transport = hba->transport;
2978 pr_err("Unable to extract hba mode flag: %d\n", ret);
2982 if (hba->dev_count) {
2987 ret = transport->pmode_enable_hba(hba, mode_flag);
2991 hba->hba_flags |= HBA_FLAGS_PSCSI_MODE;
2993 hba->hba_flags &= ~HBA_FLAGS_PSCSI_MODE;
3004 struct se_hba *hba = container_of(to_config_group(item),
3006 core_delete_hba(hba);
3033 struct se_hba *hba;
3078 hba = core_alloc_hba(se_plugin_str, plugin_dep_id, 0);
3079 if (IS_ERR(hba))
3080 return ERR_CAST(hba);
3082 config_group_init_type_name(&hba->hba_group, name,
3085 return &hba->hba_group;