Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ubifs/
Djournal.c924 struct ubifs_dent_node *dent, *dent2; in ubifs_jnl_rename() local
979 dent2 = (void *)dent + aligned_dlen1; in ubifs_jnl_rename()
980 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
981 dent_key_init_flash(c, &dent2->key, old_dir->i_ino, in ubifs_jnl_rename()
983 dent2->inum = 0; in ubifs_jnl_rename()
984 dent2->type = DT_UNKNOWN; in ubifs_jnl_rename()
985 dent2->nlen = cpu_to_le16(old_dentry->d_name.len); in ubifs_jnl_rename()
986 memcpy(dent2->name, old_dentry->d_name.name, old_dentry->d_name.len); in ubifs_jnl_rename()
987 dent2->name[old_dentry->d_name.len] = '\0'; in ubifs_jnl_rename()
988 zero_dent_node_unused(dent2); in ubifs_jnl_rename()
[all …]
Ddebug.c1176 struct ubifs_dent_node *dent1, *dent2; in dbg_check_key_order() local
1183 dent2 = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS); in dbg_check_key_order()
1184 if (!dent2) { in dbg_check_key_order()
1196 err = ubifs_tnc_read_node(c, zbr2, dent2); in dbg_check_key_order()
1199 err = ubifs_validate_entry(c, dent2); in dbg_check_key_order()
1215 key_read(c, &dent2->key, &key); in dbg_check_key_order()
1221 dbg_dump_node(c, dent2); in dbg_check_key_order()
1226 nlen2 = le16_to_cpu(dent2->nlen); in dbg_check_key_order()
1228 cmp = memcmp(dent1->name, dent2->name, min_t(int, nlen1, nlen2)); in dbg_check_key_order()
1242 dbg_dump_node(c, dent2); in dbg_check_key_order()
[all …]
/linux-2.6.39/tools/perf/
Dbuiltin-kmem.c84 struct dirent *dent1, *dent2; in setup_cpunode_map() local
104 while ((dent2 = readdir(dir2)) != NULL) { in setup_cpunode_map()
105 if (dent2->d_type != DT_LNK || in setup_cpunode_map()
106 sscanf(dent2->d_name, "cpu%u", &cpu) < 1) in setup_cpunode_map()