Lines Matching refs:bit
64 unsigned ino, cg, bit; in ufs_free_inode() local
82 bit = ufs_inotocgoff (ino); in ufs_free_inode()
96 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit)) in ufs_free_inode()
99 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit); in ufs_free_inode()
181 unsigned cg, bit, i, j, start; in ufs_new_inode() local
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()
251 bit = ubh_find_first_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, start); in ufs_new_inode()
252 if (!(bit < start)) { in ufs_new_inode()
259 UFSD("start = %u, bit = %u, ipg = %u\n", start, bit, uspi->s_ipg); in ufs_new_inode()
260 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit)) in ufs_new_inode()
261 ubh_setbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit); in ufs_new_inode()
271 if (bit + uspi->s_inopb > initediblk && in ufs_new_inode()
291 inode->i_ino = cg * uspi->s_ipg + bit; in ufs_new_inode()