Searched refs:arr_port (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/scsi/mvsas/ |
| H A D | mv_init.c | 387 struct asd_sas_port **arr_port; in mvs_prep_sas_ha_init() local 396 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init() 397 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init() 401 sha->sas_port = arr_port; in mvs_prep_sas_ha_init() 419 kfree(arr_port); in mvs_prep_sas_ha_init()
|
| /linux/drivers/scsi/pm8001/ |
| H A D | pm8001_init.c | 610 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local 619 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init() 620 if (!arr_port) in pm8001_prep_sas_ha_init() 624 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init() 635 kfree(arr_port); in pm8001_prep_sas_ha_init()
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_main.c | 2553 struct asd_sas_port **arr_port; in hisi_sas_probe() local 2568 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe() 2569 if (!arr_phy || !arr_port) { in hisi_sas_probe() 2575 sha->sas_port = arr_port; in hisi_sas_probe()
|
| H A D | hisi_sas_v3_hw.c | 4941 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local 4982 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe() 4983 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe() 4989 sha->sas_port = arr_port; in hisi_sas_v3_probe()
|