Searched refs:dir (Results 1 – 8 of 8) sorted by relevance
/DragonOS-0.1.7/user/libs/libc/src/ |
D | dirent.c | 67 struct dirent *readdir(struct DIR *dir) in readdir() argument 70 memset((dir->buf), 0, DIR_BUF_SIZE); in readdir() 72 int len = getdents(dir->fd, (struct dirent *)dir->buf, DIR_BUF_SIZE); in readdir() 75 return (struct dirent *)dir->buf; in readdir()
|
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/ |
D | dirent.md | 23 ``off_t d_off`` : dir偏移量(不推荐修改) 43 ``dirent readdir(DIR *dir)``
|
/DragonOS-0.1.7/user/libs/libc/src/include/export/ |
D | dirent.h | 113 struct dirent* readdir(struct DIR* dir);
|
/DragonOS-0.1.7/user/apps/shell/ |
D | cmd.c | 246 struct DIR *dir = opendir(shell_current_path); in shell_cmd_ls() local 248 if (dir == NULL) in shell_cmd_ls() 256 buf = readdir(dir); in shell_cmd_ls() 274 closedir(dir); in shell_cmd_ls()
|
/DragonOS-0.1.7/kernel/src/filesystem/fat/ |
D | entry.rs | 1218 let mut dir = FATDir::default(); in to_dir_entry() localVariable 1219 dir.dir_name = self.name_to_string(); in to_dir_entry() 1220 dir.first_cluster = first_cluster; in to_dir_entry() 1221 dir.root_offset = None; in to_dir_entry() 1222 dir.short_dir_entry = Some(self.clone()); in to_dir_entry() 1223 dir.loc = Some((loc, loc)); in to_dir_entry() 1225 return FATDirEntry::Dir(dir); in to_dir_entry() 1258 let mut dir = FATDir::default(); in to_dir_entry_with_long_name() localVariable 1260 dir.first_cluster = first_cluster; in to_dir_entry_with_long_name() 1261 dir.dir_name = name; in to_dir_entry_with_long_name() [all …]
|
D | fs.rs | 1471 FATDirEntry::Dir(dir) => { in list() 1474 let dir_iter: FATDirIter = dir.to_iter(guard.fs.upgrade().unwrap()); in list() 1529 let dir = match &guard.inode_type { in unlink() localVariable 1540 dir.check_existence(name, Some(false), guard.fs.upgrade().unwrap())?; in unlink() 1543 let r = dir.remove(guard.fs.upgrade().unwrap().clone(), name, true); in unlink() 1556 let dir = match &guard.inode_type { in rmdir() localVariable 1567 dir.check_existence(name, Some(true), guard.fs.upgrade().unwrap())?; in rmdir() 1571 dir.remove(guard.fs.upgrade().unwrap().clone(), name, true); in rmdir()
|
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/ |
D | xhci.h | 269 unsigned dir : 1; // 0 -> out packet member 289 unsigned dir : 1; // 0 -> out packet member
|
D | xhci.c | 1118 trb.dir = direction; in xhci_data_stage() 1170 trb.dir = direction; in xhci_status_stage()
|