Home
last modified time | relevance | path

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

/linux/drivers/scsi/mvsas/
A 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/drivers/scsi/pm8001/
A Dpm8001_init.c586 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local
595 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
596 if (!arr_port) in pm8001_prep_sas_ha_init()
600 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init()
615 kfree(arr_port); in pm8001_prep_sas_ha_init()
/linux/drivers/scsi/hisi_sas/
A Dhisi_sas_main.c2735 struct asd_sas_port **arr_port; in hisi_sas_probe() local
2750 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()
2751 if (!arr_phy || !arr_port) { in hisi_sas_probe()
2757 sha->sas_port = arr_port; in hisi_sas_probe()
A 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()

Completed in 22 milliseconds