Lines Matching full:bitno
171 blk_t bitno)
176 return ext2fs_test_generic_bmap(bitmap, bitno);
180 "test_bitmap(%lu)", (unsigned long) bitno);
185 if ((bitno < bitmap->start) || (bitno > bitmap->end)) {
186 ext2fs_warn_bitmap2(bitmap, EXT2FS_TEST_ERROR, bitno);
189 return ext2fs_test_bit(bitno - bitmap->start, bitmap->bitmap);
193 __u32 bitno)
198 return ext2fs_mark_generic_bmap(bitmap, bitno);
202 "mark_bitmap(%lu)", (unsigned long) bitno);
207 if ((bitno < bitmap->start) || (bitno > bitmap->end)) {
208 ext2fs_warn_bitmap2(bitmap, EXT2FS_MARK_ERROR, bitno);
211 return ext2fs_set_bit(bitno - bitmap->start, bitmap->bitmap);
215 blk_t bitno)
220 return ext2fs_unmark_generic_bmap(bitmap, bitno);
224 "mark_bitmap(%lu)", (unsigned long) bitno);
229 if ((bitno < bitmap->start) || (bitno > bitmap->end)) {
230 ext2fs_warn_bitmap2(bitmap, EXT2FS_UNMARK_ERROR, bitno);
233 return ext2fs_clear_bit(bitno - bitmap->start, bitmap->bitmap);
308 __u32 bitno;
318 bitno = bmap->real_end;
319 if (bitno > new_end)
320 bitno = new_end;
321 for (; bitno > bmap->end; bitno--)
322 ext2fs_clear_bit(bitno - bmap->start, bmap->bitmap);