Home
last modified time | relevance | path

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

/linux/fs/ubifs/
H A Djournal.c1190 struct ubifs_dent_node *dent1, *dent2; in ubifs_jnl_xrename() local
1241 dent2 = (void *)dent1 + aligned_dlen1; in ubifs_jnl_xrename()
1242 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
1243 dent_key_init_flash(c, &dent2->key, fst_dir->i_ino, fst_nm); in ubifs_jnl_xrename()
1244 dent2->inum = cpu_to_le64(snd_inode->i_ino); in ubifs_jnl_xrename()
1245 dent2->type = get_dent_type(snd_inode->i_mode); in ubifs_jnl_xrename()
1246 dent2->nlen = cpu_to_le16(fname_len(fst_nm)); in ubifs_jnl_xrename()
1247 memcpy(dent2->name, fname_name(fst_nm), fname_len(fst_nm)); in ubifs_jnl_xrename()
1248 dent2->name[fname_len(fst_nm)] = '\0'; in ubifs_jnl_xrename()
1249 set_dent_cookie(c, dent2); in ubifs_jnl_xrename()
[all …]
/linux/tools/perf/util/
H A Dcpumap.c549 struct dirent *dent1, *dent2; in cpu__setup_cpunode_map()
589 while ((dent2 = readdir(dir2)) != NULL) { in cpu__setup_cpunode_map()
590 if (dent2->d_type != DT_LNK || sscanf(dent2->d_name, "cpu%u", &cpu) < 1) in cpu__setup_cpunode_map()
551 struct dirent *dent1, *dent2; cpu__setup_cpunode_map() local