Lines Matching full:guid
97 int vb2_str_to_guid(const char *str, struct vb2_guid *guid) in vb2_str_to_guid() argument
125 guid->uuid.time_low = htole32(time_low); in vb2_str_to_guid()
126 guid->uuid.time_mid = htole16(time_mid); in vb2_str_to_guid()
127 guid->uuid.time_high_and_version = htole16(time_high_and_version); in vb2_str_to_guid()
129 guid->uuid.clock_seq_high_and_reserved = chunk[3] & 0xff; in vb2_str_to_guid()
130 guid->uuid.clock_seq_low = chunk[4] & 0xff; in vb2_str_to_guid()
131 guid->uuid.node[0] = chunk[5] & 0xff; in vb2_str_to_guid()
132 guid->uuid.node[1] = chunk[6] & 0xff; in vb2_str_to_guid()
133 guid->uuid.node[2] = chunk[7] & 0xff; in vb2_str_to_guid()
134 guid->uuid.node[3] = chunk[8] & 0xff; in vb2_str_to_guid()
135 guid->uuid.node[4] = chunk[9] & 0xff; in vb2_str_to_guid()
136 guid->uuid.node[5] = chunk[10] & 0xff; in vb2_str_to_guid()
141 int vb2_guid_to_str(const struct vb2_guid *guid, in vb2_guid_to_str() argument
151 le32toh(guid->uuid.time_low), in vb2_guid_to_str()
152 le16toh(guid->uuid.time_mid), in vb2_guid_to_str()
153 le16toh(guid->uuid.time_high_and_version), in vb2_guid_to_str()
154 guid->uuid.clock_seq_high_and_reserved, in vb2_guid_to_str()
155 guid->uuid.clock_seq_low, in vb2_guid_to_str()
156 guid->uuid.node[0], guid->uuid.node[1], in vb2_guid_to_str()
157 guid->uuid.node[2], guid->uuid.node[3], in vb2_guid_to_str()
158 guid->uuid.node[4], guid->uuid.node[5]); in vb2_guid_to_str()