Lines Matching refs:cow_offset
54 unsigned long long cow_offset; member
1135 __u64 *cow_offset, unsigned long *bitmap, in cowify_bitmap() argument
1155 *cow_offset = sector / (sizeof(unsigned long) * 8); in cowify_bitmap()
1162 if (*cow_offset == (DIV_ROUND_UP(bitmap_len, in cowify_bitmap()
1164 (*cow_offset)--; in cowify_bitmap()
1166 bitmap_words[0] = bitmap[*cow_offset]; in cowify_bitmap()
1167 bitmap_words[1] = bitmap[*cow_offset + 1]; in cowify_bitmap()
1169 *cow_offset *= sizeof(unsigned long); in cowify_bitmap()
1170 *cow_offset += bitmap_offset; in cowify_bitmap()
1191 &segment->cow_offset, bitmap, bitmap_offset, in cowify_req()
1255 io_req->io_desc[i].cow_offset = -1; in ubd_alloc_req()
1401 if (segment->cow_offset == -1) in update_bitmap()
1405 sizeof(segment->bitmap_words), segment->cow_offset); in update_bitmap()