Lines Matching refs:count
1195 dir->count = tempcount; in lfs_dir_fetchmatch()
1339 *id = lfs_min(lfs_tag_id(besttag), dir->count); in lfs_dir_fetchmatch()
1344 } else if (lfs_tag_id(besttag) < dir->count) { in lfs_dir_fetchmatch()
1801 dir->count = 0; in lfs_dir_alloc()
2038 dir->count = end - begin; in lfs_dir_compact()
2194 dir->count += 1; in lfs_dir_relocatingcommit()
2196 LFS_ASSERT(dir->count > 0); in lfs_dir_relocatingcommit()
2197 dir->count -= 1; in lfs_dir_relocatingcommit()
2208 if (hasdelete && dir->count == 0) { in lfs_dir_relocatingcommit()
2298 dir, 0, dir->count); in lfs_dir_relocatingcommit()
2339 while (d->id >= d->m.count && d->m.split) { in lfs_dir_relocatingcommit()
2341 d->id -= d->m.count; in lfs_dir_relocatingcommit()
2736 if (dir->id == dir->m.count) { in lfs_dir_rawread()
2779 if (dir->id == dir->m.count) { in lfs_dir_rawseek()
2792 int diff = lfs_min(dir->m.count - dir->id, off); in lfs_dir_rawseek()
2988 int count = 2 - (index & 1); in lfs_ctz_traverse() local
2990 pcache, rcache, count*sizeof(head), in lfs_ctz_traverse()
2991 head, 0, &heads, count*sizeof(head)); in lfs_ctz_traverse()
2998 for (int i = 0; i < count-1; i++) { in lfs_ctz_traverse()
3005 head = heads[count-1]; in lfs_ctz_traverse()
3006 index -= count; in lfs_ctz_traverse()
3854 if (dir.m.count > 0 || dir.m.split) {
3966 if (prevdir.m.count > 0 || prevdir.m.split) {
4591 for (uint16_t id = 0; id < dir.count; id++) {
5696 dir2.count = 0;