Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/mvsas/
Dmv_init.c386 struct asd_sas_phy **arr_phy; in mvs_prep_sas_ha_init() local
395 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()
/linux-6.12.1/drivers/scsi/pm8001/
Dpm8001_init.c606 struct asd_sas_phy **arr_phy; in pm8001_prep_sas_ha_init() local
613 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
614 if (!arr_phy) in pm8001_prep_sas_ha_init()
620 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init()
634 kfree(arr_phy); in pm8001_prep_sas_ha_init()
/linux-6.12.1/drivers/scsi/hisi_sas/
Dhisi_sas_main.c2495 struct asd_sas_phy **arr_phy; in hisi_sas_probe() local
2510 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()
2512 if (!arr_phy || !arr_port) { in hisi_sas_probe()
2517 sha->sas_phy = arr_phy; in hisi_sas_probe()
Dhisi_sas_v3_hw.c4779 struct asd_sas_phy **arr_phy; in hisi_sas_v3_probe() local
4820 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()
4822 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()
4827 sha->sas_phy = arr_phy; in hisi_sas_v3_probe()