Lines Matching refs:dent1
956 struct ubifs_dent_node *dent1, *dent2; in ubifs_jnl_xrename() local
976 dent1 = kzalloc(len, GFP_NOFS); in ubifs_jnl_xrename()
977 if (!dent1) in ubifs_jnl_xrename()
986 dent1->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
987 dent_key_init_flash(c, &dent1->key, snd_dir->i_ino, snd_nm); in ubifs_jnl_xrename()
988 dent1->inum = cpu_to_le64(fst_inode->i_ino); in ubifs_jnl_xrename()
989 dent1->type = get_dent_type(fst_inode->i_mode); in ubifs_jnl_xrename()
990 dent1->nlen = cpu_to_le16(fname_len(snd_nm)); in ubifs_jnl_xrename()
991 memcpy(dent1->name, fname_name(snd_nm), fname_len(snd_nm)); in ubifs_jnl_xrename()
992 dent1->name[fname_len(snd_nm)] = '\0'; in ubifs_jnl_xrename()
993 set_dent_cookie(c, dent1); in ubifs_jnl_xrename()
994 zero_dent_node_unused(dent1); in ubifs_jnl_xrename()
995 ubifs_prep_grp_node(c, dent1, dlen1, 0); in ubifs_jnl_xrename()
998 dent2 = (void *)dent1 + aligned_dlen1; in ubifs_jnl_xrename()
1019 err = write_head(c, BASEHD, dent1, len, &lnum, &offs, sync); in ubifs_jnl_xrename()
1061 kfree(dent1); in ubifs_jnl_xrename()
1070 kfree(dent1); in ubifs_jnl_xrename()