Searched refs:UUID_PREFIX (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/external/gpl2/lvm2/dist/lib/activate/ |
H A D | dev_manager.c | 36 #define UUID_PREFIX "LVM-" macro 72 len = sizeof(UUID_PREFIX) + sizeof(union lvid) + strlen(layer); in _build_dlid() 80 sprintf(dlid, UUID_PREFIX "%s%s%s", lvid, (*layer) ? "-" : "", layer); in _build_dlid() 219 else if (_info_run(NULL, dlid + sizeof(UUID_PREFIX) - 1, info, in _info() 318 else if (_status_run(NULL, uuid + sizeof(UUID_PREFIX) - 1, start, in _status() 457 else if (_percent_run(dm, NULL, dlid + sizeof(UUID_PREFIX) - 1, in _percent() 601 if ((suffix = strrchr(dl->dlid + sizeof(UUID_PREFIX) - 1, '-'))) 1224 r = dm_tree_deactivate_children(root, dlid, ID_LEN + sizeof(UUID_PREFIX) - 1); in _tree_action() 1237 if (!dm_tree_suspend_children(root, dlid, ID_LEN + sizeof(UUID_PREFIX) - 1)) in _tree_action() 1248 r = dm_tree_preload_children(root, dlid, ID_LEN + sizeof(UUID_PREFIX) - 1); in _tree_action() [all …]
|
/netbsd-src/external/gpl2/lvm2/dist/libdm/ |
H A D | libdm-deptree.c | 30 #define UUID_PREFIX "LVM-" macro 370 if (strncmp(uuid, UUID_PREFIX, sizeof(UUID_PREFIX) - 1)) in _find_dm_tree_node_by_uuid() 373 return dm_hash_lookup(dtree->uuids, uuid + sizeof(UUID_PREFIX) - 1); in _find_dm_tree_node_by_uuid() 714 if (!strncmp(uuid, UUID_PREFIX, sizeof(UUID_PREFIX) - 1)) in _uuid_prefix_matches() 717 if (strncmp(uuid_prefix, UUID_PREFIX, sizeof(UUID_PREFIX) - 1)) in _uuid_prefix_matches() 720 …if (!strncmp(uuid, uuid_prefix + sizeof(UUID_PREFIX) - 1, uuid_prefix_len - (sizeof(UUID_PREFIX) -… in _uuid_prefix_matches()
|