Home
last modified time | relevance | path

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

/linux/drivers/scsi/pm8001/
H A Dpm8001_init.c607 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local
616 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
617 if (!arr_port) in pm8001_prep_sas_ha_init()
621 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init()
632 kfree(arr_port); in pm8001_prep_sas_ha_init()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c2496 struct asd_sas_port **arr_port; in hisi_sas_probe() local
2511 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()
2512 if (!arr_phy || !arr_port) { in hisi_sas_probe()
2518 sha->sas_port = arr_port; in hisi_sas_probe()
H A Dhisi_sas_v3_hw.c4780 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local
4821 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()
4822 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()
4828 sha->sas_port = arr_port; in hisi_sas_v3_probe()