Lines Matching refs:bitmap
124 unsigned long *bitmap; member
157 .bitmap = NULL, \
727 vfree(ubd_dev->cow.bitmap); in ubd_close_dev()
728 ubd_dev->cow.bitmap = NULL; in ubd_close_dev()
771 ubd_dev->cow.bitmap = vmalloc(ubd_dev->cow.bitmap_len); in ubd_open_dev()
772 if(ubd_dev->cow.bitmap == NULL){ in ubd_open_dev()
778 err = read_cow_bitmap(ubd_dev->fd, ubd_dev->cow.bitmap, in ubd_open_dev()
1153 __u64 *cow_offset, unsigned long *bitmap, in cowify_bitmap() argument
1163 if(ubd_test_bit(sector + i, (unsigned char *) bitmap)) in cowify_bitmap()
1167 ubd_set_bit(sector + i, (unsigned char *) bitmap); in cowify_bitmap()
1184 bitmap_words[0] = bitmap[*cow_offset]; in cowify_bitmap()
1185 bitmap_words[1] = bitmap[*cow_offset + 1]; in cowify_bitmap()
1191 static void cowify_req(struct io_thread_req *req, unsigned long *bitmap, in cowify_req() argument
1202 if(ubd_test_bit(sector + i, (unsigned char *) bitmap)) in cowify_req()
1208 &req->cow_offset, bitmap, bitmap_offset, in cowify_req()
1237 cowify_req(io_req, ubd_dev->cow.bitmap, in prepare_request()