Lines Matching refs:block
87 int qnx4_is_free(struct super_block *sb, long block) in qnx4_is_free() argument
95 start += block / (QNX4_BLOCK_SIZE * 8); in qnx4_is_free()
97 (unsigned long) block, (unsigned long) start)); in qnx4_is_free()
103 g = bh->b_data + (block % QNX4_BLOCK_SIZE); in qnx4_is_free()
104 if (((*g) & (1 << (block % 8))) == 0) { in qnx4_is_free()
116 int qnx4_set_bitmap(struct super_block *sb, long block, int busy) in qnx4_set_bitmap() argument
123 start += block / (QNX4_BLOCK_SIZE * 8); in qnx4_set_bitmap()
125 (unsigned long) block, (unsigned long) start)); in qnx4_set_bitmap()
131 g = bh->b_data + (block % QNX4_BLOCK_SIZE); in qnx4_set_bitmap()
133 (*g) &= ~(1 << (block % 8)); in qnx4_set_bitmap()
135 (*g) |= (1 << (block % 8)); in qnx4_set_bitmap()