Lines Matching refs:ndirents
48 const int ndirents) in find_target_dirent() argument
56 back = ndirents - 1; in find_target_dirent()
66 .end = mid >= ndirents - 1 ? in find_target_dirent()
110 const int ndirents = nameoff / sizeof(*de); in find_target_block_classic() local
115 if (!ndirents) { in find_target_block_classic()
129 if (ndirents == 1) in find_target_block_classic()
150 *_ndirents = ndirents; in find_target_block_classic()
171 int ndirents; in erofs_namei() local
183 ndirents = 0; in erofs_namei()
184 page = find_target_block_classic(dir, &qn, &ndirents); in erofs_namei()
191 if (ndirents) in erofs_namei()
192 de = find_target_dirent(&qn, data, EROFS_BLKSIZ, ndirents); in erofs_namei()