Home
last modified time | relevance | path

Searched refs:arr_port (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/mvsas/
H A Dmv_init.c408 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()
/kernel/linux/linux-6.6/drivers/scsi/mvsas/
H A Dmv_init.c402 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()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
H A Dpm8001_init.c569 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local
578 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
579 if (!arr_port) in pm8001_prep_sas_ha_init()
583 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init()
598 kfree(arr_port); in pm8001_prep_sas_ha_init()
/kernel/linux/linux-6.6/drivers/scsi/pm8001/
H A Dpm8001_init.c593 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()
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c2478 struct asd_sas_port **arr_port; in hisi_sas_probe() local
2493 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_probe()
2494 if (!arr_phy || !arr_port) { in hisi_sas_probe()
2500 sha->sas_port = arr_port; in hisi_sas_probe()
H A Dhisi_sas_v3_hw.c4911 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local
4952 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()
4953 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()
4959 sha->sas_port = arr_port; in hisi_sas_v3_probe()
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c3257 struct asd_sas_port **arr_port; in hisi_sas_v3_probe() local
3300 arr_port = devm_kcalloc(dev, port_nr, sizeof(void *), GFP_KERNEL); in hisi_sas_v3_probe()
3301 if (!arr_phy || !arr_port) { in hisi_sas_v3_probe()
3307 sha->sas_port = arr_port; in hisi_sas_v3_probe()
H A Dhisi_sas_main.c2626 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()

Completed in 27 milliseconds