Lines Matching refs:guid_t
17 } guid_t; typedef
24 ((guid_t) \
43 extern const guid_t guid_null;
46 static inline bool guid_equal(const guid_t *u1, const guid_t *u2) in guid_equal()
48 return memcmp(u1, u2, sizeof(guid_t)) == 0; in guid_equal()
51 static inline void guid_copy(guid_t *dst, const guid_t *src) in guid_copy()
53 memcpy(dst, src, sizeof(guid_t)); in guid_copy()
56 static inline void import_guid(guid_t *dst, const __u8 *src) in import_guid()
58 memcpy(dst, src, sizeof(guid_t)); in import_guid()
61 static inline void export_guid(__u8 *dst, const guid_t *src) in export_guid()
63 memcpy(dst, src, sizeof(guid_t)); in export_guid()
66 static inline bool guid_is_null(const guid_t *guid) in guid_is_null()
99 extern void guid_gen(guid_t *u);
107 int guid_parse(const char *uuid, guid_t *u);