Searched refs:arr_phy (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/scsi/mvsas/ |
D | mv_init.c | 438 struct asd_sas_phy **arr_phy; in mvs_prep_sas_ha_init() local 447 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init() 449 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init() 452 sha->sas_phy = arr_phy; in mvs_prep_sas_ha_init() 470 kfree(arr_phy); in mvs_prep_sas_ha_init()
|
/Linux-v4.19/drivers/scsi/pm8001/ |
D | pm8001_init.c | 541 struct asd_sas_phy **arr_phy; in pm8001_prep_sas_ha_init() local 548 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init() 549 if (!arr_phy) in pm8001_prep_sas_ha_init() 555 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init() 573 kfree(arr_phy); in pm8001_prep_sas_ha_init()
|
/Linux-v4.19/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 2294 struct asd_sas_phy **arr_phy; in hisi_sas_probe() local 2309 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe() 2311 if (!arr_phy || !arr_port) { in hisi_sas_probe() 2316 sha->sas_phy = arr_phy; in hisi_sas_probe()
|
D | hisi_sas_v3_hw.c | 2186 struct asd_sas_phy **arr_phy; in hisi_sas_v3_probe() local 2230 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe() 2232 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe() 2237 sha->sas_phy = arr_phy; in hisi_sas_v3_probe()
|