Lines Matching refs:j
78 int j; in minix_new_block() local
81 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone); in minix_new_block()
82 if (j < bits_per_zone) { in minix_new_block()
83 minix_set_bit(j, bh->b_data); in minix_new_block()
86 j += i * bits_per_zone + sbi->s_firstdatazone-1; in minix_new_block()
87 if (j < sbi->s_firstdatazone || j >= sbi->s_nzones) in minix_new_block()
89 return j; in minix_new_block()
219 unsigned long j; in minix_new_inode() local
226 j = bits_per_zone; in minix_new_inode()
232 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone); in minix_new_inode()
233 if (j < bits_per_zone) in minix_new_inode()
236 if (!bh || j >= bits_per_zone) { in minix_new_inode()
241 if (minix_test_and_set_bit(j, bh->b_data)) { /* shouldn't happen */ in minix_new_inode()
249 j += i * bits_per_zone; in minix_new_inode()
250 if (!j || j > sbi->s_ninodes) { in minix_new_inode()
255 inode->i_ino = j; in minix_new_inode()