Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/mvsas/
Dmv_init.c439 struct asd_sas_port **arr_port; in mvs_prep_sas_ha_init() local
448 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init()
449 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init()
453 sha->sas_port = arr_port; in mvs_prep_sas_ha_init()
471 kfree(arr_port); in mvs_prep_sas_ha_init()
/Linux-v4.19/drivers/scsi/pm8001/
Dpm8001_init.c542 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local
551 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
552 if (!arr_port) in pm8001_prep_sas_ha_init()
556 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init()
571 kfree(arr_port); in pm8001_prep_sas_ha_init()
/Linux-v4.19/drivers/scsi/hisi_sas/
Dhisi_sas_main.c2295 struct asd_sas_port **arr_port; in hisi_sas_probe() local
2310 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()
2311 if (!arr_phy || !arr_port) { in hisi_sas_probe()
2317 sha->sas_port = arr_port; in hisi_sas_probe()
Dhisi_sas_v3_hw.c2187 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local
2231 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()
2232 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()
2238 sha->sas_port = arr_port; in hisi_sas_v3_probe()