Lines Matching refs:dirbuf
164 char dirbuf[FILENAME_MAX]; in check_interface() local
183 strcpy(dirbuf, sysfspath); in check_interface()
184 dirbuf[len++] = '/'; 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()
202 ret = lstat(dirbuf, &st); in check_interface()
208 ept = get_ep_type(dirbuf); in check_interface()
235 char dirbuf[FILENAME_MAX]; in check_sysfs() local
247 strcpy(dirbuf, sysfspath); in check_sysfs()
248 dirbuf[len++] = '/'; 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()
267 ret = lstat(dirbuf, &st); in check_sysfs()
274 if (check_interface(dirbuf) > 0) in check_sysfs()