Searched refs:dent1 (Results 1 - 3 of 3) sorted by relevance

/linux-master/fs/ubifs/
H A Djournal.c1186 struct ubifs_dent_node *dent1, *dent2; local
1212 dent1 = kzalloc(len, GFP_NOFS);
1213 if (!dent1)
1222 dent1->ch.node_type = UBIFS_DENT_NODE;
1223 dent_key_init_flash(c, &dent1->key, snd_dir->i_ino, snd_nm);
1224 dent1->inum = cpu_to_le64(fst_inode->i_ino);
1225 dent1->type = get_dent_type(fst_inode->i_mode);
1226 dent1->nlen = cpu_to_le16(fname_len(snd_nm));
1227 memcpy(dent1->name, fname_name(snd_nm), fname_len(snd_nm));
1228 dent1
[all...]
H A Ddebug.c1198 struct ubifs_dent_node *dent1, *dent2; local
1203 dent1 = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS);
1204 if (!dent1)
1212 err = ubifs_tnc_read_node(c, zbr1, dent1);
1215 err = ubifs_validate_entry(c, dent1);
1228 key_read(c, &dent1->key, &key);
1236 ubifs_dump_node(c, dent1, UBIFS_MAX_DENT_NODE_SZ);
1252 nlen1 = le16_to_cpu(dent1->nlen);
1255 cmp = memcmp(dent1->name, dent2->name, min_t(int, nlen1, nlen2));
1267 ubifs_dump_node(c, dent1, UBIFS_MAX_DENT_NODE_S
[all...]
/linux-master/tools/perf/util/
H A Dcpumap.c551 struct dirent *dent1, *dent2; local
578 while ((dent1 = readdir(dir1)) != NULL) {
579 if (dent1->d_type != DT_DIR || sscanf(dent1->d_name, "node%u", &mem) < 1)
582 n = snprintf(buf, PATH_MAX, "%s/%s", path, dent1->d_name);

Completed in 196 milliseconds