Searched refs:arr_phy (Results 1 – 3 of 3) sorted by relevance
386 struct asd_sas_phy **arr_phy; in mvs_prep_sas_ha_init() local395 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init()397 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init()400 sha->sas_phy = arr_phy; in mvs_prep_sas_ha_init()418 kfree(arr_phy); in mvs_prep_sas_ha_init()
609 struct asd_sas_phy **arr_phy; in pm8001_prep_sas_ha_init() local616 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()617 if (!arr_phy) in pm8001_prep_sas_ha_init()623 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init()637 kfree(arr_phy); in pm8001_prep_sas_ha_init()
2552 struct asd_sas_phy **arr_phy; in hisi_sas_probe() local2567 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()2569 if (!arr_phy || !arr_port) { in hisi_sas_probe()2574 sha->sas_phy = arr_phy; in hisi_sas_probe()