Searched refs:dentry (Results 1 – 3 of 3) sorted by relevance
/system/extras/ext4_utils/ |
D | contents.c | 47 static u32 dentry_size(u32 entries, struct dentry *dentries) in dentry_size() 69 struct ext4_dir_entry_2 *dentry; in add_dentry() local 82 dentry = (struct ext4_dir_entry_2 *)(data + *offset); in add_dentry() 83 dentry->inode = inode; in add_dentry() 84 dentry->rec_len = rec_len; in add_dentry() 85 dentry->name_len = name_len; in add_dentry() 86 dentry->file_type = file_type; in add_dentry() 87 memcpy(dentry->name, name, name_len); in add_dentry() 90 return dentry; in add_dentry() 99 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries, in make_directory() [all …]
|
D | contents.h | 20 struct dentry { struct 36 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries, argument
|
D | make_ext4fs.c | 105 struct dentry dentries = { in build_default_directory_structure() 151 struct dentry *dentries; in build_directory_structure() 188 dentries = calloc(entries, sizeof(struct dentry)); in build_directory_structure() 271 struct dentry *tmp = calloc(entries + 1, sizeof(struct dentry)); in build_directory_structure() 272 memset(tmp, 0, sizeof(struct dentry)); in build_directory_structure() 273 memcpy(tmp + 1, dentries, entries * sizeof(struct dentry)); in build_directory_structure()
|