/system/extras/ext4_utils/ |
make_ext4fs.c | 105 struct dentry dentries = { local 113 root_inode = make_directory(0, 1, &dentries, 1); 115 *dentries.inode = inode; 116 inode_set_permissions(inode, dentries.mode, 117 dentries.uid, dentries.gid, dentries.mtime); 151 struct dentry *dentries; local 188 dentries = calloc(entries, sizeof(struct dentry)); 189 if (dentries == NULL [all...] |
contents.h | 36 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries,
|
contents.c | 47 static u32 dentry_size(u32 entries, struct dentry *dentries) 54 dentry_len = 8 + EXT4_ALIGN(strlen(dentries[i].filename), 4); 93 /* Creates a directory structure for an array of directory entries, dentries, 96 of each directory entry into dentries[i].inode, to be filled in later 99 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries, 111 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size); 160 dentries[i].filename, dentries[i].file_type); 163 dentries[i].filename, offset, len); 164 dentries[i].inode = &dentry->inode [all...] |
/external/f2fs-tools/fsck/ |
fsck.c | 674 int dentries = 0; local 787 dentries++; 791 return fixed ? -1 : dentries; 799 int dentries; local 805 dentries = __chk_dentries(sbi, child_cnt, child_files, 809 if (dentries < 0) { 814 "dentries:%d in %d slots (len:%d)\n\n", 815 fsck->dentry_depth, dentries, 819 return dentries; 827 int dentries, ret local [all...] |