Lines Matching defs:count
1190 dir->count = tempcount;
1214 // increase count of files if necessary
1334 *id = lfs_min(lfs_tag_id(besttag), dir->count);
1339 } else if (lfs_tag_id(besttag) < dir->count) {
1786 // to make sure we don't immediately evict, align the new revision count
1796 dir->count = 0;
1889 // If our revision count == n * block_cycles, we should force a relocation,
1908 // increment revision count
2033 dir->count = end - begin;
2189 dir->count += 1;
2191 LFS_ASSERT(dir->count > 0);
2192 dir->count -= 1;
2203 if (hasdelete && dir->count == 0) {
2293 dir, 0, dir->count);
2334 while (d->id >= d->m.count && d->m.split) {
2336 d->id -= d->m.count;
2731 if (dir->id == dir->m.count) {
2774 if (dir->id == dir->m.count) {
2787 int diff = lfs_min(dir->m.count - dir->id, off);
2983 int count = 2 - (index & 1);
2985 pcache, rcache, count*sizeof(head),
2986 head, 0, &heads, count*sizeof(head));
2993 for (int i = 0; i < count-1; i++) {
3000 head = heads[count-1];
3001 index -= count;
3849 if (dir.m.count > 0 || dir.m.split) {
3961 if (prevdir.m.count > 0 || prevdir.m.split) {
4446 LFS_ERROR("Invalid block count (%"PRIu32" != %"PRIu32")",
4586 for (uint16_t id = 0; id < dir.count; id++) {
5691 dir2.count = 0;