Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/usbip/
H A Dstub_main.c54 if (!strncmp(busid_table[i].name, busid, BUSID_SIZE)) { in get_busid_idx()
103 strscpy(busid_table[i].name, busid, BUSID_SIZE); in add_match_busid()
136 memset(busid_table[idx].name, 0, BUSID_SIZE); in del_match_busid()
170 char busid[BUSID_SIZE]; in match_busid_store()
176 if (strscpy(busid, buf + 4, BUSID_SIZE) < 0) in match_busid_store()
250 len = strnlen(buf, BUSID_SIZE); in rebind_store()
252 if (!(len < BUSID_SIZE)) in rebind_store()
H A Dstub.h71 #define BUSID_SIZE 32 macro
74 char name[BUSID_SIZE];