Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/scsi/mvsas/
Dmv_init.c408 struct asd_sas_port **arr_port; in mvs_prep_sas_ha_init() local
417 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init()
418 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init()
422 sha->sas_port = arr_port; in mvs_prep_sas_ha_init()
440 kfree(arr_port); in mvs_prep_sas_ha_init()
/Linux-v5.15/drivers/scsi/pm8001/
Dpm8001_init.c587 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local
596 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
597 if (!arr_port) in pm8001_prep_sas_ha_init()
601 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init()
616 kfree(arr_port); in pm8001_prep_sas_ha_init()
/Linux-v5.15/drivers/scsi/hisi_sas/
Dhisi_sas_main.c2685 struct asd_sas_port **arr_port; in hisi_sas_probe() local
2700 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()
2701 if (!arr_phy || !arr_port) { in hisi_sas_probe()
2707 sha->sas_port = arr_port; in hisi_sas_probe()
Dhisi_sas_v3_hw.c4675 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local
4718 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()
4719 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()
4725 sha->sas_port = arr_port; in hisi_sas_v3_probe()