Searched refs:maxPorts (Results 1 – 2 of 2) sorted by relevance
5489 int in = 0, out = 0, check, skip, maxPorts = 0; in fc_ulp_get_adapter_paths() local5501 maxPorts ++; in fc_ulp_get_adapter_paths()5504 if (maxPorts == 0) { in fc_ulp_get_adapter_paths()5510 portList = kmem_zalloc(sizeof (fc_local_port_t *) * maxPorts, KM_SLEEP); in fc_ulp_get_adapter_paths()5592 kmem_free(portList, sizeof (*portList) * maxPorts); in fc_ulp_get_adapter_paths()
326 int i = 0, maxPorts = 0; in fct_get_port_list() local335 maxPorts ++; in fct_get_port_list()339 return (maxPorts); in fct_get_port_list()