Searched refs:ID_LEN (Results 1 - 15 of 15) sorted by relevance
/netbsd-current/external/gpl2/lvm2/dist/include/ |
H A D | uuid.h | 21 #define ID_LEN 32 macro 25 int8_t uuid[ID_LEN];
|
H A D | lvmcache.h | 45 char vgid[ID_LEN + 1];
|
H A D | device.h | 50 char pvid[ID_LEN + 1];
|
/netbsd-current/external/gpl2/lvm2/dist/lib/uuid/ |
H A D | uuid.h | 21 #define ID_LEN 32 macro 25 int8_t uuid[ID_LEN];
|
H A D | uuid.c | 44 for (i = ID_LEN; i; i--) { 56 for (i = ID_LEN; i; i--) { 71 for (i = 0; i < ID_LEN; i++) { 86 for (i = 0; i < ID_LEN - 3; i++) 90 for (i = ID_LEN - 3; i < ID_LEN; i++) 142 for (i = 0; i < ID_LEN; i++) 156 #define GROUPS (ID_LEN / 4) 164 assert(ID_LEN == 32); 195 if (out >= ID_LEN) { [all...] |
/netbsd-current/external/gpl2/lvm2/dist/lib/format_text/ |
H A D | layout.h | 41 int8_t pv_uuid[ID_LEN];
|
/netbsd-current/external/gpl2/lvm2/dist/lib/format_pool/ |
H A D | disk_rep.c | 63 char uuid[ID_LEN + 7] __attribute((aligned(8))); 65 id_write_format(&pl->pv_uuid, uuid, ID_LEN + 7); 89 char uuid[ID_LEN + 7] __attribute((aligned(8))); 95 id_write_format(&pvid, uuid, ID_LEN + 7); 99 id_write_format(&vgid, uuid, ID_LEN + 7); 214 assert(ID_LEN == 32); 215 memset(uuid, 0, ID_LEN);
|
/netbsd-current/external/gpl2/lvm2/dist/lib/cache/ |
H A D | lvmcache.c | 326 if (!strncmp(vgid, vginfo->vgid, ID_LEN)) 341 char vgid_found[ID_LEN + 1] __attribute((aligned(8))); 369 strncmp(vginfo->vgid, vgid_found, ID_LEN)) 378 char id[ID_LEN + 1] __attribute((aligned(8))); 384 strncpy(&id[0], vgid, ID_LEN); 385 id[ID_LEN] = '\0'; 459 char id[ID_LEN + 1] __attribute((aligned(8))); 464 strncpy(&id[0], pvid, ID_LEN); 465 id[ID_LEN] = '\0'; 816 !strncmp(vginfo->vgid, vgid, ID_LEN)) [all...] |
H A D | lvmcache.h | 45 char vgid[ID_LEN + 1];
|
/netbsd-current/external/gpl2/lvm2/dist/lib/format1/ |
H A D | disk-rep.c | 139 if (pvd->pv_uuid[ID_LEN]) { 140 /* Retain ID_LEN chars from end */ 141 for (e = ID_LEN; e < sizeof(pvd->pv_uuid); e++) { 147 for (b = 0; b < ID_LEN; b++) { 148 pvd->pv_uuid[b] = pvd->pv_uuid[++e - ID_LEN]; 153 memset(&pvd->pv_uuid[ID_LEN], 0, sizeof(pvd->pv_uuid) - ID_LEN); 159 pvd->pv_uuid[ID_LEN] = '\0';
|
H A D | disk-rep.h | 127 int8_t vg_uuid[ID_LEN]; /* volume group UUID */ 128 int8_t vg_name_dummy[NAME_LEN - ID_LEN]; /* rest of v1 VG name */
|
H A D | import-export.c | 63 memcpy(&pv->id, pvd->pv_uuid, ID_LEN); 152 memcpy(pvd->pv_uuid, pv->id.uuid, ID_LEN); 222 memcpy(vg->id.uuid, vgd->vg_uuid, ID_LEN); 266 memcpy(vgd->vg_uuid, vg->id.uuid, ID_LEN); 637 memcpy(ul->uuid, pvl->pv->id.uuid, ID_LEN);
|
/netbsd-current/external/gpl2/lvm2/dist/lib/device/ |
H A D | device.h | 50 char pvid[ID_LEN + 1];
|
/netbsd-current/external/gpl2/lvm2/dist/lib/activate/ |
H A D | dev_manager.c | 1224 r = dm_tree_deactivate_children(root, dlid, ID_LEN + sizeof(UUID_PREFIX) - 1); 1237 if (!dm_tree_suspend_children(root, dlid, ID_LEN + sizeof(UUID_PREFIX) - 1)) 1248 r = dm_tree_preload_children(root, dlid, ID_LEN + sizeof(UUID_PREFIX) - 1); 1259 r = dm_tree_activate_children(root, dlid, ID_LEN + sizeof(UUID_PREFIX) - 1);
|
/netbsd-current/external/gpl2/lvm2/dist/lib/metadata/ |
H A D | metadata.c | 2676 (char *)correct_vg->id.uuid, ID_LEN)) { 2844 !strncmp((char *)vg->id.uuid, vgid, ID_LEN)) { 2876 !strncmp((char *)vg->id.uuid, vgid, ID_LEN)) {
|
Completed in 159 milliseconds