Searched refs:d_type (Results 1 – 6 of 6) sorted by relevance
9 unsigned char d_type; // entry的类型 member
80 unsigned char d_type; // entry的类型 member
27 ``unsigned char d_type`` : 目标的类型(有可能是文件,文件夹,磁盘)
261 if (buf->d_type == DT_DIR) in shell_cmd_ls()263 else if (buf->d_type == DT_REG) in shell_cmd_ls()265 else if (buf->d_type == DT_BLK || buf->d_type == DT_CHR) in shell_cmd_ls()
250 dirent.d_type = sub_inode.metadata().unwrap().file_type.get_file_type_num() as u8; in readdir()
515 d_type: u8, // entry的类型 field