Searched refs:datasz (Results 1 – 4 of 4) sorted by relevance
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_sr_common.c | 98 size_t datasz; in read_record() local 112 datasz = ROUNDUP(rhdr.length, REC_ALIGN_ORDER); in read_record() 114 if ( datasz ) in read_record() 116 rec->data = malloc(datasz); in read_record() 121 datasz, rhdr.type, rec_type_to_str(rhdr.type)); in read_record() 125 if ( read_exact(fd, rec->data, datasz) ) in read_record() 130 datasz, rhdr.type, rec_type_to_str(rhdr.type)); in read_record()
|
A D | xc_sr_save_x86_pv.c | 831 size_t datasz = ctx->x86_pv.p2m_frames * sizeof(uint64_t); in write_x86_pv_p2m_frames() local 848 if ( !(data = malloc(datasz)) ) in write_x86_pv_p2m_frames() 851 datasz); in write_x86_pv_p2m_frames() 861 rc = write_split_record(ctx, &rec, data, datasz); in write_x86_pv_p2m_frames()
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/ |
A D | mctelem.c | 338 void __init mctelem_init(unsigned int datasz) in mctelem_init() argument 345 datasz = (datasz & ~0xf) + 0x10; /* 16 byte roundup */ in mctelem_init() 349 (datarr = xmalloc_bytes(MC_NENT * datasz)) == NULL) { in mctelem_init() 361 tep->mcte_data = datarr + i * datasz; in mctelem_init()
|
/xen-4.10.0-shim-comet/tools/python/scripts/ |
A D | convert-legacy-stream | 219 blkid, datasz = unpack_exact("=4sI") 222 info(" Record type: %s, size 0x%x" % (blkid, datasz)) 224 data = rdexact(datasz) 225 so_far += datasz 230 vm.basic_len = datasz 232 if datasz == 0x1430: 236 elif datasz == 0xaf0:
|
Completed in 16 milliseconds