Home
last modified time | relevance | path

Searched refs:arr_port (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/scsi/mvsas/
Dmv_init.c438 struct asd_sas_port **arr_port; in mvs_prep_sas_ha_init() local
447 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in mvs_prep_sas_ha_init()
448 if (!arr_phy || !arr_port) in mvs_prep_sas_ha_init()
452 sha->sas_port = arr_port; in mvs_prep_sas_ha_init()
470 kfree(arr_port); in mvs_prep_sas_ha_init()
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_init.c546 struct asd_sas_port **arr_port; in pm8001_prep_sas_ha_init() local
555 arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); in pm8001_prep_sas_ha_init()
556 if (!arr_port) in pm8001_prep_sas_ha_init()
560 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init()
575 kfree(arr_port); in pm8001_prep_sas_ha_init()