Lines Matching refs:FILENAME_MAX
65 char pbuf[FILENAME_MAX]; in get_ep_type()
80 strncpy(pbuf + len, "type", FILENAME_MAX - len); in get_ep_type()
81 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ in get_ep_type()
101 strncpy(pbuf + len, "direction", FILENAME_MAX - len); in get_ep_type()
102 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ in get_ep_type()
135 char pbuf[FILENAME_MAX]; in has_3_ep()
143 strncpy(pbuf + len, "bNumEndpoints", FILENAME_MAX - len); in has_3_ep()
144 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ in has_3_ep()
164 char dirbuf[FILENAME_MAX]; in check_interface()
200 strncpy(dirbuf + len, dent->d_name, FILENAME_MAX - len); in check_interface()
201 dirbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ in check_interface()
235 char dirbuf[FILENAME_MAX]; in check_sysfs()
265 strncpy(dirbuf + len, dent->d_name, FILENAME_MAX - len); in check_sysfs()
266 dirbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ in check_sysfs()