Lines Matching refs:s_cgno
52 sbi->s_cgno[bitmap_nr] = cgno; in ufs_read_cylinder()
75 sbi->s_cgno[bitmap_nr] = UFS_CGNO_EMPTY; in ufs_read_cylinder()
94 if (sbi->s_cgno[bitmap_nr] == UFS_CGNO_EMPTY) { in ufs_put_cylinder()
117 sbi->s_cgno[bitmap_nr] = UFS_CGNO_EMPTY; in ufs_put_cylinder()
145 if (sbi->s_cgno[0] == cgno) { in ufs_load_cylinder()
153 if (sbi->s_cgno[cgno] != UFS_CGNO_EMPTY) { in ufs_load_cylinder()
154 if (sbi->s_cgno[cgno] != cgno) { in ufs_load_cylinder()
173 for (i = 0; i < sbi->s_cg_loaded && sbi->s_cgno[i] != cgno; i++); in ufs_load_cylinder()
174 if (i < sbi->s_cg_loaded && sbi->s_cgno[i] == cgno) { in ufs_load_cylinder()
175 cg = sbi->s_cgno[i]; in ufs_load_cylinder()
178 sbi->s_cgno[j] = sbi->s_cgno[j-1]; in ufs_load_cylinder()
181 sbi->s_cgno[0] = cg; in ufs_load_cylinder()
194 sbi->s_cgno[j] = sbi->s_cgno[j-1]; in ufs_load_cylinder()