Searched refs:disk_de (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.5.0/subsys/fs/ext2/ |
D | ext2_format.c | 348 struct ext2_disk_direntry *disk_de; in ext2_format() local 363 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(root_dir_blk->data, de_offset); in ext2_format() 365 ext2_write_direntry(disk_de, de); in ext2_format() 370 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(root_dir_blk->data, de_offset); in ext2_format() 372 ext2_write_direntry(disk_de, de); in ext2_format() 379 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(root_dir_blk->data, de_offset); in ext2_format() 386 ext2_write_direntry(disk_de, de); in ext2_format() 405 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(lost_found_dir_blk->data, de_offset); in ext2_format() 407 ext2_write_direntry(disk_de, de); in ext2_format() 412 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(lost_found_dir_blk->data, de_offset); in ext2_format() [all …]
|
D | ext2_diskops.h | 221 struct ext2_direntry *ext2_fetch_direntry(struct ext2_disk_direntry *disk_de); 226 void ext2_write_direntry(struct ext2_disk_direntry *disk_de, struct ext2_direntry *de);
|
D | ext2_diskops.c | 128 struct ext2_direntry *ext2_fetch_direntry(struct ext2_disk_direntry *disk_de) in ext2_fetch_direntry() argument 131 if (disk_de->de_name_len > EXT2_MAX_FILE_NAME) { in ext2_fetch_direntry() 134 uint32_t prog_rec_len = sizeof(struct ext2_direntry) + disk_de->de_name_len; in ext2_fetch_direntry() 139 de->de_inode = sys_le32_to_cpu(disk_de->de_inode); in ext2_fetch_direntry() 140 de->de_rec_len = sys_le16_to_cpu(disk_de->de_rec_len); in ext2_fetch_direntry() 141 de->de_name_len = disk_de->de_name_len; in ext2_fetch_direntry() 142 de->de_file_type = disk_de->de_file_type; in ext2_fetch_direntry() 143 memcpy(de->de_name, disk_de->de_name, de->de_name_len); in ext2_fetch_direntry() 147 void ext2_write_direntry(struct ext2_disk_direntry *disk_de, struct ext2_direntry *de) in ext2_write_direntry() argument 149 disk_de->de_inode = sys_le32_to_cpu(de->de_inode); in ext2_write_direntry() [all …]
|
D | ext2_impl.c | 580 struct ext2_disk_direntry *disk_de = in find_dir_entry() local 583 de = ext2_fetch_direntry(disk_de); in find_dir_entry() 822 struct ext2_disk_direntry *disk_de = in ext2_get_direntry() local 824 struct ext2_direntry *de = ext2_fetch_direntry(disk_de); in ext2_get_direntry() 1057 struct ext2_disk_direntry *disk_de; in ext2_create_dir() local 1094 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(inode_current_block_mem(new_inode), 0); in ext2_create_dir() 1095 ext2_write_direntry(disk_de, entry); in ext2_create_dir()
|