Lines Matching defs:bitmap
64 * and a bitmap block
108 * nilfs_palloc_bitmap_blkoff - get block offset of a bitmap block
112 * nilfs_palloc_bitmap_blkoff() returns block offset of the bitmap
273 * nilfs_palloc_get_bitmap_block - get buffer head of a bitmap block
292 * nilfs_palloc_delete_bitmap_block - delete a bitmap block
376 * @bitmap: bitmap of the group
379 * @lock: spin lock protecting @bitmap
381 static int nilfs_palloc_find_available_slot(unsigned char *bitmap,
391 pos = nilfs_find_next_zero_bit(bitmap, end, pos);
394 if (!nilfs_set_bit_atomic(lock, pos, bitmap))
403 pos = nilfs_find_next_zero_bit(bitmap, end, pos);
406 if (!nilfs_set_bit_atomic(lock, pos, bitmap))
504 unsigned char *bitmap;
541 bitmap = bitmap_kaddr + bh_offset(bitmap_bh);
543 bitmap, group_offset,
604 unsigned char *bitmap;
613 bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh);
616 if (!nilfs_clear_bit_atomic(lock, group_offset, bitmap))
645 unsigned char *bitmap;
654 bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh);
657 if (!nilfs_clear_bit_atomic(lock, group_offset, bitmap))
729 unsigned char *bitmap;
759 bitmap = bitmap_kaddr + bh_offset(bitmap_bh);
766 bitmap)) {
790 pos = nilfs_find_next_bit(bitmap, end, entry_start);
831 "error %d deleting bitmap block of group=%lu, ino=%lu",