Searched refs:arr_port (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/scsi/mvsas/ |
| H A D | mv_init.c | 408 struct asd_sas_port **arr_port; in mvs_prep_sas_ha_init() local 417 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init() 418 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init() 422 sha->sas_port = arr_port; in mvs_prep_sas_ha_init() 440 kfree(arr_port); in mvs_prep_sas_ha_init()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/pm8001/ |
| H A D | pm8001_init.c | 577 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local 586 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init() 587 if (!arr_port) in pm8001_prep_sas_ha_init() 591 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init() 606 kfree(arr_port); in pm8001_prep_sas_ha_init()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_v3_hw.c | 3234 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local 3277 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe() 3278 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe() 3284 sha->sas_port = arr_port; in hisi_sas_v3_probe()
|
| H A D | hisi_sas_main.c | 2626 struct asd_sas_port **arr_port; in hisi_sas_probe() local 2641 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe() 2642 if (!arr_phy || !arr_port) { in hisi_sas_probe() 2648 sha->sas_port = arr_port; in hisi_sas_probe()
|