| /src/external/gpl2/lvm2/dist/liblvm/ |
| lvm_vg.c | 214 lv_list_t *lvs; local 217 if (dm_list_empty(&vg->lvs)) 226 dm_list_iterate_items(lvl, &vg->lvs) { 227 if (!(lvs = dm_pool_zalloc(vg->vgmem, sizeof(*lvs)))) { 232 lvs->lv = lvl->lv; 233 dm_list_add(list, &lvs->list);
|
| /src/external/gpl2/lvm2/dist/tools/ |
| reporter.c | 100 dm_list_init(&_free_vg.lvs); 248 case LVS: 363 report_type |= LVS; 366 if ((report_type & LVS) && (report_type & (PVS | LABEL)) && !args_are_pvs) { 374 ((report_type & (PVS | LABEL)) && (report_type & LVS))) 382 else if (report_type & LVS) 383 report_type = LVS; 386 case LVS: 426 int lvs(struct cmd_context *cmd, int argc, char **argv) function 433 type = LVS; [all...] |
| /src/external/gpl2/lvm2/dist/lib/format1/ |
| import-export.c | 517 dm_list_iterate_items(ll, &vg->lvs) { 562 struct logical_volume *lvs[MAX_LV]; local 570 memset(lvs, 0, sizeof(lvs)); 583 if (!lvs[lvnum] && 584 !(lvs[lvnum] = find_lv(vg, (char *)lvd->lv_name))) { 603 cow = lvs[lvnum]; 604 if (!(org = lvs[lvd->lv_snapshot_minor])) {
|
| /src/external/gpl2/lvm2/dist/test/api/ |
| test.c | 73 "List the LVs that exist in VG vgname\n"); 150 printf ("Can't find %s in LVs - run vg_create_lv first\n", 173 static void _add_lvs_to_lvname_hash(struct dm_list *lvs) 176 dm_list_iterate_items(lvl, lvs) { 299 struct dm_list *lvs; local 325 * Add the LVs and PVs into the hashes for lookups 327 lvs = lvm_vg_list_lvs(vg); 328 if (lvs && !dm_list_empty(lvs)) 329 _add_lvs_to_lvname_hash(lvs); 497 struct dm_list *lvs; local [all...] |
| /src/external/gpl2/lvm2/dist/daemons/clvmd/ |
| lvm-functions.c | 677 * Ideally, clvmd should be started before any LVs are active 686 FILE *lvs = local 688 ("lvm lvs --config 'log{command_names=0 prefix=\"\"}' --nolocking --noheadings -o vg_uuid,lv_uuid,lv_attr,vg_attr", 691 if (!lvs) 694 while (fgets(line, sizeof(line), lvs)) { 723 if (fclose(lvs)) 724 DEBUGLOG("lvs fclose failed: %s\n", strerror(errno));
|
| /src/external/gpl2/lvm2/dist/lib/metadata/ |
| mirror.c | 58 * Add other mirror legs to lvs list. 538 /* Remove mimage LVs from the segment */ 584 * To successfully remove these unwanted LVs we need to 585 * remove the LVs from the mirror set, commit that metadata 621 * to resume 2 LVs, due to image removal: the mirror image 637 /* Save or delete the 'orphan' LVs */ 1056 /* Loop through all LVs */ 1057 dm_list_iterate_items(lvl, &vg->lvs) { 1093 struct dm_list *lvs; local 1099 if (!(lvs = dm_pool_alloc(cmd->mem, sizeof(*lvs)))) [all...] |
| metadata-exported.h | 83 #define FMT_UNLIMITED_VOLS 0x00000008U /* Unlimited PVs/LVs? */ 93 #define MIRROR_BY_LV 0x00000002U /* mirror using whole mimage LVs */ 234 * dm_list_size(lvs) = user visible lv_count + snapshot_count + other invisible LVs 245 struct dm_list lvs; member in struct:volume_group 481 /* Manipulate LVs */ 510 /* lv must be part of lv->vg->lvs */ 640 * Returns visible LV count - number of LVs from user perspective 645 * Check if the VG reached maximal LVs count (if set)
|
| /src/external/gpl2/lvm2/dist/include/ |
| metadata-exported.h | 83 #define FMT_UNLIMITED_VOLS 0x00000008U /* Unlimited PVs/LVs? */ 93 #define MIRROR_BY_LV 0x00000002U /* mirror using whole mimage LVs */ 234 * dm_list_size(lvs) = user visible lv_count + snapshot_count + other invisible LVs 245 struct dm_list lvs; member in struct:volume_group 481 /* Manipulate LVs */ 510 /* lv must be part of lv->vg->lvs */ 640 * Returns visible LV count - number of LVs from user perspective 645 * Check if the VG reached maximal LVs count (if set)
|