Searched refs:dent1 (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 1080 dent1 = kzalloc(len, GFP_NOFS); in ubifs_jnl_xrename() 1081 if (!dent1) in ubifs_jnl_xrename() 1090 dent1->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename() 1091 dent_key_init_flash(c, &dent1->key, snd_dir->i_ino, snd_nm); in ubifs_jnl_xrename() 1092 dent1->inum = cpu_to_le64(fst_inode->i_ino); in ubifs_jnl_xrename() 1093 dent1->type = get_dent_type(fst_inode->i_mode); in ubifs_jnl_xrename() 1094 dent1->nlen = cpu_to_le16(fname_len(snd_nm)); in ubifs_jnl_xrename() 1095 memcpy(dent1->name, fname_name(snd_nm), fname_len(snd_nm)); in ubifs_jnl_xrename() 1096 dent1->name[fname_len(snd_nm)] = '\0'; in ubifs_jnl_xrename() [all …]
|
D | debug.c | 1176 struct ubifs_dent_node *dent1, *dent2; in dbg_check_key_order() local 1181 dent1 = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS); in dbg_check_key_order() 1182 if (!dent1) in dbg_check_key_order() 1190 err = ubifs_tnc_read_node(c, zbr1, dent1); in dbg_check_key_order() 1193 err = ubifs_validate_entry(c, dent1); in dbg_check_key_order() 1206 key_read(c, &dent1->key, &key); in dbg_check_key_order() 1214 ubifs_dump_node(c, dent1); in dbg_check_key_order() 1230 nlen1 = le16_to_cpu(dent1->nlen); in dbg_check_key_order() 1233 cmp = memcmp(dent1->name, dent2->name, min_t(int, nlen1, nlen2)); in dbg_check_key_order() 1245 ubifs_dump_node(c, dent1); 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 436 while ((dent1 = readdir(dir1)) != NULL) { in cpu__setup_cpunode_map() 437 if (dent1->d_type != DT_DIR || sscanf(dent1->d_name, "node%u", &mem) < 1) in cpu__setup_cpunode_map() 440 n = snprintf(buf, PATH_MAX, "%s/%s", path, dent1->d_name); in cpu__setup_cpunode_map()
|