Lines Matching refs:dent2

1190 	struct ubifs_dent_node *dent1, *dent2;  in ubifs_jnl_xrename()  local
1241 dent2 = (void *)dent1 + aligned_dlen1; in ubifs_jnl_xrename()
1242 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
1243 dent_key_init_flash(c, &dent2->key, fst_dir->i_ino, fst_nm); in ubifs_jnl_xrename()
1244 dent2->inum = cpu_to_le64(snd_inode->i_ino); in ubifs_jnl_xrename()
1245 dent2->type = get_dent_type(snd_inode->i_mode); in ubifs_jnl_xrename()
1246 dent2->nlen = cpu_to_le16(fname_len(fst_nm)); in ubifs_jnl_xrename()
1247 memcpy(dent2->name, fname_name(fst_nm), fname_len(fst_nm)); in ubifs_jnl_xrename()
1248 dent2->name[fname_len(fst_nm)] = '\0'; in ubifs_jnl_xrename()
1249 set_dent_cookie(c, dent2); in ubifs_jnl_xrename()
1250 zero_dent_node_unused(dent2); in ubifs_jnl_xrename()
1251 ubifs_prep_grp_node(c, dent2, dlen2, 0); in ubifs_jnl_xrename()
1252 err = ubifs_node_calc_hash(c, dent2, hash_dent2); in ubifs_jnl_xrename()
1256 p = (void *)dent2 + aligned_dlen2; in ubifs_jnl_xrename()
1360 struct ubifs_dent_node *dent, *dent2; in ubifs_jnl_rename() local
1432 dent2 = (void *)dent + aligned_dlen1; in ubifs_jnl_rename()
1433 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
1434 dent_key_init_flash(c, &dent2->key, old_dir->i_ino, old_nm); in ubifs_jnl_rename()
1437 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename()
1438 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename()
1441 dent2->inum = 0; in ubifs_jnl_rename()
1442 dent2->type = DT_UNKNOWN; in ubifs_jnl_rename()
1444 dent2->nlen = cpu_to_le16(fname_len(old_nm)); in ubifs_jnl_rename()
1445 memcpy(dent2->name, fname_name(old_nm), fname_len(old_nm)); in ubifs_jnl_rename()
1446 dent2->name[fname_len(old_nm)] = '\0'; in ubifs_jnl_rename()
1447 set_dent_cookie(c, dent2); in ubifs_jnl_rename()
1448 zero_dent_node_unused(dent2); in ubifs_jnl_rename()
1449 ubifs_prep_grp_node(c, dent2, dlen2, 0); in ubifs_jnl_rename()
1450 err = ubifs_node_calc_hash(c, dent2, hash_dent2); in ubifs_jnl_rename()
1454 p = (void *)dent2 + aligned_dlen2; in ubifs_jnl_rename()