Searched refs:dent2 (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/fs/ubifs/ |
D | journal.c | 1059 struct ubifs_dent_node *dent1, *dent2; in ubifs_jnl_xrename() local 1110 dent2 = (void *)dent1 + aligned_dlen1; in ubifs_jnl_xrename() 1111 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename() 1112 dent_key_init_flash(c, &dent2->key, fst_dir->i_ino, fst_nm); in ubifs_jnl_xrename() 1113 dent2->inum = cpu_to_le64(snd_inode->i_ino); in ubifs_jnl_xrename() 1114 dent2->type = get_dent_type(snd_inode->i_mode); in ubifs_jnl_xrename() 1115 dent2->nlen = cpu_to_le16(fname_len(fst_nm)); in ubifs_jnl_xrename() 1116 memcpy(dent2->name, fname_name(fst_nm), fname_len(fst_nm)); in ubifs_jnl_xrename() 1117 dent2->name[fname_len(fst_nm)] = '\0'; in ubifs_jnl_xrename() 1118 set_dent_cookie(c, dent2); in ubifs_jnl_xrename() [all …]
|
D | debug.c | 1198 struct ubifs_dent_node *dent1, *dent2; in dbg_check_key_order() local 1206 dent2 = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS); in dbg_check_key_order() 1207 if (!dent2) { in dbg_check_key_order() 1219 err = ubifs_tnc_read_node(c, zbr2, dent2); in dbg_check_key_order() 1222 err = ubifs_validate_entry(c, dent2); in dbg_check_key_order() 1240 key_read(c, &dent2->key, &key); in dbg_check_key_order() 1248 ubifs_dump_node(c, dent2, UBIFS_MAX_DENT_NODE_SZ); in dbg_check_key_order() 1253 nlen2 = le16_to_cpu(dent2->nlen); in dbg_check_key_order() 1255 cmp = memcmp(dent1->name, dent2->name, min_t(int, nlen1, nlen2)); in dbg_check_key_order() 1269 ubifs_dump_node(c, dent2, UBIFS_MAX_DENT_NODE_SZ); in dbg_check_key_order() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | cpumap.c | 427 struct dirent *dent1, *dent2; in cpu__setup_cpunode_map() local 467 while ((dent2 = readdir(dir2)) != NULL) { in cpu__setup_cpunode_map() 468 if (dent2->d_type != DT_LNK || sscanf(dent2->d_name, "cpu%u", &cpu) < 1) in cpu__setup_cpunode_map()
|