Home
last modified time | relevance | path

Searched refs:cgno (Results 1 – 2 of 2) sorted by relevance

/fs/ufs/
Dcylinder.c30 unsigned cgno, unsigned bitmap_nr) in ufs_read_cylinder() argument
38 UFSD("ENTER, cgno %u, bitmap_nr %u\n", cgno, bitmap_nr); in ufs_read_cylinder()
41 ucg = (struct ufs_cylinder_group *)sbi->s_ucg[cgno]->b_data; in ufs_read_cylinder()
43 UCPI_UBH(ucpi)->fragment = ufs_cgcmin(cgno); in ufs_read_cylinder()
48 UCPI_UBH(ucpi)->bh[0] = sbi->s_ucg[cgno]; in ufs_read_cylinder()
52 sbi->s_cgno[bitmap_nr] = cgno; in ufs_read_cylinder()
76 ufs_error (sb, "ufs_read_cylinder", "can't read cylinder group block %u", cgno); in ufs_read_cylinder()
128 struct super_block * sb, unsigned cgno) in ufs_load_cylinder() argument
135 UFSD("ENTER, cgno %u\n", cgno); in ufs_load_cylinder()
138 if (cgno >= uspi->s_ncg) { in ufs_load_cylinder()
[all …]
Dballoc.c45 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()
90 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); in ufs_free_fragments()
101 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, uspi->s_fpb); in ufs_free_fragments()
106 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
161 cgno = ufs_dtog(uspi, fragment); in ufs_free_blocks()
[all …]