Home
last modified time | relevance | path

Searched refs:vhci_num_controllers (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/usb/usbip/
Dvhci_sysfs.c174 out += sprintf(out, "%d\n", VHCI_PORTS * vhci_num_controllers); in nports_show()
213 if (*pdev_nr >= vhci_num_controllers) { in valid_port()
217 *pdev_nr = array_index_nospec(*pdev_nr, vhci_num_controllers); in valid_port()
428 status_attrs = kcalloc(vhci_num_controllers, sizeof(struct status_attr), in init_status_attrs()
433 for (id = 0; id < vhci_num_controllers; id++) in init_status_attrs()
453 attrs = kcalloc((vhci_num_controllers + 5), sizeof(struct attribute *), in vhci_init_attr_group()
467 for (i = 0; i < vhci_num_controllers; i++) in vhci_init_attr_group()
Dvhci_hcd.c46 int vhci_num_controllers = VHCI_NR_HCS; variable
1482 for (i = 0; i < vhci_num_controllers; i++) { in del_platform_devices()
1498 if (vhci_num_controllers < 1) in vhci_hcd_init()
1499 vhci_num_controllers = 1; in vhci_hcd_init()
1501 vhcis = kcalloc(vhci_num_controllers, sizeof(struct vhci), GFP_KERNEL); in vhci_hcd_init()
1505 for (i = 0; i < vhci_num_controllers; i++) { in vhci_hcd_init()
1515 for (i = 0; i < vhci_num_controllers; i++) { in vhci_hcd_init()
1526 for (i = 0; i < vhci_num_controllers; i++) { in vhci_hcd_init()
1541 for (i = 0; i < vhci_num_controllers; i++) in vhci_hcd_init()
Dvhci.h121 extern int vhci_num_controllers;