Lines Matching defs:num_ports
358 uint32_t num_ports = GUID_ARRAY_SIZE;
370 &num_ports);
377 /* if num_ports is 0 - return 0 */
378 if (num_ports == 0) {
382 /* If num_ports is 1, then there is only one possible port to use.
384 if (num_ports == 1) {
391 for (i = 0; i < num_ports; i++)
394 if (i == num_ports)
408 for (i = 0; i < num_ports; i++)
419 if (choice > num_ports || choice < 1) {