Home | History | Annotate | Download | only in lib21

Lines Matching full:guid

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