Searched refs:dent_blk (Results 1 – 2 of 2) sorted by relevance
1500 struct f2fs_dentry_block *dent_blk; in f2fs_add_default_dentry_lpf() local1503 dent_blk = calloc(F2FS_BLKSIZE, 1); in f2fs_add_default_dentry_lpf()1504 if (dent_blk == NULL) { in f2fs_add_default_dentry_lpf()1509 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_lpf()1510 dent_blk->dentry[0].ino = cpu_to_le32(c.lpf_ino); in f2fs_add_default_dentry_lpf()1511 dent_blk->dentry[0].name_len = cpu_to_le16(1); in f2fs_add_default_dentry_lpf()1512 dent_blk->dentry[0].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_lpf()1513 memcpy(dent_blk->filename[0], ".", 1); in f2fs_add_default_dentry_lpf()1515 dent_blk->dentry[1].hash_code = 0; in f2fs_add_default_dentry_lpf()1516 dent_blk->dentry[1].ino = sb->root_ino; in f2fs_add_default_dentry_lpf()[all …]
338 struct f2fs_dentry_block *dent_blk; in make_empty_dir() local348 dent_blk = calloc(BLOCK_SZ, 1); in make_empty_dir()349 ASSERT(dent_blk); in make_empty_dir()351 dent_blk->dentry[0].hash_code = 0; in make_empty_dir()352 dent_blk->dentry[0].ino = cpu_to_le32(ino); in make_empty_dir()353 dent_blk->dentry[0].name_len = cpu_to_le16(1); in make_empty_dir()354 dent_blk->dentry[0].file_type = F2FS_FT_DIR; in make_empty_dir()355 memcpy(dent_blk->filename[0], ".", 1); in make_empty_dir()357 dent_blk->dentry[1].hash_code = 0; in make_empty_dir()358 dent_blk->dentry[1].ino = cpu_to_le32(pino); in make_empty_dir()[all …]