Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/fs/ext2/
Dext2_diskops.c131 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()
141 de->de_name_len = disk_de->de_name_len; in ext2_fetch_direntry()
143 memcpy(de->de_name, disk_de->de_name, de->de_name_len); in ext2_fetch_direntry()
151 disk_de->de_name_len = de->de_name_len; in ext2_write_direntry()
153 memcpy(disk_de->de_name, de->de_name, de->de_name_len); in ext2_write_direntry()
168 return de->de_name_len; in ext2_get_disk_direntry_namelen()
188 de->de_name_len = namelen; in ext2_set_disk_direntry_namelen()
Dext2_impl.c588 if (len == de->de_name_len && strncmp(de->de_name, name, len) == 0) { in find_dir_entry()
831 LOG_DBG("inode=%d name_len=%d rec_len=%d", de->de_inode, de->de_name_len, de->de_rec_len); in ext2_get_direntry()
833 len = de->de_name_len; in ext2_get_direntry()
834 if (de->de_name_len > MAX_FILE_NAME) { in ext2_get_direntry()
841 LOG_DBG("name_len=%d name=%s %d", de->de_name_len, ent->name, EXT2_MAX_FILE_NAME); in ext2_get_direntry()
922 de->de_name_len = (uint8_t)namelen; in ext2_create_direntry()
927 de, de->de_name, de->de_name_len, de->de_inode, de->de_rec_len, in ext2_create_direntry()
935 entry->de_inode, entry->de_file_type, entry->de_name_len, dir->i_id); in ext2_add_direntry()
939 uint32_t entry_size = sizeof(struct ext2_disk_direntry) + entry->de_name_len; in ext2_add_direntry()
1008 entry->de_inode, entry->de_file_type, entry->de_rec_len, entry->de_name_len, in ext2_add_direntry()
Dext2_struct.h96 uint8_t de_name_len; member
198 uint8_t de_name_len; member