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()612 for (j = 1; j < uspi->s_ncg; j *= 2) { in ufs_alloc_fragments()614 if (cgno >= uspi->s_ncg) in ufs_alloc_fragments()615 cgno -= uspi->s_ncg; in ufs_alloc_fragments()623 cgno = (oldcg + 1) % uspi->s_ncg; in ufs_alloc_fragments()624 for (j = 2; j < uspi->s_ncg; j++) { in ufs_alloc_fragments()626 if (cgno >= uspi->s_ncg) in ufs_alloc_fragments()
104 if (ino < UFS_ROOTINO || ino > uspi->s_ncg * uspi->s_ipg) in ufs_nfs_get_inode()545 sbi->s_ucg = kmalloc_array(uspi->s_ncg, sizeof(struct buffer_head *), in ufs_read_cylinder_structures()549 for (i = 0; i < uspi->s_ncg; i++) in ufs_read_cylinder_structures()555 for (i = 0; i < uspi->s_ncg; i++) { in ufs_read_cylinder_structures()576 for (i = 0; i < uspi->s_ncg; i++) in ufs_read_cylinder_structures()678 for (i = 0; i < uspi->s_ncg; i++) in ufs_put_super_internal()1179 uspi->s_ncg = fs32_to_cpu(sb, usb1->fs_ncg); in ufs_fill_super()1432 buf->f_files = uspi->s_ncg * uspi->s_ipg; in ufs_statfs()
141 UFS_SB(sb)->s_uspi->s_ncg)) in ufs_check_page()
662 if (ino < UFS_ROOTINO || ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_iget()806 inode->i_ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_update_inode()
739 __u32 s_ncg; /* number of cylinder groups */ member