Searched refs:arr_port (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/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-6.15/drivers/scsi/pm8001/ |
| H A D | pm8001_init.c | 609 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local 618 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init() 619 if (!arr_port) in pm8001_prep_sas_ha_init() 623 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init() 634 kfree(arr_port); in pm8001_prep_sas_ha_init()
|
| /linux-6.15/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_main.c | 2562 struct asd_sas_port **arr_port; in hisi_sas_probe() local 2577 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe() 2578 if (!arr_phy || !arr_port) { in hisi_sas_probe() 2584 sha->sas_port = arr_port; in hisi_sas_probe()
|
| H A D | hisi_sas_v3_hw.c | 4885 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local 4926 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe() 4927 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe() 4933 sha->sas_port = arr_port; in hisi_sas_v3_probe()
|