Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/filesystem/vfs/
DVFS.c217 struct dirent *dent = (struct dirent *)buf; in vfs_fill_dirent() local
226 memcpy(dent->d_name, name, namelen); in vfs_fill_dirent()
227 dent->d_name[namelen] = '\0'; in vfs_fill_dirent()
229 dent->d_reclen = 0; in vfs_fill_dirent()
230 dent->d_ino = d_ino; in vfs_fill_dirent()
231 dent->d_off = offset; in vfs_fill_dirent()
232 dent->d_type = type; in vfs_fill_dirent()