Lines Matching refs:dent1
1059 struct ubifs_dent_node *dent1, *dent2; in ubifs_jnl_xrename() local
1085 dent1 = kzalloc(len, GFP_NOFS); in ubifs_jnl_xrename()
1086 if (!dent1) in ubifs_jnl_xrename()
1095 dent1->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
1096 dent_key_init_flash(c, &dent1->key, snd_dir->i_ino, snd_nm); in ubifs_jnl_xrename()
1097 dent1->inum = cpu_to_le64(fst_inode->i_ino); in ubifs_jnl_xrename()
1098 dent1->type = get_dent_type(fst_inode->i_mode); in ubifs_jnl_xrename()
1099 dent1->nlen = cpu_to_le16(fname_len(snd_nm)); in ubifs_jnl_xrename()
1100 memcpy(dent1->name, fname_name(snd_nm), fname_len(snd_nm)); in ubifs_jnl_xrename()
1101 dent1->name[fname_len(snd_nm)] = '\0'; in ubifs_jnl_xrename()
1102 set_dent_cookie(c, dent1); in ubifs_jnl_xrename()
1103 zero_dent_node_unused(dent1); in ubifs_jnl_xrename()
1104 ubifs_prep_grp_node(c, dent1, dlen1, 0); in ubifs_jnl_xrename()
1105 err = ubifs_node_calc_hash(c, dent1, hash_dent1); in ubifs_jnl_xrename()
1110 dent2 = (void *)dent1 + aligned_dlen1; in ubifs_jnl_xrename()
1143 err = write_head(c, BASEHD, dent1, len, &lnum, &offs, sync); in ubifs_jnl_xrename()
1187 kfree(dent1); in ubifs_jnl_xrename()
1196 kfree(dent1); in ubifs_jnl_xrename()