Lines Matching full:uuid
13 #include <linux/uuid.h>
32 u32 uuid[4]; member
177 dir->uuid = kmemdup(&block[dir_offset], sizeof(*dir->uuid), in __tb_property_parse_dir()
179 if (!dir->uuid) { in __tb_property_parse_dir()
184 content_len = dir_len - 4; /* Length includes UUID */ in __tb_property_parse_dir()
239 * @uuid: UUID used to identify the particular directory
241 * Creates new, empty property directory. If @uuid is %NULL then the
246 struct tb_property_dir *tb_property_create_dir(const uuid_t *uuid) in tb_property_create_dir() argument
255 if (uuid) { in tb_property_create_dir()
256 dir->uuid = kmemdup(uuid, sizeof(*dir->uuid), GFP_KERNEL); in tb_property_create_dir()
257 if (!dir->uuid) { in tb_property_create_dir()
308 kfree(dir->uuid); in tb_property_free_dir()
319 if (dir->uuid) in tb_property_dir_length()
320 len += sizeof(*dir->uuid) / 4; in tb_property_dir_length()
387 * | UUID | <-- directory UUID (child directory) in __tb_property_format_dir()
416 if (dir->uuid) { in __tb_property_format_dir()
420 memcpy(pe->uuid, dir->uuid, sizeof(pe->uuid)); in __tb_property_format_dir()
526 d = tb_property_create_dir(dir->uuid); in tb_property_copy_dir()