Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 92) sorted by relevance

1234

/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_uuid.c44 uuid_clear(uuid->uuid); in libxl_uuid_clear()
54 return uuid->uuid; in libxl_uuid_bytearray_const()
59 return uuid->uuid; in libxl_uuid_bytearray()
99 #define LIBXL__UUID_PTRS(uuid) &uuid[0], &uuid[1], &uuid[2], &uuid[3], \ argument
100 &uuid[4], &uuid[5], &uuid[6], &uuid[7], \
101 &uuid[8], &uuid[9], &uuid[10],&uuid[11], \
102 &uuid[12],&uuid[13],&uuid[14],&uuid[15]
115 memcpy(&dst->uuid, &src->uuid, sizeof(dst->uuid)); in libxl_uuid_copy()
120 memset(&uuid->uuid, 0, sizeof(uuid->uuid)); in libxl_uuid_clear()
143 return uuid->uuid; in libxl_uuid_bytearray_const()
[all …]
A Dlibxl_uuid.h20 #define LIBXL__UUID_BYTES(uuid) uuid[0], uuid[1], uuid[2], uuid[3], \ argument
21 uuid[4], uuid[5], uuid[6], uuid[7], \
22 uuid[8], uuid[9], uuid[10], uuid[11], \
23 uuid[12], uuid[13], uuid[14], uuid[15]
24 #define LIBXL_UUID_BYTES(arg) LIBXL__UUID_BYTES((arg).uuid)
28 unsigned char uuid[16]; member
53 int libxl_uuid_is_nil(const libxl_uuid *uuid);
54 void libxl_uuid_generate(libxl_uuid *uuid);
55 int libxl_uuid_from_string(libxl_uuid *uuid, const char *in);
67 void libxl_uuid_clear(libxl_uuid *uuid);
[all …]
A Dlibxl_vtpm.c24 if (libxl_uuid_is_nil(&vtpm->uuid)) { in libxl__device_vtpm_setdefault()
25 libxl_uuid_generate(&vtpm->uuid); in libxl__device_vtpm_setdefault()
49 libxl_uuid_copy(CTX, &dst->uuid, &src->uuid); in libxl__update_config_vtpm()
62 LIBXL_UUID_BYTES(vtpm->uuid))); in libxl__set_xenstore_vtpm()
83 char *uuid; in libxl__vtpm_from_xenstore() local
96 if (uuid) { in libxl__vtpm_from_xenstore()
97 if(libxl_uuid_from_string(&(vtpm->uuid), uuid)) { in libxl__vtpm_from_xenstore()
156 if(libxl_uuid_from_string(&(vtpminfo->uuid), val)) { in libxl_device_vtpm_getinfo()
191 libxl_uuid_copy(ctx, &vtpm->uuid, &vtpms[i].uuid); in libxl_devid_to_device_vtpm()
223 if(!libxl_uuid_compare(uuid, &vtpms[i].uuid)) { in libxl_uuid_to_device_vtpm()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dvhd-util-uuid.c35 uuid_t uuid; member
38 int vhd_uuid_is_nil(vhd_uuid_t *uuid) in vhd_uuid_is_nil() argument
40 return uuid_is_null(uuid->uuid); in vhd_uuid_is_nil()
45 uuid_generate(uuid->uuid); in vhd_uuid_generate()
50 uuid_unparse(uuid->uuid, out); in vhd_uuid_to_string()
55 uuid_parse(in, uuid->uuid); in vhd_uuid_from_string()
60 uuid_copy(dst->uuid, src->uuid); in vhd_uuid_copy()
63 void vhd_uuid_clear(vhd_uuid_t *uuid) in vhd_uuid_clear() argument
65 uuid_clear(uuid->uuid); in vhd_uuid_clear()
70 return uuid_compare(uuid1->uuid, uuid2->uuid); in vhd_uuid_compare()
[all …]
A Dvhd-util-read.c62 char uuid[39], time_str[26], cookie[9], out[512], *name; in vhd_print_header() local
81 vhd_uuid_to_string(&h->prt_uuid, uuid, sizeof(uuid)); in vhd_print_header()
82 printf("Parent UUID : %s\n", uuid); in vhd_print_header()
98 char time_str[26], creator[5], uuid[39], cookie[9]; in vhd_print_footer() local
156 vhd_uuid_to_string(&f->uuid, uuid, sizeof(uuid)); in vhd_print_footer()
157 printf("UUID : %s\n", uuid); in vhd_print_footer()
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Duuid.h42 #define UUID_BYTES(uuid) uuid[0], uuid[1], uuid[2], uuid[3], \ argument
43 uuid[4], uuid[5], uuid[6], uuid[7], \
44 uuid[8], uuid[9], uuid[10], uuid[11], \
45 uuid[12], uuid[13], uuid[14], uuid[15]
A Dmanage-vtpmmgr.pl38 $uuid = join "-", unpack 'a8a4a4a4a12', $uuid;
79 $uuid = join "-", unpack 'a8a4a4a4a12', $uuid;
80 print "$uuid\n";
81 mkdir "group-$uuid";
108 my($group,$uuid) = @_;
109 if ($uuid) {
110 $uuid =~ s/-//g;
111 $uuid = pack('H32', $uuid)."\0";
113 $uuid = '';
120 my($uuid) = @_;
[all …]
A Dmgmt_authority.c132 const void* uuid, const uint8_t* kern_hash,unsigned char** calc_hashes) in do_vtpminfo_hash() argument
139 if(uuid){ in do_vtpminfo_hash()
141 sha1_update(&ctx, (void*)uuid, 16); in do_vtpminfo_hash()
223 memcpy(&extended, group->id_data.uuid, 16); in do_pcr_setup()
228 if (uuid) { in do_pcr_setup()
230 memcpy(&extended, uuid, 16); in do_pcr_setup()
252 do_random(&group->id_data.uuid, 16); in vtpm_new_group()
257 group->id_data.uuid[6] = 0x40 | (group->id_data.uuid[6] & 0x0F); in vtpm_new_group()
258 group->id_data.uuid[8] = 0x80 | (group->id_data.uuid[8] & 0x3F); in vtpm_new_group()
323 int vtpm_do_quote(struct mem_group *group, const uuid_t uuid, in vtpm_do_quote() argument
[all …]
A Dvtpm_disk.h44 uuid_t uuid; member
105 uuid_t uuid; member
184 uuid_t uuid; member
229 int create_vtpm(struct mem_group *group, struct mem_vtpm **vtpmp, const uuid_t uuid);
231 int find_vtpm(struct mem_group **groupp, struct mem_vtpm **vtpmp, const uuid_t uuid);
A Dvtpm_disk.c159 int create_vtpm(struct mem_group *group, struct mem_vtpm **vtpmp, const uuid_t uuid) in create_vtpm() argument
184 memcpy(vtpm->uuid, uuid, 16); in create_vtpm()
214 int find_vtpm(struct mem_group **groupp, struct mem_vtpm **vtpmp, const uuid_t uuid) in find_vtpm() argument
227 if (!memcmp(uuid, vt->uuid, 16)) { in find_vtpm()
A Dvtpm_cmd_handler.c55 static void gen_random_uuid(uuid_t uuid) in gen_random_uuid() argument
57 do_random(uuid, 16); in gen_random_uuid()
59 uuid[6] = 0x40 | (uuid[6] & 0x0F); in gen_random_uuid()
60 uuid[8] = 0x80 | (uuid[8] & 0x3F); in gen_random_uuid()
167 UUID_BYTES((*opq->uuid)), opq->vtpm->flags); in vtpmmgr_SaveHashKey()
338 PACK_OUT(BUFFER, group->id_data.uuid, 16); in vtpmmgr_GroupNew()
428 PACK_OUT(BUFFER, group->id_data.uuid, 16); in vtpmmgr_GroupShow()
700 memcpy(PACK_BUF, pg->vtpms[j]->uuid, 16); in vtpmmgr_VtpmList()
743 uuid_t uuid; in vtpmmgr_VtpmDel() local
748 UNPACK_IN(BUFFER, uuid, 16); in vtpmmgr_VtpmDel()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/include/
A Dvhd-uuid.h34 uuid_t uuid; member
49 int vhd_uuid_is_nil(vhd_uuid_t *uuid);
51 void vhd_uuid_generate(vhd_uuid_t *uuid);
53 void vhd_uuid_to_string(vhd_uuid_t *uuid, char *out, size_t size);
55 void vhd_uuid_from_string(vhd_uuid_t *uuid, const char *in);
59 void vhd_uuid_clear(vhd_uuid_t *uuid);
/xen-4.10.0-shim-comet/m4/
A Duuid.m42 AC_CHECK_HEADER([uuid/uuid.h],[
3 AC_CHECK_LIB([uuid], [uuid_clear], [libuuid="y"])
5 AC_CHECK_HEADER([uuid.h],[libuuid="y"])
7 AC_MSG_ERROR([cannot find a valid uuid library])
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_vtpm.c45 if(libxl_uuid_from_string(&(vtpm.uuid), oparg)) { in main_vtpmattach()
102 LIBXL_UUID_BYTES(vtpminfo.uuid), in main_vtpmlist()
119 libxl_uuid uuid; in main_vtpmdetach() local
127 if ( libxl_uuid_from_string(&uuid, argv[optind+1])) { in main_vtpmdetach()
133 if (libxl_uuid_to_device_vtpm(ctx, domid, &uuid, &vtpm)) { in main_vtpmdetach()
A Dxl_tmem.c189 char *uuid = NULL; in main_tmem_shared_auth() local
199 uuid = optarg; in main_tmem_shared_auth()
218 if (uuid == NULL || autharg == NULL) { in main_tmem_shared_auth()
230 if (libxl_tmem_shared_auth(ctx, domid, uuid, auth) < 0) in main_tmem_shared_auth()
/xen-4.10.0-shim-comet/tools/pygrub/examples/
A Dubuntu-14.04-lts.grub272 search --no-floppy --fs-uuid --set=root c7a4b4ca-71da-4d03-b374-a6b76ebcfc90
136 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a
138 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a
151 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a
153 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a
166 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a
168 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a
188 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a
190 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a
198 search --no-floppy --fs-uuid --set=root 86ba9198-4319-4809-908d-6dbe6938b19a
[all …]
A Ddebian-wheezy-hvm.grub239 search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0
47 search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0
68 search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0
80 search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dlock.c83 char *uuid, int readonly) in create_lockfn_link() argument
96 strlen(hostname) + strlen(uuid) + 8); in create_lockfn_link()
104 sprintf(ptr, format, hostname, uuid, readonly ? "r" : "w"); in create_lockfn_link()
287 if (!fn_to_lock || !uuid) { in lock()
302 uuid, readonly); in lock()
629 if (!fn_to_unlock || !uuid) { in unlock()
805 char uuid[12]; in random_locks() local
815 sprintf(uuid, "%08d", pid); in random_locks()
895 char uuid[12]; in main() local
907 sprintf(uuid, "%08d", getpid()); in main()
[all …]
A Dlock.h31 int lock(char *fn_to_lock, char *uuid, int force, int readonly, int *lease_time, int *retstat);
32 int unlock(char *fn_to_unlock, char *uuid, int readonly, int *retstat);
A Dscheduler.c190 event->id = s->uuid++; in scheduler_register_event()
192 if (!s->uuid) in scheduler_register_event()
193 s->uuid++; in scheduler_register_event()
258 s->uuid = 1; in scheduler_initialize()
/xen-4.10.0-shim-comet/xen/common/
A Dtmem_control.c128 (uint64_t)(s ? p->uuid[0] : 0), in tmemc_list_client()
129 (uint64_t)(s ? p->uuid[1] : 0LL), in tmemc_list_client()
166 p->uuid[0], p->uuid[1]); in tmemc_list_shared()
385 out.uuid[0] = pool->uuid[0]; in tmemc_get_pool()
386 out.uuid[1] = pool->uuid[1]; in tmemc_get_pool()
440 pool.uuid[0], pool.uuid[1]); in tmemc_set_pools()
488 rc = tmemc_shared_pool_auth(cli_id, pool.uuid[0], pool.uuid[1], in tmemc_auth_pools()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_tmem.c162 .uuid[0] = 0, in xc_tmem_auth()
163 .uuid[1] = 0, in xc_tmem_auth()
165 if ( xc_tmem_uuid_parse(uuid_str, &pool.uuid[0], in xc_tmem_auth()
166 &pool.uuid[1]) < 0 ) in xc_tmem_auth()
372 .uuid[0] = uuid_lo, in xc_tmem_restore_new_pool()
373 .uuid[1] = uuid_hi, in xc_tmem_restore_new_pool()
419 pool.uuid[0], pool.uuid[1]) < 0 ) in xc_tmem_restore()
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/
A Dutil.c245 uuid_to_string(char *dest, uint8_t *uuid) in uuid_to_string() argument
252 byte_to_hex(p, uuid[i]); in uuid_to_string()
258 byte_to_hex(p, uuid[i]); in uuid_to_string()
264 byte_to_hex(p, uuid[i]); in uuid_to_string()
270 byte_to_hex(p, uuid[i]); in uuid_to_string()
276 byte_to_hex(p, uuid[i]); in uuid_to_string()
/xen-4.10.0-shim-comet/tools/hotplug/Linux/
A Dvif-openvswitch53 local uuid=$(xenstore_read "${vm_path}/uuid")
54 openvswitch_external_id $dev "xen-vm-uuid" "$uuid"
/xen-4.10.0-shim-comet/docs/misc/
A Dvtpm-platforms.txt41 vtpm=["backend=vtpmmgr,uuid=ac0a5b9e-cbe2-4c07-b43b-1d69e46fb839"]
48 vtpm=["backend=vtpmmgr,uuid=6c3ff5f1-8d58-4fed-b00d-a5ea9a817f7f"]
106 # xl vtpm-attach vtpm-hw uuid=062b6416-ed46-492a-9e65-a2f92dc07f7f backend=vtpmmgr
107 # xl vtpm-attach vtpm-g1 uuid=e9aa9d0f-ece5-4b84-b129-93004ba61a5f backend=vtpmmgr
108 # xl vtpm-attach vtpm-g2 uuid=3fb2caf0-d305-4516-96c7-420618d98efb backend=vtpmmgr
109 # xl vtpm-attach hardware uuid=062b6416-ed46-492a-9e65-a2f92dc07f7f backend=vtpm-hw
110 # xl vtpm-attach guest1 uuid=e9aa9d0f-ece5-4b84-b129-93004ba61a5f backend=vtpm-g1
111 # xl vtpm-attach guest2 uuid=3fb2caf0-d305-4516-96c7-420618d98efb backend=vtpm-g2

Completed in 23 milliseconds

1234