Home
last modified time | relevance | path

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

/system/extras/ext4_utils/
Dmake_ext4fs.c105 struct dentry dentries = { in build_default_directory_structure() local
113 root_inode = make_directory(0, 1, &dentries, 1); in build_default_directory_structure()
115 *dentries.inode = inode; in build_default_directory_structure()
116 inode_set_permissions(inode, dentries.mode, in build_default_directory_structure()
117 dentries.uid, dentries.gid, dentries.mtime); in build_default_directory_structure()
151 struct dentry *dentries; in build_directory_structure() local
188 dentries = calloc(entries, sizeof(struct dentry)); in build_directory_structure()
189 if (dentries == NULL) in build_directory_structure()
193 dentries[i].filename = strdup(namelist[i]->d_name); in build_directory_structure()
194 if (dentries[i].filename == NULL) in build_directory_structure()
[all …]
Dcontents.c47 static u32 dentry_size(u32 entries, struct dentry *dentries) in dentry_size() argument
54 dentry_len = 8 + EXT4_ALIGN(strlen(dentries[i].filename), 4); in dentry_size()
99 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries, in make_directory() argument
111 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size); in make_directory()
160 dentries[i].filename, dentries[i].file_type); in make_directory()
163 dentries[i].filename, offset, len); in make_directory()
164 dentries[i].inode = &dentry->inode; in make_directory()
Dcontents.h36 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries,