Lines Matching refs:j
79 int j; in minix_new_block() local
82 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone); in minix_new_block()
83 if (j < bits_per_zone) { in minix_new_block()
84 minix_set_bit(j, bh->b_data); in minix_new_block()
87 j += i * bits_per_zone + sbi->s_firstdatazone-1; in minix_new_block()
88 if (j < sbi->s_firstdatazone || j >= sbi->s_nzones) in minix_new_block()
90 return j; in minix_new_block()
220 unsigned long j; in minix_new_inode() local
227 j = bits_per_zone; in minix_new_inode()
233 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone); in minix_new_inode()
234 if (j < bits_per_zone) in minix_new_inode()
237 if (!bh || j >= bits_per_zone) { in minix_new_inode()
242 if (minix_test_and_set_bit(j, bh->b_data)) { /* shouldn't happen */ in minix_new_inode()
250 j += i * bits_per_zone; in minix_new_inode()
251 if (!j || j > sbi->s_ninodes) { in minix_new_inode()
256 inode->i_ino = j; in minix_new_inode()