Searched refs:arr_port (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/scsi/mvsas/ |
H A D | mv_init.c | 402 struct asd_sas_port **arr_port; in mvs_prep_sas_ha_init() local 411 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init() 412 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init() 416 sha->sas_port = arr_port; in mvs_prep_sas_ha_init() 434 kfree(arr_port); in mvs_prep_sas_ha_init()
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm8001_init.c | 595 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local 604 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init() 605 if (!arr_port) in pm8001_prep_sas_ha_init() 609 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init() 620 kfree(arr_port); in pm8001_prep_sas_ha_init()
|
/openbmc/linux/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_main.c | 2478 struct asd_sas_port **arr_port; in hisi_sas_probe() local 2493 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe() 2494 if (!arr_phy || !arr_port) { in hisi_sas_probe() 2500 sha->sas_port = arr_port; in hisi_sas_probe()
|
H A D | hisi_sas_v3_hw.c | 4919 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local 4960 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe() 4961 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe() 4967 sha->sas_port = arr_port; in hisi_sas_v3_probe()
|