Home | History | Annotate | Download | only in api

Lines Matching defs:_vgid_hash

97 static struct dm_hash_table *_vgid_hash = NULL;
113 _hash_destroy_single(&_vgid_hash);
131 if (!(_vgid_hash = dm_hash_create(128))) {
165 if (!(vg = dm_hash_lookup(_vgid_hash, argv[1])) &&
215 if (!(vg = dm_hash_lookup(_vgid_hash, argv[1])) &&
276 if (!(vg = dm_hash_lookup(_vgid_hash, argv[1])) &&
306 if ((vg = dm_hash_lookup(_vgid_hash, argv[1])) ||
322 dm_hash_insert(_vgid_hash, lvm_vg_get_uuid(vg), vg);
340 dm_hash_remove(_vgid_hash, lvm_vg_get_uuid(vg));
343 if (!vg && (vg = dm_hash_lookup(_vgid_hash, vgname))) {
344 dm_hash_remove(_vgid_hash, lvm_vg_get_uuid(vg));
385 dm_hash_insert(_vgid_hash, lvm_vg_get_uuid(vg), vg);
437 dm_hash_iter(_vgid_hash, (dm_hash_iterate_fn) _show_one_vg);