Searched refs:vtpms (Results 1 – 13 of 13) sorted by relevance
/xen/tools/libxl/ |
A D | libxl_vtpm.c | 161 libxl_device_vtpm *vtpms; in libxl_devid_to_device_vtpm() local 166 if (!vtpms) in libxl_devid_to_device_vtpm() 172 if(devid == vtpms[i].devid) { in libxl_devid_to_device_vtpm() 173 vtpm->backend_domid = vtpms[i].backend_domid; in libxl_devid_to_device_vtpm() 174 vtpm->devid = vtpms[i].devid; in libxl_devid_to_device_vtpm() 181 libxl__device_list_free(&libxl__vtpm_devtype, vtpms, nb); in libxl_devid_to_device_vtpm() 196 libxl_device_vtpm *vtpms; in libxl_uuid_to_device_vtpm() local 201 if (!vtpms) in libxl_uuid_to_device_vtpm() 207 if(!libxl_uuid_compare(uuid, &vtpms[i].uuid)) { in libxl_uuid_to_device_vtpm() 208 vtpm->backend_domid = vtpms[i].backend_domid; in libxl_uuid_to_device_vtpm() [all …]
|
A D | libxl_types.idl | 948 ("vtpms", Array(libxl_device_vtpm, "num_vtpms")),
|
/xen/stubdom/vtpmmgr/ |
A D | manage-vtpmmgr.pl | 52 my($nr, @vtpms) = unpack 'N(H32)*', tpm_cmd_nohdr 0x1C2, pack 'NNN', 0x02000201, $group, 0; 53 if ($nr > @vtpms) { 56 @vtpms = () if $nr == 0; # unpack returns an empty string in this case 57 @vtpms = map { join "-", unpack 'a8a4a4a4a12', $_ } @vtpms; 58 print " $_\n" for @vtpms;
|
A D | vtpm_disk.c | 178 page->vtpms[vtidx] = vtpm; in create_vtpm() 193 struct mem_vtpm *last = last_pg->vtpms[last_pg->size - 1]; in delete_vtpm() 200 pg->vtpms[vtidx] = last; in delete_vtpm() 203 last_pg->vtpms[last_pg->size - 1] = NULL; in delete_vtpm() 226 struct mem_vtpm *vt = pg->vtpms[k]; in find_vtpm()
|
A D | disk_write.c | 53 memcpy(pt.header[i].uuid, dst->vtpms[i]->uuid, 16); in disk_write_vtpm_page() 54 memcpy(pt.data[i].data, dst->vtpms[i]->data, 64); in disk_write_vtpm_page() 55 pt.header[i].flags = native_be32(dst->vtpms[i]->flags & VTPM_FLAG_DISK_MASK); in disk_write_vtpm_page()
|
A D | vtpm_disk.h | 135 struct mem_vtpm *vtpms[VTPMS_PER_SECTOR]; member
|
A D | vtpm_cmd_handler.c | 377 if (group->data[i].vtpms[j]->flags & VTPM_FLAG_OPEN) { in vtpmmgr_GroupDel() 386 free(group->data[i].vtpms[j]); in vtpmmgr_GroupDel() 700 memcpy(PACK_BUF, pg->vtpms[j]->uuid, 16); in vtpmmgr_VtpmList()
|
A D | disk_read.c | 42 free(group->data[i].vtpms[j]); in group_free() 232 dst->vtpms[i] = vtpm; in load_verify_vtpm_page()
|
/xen/tools/xl/ |
A D | xl_vtpm.c | 77 libxl_device_vtpm *vtpms; in main_vtpmlist() local 94 if (!(vtpms = libxl_device_vtpm_list(ctx, domid, &nb))) { in main_vtpmlist() 98 if(!libxl_device_vtpm_getinfo(ctx, domid, &vtpms[i], &vtpminfo)) { in main_vtpmlist() 109 libxl_device_vtpm_list_free(vtpms, nb); in main_vtpmlist()
|
A D | xl_parse.c | 1214 XLU_ConfigList *cpus, *vbds, *nics, *pcis, *cvfbs, *cpuids, *vtpms, in parse_config_data() local 2048 if (!xlu_cfg_get_list(config, "vtpm", &vtpms, 0, 0)) { in parse_config_data() 2050 d_config->vtpms = NULL; in parse_config_data() 2051 while ((buf = xlu_cfg_get_listitem (vtpms, d_config->num_vtpms)) != NULL) { in parse_config_data() 2057 vtpm = ARRAY_EXTEND_INIT(d_config->vtpms, in parse_config_data()
|
/xen/docs/man/ |
A D | xen-vtpm.7.pod | 95 logical vtpms on the system. The vTPM Platform Configuration 162 The domU kernel used by domains with vtpms must include the xen-tpmfront.ko
|
A D | xen-vtpmmgr.7.pod | 350 logical vtpms on the system. The vTPM Platform Configuration
|
/xen/tools/golang/xenlight/ |
A D | helpers.gen.go | 2819 cVtpms := (*[1<<28]C.libxl_device_vtpm)(unsafe.Pointer(xc.vtpms))[:n:n] 2979 xc.vtpms = (*C.libxl_device_vtpm)(C.malloc(C.ulong(numVtpms)*C.sizeof_libxl_device_vtpm)) 2981 cVtpms := (*[1<<28]C.libxl_device_vtpm)(unsafe.Pointer(xc.vtpms))[:numVtpms:numVtpms]
|
Completed in 25 milliseconds