Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:bitno

161 					blk_t bitno)
163 if ((bitno < bitmap->start) || (bitno > bitmap->end)) {
164 ext2fs_warn_bitmap2(bitmap, EXT2FS_TEST_ERROR, bitno);
167 return ext2fs_test_bit(bitno - bitmap->start, bitmap->bitmap);
171 __u32 bitno)
173 if ((bitno < bitmap->start) || (bitno > bitmap->end)) {
174 ext2fs_warn_bitmap2(bitmap, EXT2FS_MARK_ERROR, bitno);
177 return ext2fs_set_bit(bitno - bitmap->start, bitmap->bitmap);
181 blk_t bitno)
183 if ((bitno < bitmap->start) || (bitno > bitmap->end)) {
184 ext2fs_warn_bitmap2(bitmap, EXT2FS_UNMARK_ERROR, bitno);
187 return ext2fs_clear_bit(bitno - bitmap->start, bitmap->bitmap);
229 __u32 bitno;
239 bitno = bmap->real_end;
240 if (bitno > new_end)
241 bitno = new_end;
242 for (; bitno > bmap->end; bitno--)
243 ext2fs_clear_bit(bitno - bmap->start, bmap->bitmap);