Searched refs:align_offset (Results 1 – 7 of 7) sorted by relevance
/external/qemu/block/ |
D | qcow2-snapshot.c | 81 offset = align_offset(offset, 8); in qcow2_read_snapshots() 133 offset = align_offset(offset, 8); in qcow_write_snapshots() 160 offset = align_offset(offset, 8); in qcow_write_snapshots()
|
D | qcow2.h | 159 static inline int64_t align_offset(int64_t offset, int n) in align_offset() function
|
D | qcow2.c | 198 align_offset(s->l1_size * sizeof(uint64_t), 512)); in qcow_open() 908 offset = align_offset(header_size, s->cluster_size); in qcow_create2() 912 offset += align_offset(l1_size * sizeof(uint64_t), s->cluster_size); in qcow_create2()
|
D | qcow2-cluster.c | 53 new_l1_table = g_malloc0(align_offset(new_l1_size2, 512)); in qcow2_grow_l1_table()
|
D | qcow2-refcount.c | 761 l1_table = g_malloc0(align_offset(l1_size2, 512)); in qcow2_update_snapshot_refcount()
|
/external/e2fsprogs/misc/ |
D | e2image.c | 75 static blk64_t align_offset(blk64_t offset, unsigned int n) in align_offset() function 888 offset = align_offset(header_size, image->cluster_size); in initialize_qcow2_image() 900 offset += align_offset(l1_size * sizeof(blk64_t), image->cluster_size); in initialize_qcow2_image() 1144 header_size = align_offset(sizeof(struct ext2_qcow2_hdr), in output_qcow2_meta_data_blocks()
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
D | SDL_malloc.c | 1309 #define align_offset(A)\ macro 1680 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A))) 2141 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) 3170 size_t offset = align_offset(chunk2mem(mm)); in mmap_alloc() 3231 size_t offset = align_offset(chunk2mem(p)); in init_top() 3323 size_t offset = align_offset(chunk2mem(rawsp)); in add_segment()
|