Searched refs:dentries (Results 1 – 2 of 2) sorted by relevance
/external/f2fs-tools/fsck/ |
D | sload.c | 203 struct dentry *dentries; in build_directory() local 213 dentries = calloc(entries, sizeof(struct dentry)); in build_directory() 214 ASSERT(dentries); in build_directory() 217 dentries[i].name = (unsigned char *)strdup(namelist[i]->d_name); in build_directory() 218 if (dentries[i].name == NULL) { in build_directory() 222 dentries[i].len = strlen((char *)dentries[i].name); in build_directory() 224 ret = asprintf(&dentries[i].path, "%s%s", in build_directory() 227 ret = asprintf(&dentries[i].full_path, "%s/%s", in build_directory() 232 set_inode_metadata(dentries + i); in build_directory() 234 dentries[i].pino = dir_ino; in build_directory() [all …]
|
D | fsck.c | 1475 int dentries = 0; in __chk_dentries() local 1634 dentries++; in __chk_dentries() 1641 return fixed ? -1 : dentries; in __chk_dentries() 1650 int dentries; in fsck_chk_inline_dentries() local 1658 dentries = __chk_dentries(sbi, IS_CASEFOLDED(&node_blk->i), child, in fsck_chk_inline_dentries() 1661 if (dentries < 0) { in fsck_chk_inline_dentries() 1667 fsck->dentry_depth, dentries, in fsck_chk_inline_dentries() 1671 return dentries; in fsck_chk_inline_dentries() 1679 int dentries, ret; in fsck_chk_dentry_blk() local 1688 dentries = __chk_dentries(sbi, casefolded, child, in fsck_chk_dentry_blk() [all …]
|