Searched refs:arr_port (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.6/drivers/scsi/mvsas/ |
| 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()
|
| /Linux-v6.6/drivers/scsi/pm8001/ |
| D | pm8001_init.c | 593 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local 602 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init() 603 if (!arr_port) in pm8001_prep_sas_ha_init() 607 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init() 618 kfree(arr_port); in pm8001_prep_sas_ha_init()
|
| /Linux-v6.6/drivers/scsi/hisi_sas/ |
| D | hisi_sas_main.c | 2475 struct asd_sas_port **arr_port; in hisi_sas_probe() local 2490 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe() 2491 if (!arr_phy || !arr_port) { in hisi_sas_probe() 2497 sha->sas_port = arr_port; in hisi_sas_probe()
|
| D | hisi_sas_v3_hw.c | 4910 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local 4951 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe() 4952 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe() 4958 sha->sas_port = arr_port; in hisi_sas_v3_probe()
|