Home
last modified time | relevance | path

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

/fs/ubifs/
Djournal.c1054 struct ubifs_dent_node *dent1, *dent2; in ubifs_jnl_xrename() local
1105 dent2 = (void *)dent1 + aligned_dlen1; in ubifs_jnl_xrename()
1106 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
1107 dent_key_init_flash(c, &dent2->key, fst_dir->i_ino, fst_nm); in ubifs_jnl_xrename()
1108 dent2->inum = cpu_to_le64(snd_inode->i_ino); in ubifs_jnl_xrename()
1109 dent2->type = get_dent_type(snd_inode->i_mode); in ubifs_jnl_xrename()
1110 dent2->nlen = cpu_to_le16(fname_len(fst_nm)); in ubifs_jnl_xrename()
1111 memcpy(dent2->name, fname_name(fst_nm), fname_len(fst_nm)); in ubifs_jnl_xrename()
1112 dent2->name[fname_len(fst_nm)] = '\0'; in ubifs_jnl_xrename()
1113 set_dent_cookie(c, dent2); in ubifs_jnl_xrename()
[all …]
Ddebug.c1176 struct ubifs_dent_node *dent1, *dent2; in dbg_check_key_order() local
1184 dent2 = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS); in dbg_check_key_order()
1185 if (!dent2) { in dbg_check_key_order()
1197 err = ubifs_tnc_read_node(c, zbr2, dent2); in dbg_check_key_order()
1200 err = ubifs_validate_entry(c, dent2); in dbg_check_key_order()
1218 key_read(c, &dent2->key, &key); in dbg_check_key_order()
1226 ubifs_dump_node(c, dent2); in dbg_check_key_order()
1231 nlen2 = le16_to_cpu(dent2->nlen); in dbg_check_key_order()
1233 cmp = memcmp(dent1->name, dent2->name, min_t(int, nlen1, nlen2)); in dbg_check_key_order()
1247 ubifs_dump_node(c, dent2); in dbg_check_key_order()
[all …]