Home
last modified time | relevance | path

Searched refs:s_ipg (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/fs/ufs/
H A Dialloc.c75 if (!((ino > 1) && (ino < (uspi->s_ncg * uspi->s_ipg )))) { in ufs_free_inode()
136 ufs_inotofsba(ucpi->c_cgx * uspi->s_ipg + in ufs2_init_inodes_chunk()
249 bit = ubh_find_next_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, uspi->s_ipg, start); in ufs_new_inode()
250 if (!(bit < uspi->s_ipg)) { in ufs_new_inode()
259 UFSD("start = %u, bit = %u, ipg = %u\n", start, bit, uspi->s_ipg); in ufs_new_inode()
291 inode->i_ino = cg * uspi->s_ipg + bit; in ufs_new_inode()
H A Dufs_fs.h229 #define ufs_inotocg(x) ((x) / uspi->s_ipg)
230 #define ufs_inotocgoff(x) ((x) % uspi->s_ipg)
765 __u32 s_ipg; /* inodes per cylinder group */ member
H A Dsuper.c104 if (ino < UFS_ROOTINO || ino > (u64)uspi->s_ncg * uspi->s_ipg) in ufs_nfs_get_inode()
1211 uspi->s_ipg = fs32_to_cpu(sb, usb1->fs_ipg); in ufs_fill_super()
1431 buf->f_files = uspi->s_ncg * uspi->s_ipg; in ufs_statfs()
H A Ddir.c146 if (fs32_to_cpu(sb, p->d_ino) > (UFS_SB(sb)->s_uspi->s_ipg * in ufs_check_page()
H A Dinode.c664 if (ino < UFS_ROOTINO || ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_iget()
810 inode->i_ino > (uspi->s_ncg * uspi->s_ipg)) { in ufs_update_inode()