Lines Matching defs:cgno
29 unsigned cgno, unsigned bitmap_nr)
37 UFSD("ENTER, cgno %u, bitmap_nr %u\n", cgno, bitmap_nr);
40 ucg = (struct ufs_cylinder_group *)sbi->s_ucg[cgno]->b_data;
42 UCPI_UBH(ucpi)->fragment = ufs_cgcmin(cgno);
47 UCPI_UBH(ucpi)->bh[0] = sbi->s_ucg[cgno];
51 sbi->s_cgno[bitmap_nr] = cgno;
75 ufs_error (sb, "ufs_read_cylinder", "can't read cylinder group block %u", cgno);
127 struct super_block * sb, unsigned cgno)
134 UFSD("ENTER, cgno %u\n", cgno);
137 if (cgno >= uspi->s_ncg) {
144 if (sbi->s_cgno[0] == cgno) {
152 if (sbi->s_cgno[cgno] != UFS_CGNO_EMPTY) {
153 if (sbi->s_cgno[cgno] != cgno) {
160 return sbi->s_ucpi[cgno];
163 ufs_read_cylinder (sb, cgno, cgno);
165 return sbi->s_ucpi[cgno];
172 for (i = 0; i < sbi->s_cg_loaded && sbi->s_cgno[i] != cgno; i++);
173 if (i < sbi->s_cg_loaded && sbi->s_cgno[i] == cgno) {
197 ufs_read_cylinder (sb, cgno, 0);