Lines Matching defs:uuid
182 * Create in-kernel entry for device. Device attributes such as name, uuid are
189 const char *name, *uuid;
197 uuid = NULL;
201 prop_dictionary_get_string(dm_dict, DM_IOCTL_UUID, &uuid);
206 /* Lookup name and uuid if device already exist quit. */
207 if ((dmv = dm_dev_lookup(name, uuid, -1)) != NULL) {
228 if (uuid)
229 strncpy(dmv->uuid, uuid, DM_UUID_LEN);
231 dmv->uuid[0] = '\0';
322 const char *name, *uuid, *n_name;
326 uuid = NULL;
331 prop_dictionary_get_string(dm_dict, DM_IOCTL_UUID, &uuid);
344 if ((dmv = dm_dev_rem(name, uuid, minor)) == NULL) {
358 prop_dictionary_set_string(dm_dict, DM_IOCTL_UUID, dmv->uuid);
375 const char *name, *uuid;
381 uuid = NULL;
385 prop_dictionary_get_string(dm_dict, DM_IOCTL_UUID, &uuid);
395 if ((dmv = dm_dev_lookup(name, uuid, minor)) == NULL) {
421 const char *name, *uuid;
425 uuid = NULL;
429 prop_dictionary_get_string(dm_dict, DM_IOCTL_UUID, &uuid);
433 if ((dmv = dm_dev_lookup(name, uuid, minor)) == NULL) {
441 prop_dictionary_set_string(dm_dict, DM_IOCTL_UUID, dmv->uuid);
475 const char *name, *uuid;
479 uuid = NULL;
483 prop_dictionary_get_string(dm_dict, DM_IOCTL_UUID, &uuid);
487 if ((dmv = dm_dev_lookup(name, uuid, minor)) == NULL) {
515 const char *name, *uuid;
519 uuid = NULL;
528 prop_dictionary_get_string(dm_dict, DM_IOCTL_UUID, &uuid);
533 if ((dmv = dm_dev_lookup(name, uuid, minor)) == NULL) {
563 * lvm2tools doesn't send name/uuid to kernel with table
575 const char *name, *uuid;
579 uuid = NULL;
584 prop_dictionary_get_string(dm_dict, DM_IOCTL_UUID, &uuid);
589 name, uuid);
591 if ((dmv = dm_dev_lookup(name, uuid, minor)) == NULL) {
620 const char *name, *uuid;
625 uuid = NULL;
629 prop_dictionary_get_string(dm_dict, DM_IOCTL_UUID, &uuid);
636 if ((dmv = dm_dev_lookup(name, uuid, minor)) == NULL) {
642 prop_dictionary_set_string(dm_dict, DM_IOCTL_UUID, dmv->uuid);
720 const char *name, *uuid, *type;
725 uuid = NULL;
734 prop_dictionary_get_string(dm_dict, DM_IOCTL_UUID, &uuid);
742 if ((dmv = dm_dev_lookup(name, uuid, minor)) == NULL) {
909 const char *name, *uuid;
912 uuid = NULL;
917 prop_dictionary_get_string(dm_dict, DM_IOCTL_UUID, &uuid);
923 if ((dmv = dm_dev_lookup(name, uuid, minor)) == NULL) {