Lines Matching defs:count
108 unsigned count;
123 count = fs16_to_cpu(sbi, *sbi->s_sb_fic_count);
124 if (count < sbi->s_fic_size) {
125 *sv_sb_fic_inode(sb,count++) = cpu_to_fs16(sbi, ino);
126 *sbi->s_sb_fic_count = cpu_to_fs16(sbi, count);
142 unsigned count;
152 count = fs16_to_cpu(sbi, *sbi->s_sb_fic_count);
153 if (count == 0 || (*sv_sb_fic_inode(sb,count-1) == 0)) {
154 count = refill_free_cache(sb);
155 if (count == 0) {
161 /* Now count > 0. */
162 ino = *sv_sb_fic_inode(sb,--count);
163 *sbi->s_sb_fic_count = cpu_to_fs16(sbi, count);
187 int ino, count, sb_count;
197 count = 0;
204 count++;
214 if (count != sb_count)
218 return count;
222 "free inode count was %d, correcting to %d\n",
223 sb_count, count);
225 *sbi->s_sb_total_free_inodes = cpu_to_fs16(SYSV_SB(sb), count);
233 count = sb_count;