Lines Matching defs:guid
504 * vfio_ap_le_guid_to_be_uuid - convert a little endian guid array into an array
509 * @guid: the object containing the little endian guid
525 * guid array: { 83, 78, 17, 62, bb, f1, f0, 47, 91, 4d, 32, a2, 2e, 3a, 88, 04 }
530 static void vfio_ap_le_guid_to_be_uuid(guid_t *guid, unsigned long *uuid)
533 * The input guid is ordered in little endian, so it needs to be
535 * guid indices in proper order.
537 uuid[0] = le32_to_cpup((__le32 *)guid);
538 uuid[1] = le16_to_cpup((__le16 *)&guid->b[4]);
539 uuid[2] = le16_to_cpup((__le16 *)&guid->b[6]);
540 uuid[3] = *((__u16 *)&guid->b[8]);
541 uuid[4] = *((__u16 *)&guid->b[10]);
542 uuid[5] = *((__u32 *)&guid->b[12]);