Searched refs:datasz (Results 1 – 4 of 4) sorted by relevance
/xen/tools/libxc/ |
A D | xc_sr_common.c | 98 size_t datasz; in read_record() local 113 datasz = ROUNDUP(rhdr.length, REC_ALIGN_ORDER); in read_record() 115 if ( datasz ) in read_record() 117 rec->data = malloc(datasz); in read_record() 122 datasz, rhdr.type, rec_type_to_str(rhdr.type)); in read_record() 126 if ( read_exact(fd, rec->data, datasz) ) in read_record() 131 datasz, rhdr.type, rec_type_to_str(rhdr.type)); in read_record()
|
A D | xc_sr_save_x86_pv.c | 817 size_t datasz = ctx->x86.pv.p2m_frames * sizeof(uint64_t); in write_x86_pv_p2m_frames() local 831 if ( !(data = malloc(datasz)) ) in write_x86_pv_p2m_frames() 834 datasz); in write_x86_pv_p2m_frames() 844 rc = write_split_record(ctx, &rec, data, datasz); in write_x86_pv_p2m_frames()
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | mctelem.c | 337 void __init mctelem_init(unsigned int datasz) in mctelem_init() argument 344 datasz = (datasz & ~0xf) + 0x10; /* 16 byte roundup */ in mctelem_init() 348 (datarr = xmalloc_bytes(MC_NENT * datasz)) == NULL) { in mctelem_init() 360 tep->mcte_data = datarr + i * datasz; in mctelem_init()
|
/xen/tools/python/scripts/ |
A D | convert-legacy-stream | 225 blkid, datasz = unpack_exact("=4sI") 228 info(" Record type: %s, size 0x%x" % (blkid, datasz)) 230 data = rdexact(datasz) 231 so_far += datasz 236 vm.basic_len = datasz 238 if datasz == 0x1430: 242 elif datasz == 0xaf0:
|
Completed in 13 milliseconds