Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/filesystem/devfs/
Ddevfs.c106 uint32_t dentry_type; in devfs_readdir() local
108 dentry_type = VFS_IF_DIR; in devfs_readdir()
110 dentry_type = VFS_IF_DEVICE; in devfs_readdir()
112 …return filler(dirent, file_ptr->position - 1, name, target_dent->name_length, dentry_type, file_pt… in devfs_readdir()
/DragonOS-0.1.2/kernel/src/filesystem/procfs/
Dprocfs.c291 uint32_t dentry_type; in procfs_readdir() local
293 dentry_type = VFS_IF_DIR; in procfs_readdir()
295 dentry_type = VFS_IF_FILE; in procfs_readdir()
297 …return filler(dirent, file_ptr->position - 1, name, target_dent->name_length, dentry_type, file_pt… in procfs_readdir()
/DragonOS-0.1.2/kernel/src/filesystem/rootfs/
Drootfs.c74 uint32_t dentry_type = target_dent->dir_inode->attribute; in rootfs_readdir() local
76 …return filler(dirent, file_ptr->position - 1, name, target_dent->name_length, dentry_type, file_pt… in rootfs_readdir()
/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat32.c1180 uint64_t dentry_type = 0; // 传递给filler的dentry类型数据 in fat32_readdir() local
1269 dentry_type = dentry->DIR_Attr; in fat32_readdir()
1294 dentry_type = dentry->DIR_Attr; in fat32_readdir()
1317 dentry_type = dentry->DIR_Attr; in fat32_readdir()
1334 if (dentry_type & ATTR_DIRECTORY) in fat32_readdir()
1335 dentry_type = VFS_IF_DIR; in fat32_readdir()
1337 dentry_type = VFS_IF_FILE; in fat32_readdir()
1339 return filler(dirent, 0, dir_name, name_len, dentry_type, 0); in fat32_readdir()