Searched refs:dent2 (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/fs/ubifs/ |
D | journal.c | 1054 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 …]
|
D | debug.c | 1176 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 …]
|
/Linux-v5.4/tools/perf/util/ |
D | cpumap.c | 409 struct dirent *dent1, *dent2; in cpu__setup_cpunode_map() local 449 while ((dent2 = readdir(dir2)) != NULL) { in cpu__setup_cpunode_map() 450 if (dent2->d_type != DT_LNK || sscanf(dent2->d_name, "cpu%u", &cpu) < 1) in cpu__setup_cpunode_map()
|