Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ubifs/
Djournal.c956 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()
[all …]
Ddebug.c1183 struct ubifs_dent_node *dent1, *dent2; in dbg_check_key_order() local
1188 dent1 = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS); in dbg_check_key_order()
1189 if (!dent1) in dbg_check_key_order()
1197 err = ubifs_tnc_read_node(c, zbr1, dent1); in dbg_check_key_order()
1200 err = ubifs_validate_entry(c, dent1); in dbg_check_key_order()
1213 key_read(c, &dent1->key, &key); in dbg_check_key_order()
1221 ubifs_dump_node(c, dent1); in dbg_check_key_order()
1237 nlen1 = le16_to_cpu(dent1->nlen); in dbg_check_key_order()
1240 cmp = memcmp(dent1->name, dent2->name, min_t(int, nlen1, nlen2)); in dbg_check_key_order()
1252 ubifs_dump_node(c, dent1); in dbg_check_key_order()
[all …]