Home
last modified time | relevance | path

Searched refs:arr_phy (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/scsi/mvsas/
Dmv_init.c407 struct asd_sas_phy **arr_phy; in mvs_prep_sas_ha_init() local
416 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init()
418 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init()
421 sha->sas_phy = arr_phy; in mvs_prep_sas_ha_init()
439 kfree(arr_phy); in mvs_prep_sas_ha_init()
/Linux-v5.15/drivers/scsi/pm8001/
Dpm8001_init.c586 struct asd_sas_phy **arr_phy; in pm8001_prep_sas_ha_init() local
593 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
594 if (!arr_phy) in pm8001_prep_sas_ha_init()
600 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init()
618 kfree(arr_phy); in pm8001_prep_sas_ha_init()
/Linux-v5.15/drivers/scsi/hisi_sas/
Dhisi_sas_main.c2684 struct asd_sas_phy **arr_phy; in hisi_sas_probe() local
2699 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()
2701 if (!arr_phy || !arr_port) { in hisi_sas_probe()
2706 sha->sas_phy = arr_phy; in hisi_sas_probe()
Dhisi_sas_v3_hw.c4674 struct asd_sas_phy **arr_phy; in hisi_sas_v3_probe() local
4717 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()
4719 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()
4724 sha->sas_phy = arr_phy; in hisi_sas_v3_probe()