Home
last modified time | relevance | path

Searched refs:dent_blk (Results 1 – 2 of 2) sorted by relevance

/external/f2fs-tools/fsck/
Ddir.c305 struct f2fs_dentry_block *dent_blk; in make_empty_dir() local
315 dent_blk = calloc(BLOCK_SZ, 1); in make_empty_dir()
316 ASSERT(dent_blk); in make_empty_dir()
318 dent_blk->dentry[0].hash_code = 0; in make_empty_dir()
319 dent_blk->dentry[0].ino = cpu_to_le32(ino); in make_empty_dir()
320 dent_blk->dentry[0].name_len = cpu_to_le16(1); in make_empty_dir()
321 dent_blk->dentry[0].file_type = F2FS_FT_DIR; in make_empty_dir()
322 memcpy(dent_blk->filename[0], ".", 1); in make_empty_dir()
324 dent_blk->dentry[1].hash_code = 0; in make_empty_dir()
325 dent_blk->dentry[1].ino = cpu_to_le32(pino); in make_empty_dir()
[all …]
/external/f2fs-tools/mkfs/
Df2fs_format.c1005 struct f2fs_dentry_block *dent_blk = NULL; in f2fs_add_default_dentry_root() local
1008 dent_blk = calloc(F2FS_BLKSIZE, 1); in f2fs_add_default_dentry_root()
1009 if(dent_blk == NULL) { in f2fs_add_default_dentry_root()
1014 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_root()
1015 dent_blk->dentry[0].ino = sb->root_ino; in f2fs_add_default_dentry_root()
1016 dent_blk->dentry[0].name_len = cpu_to_le16(1); in f2fs_add_default_dentry_root()
1017 dent_blk->dentry[0].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_root()
1018 memcpy(dent_blk->filename[0], ".", 1); in f2fs_add_default_dentry_root()
1020 dent_blk->dentry[1].hash_code = 0; in f2fs_add_default_dentry_root()
1021 dent_blk->dentry[1].ino = sb->root_ino; in f2fs_add_default_dentry_root()
[all …]