Searched refs:s_ncg (Results 1 – 7 of 7) sorted by relevance
75 if (!((ino > 1) && (ino < (uspi->s_ncg * uspi->s_ipg )))) { in ufs_free_inode()212 for ( j = 1; j < uspi->s_ncg; j <<= 1 ) { in ufs_new_inode()214 if (i >= uspi->s_ncg) in ufs_new_inode()215 i -= uspi->s_ncg; in ufs_new_inode()226 for (j = 2; j < uspi->s_ncg; j++) { in ufs_new_inode()228 if (i >= uspi->s_ncg) in ufs_new_inode()
101 if (uspi->s_ncg > UFS_MAX_GROUP_LOADED && bitmap_nr >= sbi->s_cg_loaded) { in ufs_put_cylinder()138 if (cgno >= uspi->s_ncg) { in ufs_load_cylinder()152 if (uspi->s_ncg <= UFS_MAX_GROUP_LOADED) { in ufs_load_cylinder()
61 if (cgno >= uspi->s_ncg) { in ufs_free_fragments()163 if (cgno >= uspi->s_ncg) { in ufs_free_blocks()608 for (j = 1; j < uspi->s_ncg; j *= 2) { in ufs_alloc_fragments()610 if (cgno >= uspi->s_ncg) in ufs_alloc_fragments()611 cgno -= uspi->s_ncg; in ufs_alloc_fragments()619 cgno = (oldcg + 1) % uspi->s_ncg; in ufs_alloc_fragments()620 for (j = 2; j < uspi->s_ncg; j++) { in ufs_alloc_fragments()622 if (cgno >= uspi->s_ncg) in ufs_alloc_fragments()
104 if (ino < UFS_ROOTINO || ino > (u64)uspi->s_ncg * uspi->s_ipg) in ufs_nfs_get_inode()544 sbi->s_ucg = kmalloc_array(uspi->s_ncg, sizeof(struct buffer_head *), in ufs_read_cylinder_structures()548 for (i = 0; i < uspi->s_ncg; i++) in ufs_read_cylinder_structures()554 for (i = 0; i < uspi->s_ncg; i++) { in ufs_read_cylinder_structures()575 for (i = 0; i < uspi->s_ncg; i++) in ufs_read_cylinder_structures()677 for (i = 0; i < uspi->s_ncg; i++) in ufs_put_super_internal()1178 uspi->s_ncg = fs32_to_cpu(sb, usb1->fs_ncg); in ufs_fill_super()1431 buf->f_files = uspi->s_ncg * uspi->s_ipg; in ufs_statfs()
663 if (ino < UFS_ROOTINO || ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_iget()807 inode->i_ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_update_inode()
141 UFS_SB(sb)->s_uspi->s_ncg)) in ufs_check_page()
739 __u32 s_ncg; /* number of cylinder groups */ member