Home
last modified time | relevance | path

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

/external/libmtp/util/
Dmtp-probe.c164 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()
[all …]
/external/e2fsprogs/e2fsck/
Dpass2.c785 static errcode_t insert_dirent_tail(ext2_filsys fs, void *dirbuf) in insert_dirent_tail() argument
791 d = dirbuf; in insert_dirent_tail()
792 top = EXT2_DIRENT_TAIL(dirbuf, fs->blocksize); in insert_dirent_tail()
799 ext2fs_dirent_name_len(dirbuf)); in insert_dirent_tail()