Searched refs:arr_phy (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/drivers/scsi/mvsas/ |
| H A D | mv_init.c | 386 struct asd_sas_phy **arr_phy; in mvs_prep_sas_ha_init() local 395 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init() 397 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init() 400 sha->sas_phy = arr_phy; in mvs_prep_sas_ha_init() 418 kfree(arr_phy); in mvs_prep_sas_ha_init()
|
| /linux-6.15/drivers/scsi/pm8001/ |
| H A D | pm8001_init.c | 608 struct asd_sas_phy **arr_phy; in pm8001_prep_sas_ha_init() local 615 arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init() 616 if (!arr_phy) in pm8001_prep_sas_ha_init() 622 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init() 636 kfree(arr_phy); in pm8001_prep_sas_ha_init()
|
| /linux-6.15/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_main.c | 2561 struct asd_sas_phy **arr_phy; in hisi_sas_probe() local 2576 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe() 2578 if (!arr_phy || !arr_port) { in hisi_sas_probe() 2583 sha->sas_phy = arr_phy; in hisi_sas_probe()
|
| H A D | hisi_sas_v3_hw.c | 4884 struct asd_sas_phy **arr_phy; in hisi_sas_v3_probe() local 4925 arr_phy = devm_kcalloc(dev, phy_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe() 4927 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe() 4932 sha->sas_phy = arr_phy; in hisi_sas_v3_probe()
|