Searched refs:cgno (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/fs/ufs/ |
D | cylinder.c | 29 unsigned cgno, unsigned bitmap_nr) in ufs_read_cylinder() argument 37 UFSD("ENTER, cgno %u, bitmap_nr %u\n", cgno, bitmap_nr); in ufs_read_cylinder() 40 ucg = (struct ufs_cylinder_group *)sbi->s_ucg[cgno]->b_data; in ufs_read_cylinder() 42 UCPI_UBH(ucpi)->fragment = ufs_cgcmin(cgno); in ufs_read_cylinder() 47 UCPI_UBH(ucpi)->bh[0] = sbi->s_ucg[cgno]; in ufs_read_cylinder() 51 sbi->s_cgno[bitmap_nr] = cgno; in ufs_read_cylinder() 75 ufs_error (sb, "ufs_read_cylinder", "can't read cylinder group block %u", cgno); in ufs_read_cylinder() 127 struct super_block * sb, unsigned cgno) in ufs_load_cylinder() argument 134 UFSD("ENTER, cgno %u\n", cgno); in ufs_load_cylinder() 137 if (cgno >= uspi->s_ncg) { in ufs_load_cylinder() [all …]
|
D | balloc.c | 44 unsigned cgno, bit, end_bit, bbase, blkmap, i; in ufs_free_fragments() local 59 cgno = ufs_dtog(uspi, fragment); in ufs_free_fragments() 61 if (cgno >= uspi->s_ncg) { in ufs_free_fragments() 66 ucpi = ufs_load_cylinder (sb, cgno); in ufs_free_fragments() 71 ufs_panic (sb, "ufs_free_fragments", "internal error, bad magic number on cg %u", cgno); in ufs_free_fragments() 89 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); in ufs_free_fragments() 100 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, uspi->s_fpb); in ufs_free_fragments() 105 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nbfree, 1); in ufs_free_fragments() 141 unsigned overflow, cgno, bit, end_bit, i; in ufs_free_blocks() local 162 cgno = ufs_dtog(uspi, fragment); in ufs_free_blocks() [all …]
|