Lines Matching refs:hba

2314 	struct se_hba *hba = dev->se_hba;
2333 config_item_name(&hba->hba_group.cg_item),
2354 struct se_hba *hba = dev->se_hba;
2374 config_item_name(&hba->hba_group.cg_item),
2436 struct se_hba *hba = dev->se_hba;
2477 config_item_name(&hba->hba_group.cg_item),
2502 config_item_name(&hba->hba_group.cg_item),
2764 struct se_hba *hba;
2772 hba = dev->se_hba;
2775 config_item_name(&hba->hba_group.cg_item),
3355 struct se_hba *hba = item_to_hba(hba_ci);
3356 struct target_backend *tb = hba->backend;
3360 ret = mutex_lock_interruptible(&hba->hba_access_mutex);
3364 dev = target_alloc_device(hba, name);
3419 mutex_unlock(&hba->hba_access_mutex);
3425 mutex_unlock(&hba->hba_access_mutex);
3436 struct se_hba *hba;
3438 hba = item_to_hba(&dev->se_hba->hba_group.cg_item);
3440 mutex_lock(&hba->hba_access_mutex);
3462 mutex_unlock(&hba->hba_access_mutex);
3478 struct se_hba *hba = to_hba(item);
3481 hba->hba_id, hba->backend->ops->name,
3487 struct se_hba *hba = to_hba(item);
3490 if (hba->hba_flags & HBA_FLAGS_PSCSI_MODE)
3499 struct se_hba *hba = to_hba(item);
3503 if (hba->backend->ops->pmode_enable_hba == NULL)
3508 pr_err("Unable to extract hba mode flag: %d\n", ret);
3512 if (hba->dev_count) {
3517 ret = hba->backend->ops->pmode_enable_hba(hba, mode_flag);
3521 hba->hba_flags |= HBA_FLAGS_PSCSI_MODE;
3523 hba->hba_flags &= ~HBA_FLAGS_PSCSI_MODE;
3533 struct se_hba *hba = container_of(to_config_group(item),
3535 core_delete_hba(hba);
3560 struct se_hba *hba;
3604 hba = core_alloc_hba(se_plugin_str, plugin_dep_id, 0);
3605 if (IS_ERR(hba))
3606 return ERR_CAST(hba);
3608 config_group_init_type_name(&hba->hba_group, name,
3611 return &hba->hba_group;