Home
last modified time | relevance | path

Searched refs:BUSID_SIZE (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/usbip/
H A Dstub_main.c56 if (!strncmp(busid_table[i].name, busid, BUSID_SIZE)) { in get_busid_idx()
105 strlcpy(busid_table[i].name, busid, BUSID_SIZE); in add_match_busid()
138 memset(busid_table[idx].name, 0, BUSID_SIZE); in del_match_busid()
173 char busid[BUSID_SIZE]; in match_busid_store()
179 len = strlcpy(busid, buf + 4, BUSID_SIZE); in match_busid_store()
253 /* buf length should be less that BUSID_SIZE */ in rebind_store()
254 len = strnlen(buf, BUSID_SIZE); in rebind_store()
256 if (!(len < BUSID_SIZE)) in rebind_store()
H A Dstub.h71 #define BUSID_SIZE 32 macro
74 char name[BUSID_SIZE];
/kernel/linux/linux-6.6/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()
249 /* buf length should be less that BUSID_SIZE */ in rebind_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];

Completed in 2 milliseconds