Home | History | Annotate | Download | only in misc

Lines Matching full:refcount

830 	ref = &(img->refcount);
833 * One refcount block addresses 2048 clusters, one refcount table
834 * addresses cluster/sizeof(__u64) refcount blocks, and we need
848 /* Allocate refcount table */
854 /* Allocate refcount block */
910 ext2fs_cpu_to_be32(image->refcount.refcount_table_clusters);
912 offset += image->refcount.refcount_table_clusters <<
919 /* Make space for first refcount block */
920 image->refcount.refcount_block_offset = offset;
941 if (img->refcount.refcount_table)
942 ext2fs_free_mem(&img->refcount.refcount_table);
943 if (img->refcount.refcount_block)
944 ext2fs_free_mem(&img->refcount.refcount_block);
1071 ref = &(img->refcount);
1075 * Need to create new refcount block when the offset addresses
1076 * another item in the refcount table
1096 * image sequentially, hence we will always allocate refcount
1108 ref = &(img->refcount);
1148 /* Refcount all qcow2 related metadata up to refcount_block_offset */
1149 end = img->refcount.refcount_block_offset;
1156 * If we create new refcount block, we need to refcount
1186 /* Make space for another refcount block */
1190 * We have created the new refcount block, this
1191 * means that we need to refcount it as well.
1194 * create refcount for data. New refcount
1199 "multiple sequential refcount "
1216 _("Programming error: multiple sequential refcount "