Lines Matching refs:bitmap
124 unsigned long *bitmap; member
157 .bitmap = NULL, \
723 vfree(ubd_dev->cow.bitmap); in ubd_close_dev()
724 ubd_dev->cow.bitmap = NULL; in ubd_close_dev()
767 ubd_dev->cow.bitmap = vmalloc(ubd_dev->cow.bitmap_len); in ubd_open_dev()
768 if(ubd_dev->cow.bitmap == NULL){ in ubd_open_dev()
774 err = read_cow_bitmap(ubd_dev->fd, ubd_dev->cow.bitmap, in ubd_open_dev()
1150 __u64 *cow_offset, unsigned long *bitmap, in cowify_bitmap() argument
1160 if(ubd_test_bit(sector + i, (unsigned char *) bitmap)) in cowify_bitmap()
1164 ubd_set_bit(sector + i, (unsigned char *) bitmap); in cowify_bitmap()
1181 bitmap_words[0] = bitmap[*cow_offset]; in cowify_bitmap()
1182 bitmap_words[1] = bitmap[*cow_offset + 1]; in cowify_bitmap()
1188 static void cowify_req(struct io_thread_req *req, unsigned long *bitmap, in cowify_req() argument
1199 if(ubd_test_bit(sector + i, (unsigned char *) bitmap)) in cowify_req()
1205 &req->cow_offset, bitmap, bitmap_offset, in cowify_req()
1234 cowify_req(io_req, ubd_dev->cow.bitmap, in prepare_request()