Searched refs:busid_table (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/usb/usbip/
H A Dstub_main.c37 static struct bus_id_priv busid_table[MAX_BUSID]; variable in typeref:struct:bus_id_priv
46 memset(busid_table, 0, sizeof(busid_table)); init_busid_table()
61 if (busid_table[i].name[0]) get_busid_idx()
62 if (!strncmp(busid_table[i].name, busid, BUSID_SIZE)) { get_busid_idx()
77 bid = &(busid_table[idx]); get_busid_priv()
96 if (!busid_table[i].name[0]) { add_match_busid()
97 strlcpy(busid_table[i].name, busid, BUSID_SIZE); add_match_busid()
98 if ((busid_table[i].status != STUB_BUSID_ALLOC) && add_match_busid()
99 (busid_table[i].status != STUB_BUSID_REMOV)) add_match_busid()
100 busid_table[i].status = STUB_BUSID_ADDED; add_match_busid()
124 if (busid_table[idx].status == STUB_BUSID_OTHER) del_match_busid()
125 memset(busid_table[idx].name, 0, BUSID_SIZE); del_match_busid()
127 if ((busid_table[idx].status != STUB_BUSID_OTHER) && del_match_busid()
128 (busid_table[idx].status != STUB_BUSID_ADDED)) del_match_busid()
129 busid_table[idx].status = STUB_BUSID_REMOV; del_match_busid()
144 if (busid_table[i].name[0]) show_match_busid()
145 out += sprintf(out, "%s ", busid_table[i].name); show_match_busid()
H A Dstub_dev.c319 /* check we should claim or not by busid_table */ stub_probe()

Completed in 84 milliseconds