Home
last modified time | relevance | path

Searched refs:s_ncg (Results 1 – 7 of 7) sorted by relevance

/fs/ufs/
Dialloc.c76 if (!((ino > 1) && (ino < (uspi->s_ncg * uspi->s_ipg )))) { in ufs_free_inode()
214 for ( j = 1; j < uspi->s_ncg; j <<= 1 ) { in ufs_new_inode()
216 if (i >= uspi->s_ncg) in ufs_new_inode()
217 i -= uspi->s_ncg; in ufs_new_inode()
228 for (j = 2; j < uspi->s_ncg; j++) { in ufs_new_inode()
230 if (i >= uspi->s_ncg) in ufs_new_inode()
Dcylinder.c100 if (uspi->s_ncg > UFS_MAX_GROUP_LOADED && bitmap_nr >= sbi->s_cg_loaded) { in ufs_put_cylinder()
137 if (cgno >= uspi->s_ncg) { in ufs_load_cylinder()
151 if (uspi->s_ncg <= UFS_MAX_GROUP_LOADED) { in ufs_load_cylinder()
Dballoc.c61 if (cgno >= uspi->s_ncg) { in ufs_free_fragments()
164 if (cgno >= uspi->s_ncg) { in ufs_free_blocks()
602 for (j = 1; j < uspi->s_ncg; j *= 2) { in ufs_alloc_fragments()
604 if (cgno >= uspi->s_ncg) in ufs_alloc_fragments()
605 cgno -= uspi->s_ncg; in ufs_alloc_fragments()
613 cgno = (oldcg + 1) % uspi->s_ncg; in ufs_alloc_fragments()
614 for (j = 2; j < uspi->s_ncg; j++) { in ufs_alloc_fragments()
616 if (cgno >= uspi->s_ncg) in ufs_alloc_fragments()
Dsuper.c122 if (ino < UFS_ROOTINO || ino > uspi->s_ncg * uspi->s_ipg) in ufs_nfs_get_inode()
563 if (!(sbi->s_ucg = kmalloc (sizeof(struct buffer_head *) * uspi->s_ncg, GFP_NOFS))) in ufs_read_cylinder_structures()
565 for (i = 0; i < uspi->s_ncg; i++) in ufs_read_cylinder_structures()
571 for (i = 0; i < uspi->s_ncg; i++) { in ufs_read_cylinder_structures()
592 for (i = 0; i < uspi->s_ncg; i++) in ufs_read_cylinder_structures()
686 for (i = 0; i < uspi->s_ncg; i++) in ufs_put_super_internal()
1159 uspi->s_ncg = fs32_to_cpu(sb, usb1->fs_ncg); in ufs_fill_super()
1417 buf->f_files = uspi->s_ncg * uspi->s_ipg; in ufs_statfs()
Dinode.c692 if (ino < UFS_ROOTINO || ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_iget()
837 inode->i_ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_update_inode()
Ddir.c142 UFS_SB(sb)->s_uspi->s_ncg)) in ufs_check_page()
Dufs_fs.h740 __u32 s_ncg; /* number of cylinder groups */ member