Searched refs:arr_phy (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.10/drivers/scsi/mvsas/ |
| D | mv_init.c | 406 struct asd_sas_phy **arr_phy; in mvs_prep_sas_ha_init() local 415 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init() 417 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init() 420 sha->sas_phy = arr_phy; in mvs_prep_sas_ha_init() 438 kfree(arr_phy); in mvs_prep_sas_ha_init()
|
| /Linux-v5.10/drivers/scsi/pm8001/ |
| D | pm8001_init.c | 578 struct asd_sas_phy **arr_phy; in pm8001_prep_sas_ha_init() local 585 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init() 586 if (!arr_phy) in pm8001_prep_sas_ha_init() 592 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init() 610 kfree(arr_phy); in pm8001_prep_sas_ha_init()
|
| /Linux-v5.10/drivers/scsi/hisi_sas/ |
| D | hisi_sas_v3_hw.c | 3232 struct asd_sas_phy **arr_phy; in hisi_sas_v3_probe() local 3275 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe() 3277 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe() 3282 sha->sas_phy = arr_phy; in hisi_sas_v3_probe()
|
| D | hisi_sas_main.c | 2629 struct asd_sas_phy **arr_phy; in hisi_sas_probe() local 2644 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe() 2646 if (!arr_phy || !arr_port) { in hisi_sas_probe() 2651 sha->sas_phy = arr_phy; in hisi_sas_probe()
|