Searched refs:s_ncg (Results 1 – 7 of 7) sorted by relevance
80 if (!((ino > 1) && (ino < (uspi->s_ncg * uspi->s_ipg )))) { in ufs_free_inode()181 for ( j = 1; j < uspi->s_ncg; j <<= 1 ) { in ufs_new_inode()183 if (i >= uspi->s_ncg) in ufs_new_inode()184 i -= uspi->s_ncg; in ufs_new_inode()195 for (j = 2; j < uspi->s_ncg; j++) { in ufs_new_inode()197 if (i >= uspi->s_ncg) in ufs_new_inode()
61 if (cgno >= uspi->s_ncg) { in ufs_free_fragments()160 if (cgno >= uspi->s_ncg) { in ufs_free_blocks()504 for (j = 1; j < uspi->s_ncg; j *= 2) { in ufs_alloc_fragments()506 if (cgno >= uspi->s_ncg) in ufs_alloc_fragments()507 cgno -= uspi->s_ncg; in ufs_alloc_fragments()515 cgno = (oldcg + 1) % uspi->s_ncg; in ufs_alloc_fragments()516 for (j = 2; j < uspi->s_ncg; j++) { in ufs_alloc_fragments()518 if (cgno >= uspi->s_ncg) in ufs_alloc_fragments()
107 if (uspi->s_ncg > UFS_MAX_GROUP_LOADED && bitmap_nr >= sb->u.ufs_sb.s_cg_loaded) { in ufs_put_cylinder()143 if (cgno >= uspi->s_ncg) { in ufs_load_cylinder()157 if (uspi->s_ncg <= UFS_MAX_GROUP_LOADED) { in ufs_load_cylinder()
356 if (!(sb->u.ufs_sb.s_ucg = kmalloc (sizeof(struct buffer_head *) * uspi->s_ncg, GFP_KERNEL))) in ufs_read_cylinder_structures()358 for (i = 0; i < uspi->s_ncg; i++) in ufs_read_cylinder_structures()364 for (i = 0; i < uspi->s_ncg; i++) { in ufs_read_cylinder_structures()386 for (i = 0; i < uspi->s_ncg; i++) in ufs_read_cylinder_structures()430 for (i = 0; i < uspi->s_ncg; i++) in ufs_put_cylinder_structures()758 uspi->s_ncg = fs32_to_cpu(sb, usb1->fs_ncg); in ufs_read_super()977 buf->f_files = uspi->s_ncg * uspi->s_ipg; in ufs_statfs()
495 inode->i_ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_read_inode()591 inode->i_ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_update_inode()
305 sb->u.ufs_sb.s_uspi->s_ncg)) in ufs_check_dir_entry()
58 __u32 s_ncg; /* number of cylinder groups */ member