Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/mvsas/
Dmv_init.c407 struct asd_sas_port **arr_port; in mvs_prep_sas_ha_init() local
416 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init()
417 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init()
421 sha->sas_port = arr_port; in mvs_prep_sas_ha_init()
439 kfree(arr_port); in mvs_prep_sas_ha_init()
/Linux-v5.10/drivers/scsi/pm8001/
Dpm8001_init.c579 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local
588 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
589 if (!arr_port) in pm8001_prep_sas_ha_init()
593 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init()
608 kfree(arr_port); in pm8001_prep_sas_ha_init()
/Linux-v5.10/drivers/scsi/hisi_sas/
Dhisi_sas_v3_hw.c3233 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local
3276 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()
3277 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()
3283 sha->sas_port = arr_port; in hisi_sas_v3_probe()
Dhisi_sas_main.c2630 struct asd_sas_port **arr_port; in hisi_sas_probe() local
2645 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()
2646 if (!arr_phy || !arr_port) { in hisi_sas_probe()
2652 sha->sas_port = arr_port; in hisi_sas_probe()