Searched refs:dentries (Results 1 – 2 of 2) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | sload.c | 208 struct dentry *dentries; in build_directory() local 218 dentries = calloc(entries, sizeof(struct dentry)); in build_directory() 219 ASSERT(dentries); in build_directory() 222 dentries[i].name = (unsigned char *)strdup(namelist[i]->d_name); in build_directory() 223 if (dentries[i].name == NULL) { in build_directory() 227 dentries[i].len = strlen((char *)dentries[i].name); in build_directory() 229 ret = asprintf(&dentries[i].path, "%s%s", in build_directory() 232 ret = asprintf(&dentries[i].full_path, "%s/%s", in build_directory() 237 set_inode_metadata(dentries + i); in build_directory() 239 dentries[i].pino = dir_ino; in build_directory() [all …]
|
D | fsck.c | 1579 int dentries = 0; in __chk_dentries() local 1742 dentries++; in __chk_dentries() 1749 return fixed ? -1 : dentries; in __chk_dentries() 1760 int dentries; in fsck_chk_inline_dentries() local 1776 dentries = __chk_dentries(sbi, IS_CASEFOLDED(&node_blk->i), child, in fsck_chk_inline_dentries() 1779 if (dentries < 0) { in fsck_chk_inline_dentries() 1785 fsck->dentry_depth, dentries, in fsck_chk_inline_dentries() 1793 return dentries; in fsck_chk_inline_dentries() 1803 int dentries, ret; in fsck_chk_dentry_blk() local 1819 dentries = __chk_dentries(sbi, casefolded, child, in fsck_chk_dentry_blk() [all …]
|