Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dsload.c174 struct dentry *dentries; in build_directory() local
184 dentries = calloc(entries, sizeof(struct dentry)); in build_directory()
185 if (dentries == NULL) in build_directory()
189 dentries[i].name = (unsigned char *)strdup(namelist[i]->d_name); in build_directory()
190 if (dentries[i].name == NULL) { in build_directory()
194 dentries[i].len = strlen((char *)dentries[i].name); in build_directory()
196 ret = asprintf(&dentries[i].path, "%s%s", in build_directory()
199 ret = asprintf(&dentries[i].full_path, "%s/%s", in build_directory()
204 set_inode_metadata(dentries + i); in build_directory()
206 dentries[i].pino = dir_ino; in build_directory()
[all …]
Dfsck.c1380 int dentries = 0; in __chk_dentries() local
1539 dentries++; in __chk_dentries()
1546 return fixed ? -1 : dentries; in __chk_dentries()
1555 int dentries; in fsck_chk_inline_dentries() local
1563 dentries = __chk_dentries(sbi, child, in fsck_chk_inline_dentries()
1566 if (dentries < 0) { in fsck_chk_inline_dentries()
1572 fsck->dentry_depth, dentries, in fsck_chk_inline_dentries()
1576 return dentries; in fsck_chk_inline_dentries()
1584 int dentries, ret; in fsck_chk_dentry_blk() local
1593 dentries = __chk_dentries(sbi, child, in fsck_chk_dentry_blk()
[all …]